From: Gao, Liming Date: Thu, 27 Mar 2014 05:11:02 +0000 (+0000) Subject: Remove RT attribute for variable PlatDriOver. X-Git-Tag: edk2-stable201903~11577 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=90651f777344979cc3a85f56f10a176ceacaf065 Remove RT attribute for variable PlatDriOver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gao, Liming Reviewed-by: Yao, Jiewen Reviewed-by: Zeng, Star git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15401 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c index d07f62ab4a..bad8ecc35f 100644 --- a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c +++ b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c @@ -912,7 +912,7 @@ DeleteOverridesVariables ( Status = gRT->SetVariable ( L"PlatDriOver", &gEfiCallerIdGuid, - EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE, + EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE, 0, NULL ); @@ -922,7 +922,7 @@ DeleteOverridesVariables ( Status = gRT->SetVariable ( OverrideVariableName, &gEfiCallerIdGuid, - EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE, + EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE, 0, NULL ); @@ -977,7 +977,7 @@ SaveOverridesMapping ( // Get the the maximum size of an individual EFI variable in current system // gRT->QueryVariableInfo ( - EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE, + EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE, &MaximumVariableStorageSize, &RemainingVariableStorageSize, &MaximumVariableSize @@ -1086,7 +1086,7 @@ SaveOverridesMapping ( Status = gRT->SetVariable ( OverrideVariableName, &gEfiCallerIdGuid, - EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE, + EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE, VariableNeededSize, VariableBuffer );