mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-09 05:42:01 -04:00
Add ADSP to the list of known BPDT partitions
This commit is contained in:
parent
c0368902c4
commit
fa7360d9c2
3 changed files with 3 additions and 1 deletions
|
@ -372,6 +372,7 @@ UString bpdtEntryTypeToUString(const UINT16 type)
|
|||
case BPDT_ENTRY_TYPE_GBST: return UString("GBST");
|
||||
case BPDT_ENTRY_TYPE_TCCP: return UString("TCC");
|
||||
case BPDT_ENTRY_TYPE_PSEP: return UString("PSE");
|
||||
case BPDT_ENTRY_TYPE_ADSP: return UString("ADSP");
|
||||
}
|
||||
return usprintf("Unknown %04Xh", type);
|
||||
}
|
||||
|
|
|
@ -638,6 +638,7 @@ typedef struct BPDT_ENTRY_ {
|
|||
#define BPDT_ENTRY_TYPE_GBST 43
|
||||
#define BPDT_ENTRY_TYPE_TCCP 44
|
||||
#define BPDT_ENTRY_TYPE_PSEP 45
|
||||
#define BPDT_ENTRY_TYPE_ADSP 50
|
||||
|
||||
// CPD
|
||||
#define CPD_SIGNATURE 0x44504324 //$CPD
|
||||
|
|
|
@ -4840,7 +4840,7 @@ make_partition_table_consistent:
|
|||
}
|
||||
|
||||
// Check for entry type to be known
|
||||
if (partitions[i].ptEntry.Type > BPDT_ENTRY_TYPE_PSEP) {
|
||||
if (partitions[i].ptEntry.Type > BPDT_ENTRY_TYPE_PSEP && partitions[i].ptEntry.Type != BPDT_ENTRY_TYPE_ADSP) {
|
||||
msg(usprintf("%s: BPDT entry of unknown type found", __FUNCTION__), partitionIndex);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue