]> Joshua Wise's Git repositories - netwatch.git/blobdiff - tools/poke-rls-asm.S
Add PCI bus probe and enumeration routines.
[netwatch.git] / tools / poke-rls-asm.S
index ee4485494a08760134fee70b3f26fe79b3d06b46..980b4bf48dbae1824f3c906abe4ed2e37d08284e 100644 (file)
@@ -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
This page took 0.026278 seconds and 4 git commands to generate.