summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-20 07:38:26 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-20 07:38:26 +0000
commit9d37f82f3e940bda575bfd3193aee3aa51e28df8 (patch)
tree478d78a8814ddb1a4a5dff5c8816ea73a6ab82df
parentea3c1b3ad6ba70c02dc130583f843a14c6d10b2a (diff)
downloadedk2-platforms-9d37f82f3e940bda575bfd3193aee3aa51e28df8.tar.xz
Use .p2align directive instead of ambiguous .align directive.
(Judging from the context, the original .align should means the power of two.) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9153 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S4
-rw-r--r--MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S4
2 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S b/MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S
index cf39bd6eb2..43359f6f0c 100644
--- a/MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S
+++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S
@@ -2,7 +2,7 @@
#
# IDT vector entry.
#
-# Copyright (c) 2007 - 2008, Intel Corporation. <BR>
+# Copyright (c) 2007 - 2009, Intel Corporation. <BR>
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -17,7 +17,7 @@
.code32
- .align 8
+ .p2align 3
ASM_GLOBAL ASM_PFX(AsmGetVectorTemplatInfo)
ASM_GLOBAL ASM_PFX(AsmVectorFixup)
/*
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S b/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
index 6d53cb29d1..958c398a95 100644
--- a/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
+++ b/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
@@ -1,7 +1,7 @@
#/**@file
# Low leve x64 specific debug support functions.
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, Intel Corporation
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -66,7 +66,7 @@ ASM_PFX(OrigVector): .long 0x66666666 # ?
## UINT64 R8, R9, R10, R11, R12, R13, R14, R15;
## } SYSTEM_CONTEXT_X64; // 64 bit system context record
-.align 16
+.p2align 4
DebugStackEnd : .ascii "DbgStkEnd >>>>>>" # 16 byte long string - must be 16 bytes to preserve alignment
.rept 0x1ffc
.long 0x00000000