]> Joshua Wise's Git repositories - netwatch.git/blobdiff - ich7/smm-open-ich7.c
More churn moving files around.
[netwatch.git] / ich7 / smm-open-ich7.c
diff --git a/ich7/smm-open-ich7.c b/ich7/smm-open-ich7.c
deleted file mode 100644 (file)
index d53a6bd..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "reg-82865.h"
-
-void main()
-{
-       unsigned char smramc, esmramc;
-       unsigned int toud;
-       
-       smramc = pci_read8(0, 0, 0, SMRAMC);
-       esmramc = pci_read8(0, 0, 0, ESMRAMC);
-       
-       toud = (pci_read16(0, 0, 0, 0xC4) >> 3) << 19;
-       printf("Usable DRAM: %d bytes\n", toud);
-       
-       printf("SMRAMC: %02x\n", smramc);
-       printf("ESMRAMC: %02x\n", smramc);
-       if (smramc & SMRAMC_LOCK)
-       {
-               printf("SMRAM is locked, cannot load anything :-(\n");
-               return;
-       }
-}
\ No newline at end of file
This page took 0.023528 seconds and 4 git commands to generate.