Replace .globl with ASM_GLOBAL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8347 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
		@@ -24,11 +24,11 @@
 | 
				
			|||||||
#EXTERN mTimerVector: DWORD
 | 
					#EXTERN mTimerVector: DWORD
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	.data
 | 
						.data
 | 
				
			||||||
	.globl ASM_PFX(mExceptionCodeSize)
 | 
						ASM_GLOBAL ASM_PFX(mExceptionCodeSize)
 | 
				
			||||||
ASM_PFX(mExceptionCodeSize): .long  9
 | 
					ASM_PFX(mExceptionCodeSize): .long  9
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	.text
 | 
						.text
 | 
				
			||||||
	.globl ASM_PFX(InitDescriptor)
 | 
						ASM_GLOBAL ASM_PFX(InitDescriptor)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ASM_PFX(InitDescriptor):
 | 
					ASM_PFX(InitDescriptor):
 | 
				
			||||||
        movl    $GDT_BASE,%eax              # EAX=PHYSICAL address of gdt
 | 
					        movl    $GDT_BASE,%eax              # EAX=PHYSICAL address of gdt
 | 
				
			||||||
@@ -44,7 +44,7 @@ ASM_PFX(InitDescriptor):
 | 
				
			|||||||
#     UINTN Vector,
 | 
					#     UINTN Vector,
 | 
				
			||||||
#     VOID  (*Handler)(VOID)
 | 
					#     VOID  (*Handler)(VOID)
 | 
				
			||||||
#     )
 | 
					#     )
 | 
				
			||||||
	.globl ASM_PFX(InstallInterruptHandler)
 | 
						ASM_GLOBAL ASM_PFX(InstallInterruptHandler)
 | 
				
			||||||
ASM_PFX(InstallInterruptHandler):
 | 
					ASM_PFX(InstallInterruptHandler):
 | 
				
			||||||
#  Vector:DWORD @ 4(%esp)
 | 
					#  Vector:DWORD @ 4(%esp)
 | 
				
			||||||
#  Handler:DWORD @ 8(%esp)
 | 
					#  Handler:DWORD @ 8(%esp)
 | 
				
			||||||
@@ -79,7 +79,7 @@ ASM_PFX(InstallInterruptHandler):
 | 
				
			|||||||
	.endm
 | 
						.endm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .align 2
 | 
					    .align 2
 | 
				
			||||||
	.globl ASM_PFX(SystemExceptionHandler)
 | 
						ASM_GLOBAL ASM_PFX(SystemExceptionHandler)
 | 
				
			||||||
ASM_PFX(SystemExceptionHandler):
 | 
					ASM_PFX(SystemExceptionHandler):
 | 
				
			||||||
INT0:
 | 
					INT0:
 | 
				
			||||||
    pushl    $0x0      # push error code place holder on the stack
 | 
					    pushl    $0x0      # push error code place holder on the stack
 | 
				
			||||||
@@ -206,7 +206,7 @@ INTUnknown:
 | 
				
			|||||||
    JmpCommonIdtEntry
 | 
					    JmpCommonIdtEntry
 | 
				
			||||||
	.endr
 | 
						.endr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	.globl ASM_PFX(SystemTimerHandler)
 | 
						ASM_GLOBAL ASM_PFX(SystemTimerHandler)
 | 
				
			||||||
ASM_PFX(SystemTimerHandler):
 | 
					ASM_PFX(SystemTimerHandler):
 | 
				
			||||||
    pushl    $0
 | 
					    pushl    $0
 | 
				
			||||||
    pushl    $ASM_PFX(mTimerVector)
 | 
					    pushl    $ASM_PFX(mTimerVector)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,11 +24,11 @@
 | 
				
			|||||||
#EXTERN mTimerVector: DWORD
 | 
					#EXTERN mTimerVector: DWORD
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	.data
 | 
						.data
 | 
				
			||||||
	.globl ASM_PFX(mExceptionCodeSize)
 | 
						ASM_GLOBAL ASM_PFX(mExceptionCodeSize)
 | 
				
			||||||
ASM_PFX(mExceptionCodeSize): .long  9
 | 
					ASM_PFX(mExceptionCodeSize): .long  9
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	.text
 | 
						.text
 | 
				
			||||||
	.globl ASM_PFX(InitDescriptor)
 | 
						ASM_GLOBAL ASM_PFX(InitDescriptor)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ASM_PFX(InitDescriptor):
 | 
					ASM_PFX(InitDescriptor):
 | 
				
			||||||
        movq    $GDT_BASE,%rax              # EAX=PHYSICAL address of gdt
 | 
					        movq    $GDT_BASE,%rax              # EAX=PHYSICAL address of gdt
 | 
				
			||||||
@@ -47,7 +47,7 @@ ASM_PFX(InitDescriptor):
 | 
				
			|||||||
#     UINTN Vector,
 | 
					#     UINTN Vector,
 | 
				
			||||||
#     VOID  (*Handler)(VOID)
 | 
					#     VOID  (*Handler)(VOID)
 | 
				
			||||||
#     )
 | 
					#     )
 | 
				
			||||||
	.globl ASM_PFX(InstallInterruptHandler)
 | 
						ASM_GLOBAL ASM_PFX(InstallInterruptHandler)
 | 
				
			||||||
ASM_PFX(InstallInterruptHandler):
 | 
					ASM_PFX(InstallInterruptHandler):
 | 
				
			||||||
#  Vector:DWORD @ 4(%esp)
 | 
					#  Vector:DWORD @ 4(%esp)
 | 
				
			||||||
#  Handler:DWORD @ 8(%esp)
 | 
					#  Handler:DWORD @ 8(%esp)
 | 
				
			||||||
@@ -84,7 +84,7 @@ ASM_PFX(InstallInterruptHandler):
 | 
				
			|||||||
	.endm
 | 
						.endm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .align 2
 | 
					    .align 2
 | 
				
			||||||
	.globl ASM_PFX(SystemExceptionHandler)
 | 
						ASM_GLOBAL ASM_PFX(SystemExceptionHandler)
 | 
				
			||||||
ASM_PFX(SystemExceptionHandler):
 | 
					ASM_PFX(SystemExceptionHandler):
 | 
				
			||||||
INT0:
 | 
					INT0:
 | 
				
			||||||
    push     $0x0      # push error code place holder on the stack
 | 
					    push     $0x0      # push error code place holder on the stack
 | 
				
			||||||
@@ -211,7 +211,7 @@ INTUnknown:
 | 
				
			|||||||
    JmpCommonIdtEntry
 | 
					    JmpCommonIdtEntry
 | 
				
			||||||
	.endr
 | 
						.endr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	.globl ASM_PFX(SystemTimerHandler)
 | 
						ASM_GLOBAL ASM_PFX(SystemTimerHandler)
 | 
				
			||||||
ASM_PFX(SystemTimerHandler):
 | 
					ASM_PFX(SystemTimerHandler):
 | 
				
			||||||
    push     $0
 | 
					    push     $0
 | 
				
			||||||
    push     $ASM_PFX(mTimerVector)
 | 
					    push     $ASM_PFX(mTimerVector)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user