mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-24 00:48:23 +08:00
Update ffsparser.cpp
This commit is contained in:
parent
1dc5457757
commit
848072dfe8
@ -1529,19 +1529,11 @@ USTATUS FfsParser::parseFileHeader(const UByteArray & file, const UINT32 localOf
|
|||||||
if (msgFileAlignmentIsGreaterThanVolumeAlignment)
|
if (msgFileAlignmentIsGreaterThanVolumeAlignment)
|
||||||
msg(usprintf("%s: file alignment %Xh is greater than parent volume alignment %Xh", __FUNCTION__, alignment, volumeAlignment), index);
|
msg(usprintf("%s: file alignment %Xh is greater than parent volume alignment %Xh", __FUNCTION__, alignment, volumeAlignment), index);
|
||||||
if (msgInvalidHeaderChecksum)
|
if (msgInvalidHeaderChecksum)
|
||||||
<<<<<<< HEAD
|
|
||||||
msg(usprintf("%s: invalid header checksum %02Xh, should be %02Xh", __FUNCTION__, fileHeader->IntegrityCheck.Checksum.Header, calculatedHeader), index);
|
msg(usprintf("%s: invalid header checksum %02Xh, should be %02Xh", __FUNCTION__, fileHeader->IntegrityCheck.Checksum.Header, calculatedHeader), index);
|
||||||
if (msgInvalidDataChecksum)
|
if (msgInvalidDataChecksum)
|
||||||
msg(usprintf("%s: invalid data checksum %02Xh, should be %02Xh", __FUNCTION__, fileHeader->IntegrityCheck.Checksum.File, calculatedData), index);
|
msg(usprintf("%s: invalid data checksum %02Xh, should be %02Xh", __FUNCTION__, fileHeader->IntegrityCheck.Checksum.File, calculatedData), index);
|
||||||
if (msgInvalidTailValue)
|
if (msgInvalidTailValue)
|
||||||
msg(usprintf("%s: invalid tail value %04Xh", __FUNCTION__, *(const UINT16*)tail.constData()), index);
|
msg(usprintf("%s: invalid tail value %04Xh", __FUNCTION__, *(const UINT16*)tail.constData()), index);
|
||||||
=======
|
|
||||||
msg(usprintf("parseFileHeader: invalid header checksum %02Xh, should be %02Xh", fileHeader->IntegrityCheck.Checksum.Header, calculatedHeader), index);
|
|
||||||
if (msgInvalidDataChecksum)
|
|
||||||
msg(usprintf("parseFileHeader: invalid data checksum %02Xh, should be %02Xh", fileHeader->IntegrityCheck.Checksum.File, calculatedData), index);
|
|
||||||
if (msgInvalidTailValue)
|
|
||||||
msg(usprintf("parseFileHeader: invalid tail value %04Xh", *(const UINT16*)tail.constData()), index);
|
|
||||||
>>>>>>> 775ad7d25b97e266928f437af14b47d38578af63
|
|
||||||
if (msgUnknownType)
|
if (msgUnknownType)
|
||||||
msg(usprintf("%s: unknown file type %02Xh", __FUNCTION__, fileHeader->Type), index);
|
msg(usprintf("%s: unknown file type %02Xh", __FUNCTION__, fileHeader->Type), index);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user