From 95650ceda8aad7e6009807be89dd90d3ba3d7022 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Tue, 26 Apr 2011 17:00:11 +0000 Subject: ArmPlatform: Remove dummy padding to make the Reset Vector aligned on 32 bytes boundary A dummy padding was added before the Reset Vectors to force the alignment on a 32 bytes boundary in XIP code. The correct fix is to define the alignment in the FDF file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11588 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/PrePeiCore/Exception.S | 3 --- ArmPlatformPkg/PrePeiCore/Exception.asm | 3 --- 2 files changed, 6 deletions(-) (limited to 'ArmPlatformPkg/PrePeiCore') diff --git a/ArmPlatformPkg/PrePeiCore/Exception.S b/ArmPlatformPkg/PrePeiCore/Exception.S index 618e0787b..a7b4982c2 100644 --- a/ArmPlatformPkg/PrePeiCore/Exception.S +++ b/ArmPlatformPkg/PrePeiCore/Exception.S @@ -29,9 +29,6 @@ GCC_ASM_EXPORT(PeiVectorTable) //Default Exception Handlers //============================================================ -//FIXME: One of the EDK2 tool is broken. It does not look to respect the alignment. Even, if we specify 32-byte alignment for this file. -Dummy1: .word 0 -Dummy2: .word 0 ASM_PFX(PeiVectorTable): b _DefaultResetHandler diff --git a/ArmPlatformPkg/PrePeiCore/Exception.asm b/ArmPlatformPkg/PrePeiCore/Exception.asm index d081c4956..16e0d9d14 100644 --- a/ArmPlatformPkg/PrePeiCore/Exception.asm +++ b/ArmPlatformPkg/PrePeiCore/Exception.asm @@ -25,9 +25,6 @@ //Default Exception Handlers //============================================================ -//FIXME: One of the EDK2 tool is broken. It does not look to respect the alignment. Even, if we specify 32-byte alignment for this file. -Dummy1 DCD 0 -Dummy2 DCD 0 PeiVectorTable b _DefaultResetHandler -- cgit v1.2.3