pop %ebx\r
ret\r
\r
-.globl ASM_PFX(GetIdtr)\r
-ASM_PFX(GetIdtr):\r
- push %ebp\r
- mov %esp,%ebp\r
- add $0xfffffff8,%esp\r
- sidtl 0xfffffffa(%ebp)\r
- mov 0xfffffffc(%ebp),%eax\r
- leave\r
- ret\r
-\r
-.globl ASM_PFX(WriteInterruptFlag)\r
-ASM_PFX(WriteInterruptFlag):\r
- push %ebp\r
- mov %esp,%ebp\r
- pushf\r
- pop %eax\r
- and $0x200,%eax\r
- shr $0x9,%eax\r
- mov 0x8(%ebp),%ecx\r
- or %cl,%cl\r
- jne ASM_PFX(WriteInterruptFlag+0x17)\r
- cli\r
- jmp ASM_PFX(WriteInterruptFlag+0x18)\r
- sti\r
- leave\r
- ret\r
-\r
.globl ASM_PFX(Vect2Desc)\r
ASM_PFX(Vect2Desc):\r
push %ebp\r