X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/e5d94488b04d37328aef0420beafed4afe42cef5..a9d1719cd11f54eaa60e5206f220212b771caf7c:/aseg/firstrun.c diff --git a/aseg/firstrun.c b/aseg/firstrun.c index ace70c6..ca892ea 100644 --- a/aseg/firstrun.c +++ b/aseg/firstrun.c @@ -1,4 +1,6 @@ #include +#include +#include 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(); }