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/Sec/Exception.S | 3 --- ArmPlatformPkg/Sec/Exception.asm | 3 --- 2 files changed, 6 deletions(-) (limited to 'ArmPlatformPkg/Sec') diff --git a/ArmPlatformPkg/Sec/Exception.S b/ArmPlatformPkg/Sec/Exception.S index 54d6104b81..4c7f780dbe 100644 --- a/ArmPlatformPkg/Sec/Exception.S +++ b/ArmPlatformPkg/Sec/Exception.S @@ -29,9 +29,6 @@ GCC_ASM_EXPORT(SecVectorTable) //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(SecVectorTable): b _DefaultResetHandler diff --git a/ArmPlatformPkg/Sec/Exception.asm b/ArmPlatformPkg/Sec/Exception.asm index dcf2cf93b4..ef8629a897 100644 --- a/ArmPlatformPkg/Sec/Exception.asm +++ b/ArmPlatformPkg/Sec/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 SecVectorTable b _DefaultResetHandler -- cgit v1.2.3