summaryrefslogtreecommitdiff
path: root/DuetPkg/CpuDxe/Ia32
diff options
context:
space:
mode:
Diffstat (limited to 'DuetPkg/CpuDxe/Ia32')
-rw-r--r--DuetPkg/CpuDxe/Ia32/CpuInterrupt.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S b/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S
index 0502c3543b..52b1f27a87 100644
--- a/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S
+++ b/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S
@@ -24,11 +24,11 @@
#EXTERN mTimerVector: DWORD
.data
- .globl ASM_PFX(mExceptionCodeSize)
+ ASM_GLOBAL ASM_PFX(mExceptionCodeSize)
ASM_PFX(mExceptionCodeSize): .long 9
.text
- .globl ASM_PFX(InitDescriptor)
+ ASM_GLOBAL ASM_PFX(InitDescriptor)
ASM_PFX(InitDescriptor):
movl $GDT_BASE,%eax # EAX=PHYSICAL address of gdt
@@ -44,7 +44,7 @@ ASM_PFX(InitDescriptor):
# UINTN Vector,
# VOID (*Handler)(VOID)
# )
- .globl ASM_PFX(InstallInterruptHandler)
+ ASM_GLOBAL ASM_PFX(InstallInterruptHandler)
ASM_PFX(InstallInterruptHandler):
# Vector:DWORD @ 4(%esp)
# Handler:DWORD @ 8(%esp)
@@ -79,7 +79,7 @@ ASM_PFX(InstallInterruptHandler):
.endm
.align 2
- .globl ASM_PFX(SystemExceptionHandler)
+ ASM_GLOBAL ASM_PFX(SystemExceptionHandler)
ASM_PFX(SystemExceptionHandler):
INT0:
pushl $0x0 # push error code place holder on the stack
@@ -206,7 +206,7 @@ INTUnknown:
JmpCommonIdtEntry
.endr
- .globl ASM_PFX(SystemTimerHandler)
+ ASM_GLOBAL ASM_PFX(SystemTimerHandler)
ASM_PFX(SystemTimerHandler):
pushl $0
pushl $ASM_PFX(mTimerVector)