]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg/firstrun.c
add a first cut at a SMI API -- not many features...
[netwatch.git] / aseg / firstrun.c
index ace70c6c0703488adcd3fd632bf7efd0660f28d7..9977d148d77406cc776240cb14acd0387337eed2 100644 (file)
@@ -1,4 +1,5 @@
 #include <io.h>
+#include <smi.h>
 
 void __firstrun_start() {
 /*
@@ -22,6 +23,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.022699 seconds and 4 git commands to generate.