Remove unnecessary RT attribute from LegacyDevOrder variable.
authorRuiyu Ni <ruiyu.ni@intel.com>
Mon, 22 Dec 2014 07:30:06 +0000 (07:30 +0000)
committerniruiyu <niruiyu@Edk2>
Mon, 22 Dec 2014 07:30:06 +0000 (07:30 +0000)
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

IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c

index 3a74d24..33e2902 100644 (file)
@@ -1042,7 +1042,7 @@ BdsCreateDevOrder (
   Status = gRT->SetVariable (\r
                   VAR_LEGACY_DEV_ORDER,\r
                   &gEfiLegacyDevOrderVariableGuid,\r
-                  EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE,\r
+                  EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE,\r
                   TotalSize,\r
                   DevOrder\r
                   );\r
@@ -1363,7 +1363,7 @@ BdsUpdateLegacyDevOrder (
   Status = gRT->SetVariable (\r
                   VAR_LEGACY_DEV_ORDER,\r
                   &gEfiLegacyDevOrderVariableGuid,\r
-                  EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE,\r
+                  EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE,\r
                   TotalSize,\r
                   NewDevOrder\r
                   );\r