MdePkg: Add Sys Prep string definition and macro definition.
authorRuiyu Ni <ruiyu.ni@intel.com>
Mon, 11 May 2015 06:32:51 +0000 (06:32 +0000)
committerniruiyu <niruiyu@Edk2>
Mon, 11 May 2015 06:32:51 +0000 (06:32 +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@17402 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Guid/GlobalVariable.h
MdePkg/Include/Uefi/UefiSpec.h

index 83450da..b7e37e7 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   GUID for EFI (NVRAM) Variables.\r
 \r
-  Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
@@ -107,6 +107,11 @@ extern EFI_GUID gEfiGlobalVariableGuid;
 ///\r
 #define EFI_DRIVER_ORDER_VARIABLE_NAME              L"DriverOrder"\r
 ///\r
+/// The ordered System Prep Application load option list.\r
+/// Its attribute is NV+BS+RT.\r
+///\r
+#define EFI_SYS_PREP_ORDER_VARIABLE_NAME            L"SysPrepOrder"\r
+///\r
 /// Identifies the level of hardware error record persistence\r
 /// support implemented by the platform. This variable is\r
 /// only modified by firmware and is read-only to the OS.\r
index d38a557..4aef871 100644 (file)
@@ -2061,17 +2061,18 @@ typedef struct _EFI_LOAD_OPTION {
 //\r
 // EFI Load Options Attributes\r
 //\r
-#define LOAD_OPTION_ACTIVE            0x00000001\r
-#define LOAD_OPTION_FORCE_RECONNECT   0x00000002\r
-#define LOAD_OPTION_HIDDEN            0x00000008\r
-#define LOAD_OPTION_CATEGORY          0x00001F00\r
-\r
-#define LOAD_OPTION_CATEGORY_BOOT     0x00000000\r
-#define LOAD_OPTION_CATEGORY_APP      0x00000100\r
-\r
-#define EFI_BOOT_OPTION_SUPPORT_KEY   0x00000001\r
-#define EFI_BOOT_OPTION_SUPPORT_APP   0x00000002\r
-#define EFI_BOOT_OPTION_SUPPORT_COUNT 0x00000300\r
+#define LOAD_OPTION_ACTIVE              0x00000001\r
+#define LOAD_OPTION_FORCE_RECONNECT     0x00000002\r
+#define LOAD_OPTION_HIDDEN              0x00000008\r
+#define LOAD_OPTION_CATEGORY            0x00001F00\r
+\r
+#define LOAD_OPTION_CATEGORY_BOOT       0x00000000\r
+#define LOAD_OPTION_CATEGORY_APP        0x00000100\r
+\r
+#define EFI_BOOT_OPTION_SUPPORT_KEY     0x00000001\r
+#define EFI_BOOT_OPTION_SUPPORT_APP     0x00000002\r
+#define EFI_BOOT_OPTION_SUPPORT_SYSPREP 0x00000010\r
+#define EFI_BOOT_OPTION_SUPPORT_COUNT   0x00000300\r
 \r
 ///\r
 /// EFI Boot Key Data\r