mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: use central variable definitions in DriverSampleDxe
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>
This commit is contained in:
parent
8bbb56b485
commit
a9b7e035ba
|
@ -14,6 +14,7 @@
|
|||
//**/
|
||||
|
||||
|
||||
#include <Uefi/UefiMultiPhase.h>
|
||||
#include "NVDataStruc.h"
|
||||
|
||||
//
|
||||
|
@ -35,14 +36,6 @@
|
|||
#define EFI_FRONT_PAGE_SUBCLASS 0x02
|
||||
#define EFI_SINGLE_USE_SUBCLASS 0x03
|
||||
|
||||
//
|
||||
// EFI Variable attributes
|
||||
//
|
||||
#define EFI_VARIABLE_NON_VOLATILE 0x00000001
|
||||
#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002
|
||||
#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004
|
||||
#define EFI_VARIABLE_READ_ONLY 0x00000008
|
||||
|
||||
#define EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID \
|
||||
{ 0x85b75607, 0xf7ce, 0x471e, { 0xb7, 0xe4, 0x2a, 0xea, 0x5f, 0x72, 0x32, 0xee } }
|
||||
|
||||
|
|
Loading…
Reference in New Issue