]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/CpuDxe/Ia32/CpuInterrupt.S
Replace .globl with ASM_GLOBAL
[mirror_edk2.git] / DuetPkg / CpuDxe / Ia32 / CpuInterrupt.S
index 0502c3543b8cef40a71d3e6a07c82f4017a81e43..52b1f27a871fa2ed38a4a788a35a94780a93dbe0 100644 (file)
 #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
@@ -44,7 +44,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
@@ -79,7 +79,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
     pushl    $0x0      # push error code place holder on the stack\r
@@ -206,7 +206,7 @@ INTUnknown:
     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