diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-08-07 17:27:33 +0000 |
---|---|---|
committer | abiesheuvel <abiesheuvel@Edk2> | 2015-08-07 17:27:33 +0000 |
commit | 64748d26a684a7b86b4d979d2de4fbe0557192a2 (patch) | |
tree | 4846ebbeb2db562523153eb77295f1d81d2236ed /ArmPlatformPkg/PlatformPei | |
parent | 0c7cc4fb923d802a9dda4f6126884aba34fdab76 (diff) | |
download | edk2-platforms-64748d26a684a7b86b4d979d2de4fbe0557192a2.tar.xz |
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-x | ArmPlatformPkg/PlatformPei/PlatformPeim.c | 4 |
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
|