]> Joshua Wise's Git repositories - netwatch.git/blob - tools/poke-rls-asm.S
2273169c16374fddb2cef3cfb8f6b09dc2466d0a
[netwatch.git] / tools / poke-rls-asm.S
1 .global poke
2 poke:
3         mov 8(%esp), %ecx
4
5         # Parameter: I/O port to set bit 2 of
6         mov 4(%esp), %edx
7         inl %dx, %eax
8         or $4, %eax
9         outl %eax, %dx
10
11         # Maybe SMM poked something?
12         mov %ecx, %eax
13         ret
This page took 0.014903 seconds and 2 git commands to generate.