mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
50c5f18731
commit
95650ceda8
@ -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]
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user