]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/CpuDxe/X64/CpuInterrupt.S
Replace .globl with ASM_GLOBAL
[mirror_edk2.git] / DuetPkg / CpuDxe / X64 / CpuInterrupt.S
index f85792bccb53361a49549c2ed7fafb4e289816b2..94559eea1b4a48b2f49f242fbf6901d54d33d040 100755 (executable)
 #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
         movq    $GDT_BASE,%rax              # EAX=PHYSICAL address of gdt\r
@@ -47,7 +47,7 @@ ASM_PFX(InitDescriptor):
 #     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
@@ -84,7 +84,7 @@ ASM_PFX(InstallInterruptHandler):
        .endm\r
 \r
     .align 2\r
-       .globl ASM_PFX(SystemExceptionHandler)\r
+       ASM_GLOBAL ASM_PFX(SystemExceptionHandler)\r
 ASM_PFX(SystemExceptionHandler):\r
 INT0:\r
     push     $0x0      # push error code place holder on the stack\r
@@ -211,7 +211,7 @@ INTUnknown:
     JmpCommonIdtEntry\r
        .endr\r
 \r
-       .globl ASM_PFX(SystemTimerHandler)\r
+       ASM_GLOBAL ASM_PFX(SystemTimerHandler)\r
 ASM_PFX(SystemTimerHandler):\r
     push     $0\r
     push     $ASM_PFX(mTimerVector)\r