MdeModulePkg HiiDataBase: Enable Firmware to retrieve the default setting
https://bugzilla.tianocore.org/show_bug.cgi?id=611 Update HiiDataBase to retrieve the default setting and patch IFR data Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@@ -32,7 +32,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#include <Guid/HiiKeyBoardLayout.h>
|
||||
#include <Guid/GlobalVariable.h>
|
||||
#include <Guid/MdeModuleHii.h>
|
||||
|
||||
#include <Guid/VariableFormat.h>
|
||||
#include <Guid/PcdDataBaseSignatureGuid.h>
|
||||
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
@@ -65,6 +66,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
//
|
||||
// BASE_CR (a, IFR_DEFAULT_VALUE_DATA, Entry) to get the whole structure.
|
||||
|
||||
typedef struct {
|
||||
LIST_ENTRY Entry; // Link to VarStorage Default Data
|
||||
UINT16 DefaultId;
|
||||
VARIABLE_STORE_HEADER *VariableStorage;
|
||||
} VARSTORAGE_DEFAULT_DATA;
|
||||
|
||||
typedef struct {
|
||||
LIST_ENTRY Entry; // Link to VarStorage
|
||||
EFI_GUID Guid;
|
||||
|
Reference in New Issue
Block a user