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
This commit is contained in:
oliviermartin 2011-04-26 17:00:11 +00:00
parent 50c5f18731
commit 95650ceda8
7 changed files with 3 additions and 15 deletions

View File

@ -254,7 +254,7 @@ READ_LOCK_STATUS = TRUE
[Rule.Common.SEC]
FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
TE TE Align = 8 |.efi
TE TE Align = 32 |.efi
}
[Rule.Common.PEI_CORE]

View File

@ -254,7 +254,7 @@ READ_LOCK_STATUS = TRUE
[Rule.Common.SEC]
FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
TE TE Align = 8 |.efi
TE TE Align = 32 |.efi
}
[Rule.Common.PEI_CORE]

View File

@ -257,7 +257,7 @@ READ_LOCK_STATUS = TRUE
[Rule.Common.SEC]
FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
TE TE Align = 8 |.efi
TE TE Align = 32 |.efi
}
[Rule.Common.PEI_CORE]

View File

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

View File

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

View File

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

View File

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