Skip to content

Commit fbf6afd

Browse files
committed
Expand Type column of the report to fit new FlashDeviceMap store and entry types
1 parent 3cb5dc0 commit fbf6afd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

common/ffsreport.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ std::vector<UString> FfsReport::generate()
3333
}
3434

3535
// Generate report recursive
36-
report.push_back(UString(" Type | Subtype | Base | Size | CRC32 | Name "));
36+
report.push_back(UString(" Type | Subtype | Base | Size | CRC32 | Name "));
3737
USTATUS result = generateRecursive(report, root);
3838
if (result) {
3939
report.push_back(usprintf("%s: generateRecursive returned ", __FUNCTION__) + errorCodeToUString(result));
@@ -59,7 +59,7 @@ USTATUS FfsReport::generateRecursive(std::vector<UString> & report, const UModel
5959
}
6060

6161
report.push_back(
62-
UString(" ") + itemTypeToUString(model->type(index)).leftJustified(16)
62+
UString(" ") + itemTypeToUString(model->type(index)).leftJustified(20)
6363
+ UString("| ") + itemSubtypeToUString(model->type(index), model->subtype(index)).leftJustified(22)
6464
+ offset
6565
+ usprintf("| %08X | %08X | ", (UINT32)data.size(), crc)

common/nvram.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ extern const UByteArray NVRAM_ADDITIONAL_STORE_VOLUME_GUID; // 00504624-8A59-4EE
7070
#define NVRAM_VSS_STORE_SIGNATURE 0x53535624 // $VSS
7171
#define NVRAM_APPLE_SVS_STORE_SIGNATURE 0x53565324 // $SVS
7272
#define NVRAM_APPLE_NSS_STORE_SIGNATURE 0x53534E24 // $NSS
73-
#define NVRAM_VSS_VARIABLE_START_ID 0x55AA
7473

7574
// Variable store header flags
7675
#define NVRAM_VSS_VARIABLE_STORE_FORMATTED 0x5a

0 commit comments

Comments
 (0)