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
This commit is contained in:
qhuang8 2009-08-20 07:38:26 +00:00
parent ea3c1b3ad6
commit 9d37f82f3e
2 changed files with 4 additions and 4 deletions

View File

@ -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)
/*

View File

@ -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