]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: use central variable definitions in DriverSampleDxe
authorLeif Lindholm <leif.lindholm@linaro.org>
Wed, 13 Dec 2017 12:01:04 +0000 (12:01 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Fri, 23 Feb 2018 14:23:20 +0000 (14:23 +0000)
Use UefiMultiPhase.h in Vfr.vfr instead of duplicating EFI_VARIABLE_*
definitions.

Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr

index c1682913faf17630bb9c008e8247bfbd9ba6a22d..b1017d9fd07151e93a35a7b757a31bd5908faaa6 100644 (file)
@@ -14,6 +14,7 @@
 //**/\r
 \r
 \r
+#include <Uefi/UefiMultiPhase.h>\r
 #include "NVDataStruc.h"\r
 \r
 //\r
 #define EFI_FRONT_PAGE_SUBCLASS           0x02\r
 #define EFI_SINGLE_USE_SUBCLASS           0x03\r
 \r
-//\r
-// EFI Variable attributes\r
-//\r
-#define EFI_VARIABLE_NON_VOLATILE       0x00000001\r
-#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002\r
-#define EFI_VARIABLE_RUNTIME_ACCESS     0x00000004\r
-#define EFI_VARIABLE_READ_ONLY          0x00000008\r
-\r
 #define EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID \\r
   { 0x85b75607, 0xf7ce, 0x471e, { 0xb7, 0xe4, 0x2a, 0xea, 0x5f, 0x72, 0x32, 0xee } }\r
 \r