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