X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FDriverSampleDxe%2FNVDataStruc.h;h=c8262a45a07d3eb1ed3650a8a9740e28279fafbe;hp=162c5ecd1f54f8cb6720ff5a0e53ef71f14d9c83;hb=9bd22b08d1a9b0b4c2fd325a928b58acd176d9d1;hpb=7e3bcccb0eed449e95c18b01ae8cbace1a759d01 diff --git a/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h b/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h index 162c5ecd1f..c8262a45a0 100644 --- a/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h +++ b/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h @@ -1,7 +1,7 @@ /** @file -Copyright (c) 2007 - 2008, Intel Corporation -All rights reserved. This program and the accompanying materials +Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -25,15 +25,10 @@ Revision History: #ifndef _NVDATASTRUC_H_ #define _NVDATASTRUC_H_ -#define FORMSET_GUID \ - { \ - 0xA04A27f4, 0xDF00, 0x4D42, {0xB5, 0x52, 0x39, 0x51, 0x13, 0x02, 0x11, 0x3D} \ - } - -#define INVENTORY_GUID \ - { \ - 0xb3f56470, 0x6141, 0x4621, {0x8f, 0x19, 0x70, 0x4e, 0x57, 0x7a, 0xa9, 0xe8} \ - } +#include +#include +#include +#include #define CONFIGURATION_VARSTORE_ID 0x1234 @@ -55,11 +50,25 @@ typedef struct { UINT8 ChooseToActivateNuclearWeaponry; UINT8 SuppressGrayOutSomething; UINT8 OrderedList[8]; - UINT8 BootOrder[8]; + UINT16 BootOrder[8]; UINT8 BootOrderLarge; UINT8 DynamicRefresh; UINT8 DynamicOneof; UINT8 DynamicOrderedList[5]; + UINT8 Reserved; + EFI_HII_REF RefData; + UINT8 NameValueVar0; + UINT16 NameValueVar1; + UINT16 NameValueVar2[20]; + UINT8 SerialPortNo; + UINT8 SerialPortStatus; + UINT16 SerialPortIo; + UINT8 SerialPortIrq; + UINT8 GetDefaultValueFromCallBack; + UINT8 GetDefaultValueFromAccess; + EFI_HII_TIME Time; + UINT8 RefreshGuidCount; + UINT8 Match2; } DRIVER_SAMPLE_CONFIGURATION; // @@ -69,13 +78,14 @@ typedef struct { UINT8 Field8; UINT16 Field16; UINT8 OrderedList[3]; -} MY_DATA2; +} MY_EFI_VARSTORE_DATA; // // Labels definition // #define LABEL_UPDATE1 0x1234 #define LABEL_UPDATE2 0x2234 +#define LABEL_UPDATE3 0x3234 #define LABEL_END 0x2223 #pragma pack()