]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Use .p2align directive instead of ambiguous .align directive.
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 20 Aug 2009 07:38:26 +0000 (07:38 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 20 Aug 2009 07:38:26 +0000 (07:38 +0000)
(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

MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S
MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S

index cf39bd6eb2a707630b889ddbda49d10250dbceac..43359f6f0c783dbcaae16a8e7c0119836c7a145e 100644 (file)
@@ -2,7 +2,7 @@
 #  \r
 #    IDT vector entry.\r
 #  \r
-#  Copyright (c) 2007 - 2008, Intel Corporation. <BR>\r
+#  Copyright (c) 2007 - 2009, Intel Corporation. <BR>\r
 #  All rights reserved. This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #  which accompanies this distribution.  The full text of the license may be found at\r
@@ -17,7 +17,7 @@
     .code32\r
 \r
 \r
-    .align  8\r
+    .p2align 3\r
     ASM_GLOBAL  ASM_PFX(AsmGetVectorTemplatInfo)\r
     ASM_GLOBAL         ASM_PFX(AsmVectorFixup)\r
 /*\r
index 6d53cb29d1f9145bf1023c7814e36302522d3c11..958c398a9579ac641171a177f7ea1fbb3ab7d8ec 100644 (file)
@@ -1,7 +1,7 @@
 #/**@file\r
 # Low leve x64 specific debug support functions.\r
 #\r
-# Copyright (c) 2006 - 2008, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
 # All rights reserved. This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
@@ -66,7 +66,7 @@ ASM_PFX(OrigVector):       .long   0x66666666 # ?
 ##        UINT64            R8, R9, R10, R11, R12, R13, R14, R15;\r
 ##      } SYSTEM_CONTEXT_X64;  // 64 bit system context record\r
 \r
-.align          16\r
+.p2align 4\r
 DebugStackEnd : .ascii     "DbgStkEnd >>>>>>"    # 16 byte long string - must be 16 bytes to preserve alignment\r
                 .rept  0x1ffc\r
                   .long    0x00000000  \r