From 9d37f82f3e940bda575bfd3193aee3aa51e28df8 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 20 Aug 2009 07:38:26 +0000 Subject: 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 --- MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S | 4 ++-- MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S | 4 ++-- 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.
+# Copyright (c) 2007 - 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 @@ -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 -- cgit v1.2.3