mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-12 22:26:13 -04:00
Implement Mac Image parsing support
This commit is contained in:
parent
2e7aa8133a
commit
a01d2c6003
5 changed files with 71 additions and 14 deletions
|
@ -110,6 +110,9 @@ UString itemSubtypeToUString(const UINT8 type, const UINT8 subtype)
|
|||
if (subtype == Subtypes::UefiCapsule) return UString("UEFI 2.0");
|
||||
if (subtype == Subtypes::ToshibaCapsule) return UString("Toshiba");
|
||||
break;
|
||||
case Types::MacImage:
|
||||
if (subtype == Subtypes::MacGenericImage) return UString("Mac 1.0");
|
||||
break;
|
||||
case Types::Region: return regionTypeToUString(subtype);
|
||||
case Types::File: return fileTypeToUString(subtype);
|
||||
case Types::Section: return sectionTypeToUString(subtype);
|
||||
|
@ -216,4 +219,4 @@ UString fitEntryTypeToUString(const UINT8 type)
|
|||
}
|
||||
|
||||
return UString("Unknown");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue