]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg/firstrun.c
Wkesden in grubload
[netwatch.git] / aseg / firstrun.c
index ace70c6c0703488adcd3fd632bf7efd0660f28d7..ca892ea0b3dd9b487973e157cd7426b475dc1c6b 100644 (file)
@@ -1,4 +1,6 @@
 #include <io.h>
+#include <smi.h>
+#include <pci.h>
 
 void __firstrun_start() {
 /*
@@ -22,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.025638 seconds and 4 git commands to generate.