mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 16:08:23 +08:00
UT NE A30, UE 0.12.1, UD 0.1.0
- engine modifications require to make a new release of UT and UE - UEFIDump 0.1.0 with Qt-free engine, at last
This commit is contained in:
parent
a4a8ebba76
commit
589dbd5719
@ -136,12 +136,12 @@ int main(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else { // Show version and usage information
|
else { // Show version and usage information
|
||||||
std::cout << "UEFIExtract 0.12.0" << std::endl << std::endl
|
std::cout << "UEFIExtract 0.12.1" << std::endl << std::endl
|
||||||
<< "Usage: UEFIExtract imagefile - generate report and dump only leaf tree items into .dump folder" << std::endl
|
<< "Usage: UEFIExtract imagefile - generate report and dump only leaf tree items into .dump folder" << std::endl
|
||||||
<< " UEFIExtract imagefile all - generate report and dump all tree items" << std::endl
|
<< " UEFIExtract imagefile all - generate report and dump all tree items" << std::endl
|
||||||
<< " UEFIExtract imagefile none - only generate report, no dump needed" << std::endl
|
<< " UEFIExtract imagefile none - only generate report, no dump needed" << std::endl
|
||||||
<< " UIFIExtract imagefile GUID_1 GUID_2 ... GUID_31 - dump only FFS file(s) with specific GUID(s)" << std::endl
|
<< " UIFIExtract imagefile GUID_1 GUID_2 ... GUID_31 - dump only FFS file(s) with specific GUID(s)" << std::endl
|
||||||
<< "Return value is a bit mask where 0 at position N means that file with GUID_N was found and unpacked, 1 otherwise" << std::endl;
|
<< "Return value is a bit mask where 0 at position N means that file with GUID_N was found and unpacked, 1 otherwise" << std::endl << std::endl;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
UEFITool::UEFITool(QWidget *parent) :
|
UEFITool::UEFITool(QWidget *parent) :
|
||||||
QMainWindow(parent),
|
QMainWindow(parent),
|
||||||
ui(new Ui::UEFITool),
|
ui(new Ui::UEFITool),
|
||||||
version(tr("0.30.0_alpha29"))
|
version(tr("NE Alpha30"))
|
||||||
{
|
{
|
||||||
clipboard = QApplication::clipboard();
|
clipboard = QApplication::clipboard();
|
||||||
|
|
||||||
|
@ -1028,9 +1028,9 @@ USTATUS FfsParser::parseVolumeHeader(const UByteArray & volume, const UINT32 par
|
|||||||
UINT32 alignment = 65536; // Default volume alignment is 64K
|
UINT32 alignment = 65536; // Default volume alignment is 64K
|
||||||
if (volumeHeader->Revision == 1) {
|
if (volumeHeader->Revision == 1) {
|
||||||
// Acquire alignment capability bit
|
// Acquire alignment capability bit
|
||||||
BOOLEAN alignmentCap = volumeHeader->Attributes & EFI_FVB_ALIGNMENT_CAP;
|
bool alignmentCap = (volumeHeader->Attributes & EFI_FVB_ALIGNMENT_CAP) != 0;
|
||||||
if (!alignmentCap) {
|
if (!alignmentCap) {
|
||||||
if ((volumeHeader->Attributes & 0xFFFF0000))
|
if (volumeHeader->Attributes & 0xFFFF0000)
|
||||||
msgAlignmentBitsSet = true;
|
msgAlignmentBitsSet = true;
|
||||||
}
|
}
|
||||||
// Do not check for volume alignment on revision 1 volumes
|
// Do not check for volume alignment on revision 1 volumes
|
||||||
|
Loading…
Reference in New Issue
Block a user