BaseTools: Various typo
Various typo in BaseTools. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur <coeur@gmx.fr> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Liming Gao
parent
325ad62260
commit
fb0b35e05f
@@ -176,7 +176,7 @@ Returns:
|
||||
//
|
||||
fprintf (stdout, "Options:\n");
|
||||
fprintf (stdout, " -o FileName, --outputfile FileName\n\
|
||||
File will be created to store the ouput content.\n");
|
||||
File will be created to store the output content.\n");
|
||||
fprintf (stdout, " -e EFI_FILETYPE, --efiImage EFI_FILETYPE\n\
|
||||
Create Efi Image. EFI_FILETYPE is one of BASE,SMM_CORE,\n\
|
||||
PEI_CORE, PEIM, DXE_CORE, DXE_DRIVER, UEFI_APPLICATION,\n\
|
||||
@@ -261,13 +261,13 @@ Returns:
|
||||
Guid is used to specify hii package list guid.\n\
|
||||
Its format is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\n\
|
||||
If not specified, the first Form FormSet guid is used.\n");
|
||||
fprintf (stdout, " --hiipackage Combine all input binary hii pacakges into \n\
|
||||
fprintf (stdout, " --hiipackage Combine all input binary hii packages into \n\
|
||||
a single package list as the text resource data(RC).\n\
|
||||
It can't be combined with other action options\n\
|
||||
except for -o option. It is a action option.\n\
|
||||
If it is combined with other action options, the later\n\
|
||||
input action option will override the previous one.\n");
|
||||
fprintf (stdout, " --hiibinpackage Combine all input binary hii pacakges into \n\
|
||||
fprintf (stdout, " --hiibinpackage Combine all input binary hii packages into \n\
|
||||
a single package list as the binary resource section.\n\
|
||||
It can't be combined with other action options\n\
|
||||
except for -o option. It is a action option.\n\
|
||||
@@ -559,7 +559,7 @@ PeCoffConvertImageToXip (
|
||||
if (PeHdr->Pe32.OptionalHeader.SectionAlignment != PeHdr->Pe32.OptionalHeader.FileAlignment) {
|
||||
//
|
||||
// The only reason to expand zero fill sections is to make them compatible with XIP images.
|
||||
// If SectionAlignment is not equal to FileAlginment then it is not an XIP type image.
|
||||
// If SectionAlignment is not equal to FileAlignment then it is not an XIP type image.
|
||||
//
|
||||
return;
|
||||
}
|
||||
@@ -1390,7 +1390,7 @@ Returns:
|
||||
goto Finish;
|
||||
}
|
||||
if (LogLevel > 9) {
|
||||
Error (NULL, 0, 1003, "Invalid option value", "Debug Level range is 0-9, currnt input level is %d", (int) LogLevel);
|
||||
Error (NULL, 0, 1003, "Invalid option value", "Debug Level range is 0-9, current input level is %d", (int) LogLevel);
|
||||
goto Finish;
|
||||
}
|
||||
SetPrintLevel (LogLevel);
|
||||
@@ -1536,16 +1536,16 @@ Returns:
|
||||
VerboseMsg ("Dump the TE header information of the input TE image.");
|
||||
break;
|
||||
case FW_MCI_IMAGE:
|
||||
VerboseMsg ("Conver input MicroCode.txt file to MicroCode.bin file.");
|
||||
VerboseMsg ("Convert input MicroCode.txt file to MicroCode.bin file.");
|
||||
break;
|
||||
case FW_MERGE_IMAGE:
|
||||
VerboseMsg ("Combine the input multi microcode bin files to one bin file.");
|
||||
break;
|
||||
case FW_HII_PACKAGE_LIST_RCIMAGE:
|
||||
VerboseMsg ("Combine the input multi hii bin packages to one text pacakge list RC file.");
|
||||
VerboseMsg ("Combine the input multi hii bin packages to one text package list RC file.");
|
||||
break;
|
||||
case FW_HII_PACKAGE_LIST_BINIMAGE:
|
||||
VerboseMsg ("Combine the input multi hii bin packages to one binary pacakge list file.");
|
||||
VerboseMsg ("Combine the input multi hii bin packages to one binary package list file.");
|
||||
break;
|
||||
case FW_REBASE_IMAGE:
|
||||
VerboseMsg ("Rebase the input image to new base address.");
|
||||
@@ -1633,7 +1633,7 @@ Returns:
|
||||
goto Finish;
|
||||
}
|
||||
//
|
||||
// Get hii package list lenght
|
||||
// Get hii package list length
|
||||
//
|
||||
HiiPackageListHeader.PackageLength = sizeof (EFI_HII_PACKAGE_LIST_HEADER);
|
||||
for (Index = 0; Index < InputFileNum; Index ++) {
|
||||
@@ -1668,7 +1668,7 @@ Returns:
|
||||
goto Finish;
|
||||
}
|
||||
if (memcmp (&HiiPackageListGuid, &mZeroGuid, sizeof (EFI_GUID)) == 0) {
|
||||
Error (NULL, 0, 3000, "Invalid", "HII pacakge list guid is not specified!");
|
||||
Error (NULL, 0, 3000, "Invalid", "HII package list guid is not specified!");
|
||||
goto Finish;
|
||||
}
|
||||
memcpy (&HiiPackageListHeader.PackageListGuid, &HiiPackageListGuid, sizeof (EFI_GUID));
|
||||
@@ -2172,7 +2172,7 @@ Returns:
|
||||
|
||||
if (PeHdr->Pe32.FileHeader.Machine == IMAGE_FILE_MACHINE_ARM) {
|
||||
// Some tools kick out IMAGE_FILE_MACHINE_ARM (0x1c0) vs IMAGE_FILE_MACHINE_ARMT (0x1c2)
|
||||
// so patch back to the offical UEFI value.
|
||||
// so patch back to the official UEFI value.
|
||||
PeHdr->Pe32.FileHeader.Machine = IMAGE_FILE_MACHINE_ARMT;
|
||||
}
|
||||
|
||||
@@ -2372,7 +2372,7 @@ Returns:
|
||||
//
|
||||
memset (SectionHeader->Name, 0, sizeof (SectionHeader->Name));
|
||||
//
|
||||
// Zero Execption Table
|
||||
// Zero Exception Table
|
||||
//
|
||||
Optional32->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTION].VirtualAddress = 0;
|
||||
Optional32->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTION].Size = 0;
|
||||
@@ -2479,7 +2479,7 @@ Returns:
|
||||
memset (RuntimeFunction, 0, sizeof (RUNTIME_FUNCTION));
|
||||
}
|
||||
//
|
||||
// Zero Execption Table
|
||||
// Zero Exception Table
|
||||
//
|
||||
Optional64->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTION].Size = 0;
|
||||
Optional64->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTION].VirtualAddress = 0;
|
||||
|
Reference in New Issue
Block a user