]> Joshua Wise's Git repositories - netwatch.git/blame - tools/poke-rls-asm.S
packet receive code; keyboard injection
[netwatch.git] / tools / poke-rls-asm.S
CommitLineData
0889f342
JP
1.global poke
2poke:
0cd80c51 3 mov 8(%esp), %ecx
0889f342
JP
4
5 # Parameter: I/O port to set bit 2 of
ea6c242b 6 mov 4(%esp), %edx
0889f342
JP
7 inl %dx, %eax
8 or $4, %eax
9 outl %eax, %dx
10
0889f342
JP
11 # Maybe SMM poked something?
12 mov %ecx, %eax
13 ret
This page took 0.028022 seconds and 4 git commands to generate.