]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg/firstrun.c
fix get_PMBASE bug
[netwatch.git] / aseg / firstrun.c
index 355fb9a8acc67867e5b8effe3c1da19e6b2f2ad9..ca892ea0b3dd9b487973e157cd7426b475dc1c6b 100644 (file)
@@ -1,4 +1,5 @@
 #include <io.h>
+#include <smi.h>
 #include <pci.h>
 
 void __firstrun_start() {
@@ -23,6 +24,7 @@ void __firstrun_start() {
        pci_write16(0, 31, 4, 0xC0, 0);
 
        /* Turn on the SMIs we want */
-       outb(0x830, inb(0x830) | 0x41);
+       outb(0x830, inb(0x830) | 0x40);
+       smi_enable();
 }
 
This page took 0.019342 seconds and 4 git commands to generate.