summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/PlatformPei
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-08-07 17:27:33 +0000
committerabiesheuvel <abiesheuvel@Edk2>2015-08-07 17:27:33 +0000
commit64748d26a684a7b86b4d979d2de4fbe0557192a2 (patch)
tree4846ebbeb2db562523153eb77295f1d81d2236ed /ArmPlatformPkg/PlatformPei
parent0c7cc4fb923d802a9dda4f6126884aba34fdab76 (diff)
downloadedk2-64748d26a684a7b86b4d979d2de4fbe0557192a2.tar.gz
edk2-64748d26a684a7b86b4d979d2de4fbe0557192a2.tar.bz2
edk2-64748d26a684a7b86b4d979d2de4fbe0557192a2.zip
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
Diffstat (limited to 'ArmPlatformPkg/PlatformPei')
-rwxr-xr-xArmPlatformPkg/PlatformPei/PlatformPeim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPlatformPkg/PlatformPei/PlatformPeim.c b/ArmPlatformPkg/PlatformPei/PlatformPeim.c
index ca47753ebd..58ecb31ec2 100755
--- a/ArmPlatformPkg/PlatformPei/PlatformPeim.c
+++ b/ArmPlatformPkg/PlatformPei/PlatformPeim.c
@@ -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