1 #******************************************************************************
3 #* Copyright (c) 2006, Intel Corporation
4 #* All rights reserved. This program and the accompanying materials
5 #* are licensed and made available under the terms and conditions of the BSD License
6 #* which accompanies this distribution. The full text of the license may be found at
7 #* http://opensource.org/licenses/bsd-license.php
9 #* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 #* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 #******************************************************************************
14 .globl ASM_PFX(OrigVector)
15 .globl ASM_PFX(InterruptEntryStub)
16 .globl ASM_PFX(StubSize)
17 .globl ASM_PFX(CommonIdtEntry)
18 .globl ASM_PFX(FxStorSupport)
20 ASM_PFX(AppEsp): .long 0x11111111 # ?
21 ASM_PFX(DebugEsp): .long 0x22222222 # ?
22 ASM_PFX(ExtraPush): .long 0x33333333 # ?
23 ASM_PFX(ExceptData): .long 0x44444444 # ?
24 ASM_PFX(Eflags): .long 0x55555555 # ?
25 ASM_PFX(OrigVector): .long 0x66666666 # ?
26 ASM_PFX(StubSize): .long ASM_PFX(InterruptEntryStubEnd) - ASM_PFX(InterruptEntryStub)
28 .globl ASM_PFX(FxStorSupport)
29 ASM_PFX(FxStorSupport):
39 .globl ASM_PFX(GetIdtr)
44 sidtl 0xfffffffa(%ebp)
45 mov 0xfffffffc(%ebp),%eax
49 .globl ASM_PFX(WriteInterruptFlag)
50 ASM_PFX(WriteInterruptFlag):
59 jne ASM_PFX(WriteInterruptFlag+0x17)
61 jmp ASM_PFX(WriteInterruptFlag+0x18)
66 .globl ASM_PFX(Vect2Desc)
74 movw $0x8e00,0x4(%ecx)
80 .globl ASM_PFX(InterruptEntryStub)
81 ASM_PFX(InterruptEntryStub):
85 jmp ASM_PFX(CommonIdtEntry)
86 .globl ASM_PFX(InterruptEntryStubEnd)
87 ASM_PFX(InterruptEntryStubEnd):
89 .globl ASM_PFX(CommonIdtEntry)
90 ASM_PFX(CommonIdtEntry):
96 jne ASM_PFX(CommonIdtEntry+0x20)
98 jmp ASM_PFX(CommonIdtEntry+0xa8)
100 jne ASM_PFX(CommonIdtEntry+0x35)
102 jmp ASM_PFX(CommonIdtEntry+0xa8)
104 jne ASM_PFX(CommonIdtEntry+0x4a)
106 jmp ASM_PFX(CommonIdtEntry+0xa8)
108 jne ASM_PFX(CommonIdtEntry+0x5f)
110 jmp ASM_PFX(CommonIdtEntry+0xa8)
112 jne ASM_PFX(CommonIdtEntry+0x74)
114 jmp ASM_PFX(CommonIdtEntry+0xa8)
116 jne ASM_PFX(CommonIdtEntry+0x89)
118 jmp ASM_PFX(CommonIdtEntry+0xa8)
120 jne ASM_PFX(CommonIdtEntry+0x9e)
122 jmp ASM_PFX(CommonIdtEntry+0xa8)
125 jne ASM_PFX(CommonIdtEntry+0xc8)
131 jmp ASM_PFX(CommonIdtEntry+0xd2)
141 movzwl 0x4(%eax),%eax
202 call ASM_PFX(CommonIdtEntry+0x184)
242 je ASM_PFX(CommonIdtEntry+0x202)