mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-19 01:35:22 -04:00
Add Kaitai-based parser for Dell DVAR store
This commit is contained in:
parent
c8b7151b9e
commit
73d07cddc3
14 changed files with 870 additions and 16 deletions
|
@ -60,6 +60,7 @@ UString itemTypeToUString(const UINT8 type)
|
|||
case Types::CmdbStore: return UString("CMDB store");
|
||||
case Types::PhoenixFlashMapStore: return UString("FlashMap store");
|
||||
case Types::InsydeFlashDeviceMapStore: return UString("FlashDeviceMap store");
|
||||
case Types::DellDvarStore: return UString("DVAR store");
|
||||
case Types::NvarGuidStore: return UString("NVAR GUID store");
|
||||
case Types::NvarEntry: return UString("NVAR entry");
|
||||
case Types::VssEntry: return UString("VSS entry");
|
||||
|
@ -67,6 +68,7 @@ UString itemTypeToUString(const UINT8 type)
|
|||
case Types::EvsaEntry: return UString("EVSA entry");
|
||||
case Types::PhoenixFlashMapEntry: return UString("FlashMap entry");
|
||||
case Types::InsydeFlashDeviceMapEntry: return UString("FlashDeviceMap entry");
|
||||
case Types::DellDvarEntry: return UString("DVAR entry");
|
||||
case Types::Microcode: return UString("Microcode");
|
||||
case Types::SlicData: return UString("SLIC data");
|
||||
case Types::FptStore: return UString("FPT store");
|
||||
|
@ -146,6 +148,12 @@ UString itemSubtypeToUString(const UINT8 type, const UINT8 subtype)
|
|||
else if (subtype == Subtypes::DataFlashMapEntry) return UString("Data");
|
||||
else if (subtype == Subtypes::UnknownFlashMapEntry) return UString("Unknown");
|
||||
break;
|
||||
case Types::DellDvarEntry:
|
||||
if (subtype == Subtypes::InvalidDvarEntry) return UString("Invalid");
|
||||
else if (subtype == Subtypes::NamespaceGuidDvarEntry) return UString("NamespaceGuid");
|
||||
else if (subtype == Subtypes::NameIdDvarEntry) return UString("NameId");
|
||||
else if (subtype == Subtypes::UnknownDvarEntry) return UString("Unknown");
|
||||
break;
|
||||
case Types::Microcode:
|
||||
if (subtype == Subtypes::IntelMicrocode) return UString("Intel");
|
||||
else if (subtype == Subtypes::AmdMicrocode) return UString("AMD");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue