mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 22:54:47 -04:00
Add support for parsing NVRAM_NVAR_BB_DEFAULTS_FILE_GUID, closes #71
This commit is contained in:
parent
be65f8ae06
commit
f386eda430
2 changed files with 10 additions and 1 deletions
|
@ -1669,8 +1669,13 @@ USTATUS FfsParser::parseFileBody(const UModelIndex & index)
|
||||||
return nvramParser->parseNvarStore(index);
|
return nvramParser->parseNvarStore(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (fileGuid == NVRAM_NVAR_BB_DEFAULTS_FILE_GUID) {
|
||||||
|
model->setText(index, UString("NVAR bb defaults"));
|
||||||
|
return nvramParser->parseNvarStore(index);
|
||||||
|
}
|
||||||
|
|
||||||
// Parse vendor hash file
|
// Parse vendor hash file
|
||||||
else if (fileGuid == BG_VENDOR_HASH_FILE_GUID_PHOENIX) {
|
if (fileGuid == BG_VENDOR_HASH_FILE_GUID_PHOENIX) {
|
||||||
return parseVendorHashFile(fileGuid, index);
|
return parseVendorHashFile(fileGuid, index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,10 @@ const UByteArray NVRAM_NVAR_EXTERNAL_DEFAULTS_FILE_GUID
|
||||||
const UByteArray NVRAM_NVAR_PEI_EXTERNAL_DEFAULTS_FILE_GUID
|
const UByteArray NVRAM_NVAR_PEI_EXTERNAL_DEFAULTS_FILE_GUID
|
||||||
("\x50\xDC\xD3\x77\x2B\xD4\x16\x49\xAC\x80\x8F\x46\x90\x35\xD1\x50", 16);
|
("\x50\xDC\xD3\x77\x2B\xD4\x16\x49\xAC\x80\x8F\x46\x90\x35\xD1\x50", 16);
|
||||||
|
|
||||||
|
// AF516361-B4C5-436E-A7E3-A149A31B1461
|
||||||
|
const UByteArray NVRAM_NVAR_BB_DEFAULTS_FILE_GUID
|
||||||
|
("\x61\x63\x51\xAF\xC5\xB4\x6E\x43\xA7\xE3\xA1\x49\xA3\x1B\x14\x61", 16);
|
||||||
|
|
||||||
extern UString nvarAttributesToUString(const UINT8 attributes);
|
extern UString nvarAttributesToUString(const UINT8 attributes);
|
||||||
extern UString nvarExtendedAttributesToUString(const UINT8 attributes);
|
extern UString nvarExtendedAttributesToUString(const UINT8 attributes);
|
||||||
extern UString efiTimeToUString(const EFI_TIME & time);
|
extern UString efiTimeToUString(const EFI_TIME & time);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue