mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Version 0.17.10.1
-added GUID info for GUID-defined section
This commit is contained in:
parent
b0d20fad72
commit
b81f5712b5
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user