]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Replace .globl with ASM_GLOBAL
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 20 May 2009 10:26:52 +0000 (10:26 +0000)
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 20 May 2009 10:26:52 +0000 (10:26 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8347 6f19259b-4bc3-4df7-8a09-765794883524

DuetPkg/CpuDxe/Ia32/CpuInterrupt.S
DuetPkg/CpuDxe/X64/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
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