]> Joshua Wise's Git repositories - netwatch.git/blob - tools/poke-rls-asm.S
move init to new stack
[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.02726 seconds and 4 git commands to generate.