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
[Rule.Common.SEC]
FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
- TE TE Align = 8 |.efi
+ TE TE Align = 32 |.efi
}
[Rule.Common.PEI_CORE]
\r
[Rule.Common.SEC]\r
FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {\r
- TE TE Align = 8 |.efi\r
+ TE TE Align = 32 |.efi\r
}\r
\r
[Rule.Common.PEI_CORE]\r
[Rule.Common.SEC]
FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
- TE TE Align = 8 |.efi
+ TE TE Align = 32 |.efi
}
[Rule.Common.PEI_CORE]
//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\r
-Dummy2: .word 0\r
ASM_PFX(PeiVectorTable):
b _DefaultResetHandler
//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\r
-Dummy2 DCD 0\r
PeiVectorTable
b _DefaultResetHandler
//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
//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\r
-Dummy2 DCD 0\r
SecVectorTable
b _DefaultResetHandler