diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2014-12-22 07:30:06 +0000 |
---|---|---|
committer | niruiyu <niruiyu@Edk2> | 2014-12-22 07:30:06 +0000 |
commit | 32d258b5e78f0f45562a0cad909fd4add4b521d0 (patch) | |
tree | 65bfd3d31153b07f704cea81a2bea0a4ac43ef40 | |
parent | f571ef9880ed8f3f3b41b12015b5079b508151de (diff) | |
download | edk2-platforms-32d258b5e78f0f45562a0cad909fd4add4b521d0.tar.xz |
Remove unnecessary RT attribute from LegacyDevOrder variable.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16545 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c index 3a74d24613..33e2902197 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c @@ -1042,7 +1042,7 @@ BdsCreateDevOrder ( Status = gRT->SetVariable (
VAR_LEGACY_DEV_ORDER,
&gEfiLegacyDevOrderVariableGuid,
- EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE,
+ EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE,
TotalSize,
DevOrder
);
@@ -1363,7 +1363,7 @@ BdsUpdateLegacyDevOrder ( Status = gRT->SetVariable (
VAR_LEGACY_DEV_ORDER,
&gEfiLegacyDevOrderVariableGuid,
- EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE,
+ EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE,
TotalSize,
NewDevOrder
);
|