mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg/PlatformPeim: constify EFI_PEI_PPI_DESCRIPTOR globals
Make global EFI_PEI_PPI_DESCRIPTOR instances CONST to prevent them from being emitted into the .data section. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18189 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
0c7cc4fb92
commit
64748d26a6
|
@ -50,13 +50,13 @@ PlatformPeim (
|
|||
//
|
||||
// Module globals
|
||||
//
|
||||
EFI_PEI_PPI_DESCRIPTOR mPpiListBootMode = {
|
||||
CONST EFI_PEI_PPI_DESCRIPTOR mPpiListBootMode = {
|
||||
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
|
||||
&gEfiPeiMasterBootModePpiGuid,
|
||||
NULL
|
||||
};
|
||||
|
||||
EFI_PEI_PPI_DESCRIPTOR mPpiListRecoveryBootMode = {
|
||||
CONST EFI_PEI_PPI_DESCRIPTOR mPpiListRecoveryBootMode = {
|
||||
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
|
||||
&gEfiPeiBootInRecoveryModePpiGuid,
|
||||
NULL
|
||||
|
|
Loading…
Reference in New Issue