#EXTERN mTimerVector: DWORD\r
\r
.data\r
- .globl ASM_PFX(mExceptionCodeSize)\r
+ ASM_GLOBAL ASM_PFX(mExceptionCodeSize)\r
ASM_PFX(mExceptionCodeSize): .long 9\r
\r
.text\r
- .globl ASM_PFX(InitDescriptor)\r
+ ASM_GLOBAL ASM_PFX(InitDescriptor)\r
\r
ASM_PFX(InitDescriptor):\r
movl $GDT_BASE,%eax # EAX=PHYSICAL address of gdt\r
# UINTN Vector,\r
# VOID (*Handler)(VOID)\r
# )\r
- .globl ASM_PFX(InstallInterruptHandler)\r
+ ASM_GLOBAL ASM_PFX(InstallInterruptHandler)\r
ASM_PFX(InstallInterruptHandler):\r
# Vector:DWORD @ 4(%esp)\r
# Handler:DWORD @ 8(%esp)\r
.endm\r
\r
.align 2\r
- .globl ASM_PFX(SystemExceptionHandler)\r
+ ASM_GLOBAL ASM_PFX(SystemExceptionHandler)\r
ASM_PFX(SystemExceptionHandler):\r
INT0:\r
pushl $0x0 # push error code place holder on the stack\r
JmpCommonIdtEntry\r
.endr\r
\r
- .globl ASM_PFX(SystemTimerHandler)\r
+ ASM_GLOBAL ASM_PFX(SystemTimerHandler)\r
ASM_PFX(SystemTimerHandler):\r
pushl $0\r
pushl $ASM_PFX(mTimerVector)\r