]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - tools/poke-rls-asm.S
Hacky network transmitter.
[netwatch.git] / tools / poke-rls-asm.S
... / ...
CommitLineData
1.global poke
2poke:
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.01893 seconds and 4 git commands to generate.