2 # Low leve IA32 specific debug support functions.
4 # Copyright (c) 2006, Intel Corporation
5 # All rights reserved. This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 .globl ASM_PFX(OrigVector)
16 .globl ASM_PFX(InterruptEntryStub)
17 .globl ASM_PFX(StubSize)
18 .globl ASM_PFX(CommonIdtEntry)
19 .globl ASM_PFX(FxStorSupport)
21 ASM_PFX(AppEsp): .long 0x11111111 # ?
22 ASM_PFX(DebugEsp): .long 0x22222222 # ?
23 ASM_PFX(ExtraPush): .long 0x33333333 # ?
24 ASM_PFX(ExceptData): .long 0x44444444 # ?
25 ASM_PFX(Eflags): .long 0x55555555 # ?
26 ASM_PFX(OrigVector): .long 0x66666666 # ?
27 ASM_PFX(StubSize): .long ASM_PFX(InterruptEntryStubEnd) - ASM_PFX(InterruptEntryStub)
29 .globl ASM_PFX(FxStorSupport)
30 ASM_PFX(FxStorSupport):
40 .globl ASM_PFX(Vect2Desc)
48 movw $0x8e00,0x4(%ecx)
54 .globl ASM_PFX(InterruptEntryStub)
55 ASM_PFX(InterruptEntryStub):
59 jmp ASM_PFX(CommonIdtEntry)
60 .globl ASM_PFX(InterruptEntryStubEnd)
61 ASM_PFX(InterruptEntryStubEnd):
63 .globl ASM_PFX(CommonIdtEntry)
64 ASM_PFX(CommonIdtEntry):
70 jne ASM_PFX(CommonIdtEntry+0x20)
72 jmp ASM_PFX(CommonIdtEntry+0xa8)
74 jne ASM_PFX(CommonIdtEntry+0x35)
76 jmp ASM_PFX(CommonIdtEntry+0xa8)
78 jne ASM_PFX(CommonIdtEntry+0x4a)
80 jmp ASM_PFX(CommonIdtEntry+0xa8)
82 jne ASM_PFX(CommonIdtEntry+0x5f)
84 jmp ASM_PFX(CommonIdtEntry+0xa8)
86 jne ASM_PFX(CommonIdtEntry+0x74)
88 jmp ASM_PFX(CommonIdtEntry+0xa8)
90 jne ASM_PFX(CommonIdtEntry+0x89)
92 jmp ASM_PFX(CommonIdtEntry+0xa8)
94 jne ASM_PFX(CommonIdtEntry+0x9e)
96 jmp ASM_PFX(CommonIdtEntry+0xa8)
99 jne ASM_PFX(CommonIdtEntry+0xc8)
105 jmp ASM_PFX(CommonIdtEntry+0xd2)
115 movzwl 0x4(%eax),%eax
176 call ASM_PFX(CommonIdtEntry+0x184)
216 je ASM_PFX(CommonIdtEntry+0x202)