X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/e5d94488b04d37328aef0420beafed4afe42cef5..8e106bffd631c8bae10efe153f893d80ad0be2df:/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(); }