summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/DxeIplPeim
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-30 05:50:49 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-30 05:50:49 +0000
commited0b86b1838a525dc5e9e86dc0acd47e3a16dc50 (patch)
tree9c09b5c7599820fb678ac57abff5941552435de7 /MdeModulePkg/Core/DxeIplPeim
parent804405e7d10525e41720216137b2551f62a0663f (diff)
downloadedk2-ed0b86b1838a525dc5e9e86dc0acd47e3a16dc50.zip
edk2-ed0b86b1838a525dc5e9e86dc0acd47e3a16dc50.tar.gz
edk2-ed0b86b1838a525dc5e9e86dc0acd47e3a16dc50.tar.bz2
make change to support UnixPkg build. The changes are listed as follows:
1. change ASM_PFX() macro, the underscore preceding to function symbol don't be added in Linux. 2. move some illegal characters in .S file. 3. change ELFGCC flag in tools_def.template to support Linux&ELFGCC build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5381 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/DxeIplPeim')
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S16
1 files changed, 8 insertions, 8 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S b/MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S
index ee02a41..a152b50 100644
--- a/MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S
+++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S
@@ -27,26 +27,26 @@
;
;-----------------------------------------------------------------------
*/
-@VectorTemplateBase:
+VectorTemplateBase:
pushl %eax
.byte 0x6a # push #VectorNum
-@VectorNum:
+VectorNum:
.byte 0
movl CommonInterruptEntry, %eax
jmp *%eax
-@VectorTemplateEnd:
+VectorTemplateEnd:
ASM_PFX(AsmGetVectorTemplatInfo):
movl 4(%esp), %ecx
- movl $@VectorTemplateBase, (%ecx)
- movl $(@VectorTemplateEnd - @VectorTemplateBase), %eax
+ movl $VectorTemplateBase, (%ecx)
+ movl $(VectorTemplateEnd - VectorTemplateBase), %eax
ret
ASM_PFX(AsmVectorFixup):
movl 8(%esp), %eax
movl 4(%esp), %ecx
- movb %al, (@VectorNum - @VectorTemplateBase)(%ecx)
+ movb %al, (VectorNum - VectorTemplateBase)(%ecx)
ret
/*
@@ -72,8 +72,8 @@ ASM_PFX(AsmVectorFixup):
CommonInterruptEntry:
cli
-@@:
- jmp @@
+1:
+ jmp 1b