Version 0.17.10.1

-added GUID info for GUID-defined section
This commit is contained in:
Nikolaj Schlej 2014-05-02 07:44:21 +02:00
parent b0d20fad72
commit b81f5712b5

View File

@ -1039,7 +1039,8 @@ UINT8 FfsEngine::parseSection(const QByteArray & section, QModelIndex & index, c
// Get info // Get info
name = guidToQString(guidDefinedSectionHeader->SectionDefinitionGuid); name = guidToQString(guidDefinedSectionHeader->SectionDefinitionGuid);
info = tr("Type: %1\nSize: %2\nData offset: %3\nAttributes: %4") info = tr("GUID: %1\nType: %2\nSize: %3\nData offset: %4\nAttributes: %5")
.arg(name)
.arg(sectionHeader->Type, 2, 16, QChar('0')) .arg(sectionHeader->Type, 2, 16, QChar('0'))
.arg(body.size(), 6, 16, QChar('0')) .arg(body.size(), 6, 16, QChar('0'))
.arg(guidDefinedSectionHeader->DataOffset, 4, 16, QChar('0')) .arg(guidDefinedSectionHeader->DataOffset, 4, 16, QChar('0'))
@ -3149,4 +3150,4 @@ UINT32 FfsEngine::crc32(UINT32 initial, const UINT8* buffer, UINT32 length)
} }
return(crc32 ^ 0xFFFFFFFF); return(crc32 ^ 0xFFFFFFFF);
} }