]> Joshua Wise's Git repositories - netwatch.git/blobdiff - ich2/smram-ich2.c
Fix multiboot dolog -- add a shim. Sad face.
[netwatch.git] / ich2 / smram-ich2.c
index 20c2b8ac6b301b49a8ccd6cb3569996112c54490..d274c852028c497e932e91d4aa2df572bcbae605 100644 (file)
@@ -2,7 +2,7 @@
 #include <pci.h>
 #include <smram.h>
 
 #include <pci.h>
 #include <smram.h>
 
-#ifdef __linux__
+#ifndef __RAW__
 
 static unsigned long memsz[] = {
        0,                      // 0
 
 static unsigned long memsz[] = {
        0,                      // 0
@@ -94,7 +94,7 @@ smram_state_t smram_save_state()
 
 void smram_restore_state(smram_state_t state)
 {
 
 void smram_restore_state(smram_state_t state)
 {
-       return pci_write8(0, 0, 0, SMRAMC, state); 
+       pci_write8(0, 0, 0, SMRAMC, state); 
 }
 
 int smram_aseg_set_state (int open) {
 }
 
 int smram_aseg_set_state (int open) {
This page took 0.020943 seconds and 4 git commands to generate.