X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/e5d94488b04d37328aef0420beafed4afe42cef5..f2da2cd360ec68bd03100e10d5b24daefc97c1ab:/aseg/firstrun.c?ds=sidebyside 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(); }