mirror of https://github.com/acidanthera/audk.git
Linkage errors fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7556 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5ffcd2579f
commit
01f1138afe
|
@ -40,7 +40,7 @@
|
|||
[Sources.IA32]
|
||||
Ia32/CpuInterrupt.asm |INTEL
|
||||
Ia32/CpuInterrupt.asm |MSFT
|
||||
Ia32/CpuInterrupt.S |GCC ## It can be compiled and linked now. But its logic has not been assured yet.
|
||||
Ia32/CpuInterrupt.S |GCC
|
||||
|
||||
[Sources.X64]
|
||||
X64/CpuInterrupt.asm | INTEL
|
||||
|
|
|
@ -209,7 +209,7 @@ INTUnknown:
|
|||
.globl ASM_PFX(SystemTimerHandler)
|
||||
ASM_PFX(SystemTimerHandler):
|
||||
pushl $0
|
||||
pushl $mTimerVector
|
||||
pushl $ASM_PFX(mTimerVector)
|
||||
JmpCommonIdtEntry
|
||||
|
||||
commonIdtEntry:
|
||||
|
@ -333,10 +333,10 @@ commonIdtEntry:
|
|||
push %eax
|
||||
cmpl $32,%eax
|
||||
jb CallException
|
||||
call TimerHandler
|
||||
call ASM_PFX(TimerHandler)
|
||||
jmp ExceptionDone
|
||||
CallException:
|
||||
call ExceptionHandler
|
||||
call ASM_PFX(ExceptionHandler)
|
||||
ExceptionDone:
|
||||
addl $8,%esp
|
||||
|
||||
|
@ -428,7 +428,6 @@ gdtr: .short GDT_END - GDT_BASE - 1 # GDT limit
|
|||
|
||||
.align 4
|
||||
|
||||
.globl GDT_BASE
|
||||
GDT_BASE:
|
||||
# null descriptor
|
||||
NULL_SEL = .-GDT_BASE
|
||||
|
@ -522,7 +521,6 @@ idtr: .short IDT_END - IDT_BASE - 1 # IDT limit
|
|||
#idt_tag .byte "IDT",0
|
||||
.align 4
|
||||
|
||||
.globl IDT_BASE
|
||||
IDT_BASE:
|
||||
# divide by zero (INT 0)
|
||||
DIV_ZERO_SEL = .-IDT_BASE
|
||||
|
|
Loading…
Reference in New Issue