X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/5d41c77c6fd2433c8c52d3f611716d6920017215..83a025567a37236fd819b30d12e32828d8fd2dc4:/tools/poke-rls-asm.S diff --git a/tools/poke-rls-asm.S b/tools/poke-rls-asm.S index ee44854..980b4bf 100644 --- a/tools/poke-rls-asm.S +++ b/tools/poke-rls-asm.S @@ -4,17 +4,11 @@ poke: mov $0x1BADD00D, %ecx # Parameter: I/O port to set bit 2 of - mov 4(%esp), %dx + mov 4(%esp), %edx inl %dx, %eax or $4, %eax outl %eax, %dx - # Count down for a while - mov $0x10000, %edx -loop: - dec %edx - jz loop - # Maybe SMM poked something? mov %ecx, %eax ret