X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/d88bb1f4479b42f9078674c33e6618c27c2c98ce..5d41c77c6fd2433c8c52d3f611716d6920017215:/aseg/counter.c?ds=sidebyside diff --git a/aseg/counter.c b/aseg/counter.c index 3c22c05..4c53b59 100644 --- a/aseg/counter.c +++ b/aseg/counter.c @@ -65,6 +65,15 @@ void kbc_handler(smi_event_t ev) pci_dump(); } +void gbl_rls_handler(smi_event_t ev) +{ + unsigned long ecx; + + ecx = *(unsigned char*)0xAFFD4; + dologf("ECX was %08x", ecx); + *(unsigned long*)0xAFFD4 = 0x2BADD00D; +} + void smi_entry(void) { char statstr[512];