* [PATCH 00/33] Fix typos in comments and variables
@ 2016-10-19 7:01 Gary Lin
2016-10-19 7:01 ` [PATCH 01/33] ArmPkg: Fix typos in comments Gary Lin
` (34 more replies)
0 siblings, 35 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel
When I was reading a header file in CrytoPkg, I found some typos. Out of
curiosity, I started to search typos in some files and this is what I got.
The patch set looks huge but there are lots of typos shared across files
due to copy&paste, so it's actually not so scary. I tried to collect all
fixes in the same Pkg in one patch. The only exception is MdeModulePkg
since it affected tons of files. I broke it down to several smaller
patches and it might be easier for the maintainers to review.
Some patches affect the code, but those patches only change the variable
name, so there is no functional change in this patch set.
Gary Lin (33):
ArmPkg: Fix typos in comments
BaseTools: Fix typos in comments and variables
CorebootPayloadPkg: Fix typos in comments
CorebootModulePkg: Fix typos in comments
CryptoPkg: Fix typos in comments
DuetPkg: Fix typos in comments
EdkCompatibilityPkg: Fix typos in comments
EmulatorPkg: Fix typos in comments and variables
EmbeddedPkg: Fix typos in comments
IntelFrameworkModulePkg: Fix typos in comments
IntelFrameworkPkg: Fix typos in comments
IntelFspPkg: Fix typos in comments
IntelFspWrapperPkg: Fix typos in comments
IntelFsp2Pkg: Fix typos in comments
IntelFsp2WrapperPkg: Fix a typo in the comment
MdeModulePkg: BootManagerMenuApp: Fix typos in comments
MdeModulePkg/Bus: Fix typos in comments
MdeModulePkg/Core: Fix typos in comments
MdeModulePkg/Include: Fix typos in comments
MdeModulePkg/Library: Fix typos in comments and variables
MdeModulePkg/Universal: Fix typos in comments
MdePkg: Fix typos in comments
NetworkPkg: Fix typos in comments
Nt32Pkg: Fix typos in comments and variables
OptionRomPkg: Fix typos in comments
OvmfPkg: Fix typos in comments
QuarkPlatformPkg: Fix typos in comments
QuarkSocPkg: Fix typos in comments
SecurityPkg: Fix typos in comments
ShellPkg: Fix typos in comments and variables
SourceLevelDebugPkg: Fix typos in comments
UefiCpuPkg: Fix typos in comments
Vlv2TbltDevicePkg: Fix typos in comments
ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S | 2 +-
ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm | 2 +-
ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c | 4 +-
BaseTools/Source/C/Common/Decompress.c | 6 +-
BaseTools/Source/C/Common/Decompress.h | 4 +-
BaseTools/Source/C/Common/ParseInf.c | 2 +-
BaseTools/Source/C/EfiRom/EfiRom.c | 4 +-
BaseTools/Source/C/GenCrc32/GenCrc32.c | 2 +-
BaseTools/Source/C/GenFfs/GenFfs.c | 2 +-
BaseTools/Source/C/GenFw/GenFw.c | 8 +--
BaseTools/Source/C/GenPage/GenPage.c | 2 +-
BaseTools/Source/C/GenSec/GenSec.c | 14 ++--
BaseTools/Source/C/Split/Split.c | 6 +-
BaseTools/Source/C/TianoCompress/TianoCompress.h | 4 +-
BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c | 2 +-
CorebootModulePkg/SecCore/FindPeiCore.c | 2 +-
CorebootModulePkg/SecCore/SecMain.c | 6 +-
CorebootModulePkg/SecCore/SecMain.h | 4 +-
CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c | 4 +-
CryptoPkg/Include/Library/BaseCryptLib.h | 68 ++++++++++----------
CryptoPkg/Include/OpenSslSupport.h | 14 ++--
CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c | 8 +--
CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c | 8 +--
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c | 2 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthenticodeNull.c | 4 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c | 2 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNull.c | 2 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCryptLib.c | 4 +-
DuetPkg/BiosVideoThunkDxe/BiosVideo.c | 4 +-
DuetPkg/DxeIpl/HobGeneration.c | 2 +-
DuetPkg/EfiLdr/EfiLoader.c | 2 +-
DuetPkg/EfiLdr/LzmaDecompress.h | 2 +-
DuetPkg/EfiLdr/TianoDecompress.c | 6 +-
DuetPkg/EfiLdr/TianoDecompress.h | 4 +-
DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 14 ++--
DuetPkg/PciBusNoEnumerationDxe/PciBus.h | 2 +-
EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/ScriptSave.c | 4 +-
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h | 4 +-
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package.c | 6 +-
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c | 2 +-
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h | 2 +-
EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c | 2 +-
EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.h | 2 +-
EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h | 2 +-
EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h | 4 +-
EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h | 4 +-
EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h | 4 +-
EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c | 2 +-
EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | 10 +--
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c | 2 +-
EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c | 6 +-
EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.h | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c | 6 +-
EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h | 4 +-
EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/CustomizedCompress.c | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c | 2 +-
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c | 2 +-
EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c | 2 +-
EmbeddedPkg/GdbStub/GdbStub.c | 2 +-
EmbeddedPkg/GdbStub/GdbStubInternal.h | 2 +-
EmbeddedPkg/Include/Library/GdbSerialLib.h | 4 +-
EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c | 2 +-
EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c | 4 +-
EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h | 2 +-
EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c | 2 +-
EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c | 4 +-
EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c | 4 +-
EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c | 4 +-
EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c | 2 +-
EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c | 2 +-
EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c | 2 +-
EmulatorPkg/Include/Ppi/EmuThunk.h | 2 +-
EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c | 8 +--
EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 4 +-
EmulatorPkg/Sec/Ia32/TempRam.c | 8 +--
EmulatorPkg/Unix/Host/Host.c | 24 +++----
EmulatorPkg/Unix/Host/Host.h | 4 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c | 4 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c | 4 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c | 6 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h | 8 +--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c | 6 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h | 8 +--
IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c | 12 ++--
IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h | 2 +-
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c | 14 ++--
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h | 62 +++++++++---------
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c | 2 +-
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c | 46 ++++++-------
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c | 2 +-
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h | 4 +-
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c | 4 +-
IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h | 4 +-
IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h | 2 +-
IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c | 8 +--
IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h | 4 +-
IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c | 2 +-
IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c | 2 +-
IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c | 2 +-
IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h | 2 +-
IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c | 4 +-
IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c | 2 +-
IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c | 6 +-
IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c | 4 +-
IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h | 2 +-
IntelFrameworkPkg/Include/Protocol/LegacyBios.h | 2 +-
IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h | 2 +-
IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c | 2 +-
IntelFsp2Pkg/FspSecCore/SecMain.c | 6 +-
IntelFsp2Pkg/FspSecCore/SecMain.h | 2 +-
IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h | 2 +-
IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c | 2 +-
IntelFspPkg/FspSecCore/SecMain.c | 6 +-
IntelFspPkg/FspSecCore/SecMain.h | 2 +-
IntelFspPkg/Include/Library/FspCommonLib.h | 6 +-
IntelFspPkg/Include/Library/FspSwitchStackLib.h | 2 +-
IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c | 6 +-
IntelFspWrapperPkg/FspInitPei/FindPeiCore.c | 2 +-
IntelFspWrapperPkg/FspInitPei/SecMain.c | 2 +-
IntelFspWrapperPkg/FspInitPei/SecMain.h | 4 +-
IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c | 2 +-
IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c | 2 +-
IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c | 2 +-
IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h | 4 +-
IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRamSupport.c | 4 +-
MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c | 18 +++---
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c | 2 +-
MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c | 2 +-
MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c | 4 +-
MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c | 4 +-
MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c | 12 ++--
MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h | 12 ++--
MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c | 6 +-
MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h | 8 +--
MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 2 +-
MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h | 8 +--
MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h | 6 +-
MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c | 6 +-
MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 14 ++--
MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 4 +-
MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c | 2 +-
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c | 2 +-
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h | 2 +-
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c | 2 +-
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h | 4 +-
MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h | 2 +-
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c | 4 +-
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c | 2 +-
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h | 2 +-
MdeModulePkg/Core/Dxe/DxeMain.h | 20 +++---
MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c | 2 +-
MdeModulePkg/Core/Dxe/Event/Timer.c | 2 +-
MdeModulePkg/Core/Dxe/FwVol/FwVol.c | 4 +-
MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c | 4 +-
MdeModulePkg/Core/Dxe/Hand/Locate.c | 2 +-
MdeModulePkg/Core/Dxe/Image/Image.c | 4 +-
MdeModulePkg/Core/Dxe/Mem/Page.c | 2 +-
MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 12 ++--
MdeModulePkg/Core/Pei/FwVol/FwVol.c | 2 +-
MdeModulePkg/Core/Pei/Memory/MemoryServices.c | 2 +-
MdeModulePkg/Core/Pei/PeiMain.h | 4 +-
MdeModulePkg/Core/Pei/PeiMain/PeiMain.c | 4 +-
MdeModulePkg/Core/PiSmmCore/Dependency.c | 4 +-
MdeModulePkg/Core/PiSmmCore/Dispatcher.c | 2 +-
MdeModulePkg/Core/PiSmmCore/Locate.c | 2 +-
MdeModulePkg/Include/Library/CustomizedDisplayLib.h | 2 +-
MdeModulePkg/Include/Library/DebugAgentLib.h | 4 +-
MdeModulePkg/Include/Library/HiiLib.h | 16 ++---
MdeModulePkg/Include/Library/NetLib.h | 32 ++++-----
MdeModulePkg/Include/Ppi/AtaController.h | 2 +-
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c | 2 +-
MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c | 2 +-
MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.c | 2 +-
MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c | 2 +-
MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.c | 2 +-
MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 8 +--
MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | 2 +-
MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 16 ++---
MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/PeiCrc32GuidedSectionExtractLib.c | 2 +-
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c | 2 +-
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryProfileLib.c | 2 +-
MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c | 2 +-
MdeModulePkg/Library/SmmMemoryAllocationProfileLib/MemoryAllocationLib.c | 2 +-
MdeModulePkg/Library/SmmMemoryAllocationProfileLib/SmmMemoryProfileLib.c | 2 +-
MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c | 2 +-
MdeModulePkg/Library/UefiHiiLib/HiiLanguage.c | 4 +-
MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 42 ++++++------
MdeModulePkg/Library/UefiHiiLib/HiiString.c | 2 +-
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c | 2 +-
MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c | 2 +-
MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c | 2 +-
MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c | 2 +-
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c | 2 +-
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h | 2 +-
MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c | 2 +-
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h | 4 +-
MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c | 2 +-
MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c | 2 +-
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h | 4 +-
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c | 4 +-
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c | 4 +-
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h | 20 +++---
MdeModulePkg/Universal/HiiDatabaseDxe/String.c | 8 +--
MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c | 2 +-
MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c | 2 +-
MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c | 2 +-
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 2 +-
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h | 2 +-
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c | 2 +-
MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c | 2 +-
MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h | 2 +-
MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c | 4 +-
MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c | 8 +--
MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c | 8 +--
MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 8 +--
MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c | 2 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h | 4 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c | 4 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c | 4 +-
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c | 2 +-
MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h | 6 +-
MdePkg/Include/Library/SmmPeriodicSmiLib.h | 4 +-
MdePkg/Include/Protocol/HiiConfigKeyword.h | 2 +-
MdePkg/Include/Protocol/HiiDatabase.h | 4 +-
MdePkg/Include/Protocol/Kms.h | 10 +--
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | 8 +--
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h | 2 +-
MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c | 2 +-
MdePkg/Library/DxeIoLibCpuIo2/IoLib.c | 2 +-
MdePkg/Library/DxeIoLibEsal/IoLib.c | 2 +-
MdePkg/Library/DxePciLibEsal/PciLib.c | 2 +-
MdePkg/Library/DxePciSegmentLibEsal/PciLib.c | 2 +-
MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c | 4 +-
MdePkg/Library/PeiPciLibPciCfg2/PciLib.c | 2 +-
MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c | 2 +-
MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c | 2 +-
MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c | 2 +-
MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c | 2 +-
MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c | 2 +-
NetworkPkg/Application/Ping6/Ping6.c | 8 +--
NetworkPkg/IScsiDxe/IScsiProto.c | 4 +-
NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 +-
NetworkPkg/Ip6Dxe/Ip6Option.c | 16 ++---
NetworkPkg/Ip6Dxe/Ip6Option.h | 10 +--
NetworkPkg/Ip6Dxe/Ip6Output.c | 8 +--
NetworkPkg/IpSecDxe/IpSecCryptIo.c | 50 +++++++-------
NetworkPkg/IpSecDxe/IpSecCryptIo.h | 66 +++++++++----------
Nt32Pkg/Include/Ppi/NtAutoscan.h | 2 +-
Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c | 8 +--
Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c | 6 +-
Nt32Pkg/Sec/SecMain.c | 50 +++++++-------
Nt32Pkg/Sec/SecMain.h | 6 +-
Nt32Pkg/Sec/WinNtThunk.c | 2 +-
Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c | 2 +-
OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c | 6 +-
OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h | 4 +-
OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c | 2 +-
OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 14 ++--
OvmfPkg/Sec/SecMain.c | 2 +-
QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c | 6 +-
QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c | 2 +-
QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c | 2 +-
QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c | 6 +-
QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c | 2 +-
QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c | 2 +-
QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c | 2 +-
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c | 4 +-
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h | 2 +-
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c | 2 +-
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h | 2 +-
QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c | 4 +-
QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h | 2 +-
SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c | 2 +-
SecurityPkg/Include/Library/TcgPpVendorLib.h | 4 +-
SecurityPkg/Include/Library/TcgStorageOpalLib.h | 2 +-
SecurityPkg/Include/Library/TrEEPpVendorLib.h | 4 +-
SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c | 6 +-
SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c | 2 +-
SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c | 2 +-
SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c | 2 +-
SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 2 +-
SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c | 2 +-
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 2 +-
SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 2 +-
SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c | 2 +-
SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c | 2 +-
SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h | 2 +-
ShellPkg/Include/Library/ShellCEntryLib.h | 2 +-
ShellPkg/Include/Library/ShellCommandLib.h | 2 +-
ShellPkg/Include/Protocol/EfiShellEnvironment2.h | 2 +-
ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c | 2 +-
ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c | 10 +--
ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c | 2 +-
ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c | 8 +--
ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 8 +--
SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h | 8 +--
SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c | 6 +-
SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.h | 4 +-
SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.c | 4 +-
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.c | 4 +-
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c | 6 +-
UefiCpuPkg/Include/Library/MtrrLib.h | 2 +-
UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 2 +-
UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +-
UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2 +-
UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 10 +--
Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c | 2 +-
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c | 4 +-
Vlv2TbltDevicePkg/Include/Library/CpuIA32.h | 2 +-
Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h | 2 +-
Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 16 ++---
Vlv2TbltDevicePkg/PlatformDxe/PciBus.h | 14 ++--
Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c | 4 +-
Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c | 2 +-
Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c | 4 +-
347 files changed, 913 insertions(+), 913 deletions(-)
--
2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* [PATCH 01/33] ArmPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 15:09 ` Ard Biesheuvel
2016-10-19 7:01 ` [PATCH 02/33] BaseTools: Fix typos in comments and variables Gary Lin
` (33 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Leif Lindholm, Ard Biesheuvel
- differnt -> different
- Libary -> Library
- intialized -> initialized
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S | 2 +-
ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm | 2 +-
ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S b/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S
index 0f2e4b1..2151814 100644
--- a/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S
+++ b/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S
@@ -211,7 +211,7 @@ ASM_PFX(AsmCommonExceptionEntry):
ldr R5, [SP, #0x58] @ PC is the LR pushed by srsfd
@ Check to see if we have to adjust for Thumb entry
sub r4, r0, #1 @ if (ExceptionType == 1 || ExceptionType ==2)) {
- cmp r4, #1 @ // UND & SVC have differnt LR adjust for Thumb
+ cmp r4, #1 @ // UND & SVC have different LR adjust for Thumb
bhi NoAdjustNeeded
tst r1, #0x20 @ if ((CPSR & T)) == T) { // Thumb Mode on entry
diff --git a/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm b/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm
index b879142..cf59447 100644
--- a/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm
+++ b/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm
@@ -206,7 +206,7 @@ AsmCommonExceptionEntry
ldr R5, [SP, #0x58] ; PC is the LR pushed by srsfd
; Check to see if we have to adjust for Thumb entry
sub r4, r0, #1 ; if (ExceptionType == 1 || ExceptionType ==2)) {
- cmp r4, #1 ; // UND & SVC have differnt LR adjust for Thumb
+ cmp r4, #1 ; // UND & SVC have different LR adjust for Thumb
bhi NoAdjustNeeded
tst r1, #0x20 ; if ((CPSR & T)) == T) { // Thumb Mode on entry
diff --git a/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c b/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c
index fe5fd55..9c0cf0d 100644
--- a/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c
+++ b/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c
@@ -259,7 +259,7 @@ GetImageContext (
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
responsible to invoke the passing-in function at the end of InitializeDebugAgent().
- If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
+ If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
passing in the Context to be its parameter.
If Function() is NULL, Debug Agent Library instance will return after setup debug
@@ -289,7 +289,7 @@ InitializeDebugAgent (
ASSERT (((UINTN)DebugAgentVectorTable & ARM_VECTOR_TABLE_ALIGNMENT) == 0);
ArmWriteVBar ((UINTN)DebugAgentVectorTable);
- // We use InitFlag to know if DebugAgent has been intialized from
+ // We use InitFlag to know if DebugAgent has been initialized from
// Sec (DEBUG_AGENT_INIT_PREMEM_SEC) or PrePi (DEBUG_AGENT_INIT_POSTMEM_SEC)
// modules
if (InitFlag == DEBUG_AGENT_INIT_PREMEM_SEC) {
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 02/33] BaseTools: Fix typos in comments and variables
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
2016-10-19 7:01 ` [PATCH 01/33] ArmPkg: Fix typos in comments Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:30 ` Gao, Liming
2016-10-19 7:36 ` Zhu, Yonghong
2016-10-19 7:01 ` [PATCH 03/33] CorebootPayloadPkg: Fix typos in comments Gary Lin
` (32 subsequent siblings)
34 siblings, 2 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Yonghong Zhu, Liming Gao
- Pacakge -> Package
- outputed -> outputted
- successull -> successfully
- Libary -> Library
- Pointion -> Position
- paramter -> parameter
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
BaseTools/Source/C/Common/Decompress.c | 6 +++---
BaseTools/Source/C/Common/Decompress.h | 4 ++--
BaseTools/Source/C/Common/ParseInf.c | 2 +-
BaseTools/Source/C/EfiRom/EfiRom.c | 4 ++--
BaseTools/Source/C/GenCrc32/GenCrc32.c | 2 +-
BaseTools/Source/C/GenFfs/GenFfs.c | 2 +-
BaseTools/Source/C/GenFw/GenFw.c | 8 ++++----
BaseTools/Source/C/GenPage/GenPage.c | 2 +-
BaseTools/Source/C/GenSec/GenSec.c | 14 +++++++-------
BaseTools/Source/C/Split/Split.c | 6 +++---
BaseTools/Source/C/TianoCompress/TianoCompress.h | 4 ++--
BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c | 2 +-
12 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/BaseTools/Source/C/Common/Decompress.c b/BaseTools/Source/C/Common/Decompress.c
index 48578ea..d266b6f 100644
--- a/BaseTools/Source/C/Common/Decompress.c
+++ b/BaseTools/Source/C/Common/Decompress.c
@@ -675,7 +675,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -810,7 +810,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -840,7 +840,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
diff --git a/BaseTools/Source/C/Common/Decompress.h b/BaseTools/Source/C/Common/Decompress.h
index 004804c..2899ed5 100644
--- a/BaseTools/Source/C/Common/Decompress.h
+++ b/BaseTools/Source/C/Common/Decompress.h
@@ -39,7 +39,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
**/
@@ -97,7 +97,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
**/
diff --git a/BaseTools/Source/C/Common/ParseInf.c b/BaseTools/Source/C/Common/ParseInf.c
index 9e85a88..0a204c8 100644
--- a/BaseTools/Source/C/Common/ParseInf.c
+++ b/BaseTools/Source/C/Common/ParseInf.c
@@ -506,7 +506,7 @@ Returns:
Index = 0;
//
- // Check input paramter
+ // Check input parameter
//
if (AsciiString == NULL || ReturnValue == NULL) {
return EFI_INVALID_PARAMETER;
diff --git a/BaseTools/Source/C/EfiRom/EfiRom.c b/BaseTools/Source/C/EfiRom/EfiRom.c
index 7a57912..e2bd289 100644
--- a/BaseTools/Source/C/EfiRom/EfiRom.c
+++ b/BaseTools/Source/C/EfiRom/EfiRom.c
@@ -120,7 +120,7 @@ Returns:
for (FList = mOptions.FileList; FList != NULL; FList = FList->Next) {
if (stricmp (mOptions.OutFileName, FList->FileName) == 0) {
Status = STATUS_ERROR;
- Error (NULL, 0, 1002, "Invalid input paramter", "Input and output file names must be different - %s = %s.", FList->FileName, mOptions.OutFileName);
+ Error (NULL, 0, 1002, "Invalid input parameter", "Input and output file names must be different - %s = %s.", FList->FileName, mOptions.OutFileName);
goto BailOut;
}
}
@@ -168,7 +168,7 @@ Returns:
// Check total size
//
if (TotalSize > MAX_OPTION_ROM_SIZE) {
- Error (NULL, 0, 2000, "Invalid paramter", "Option ROM image size exceeds limit of 0x%X bytes.", MAX_OPTION_ROM_SIZE);
+ Error (NULL, 0, 2000, "Invalid parameter", "Option ROM image size exceeds limit of 0x%X bytes.", MAX_OPTION_ROM_SIZE);
Status = STATUS_ERROR;
}
diff --git a/BaseTools/Source/C/GenCrc32/GenCrc32.c b/BaseTools/Source/C/GenCrc32/GenCrc32.c
index ad8cf57..f4d129e 100644
--- a/BaseTools/Source/C/GenCrc32/GenCrc32.c
+++ b/BaseTools/Source/C/GenCrc32/GenCrc32.c
@@ -248,7 +248,7 @@ Returns:
VerboseMsg ("%s tool start.", UTILITY_NAME);
//
- // Check Input paramters
+ // Check Input parameters
//
if (FileAction == CRC32_NULL) {
Error (NULL, 0, 1001, "Missing option", "either the encode or the decode option must be specified!");
diff --git a/BaseTools/Source/C/GenFfs/GenFfs.c b/BaseTools/Source/C/GenFfs/GenFfs.c
index 433b608..9a738cb 100644
--- a/BaseTools/Source/C/GenFfs/GenFfs.c
+++ b/BaseTools/Source/C/GenFfs/GenFfs.c
@@ -739,7 +739,7 @@ Returns:
VerboseMsg ("%s tool start.", UTILITY_NAME);
//
- // Check the complete input paramters.
+ // Check the complete input parameters.
//
if (FfsFiletype == EFI_FV_FILETYPE_ALL) {
Error (NULL, 0, 1001, "Missing option", "filetype");
diff --git a/BaseTools/Source/C/GenFw/GenFw.c b/BaseTools/Source/C/GenFw/GenFw.c
index 03bfaa1..b62756a 100644
--- a/BaseTools/Source/C/GenFw/GenFw.c
+++ b/BaseTools/Source/C/GenFw/GenFw.c
@@ -1093,7 +1093,7 @@ Returns:
EFI_HII_PACKAGE_LIST_HEADER HiiPackageListHeader;
EFI_HII_PACKAGE_HEADER HiiPackageHeader;
EFI_IFR_FORM_SET IfrFormSet;
- UINT8 NumberOfFormPacakge;
+ UINT8 NumberOfFormPackage;
EFI_HII_PACKAGE_HEADER EndPackage;
UINT32 HiiSectionHeaderSize;
UINT8 *HiiSectionHeader;
@@ -1140,7 +1140,7 @@ Returns:
KeepExceptionTableFlag = FALSE;
KeepOptionalHeaderFlag = FALSE;
KeepZeroPendingFlag = FALSE;
- NumberOfFormPacakge = 0;
+ NumberOfFormPackage = 0;
HiiPackageListBuffer = NULL;
HiiPackageDataPointer = NULL;
EndPackage.Length = sizeof (EFI_HII_PACKAGE_HEADER);
@@ -1642,7 +1642,7 @@ Returns:
fread (&IfrFormSet, 1, sizeof (IfrFormSet), fpIn);
memcpy (&HiiPackageListGuid, &IfrFormSet.Guid, sizeof (EFI_GUID));
}
- NumberOfFormPacakge ++;
+ NumberOfFormPackage ++;
}
HiiPackageListHeader.PackageLength += FileLength;
fclose (fpIn);
@@ -1651,7 +1651,7 @@ Returns:
//
// Check whether hii packages are valid
//
- if (NumberOfFormPacakge > 1) {
+ if (NumberOfFormPackage > 1) {
Error (NULL, 0, 3000, "Invalid", "The input hii packages contains more than one hii form package");
goto Finish;
}
diff --git a/BaseTools/Source/C/GenPage/GenPage.c b/BaseTools/Source/C/GenPage/GenPage.c
index fb829e6..ef69823 100644
--- a/BaseTools/Source/C/GenPage/GenPage.c
+++ b/BaseTools/Source/C/GenPage/GenPage.c
@@ -401,7 +401,7 @@ main (
}
//
- // Don't recognize the paramter.
+ // Don't recognize the parameter.
//
InputFile = argv[0];
argc--;
diff --git a/BaseTools/Source/C/GenSec/GenSec.c b/BaseTools/Source/C/GenSec/GenSec.c
index 20b2a10..d2bf102 100644
--- a/BaseTools/Source/C/GenSec/GenSec.c
+++ b/BaseTools/Source/C/GenSec/GenSec.c
@@ -267,10 +267,10 @@ Returns:
STATUS Status;
if (InputFileNum > 1) {
- Error (NULL, 0, 2000, "Invalid paramter", "more than one input file specified");
+ Error (NULL, 0, 2000, "Invalid parameter", "more than one input file specified");
return STATUS_ERROR;
} else if (InputFileNum < 1) {
- Error (NULL, 0, 2000, "Invalid paramter", "no input file specified");
+ Error (NULL, 0, 2000, "Invalid parameter", "no input file specified");
return STATUS_ERROR;
}
//
@@ -296,7 +296,7 @@ Returns:
// Size must fit in 3 bytes
//
//if (TotalLength >= MAX_SECTION_SIZE) {
- // Error (NULL, 0, 2000, "Invalid paramter", "%s file size (0x%X) exceeds section size limit(%uM).", InputFileName[0], (unsigned) TotalLength, MAX_SECTION_SIZE>>20);
+ // Error (NULL, 0, 2000, "Invalid parameter", "%s file size (0x%X) exceeds section size limit(%uM).", InputFileName[0], (unsigned) TotalLength, MAX_SECTION_SIZE>>20);
// goto Done;
//}
HeaderLength = sizeof (EFI_COMMON_SECTION_HEADER);
@@ -436,12 +436,12 @@ Returns:
UINT32 HeaderSize;
if (InputFileNum < 1) {
- Error (NULL, 0, 2000, "Invalid paramter", "must specify at least one input file");
+ Error (NULL, 0, 2000, "Invalid parameter", "must specify at least one input file");
return EFI_INVALID_PARAMETER;
}
if (BufferLength == NULL) {
- Error (NULL, 0, 2000, "Invalid paramter", "BufferLength can't be NULL");
+ Error (NULL, 0, 2000, "Invalid parameter", "BufferLength can't be NULL");
return EFI_INVALID_PARAMETER;
}
@@ -698,7 +698,7 @@ Returns:
break;
default:
- Error (NULL, 0, 2000, "Invalid paramter", "unknown compression type");
+ Error (NULL, 0, 2000, "Invalid parameter", "unknown compression type");
free (FileBuffer);
return EFI_ABORTED;
}
@@ -737,7 +737,7 @@ Returns:
"the original section size is %d bytes and the compressed section size is %u bytes", (unsigned) InputLength, (unsigned) CompressedLength);
//if (TotalLength >= MAX_SECTION_SIZE) {
- // Error (NULL, 0, 2000, "Invalid paramter", "The size of all files exceeds section size limit(%uM).", MAX_SECTION_SIZE>>20);
+ // Error (NULL, 0, 2000, "Invalid parameter", "The size of all files exceeds section size limit(%uM).", MAX_SECTION_SIZE>>20);
// if (FileBuffer != NULL) {
// free (FileBuffer);
// }
diff --git a/BaseTools/Source/C/Split/Split.c b/BaseTools/Source/C/Split/Split.c
index c6f547c..d723ed0 100644
--- a/BaseTools/Source/C/Split/Split.c
+++ b/BaseTools/Source/C/Split/Split.c
@@ -323,7 +323,7 @@ Returns:
if (strlen(argv[0]) > 2) {
Status = CountVerboseLevel (&argv[0][2], strlen(argv[0]) - 2, &VerboseLevel);
if (EFI_ERROR (Status)) {
- Error (NULL, 0, 0x1003, NULL, "%s is invaild paramter!", argv[0]);
+ Error (NULL, 0, 0x1003, NULL, "%s is invaild parameter!", argv[0]);
return STATUS_ERROR;
}
}
@@ -344,9 +344,9 @@ Returns:
continue;
}
//
- // Don't recognize the paramter.
+ // Don't recognize the parameter.
//
- Error (NULL, 0, 0x1003, NULL, "%s is invaild paramter!", argv[0]);
+ Error (NULL, 0, 0x1003, NULL, "%s is invaild parameter!", argv[0]);
return STATUS_ERROR;
}
diff --git a/BaseTools/Source/C/TianoCompress/TianoCompress.h b/BaseTools/Source/C/TianoCompress/TianoCompress.h
index accbe2c..2971225 100644
--- a/BaseTools/Source/C/TianoCompress/TianoCompress.h
+++ b/BaseTools/Source/C/TianoCompress/TianoCompress.h
@@ -1,5 +1,5 @@
/** @file
- Internal include file for Tiano Decompress Libary.
+ Internal include file for Tiano Decompress Library.
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
@@ -361,7 +361,7 @@ DecodeP (
/**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
diff --git a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c b/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c
index e726ae3..af07c27 100644
--- a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c
+++ b/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c
@@ -39,7 +39,7 @@ Fix for Borland C++ 4.x & 5.x compiling with ALL warnings enabled
#pragma warn -aus /* unused assignment of 'xxx' */
#endif
-int action_no = 0; /* keep track of actions outputed */
+int action_no = 0; /* keep track of actions outputted */
int nfa_allocated = 0; /* keeps track of number of nfa nodes */
nfa_node **nfa_array = NULL;/* root of binary tree that stores nfa array */
nfa_node nfa_model_node; /* model to initialize new nodes */
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 03/33] CorebootPayloadPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
2016-10-19 7:01 ` [PATCH 01/33] ArmPkg: Fix typos in comments Gary Lin
2016-10-19 7:01 ` [PATCH 02/33] BaseTools: Fix typos in comments and variables Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-26 18:50 ` Ma, Maurice
2016-10-19 7:01 ` [PATCH 04/33] CorebootModulePkg: " Gary Lin
` (31 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Maurice Ma, Prince Agyeman
- dirver -> driver
- futhure -> future
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c
index 16a146f..4786170 100644
--- a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c
+++ b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c
@@ -201,7 +201,7 @@ GetGopDevicePath (
}
//
- // Try to connect this handle, so that GOP dirver could start on this
+ // Try to connect this handle, so that GOP driver could start on this
// device and create child handles with GraphicsOutput Protocol installed
// on them, then we get device paths of these child handles and select
// them as possible console device.
@@ -243,7 +243,7 @@ GetGopDevicePath (
// In current implementation, we only enable one of the child handles
// as console device, i.e. sotre one of the child handle's device
// path to variable "ConOut"
- // In futhure, we could select all child handles to be console device
+ // In future, we could select all child handles to be console device
//
*GopDevicePath = TempDevicePath;
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 04/33] CorebootModulePkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (2 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 03/33] CorebootPayloadPkg: Fix typos in comments Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-26 18:41 ` Ma, Maurice
2016-10-19 7:01 ` [PATCH 05/33] CryptoPkg: " Gary Lin
` (30 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Maurice Ma, Prince Agyeman
- inforamtion -> information
- tempory -> temporary
- immediatly -> immediately
- permenent -> permanent
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
CorebootModulePkg/SecCore/FindPeiCore.c | 2 +-
CorebootModulePkg/SecCore/SecMain.c | 6 +++---
CorebootModulePkg/SecCore/SecMain.h | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/CorebootModulePkg/SecCore/FindPeiCore.c b/CorebootModulePkg/SecCore/FindPeiCore.c
index 4ce032e..1d49168 100644
--- a/CorebootModulePkg/SecCore/FindPeiCore.c
+++ b/CorebootModulePkg/SecCore/FindPeiCore.c
@@ -146,7 +146,7 @@ FindImageBase (
/**
Find and return Pei Core entry point.
- It also find SEC and PEI Core file debug inforamtion. It will report them if
+ It also find SEC and PEI Core file debug information. It will report them if
remote debug is enabled.
@param BootFirmwareVolumePtr Point to the boot firmware volume.
diff --git a/CorebootModulePkg/SecCore/SecMain.c b/CorebootModulePkg/SecCore/SecMain.c
index 7ce0463..4fa5f21 100644
--- a/CorebootModulePkg/SecCore/SecMain.c
+++ b/CorebootModulePkg/SecCore/SecMain.c
@@ -57,7 +57,7 @@ SecStartupPhase2(
@param SizeOfRam Size of the temporary memory available for use.
- @param TempRamBase Base address of tempory ram
+ @param TempRamBase Base address of temporary ram
@param BootFirmwareVolume Base address of the Boot Firmware Volume.
**/
VOID
@@ -276,8 +276,8 @@ SecTemporaryRamSupport (
//
// SecSwitchStack function must be invoked after the memory migration
- // immediatly, also we need fixup the stack change caused by new call into
- // permenent memory.
+ // immediately, also we need fixup the stack change caused by new call into
+ // permanent memory.
//
SecSwitchStack (
(UINT32) (UINTN) OldStack,
diff --git a/CorebootModulePkg/SecCore/SecMain.h b/CorebootModulePkg/SecCore/SecMain.h
index 7bc991a..77036b2 100644
--- a/CorebootModulePkg/SecCore/SecMain.h
+++ b/CorebootModulePkg/SecCore/SecMain.h
@@ -91,7 +91,7 @@ SecTemporaryRamSupport (
the control is transferred to this function.
@param SizeOfRam Size of the temporary memory available for use.
- @param TempRamBase Base address of tempory ram
+ @param TempRamBase Base address of temporary ram
@param BootFirmwareVolume Base address of the Boot Firmware Volume.
**/
VOID
@@ -105,7 +105,7 @@ SecStartup (
/**
Find and return Pei Core entry point.
- It also find SEC and PEI Core file debug inforamtion. It will report them if
+ It also find SEC and PEI Core file debug information. It will report them if
remote debug is enabled.
@param BootFirmwareVolumePtr Point to the boot firmware volume.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 05/33] CryptoPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (3 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 04/33] CorebootModulePkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-26 3:00 ` Long, Qin
2016-10-19 7:01 ` [PATCH 06/33] DuetPkg: " Gary Lin
` (29 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Ting Ye, Qin Long
- intialized -> initialized
- componenet -> component
- compoents -> components
- FAlSE -> FALSE
- responsiblity -> responsibility
- validility -> validity
- procudure -> procedure
- pamameter -> parameter
- randome -> random
- buiild -> build
Cc: Ting Ye <ting.ye@intel.com>
Cc: Qin Long <qin.long@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
CryptoPkg/Include/Library/BaseCryptLib.h | 68 ++++++++++----------
CryptoPkg/Include/OpenSslSupport.h | 14 ++--
CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c | 8 +--
CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c | 8 +--
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c | 2 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthenticodeNull.c | 4 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c | 2 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNull.c | 2 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCryptLib.c | 4 +-
26 files changed, 84 insertions(+), 84 deletions(-)
diff --git a/CryptoPkg/Include/Library/BaseCryptLib.h b/CryptoPkg/Include/Library/BaseCryptLib.h
index 0371d73..fc8c703 100644
--- a/CryptoPkg/Include/Library/BaseCryptLib.h
+++ b/CryptoPkg/Include/Library/BaseCryptLib.h
@@ -140,7 +140,7 @@ Md4Duplicate (
This function performs MD4 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- MD4 context should be already correctly intialized by Md4Init(), and should not be finalized
+ MD4 context should be already correctly initialized by Md4Init(), and should not be finalized
by Md4Final(). Behavior with invalid context is undefined.
If Md4Context is NULL, then return FALSE.
@@ -169,7 +169,7 @@ Md4Update (
This function completes MD4 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the MD4 context cannot
be used again.
- MD4 context should be already correctly intialized by Md4Init(), and should not be
+ MD4 context should be already correctly initialized by Md4Init(), and should not be
finalized by Md4Final(). Behavior with invalid MD4 context is undefined.
If Md4Context is NULL, then return FALSE.
@@ -254,7 +254,7 @@ Md5Duplicate (
This function performs MD5 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- MD5 context should be already correctly intialized by Md5Init(), and should not be finalized
+ MD5 context should be already correctly initialized by Md5Init(), and should not be finalized
by Md5Final(). Behavior with invalid context is undefined.
If Md5Context is NULL, then return FALSE.
@@ -283,7 +283,7 @@ Md5Update (
This function completes MD5 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the MD5 context cannot
be used again.
- MD5 context should be already correctly intialized by Md5Init(), and should not be
+ MD5 context should be already correctly initialized by Md5Init(), and should not be
finalized by Md5Final(). Behavior with invalid MD5 context is undefined.
If Md5Context is NULL, then return FALSE.
@@ -368,7 +368,7 @@ Sha1Duplicate (
This function performs SHA-1 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- SHA-1 context should be already correctly intialized by Sha1Init(), and should not be finalized
+ SHA-1 context should be already correctly initialized by Sha1Init(), and should not be finalized
by Sha1Final(). Behavior with invalid context is undefined.
If Sha1Context is NULL, then return FALSE.
@@ -397,7 +397,7 @@ Sha1Update (
This function completes SHA-1 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the SHA-1 context cannot
be used again.
- SHA-1 context should be already correctly intialized by Sha1Init(), and should not be
+ SHA-1 context should be already correctly initialized by Sha1Init(), and should not be
finalized by Sha1Final(). Behavior with invalid SHA-1 context is undefined.
If Sha1Context is NULL, then return FALSE.
@@ -477,7 +477,7 @@ Sha256Duplicate (
This function performs SHA-256 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- SHA-256 context should be already correctly intialized by Sha256Init(), and should not be finalized
+ SHA-256 context should be already correctly initialized by Sha256Init(), and should not be finalized
by Sha256Final(). Behavior with invalid context is undefined.
If Sha256Context is NULL, then return FALSE.
@@ -504,7 +504,7 @@ Sha256Update (
This function completes SHA-256 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the SHA-256 context cannot
be used again.
- SHA-256 context should be already correctly intialized by Sha256Init(), and should not be
+ SHA-256 context should be already correctly initialized by Sha256Init(), and should not be
finalized by Sha256Final(). Behavior with invalid SHA-256 context is undefined.
If Sha256Context is NULL, then return FALSE.
@@ -582,7 +582,7 @@ Sha384Duplicate (
This function performs SHA-384 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- SHA-384 context should be already correctly intialized by Sha384Init(), and should not be finalized
+ SHA-384 context should be already correctly initialized by Sha384Init(), and should not be finalized
by Sha384Final(). Behavior with invalid context is undefined.
If Sha384Context is NULL, then return FALSE.
@@ -609,7 +609,7 @@ Sha384Update (
This function completes SHA-384 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the SHA-384 context cannot
be used again.
- SHA-384 context should be already correctly intialized by Sha384Init(), and should not be
+ SHA-384 context should be already correctly initialized by Sha384Init(), and should not be
finalized by Sha384Final(). Behavior with invalid SHA-384 context is undefined.
If Sha384Context is NULL, then return FALSE.
@@ -687,7 +687,7 @@ Sha512Duplicate (
This function performs SHA-512 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- SHA-512 context should be already correctly intialized by Sha512Init(), and should not be finalized
+ SHA-512 context should be already correctly initialized by Sha512Init(), and should not be finalized
by Sha512Final(). Behavior with invalid context is undefined.
If Sha512Context is NULL, then return FALSE.
@@ -714,7 +714,7 @@ Sha512Update (
This function completes SHA-512 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the SHA-512 context cannot
be used again.
- SHA-512 context should be already correctly intialized by Sha512Init(), and should not be
+ SHA-512 context should be already correctly initialized by Sha512Init(), and should not be
finalized by Sha512Final(). Behavior with invalid SHA-512 context is undefined.
If Sha512Context is NULL, then return FALSE.
@@ -805,7 +805,7 @@ HmacMd5Duplicate (
This function performs HMAC-MD5 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- HMAC-MD5 context should be already correctly intialized by HmacMd5Init(), and should not be
+ HMAC-MD5 context should be already correctly initialized by HmacMd5Init(), and should not be
finalized by HmacMd5Final(). Behavior with invalid context is undefined.
If HmacMd5Context is NULL, then return FALSE.
@@ -834,7 +834,7 @@ HmacMd5Update (
This function completes HMAC-MD5 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the HMAC-MD5 context cannot
be used again.
- HMAC-MD5 context should be already correctly intialized by HmacMd5Init(), and should not be
+ HMAC-MD5 context should be already correctly initialized by HmacMd5Init(), and should not be
finalized by HmacMd5Final(). Behavior with invalid HMAC-MD5 context is undefined.
If HmacMd5Context is NULL, then return FALSE.
@@ -923,7 +923,7 @@ HmacSha1Duplicate (
This function performs HMAC-SHA1 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- HMAC-SHA1 context should be already correctly intialized by HmacSha1Init(), and should not
+ HMAC-SHA1 context should be already correctly initialized by HmacSha1Init(), and should not
be finalized by HmacSha1Final(). Behavior with invalid context is undefined.
If HmacSha1Context is NULL, then return FALSE.
@@ -952,7 +952,7 @@ HmacSha1Update (
This function completes HMAC-SHA1 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the HMAC-SHA1 context cannot
be used again.
- HMAC-SHA1 context should be already correctly intialized by HmacSha1Init(), and should
+ HMAC-SHA1 context should be already correctly initialized by HmacSha1Init(), and should
not be finalized by HmacSha1Final(). Behavior with invalid HMAC-SHA1 context is undefined.
If HmacSha1Context is NULL, then return FALSE.
@@ -1537,14 +1537,14 @@ RsaFree (
This function sets the tag-designated RSA key component into the established
RSA context from the user-specified non-negative integer (octet string format
represented in RSA PKCS#1).
- If BigNumber is NULL, then the specified key componenet in RSA context is cleared.
+ If BigNumber is NULL, then the specified key component in RSA context is cleared.
If RsaContext is NULL, then return FALSE.
@param[in, out] RsaContext Pointer to RSA context being set.
@param[in] KeyTag Tag of RSA key component being set.
@param[in] BigNumber Pointer to octet integer buffer.
- If NULL, then the specified key componenet in RSA
+ If NULL, then the specified key component in RSA
context is cleared.
@param[in] BnSize Size of big number buffer in bytes.
If BigNumber is NULL, then it is ignored.
@@ -1636,7 +1636,7 @@ RsaGenerateKey (
NOTE: This function performs integrity checks on all the RSA key material, so
the RSA key structure must contain all the private key data.
- This function validates key compoents of RSA context in following aspects:
+ This function validates key components of RSA context in following aspects:
- Whether p is a prime
- Whether q is a prime
- Whether n = p * q
@@ -1942,16 +1942,16 @@ X509GetTBSCert (
in a ContentInfo structure.
If P7Data, CertStack, StackLength, TrustedCert or CertLength is NULL, then
- return FALSE. If P7Length overflow, then return FAlSE.
+ return FALSE. If P7Length overflow, then return FALSE.
If this interface is not supported, then return FALSE.
@param[in] P7Data Pointer to the PKCS#7 message to verify.
@param[in] P7Length Length of the PKCS#7 message in bytes.
@param[out] CertStack Pointer to Signer's certificates retrieved from P7Data.
- It's caller's responsiblity to free the buffer.
+ It's caller's responsibility to free the buffer.
@param[out] StackLength Length of signer's certificates in bytes.
@param[out] TrustedCert Pointer to a trusted certificate from Signer's certificates.
- It's caller's responsiblity to free the buffer.
+ It's caller's responsibility to free the buffer.
@param[out] CertLength Length of the trusted certificate in bytes.
@retval TRUE The operation is finished successfully.
@@ -1993,10 +1993,10 @@ Pkcs7FreeSigners (
@param[in] P7Data Pointer to the PKCS#7 message.
@param[in] P7Length Length of the PKCS#7 message in bytes.
@param[out] SignerChainCerts Pointer to the certificates list chained to signer's
- certificate. It's caller's responsiblity to free the buffer.
+ certificate. It's caller's responsibility to free the buffer.
@param[out] ChainLength Length of the chained certificates list buffer in bytes.
@param[out] UnchainCerts Pointer to the unchained certificates lists. It's caller's
- responsiblity to free the buffer.
+ responsibility to free the buffer.
@param[out] UnchainLength Length of the unchained certificates list buffer in bytes.
@retval TRUE The operation is finished successfully.
@@ -2055,12 +2055,12 @@ Pkcs7Sign (
);
/**
- Verifies the validility of a PKCS#7 signed data as described in "PKCS #7:
+ Verifies the validity of a PKCS#7 signed data as described in "PKCS #7:
Cryptographic Message Syntax Standard". The input signed data could be wrapped
in a ContentInfo structure.
If P7Data, TrustedCert or InData is NULL, then return FALSE.
- If P7Length, CertLength or DataLength overflow, then return FAlSE.
+ If P7Length, CertLength or DataLength overflow, then return FALSE.
If this interface is not supported, then return FALSE.
@param[in] P7Data Pointer to the PKCS#7 message to verify.
@@ -2092,7 +2092,7 @@ Pkcs7Verify (
data could be wrapped in a ContentInfo structure.
If P7Data, Content, or ContentSize is NULL, then return FALSE. If P7Length overflow,
- then return FAlSE. If the P7Data is not correctly formatted, then return FALSE.
+ then return FALSE. If the P7Data is not correctly formatted, then return FALSE.
Caution: This function may receive untrusted input. So this function will do
basic check for PKCS#7 data structure.
@@ -2100,7 +2100,7 @@ Pkcs7Verify (
@param[in] P7Data Pointer to the PKCS#7 signed data to process.
@param[in] P7Length Length of the PKCS#7 signed data in bytes.
@param[out] Content Pointer to the extracted content from the PKCS#7 signedData.
- It's caller's responsiblity to free the buffer.
+ It's caller's responsibility to free the buffer.
@param[out] ContentSize The size of the extracted content in bytes.
@retval TRUE The P7Data was correctly formatted for processing.
@@ -2117,7 +2117,7 @@ Pkcs7GetAttachedContent (
);
/**
- Verifies the validility of a PE/COFF Authenticode Signature as described in "Windows
+ Verifies the validity of a PE/COFF Authenticode Signature as described in "Windows
Authenticode Portable Executable Signature Format".
If AuthData is NULL, then return FALSE.
@@ -2130,7 +2130,7 @@ Pkcs7GetAttachedContent (
@param[in] TrustedCert Pointer to a trusted/root certificate encoded in DER, which
is used for certificate chain verification.
@param[in] CertSize Size of the trusted certificate in bytes.
- @param[in] ImageHash Pointer to the original image file hash value. The procudure
+ @param[in] ImageHash Pointer to the original image file hash value. The procedure
for calculating the image hash value is described in Authenticode
specification.
@param[in] HashSize Size of Image hash value in bytes.
@@ -2152,7 +2152,7 @@ AuthenticodeVerify (
);
/**
- Verifies the validility of a RFC3161 Timestamp CounterSignature embedded in PE/COFF Authenticode
+ Verifies the validity of a RFC3161 Timestamp CounterSignature embedded in PE/COFF Authenticode
signature.
If AuthData is NULL, then return FALSE.
@@ -2231,7 +2231,7 @@ DhFree (
@param[in] PrimeLength Length in bits of prime to be generated.
@param[out] Prime Pointer to the buffer to receive the generated prime number.
- @retval TRUE DH pamameter generation succeeded.
+ @retval TRUE DH parameter generation succeeded.
@retval FALSE Value of Generator is not supported.
@retval FALSE PRNG fails to generate random prime number with PrimeLength.
@retval FALSE This interface is not supported.
@@ -2261,7 +2261,7 @@ DhGenerateParameter (
@param[in] PrimeLength Length in bits of prime to be generated.
@param[in] Prime Pointer to the prime number.
- @retval TRUE DH pamameter setting succeeded.
+ @retval TRUE DH parameter setting succeeded.
@retval FALSE Value of Generator is not supported.
@retval FALSE Value of Generator is not suitable for the Prime.
@retval FALSE Value of Prime is not a prime number.
@@ -2382,7 +2382,7 @@ RandomSeed (
If this interface is not supported, then return FALSE.
@param[out] Output Pointer to buffer to receive random value.
- @param[in] Size Size of randome bytes to generate.
+ @param[in] Size Size of random bytes to generate.
@retval TRUE Pseudorandom byte stream generated successfully.
@retval FALSE Pseudorandom number generator fails to generate due to lack of entropy.
diff --git a/CryptoPkg/Include/OpenSslSupport.h b/CryptoPkg/Include/OpenSslSupport.h
index 239ae8b..dad40e4 100644
--- a/CryptoPkg/Include/OpenSslSupport.h
+++ b/CryptoPkg/Include/OpenSslSupport.h
@@ -69,7 +69,7 @@ typedef VOID *FILE;
#endif
//
-// #defines from EFI Application Toolkit required to buiild Open SSL
+// #defines from EFI Application Toolkit required to build Open SSL
//
#define ENOMEM 12 /* Cannot allocate memory */
#define EINVAL 22 /* Invalid argument */
@@ -92,7 +92,7 @@ typedef VOID *FILE;
#define LOG_CONS 0x02 /* log on the console if errors in sending */
//
-// Macros from EFI Application Toolkit required to buiild Open SSL
+// Macros from EFI Application Toolkit required to build Open SSL
//
/* The offsetof() macro calculates the offset of a structure member
in its structure. Unfortunately this cannot be written down
@@ -102,7 +102,7 @@ typedef VOID *FILE;
#define offsetof(type, member) OFFSET_OF (type, member)
//
-// Basic types from EFI Application Toolkit required to buiild Open SSL
+// Basic types from EFI Application Toolkit required to build Open SSL
//
typedef UINTN size_t;
typedef INTN ssize_t;
@@ -120,7 +120,7 @@ typedef void *DIR;
typedef void __sighandler_t (int);
//
-// Structures from EFI Application Toolkit required to buiild Open SSL
+// Structures from EFI Application Toolkit required to build Open SSL
//
struct tm {
int tm_sec; /* seconds after the minute [0-60] */
@@ -173,12 +173,12 @@ struct stat {
};
//
-// Externs from EFI Application Toolkit required to buiild Open SSL
+// Externs from EFI Application Toolkit required to build Open SSL
//
extern int errno;
//
-// Function prototypes from EFI Application Toolkit required to buiild Open SSL
+// Function prototypes from EFI Application Toolkit required to build Open SSL
//
void *malloc (size_t);
void *realloc (void *, size_t);
@@ -247,7 +247,7 @@ void abort (void);
__sighandler_t *signal (int, __sighandler_t *);
//
-// Global variables from EFI Application Toolkit required to buiild Open SSL
+// Global variables from EFI Application Toolkit required to build Open SSL
//
extern FILE *stderr;
extern FILE *stdin;
diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c
index 633d343..148d0a9 100644
--- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c
+++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c
@@ -101,7 +101,7 @@ Md4Duplicate (
This function performs MD4 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- MD4 context should be already correctly intialized by Md4Init(), and should not be finalized
+ MD4 context should be already correctly initialized by Md4Init(), and should not be finalized
by Md4Final(). Behavior with invalid context is undefined.
If Md4Context is NULL, then return FALSE.
@@ -148,7 +148,7 @@ Md4Update (
This function completes MD4 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the MD4 context cannot
be used again.
- MD4 context should be already correctly intialized by Md4Init(), and should not be
+ MD4 context should be already correctly initialized by Md4Init(), and should not be
finalized by Md4Final(). Behavior with invalid MD4 context is undefined.
If Md4Context is NULL, then return FALSE.
diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
index e1c10e3..809f06f 100644
--- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
+++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
@@ -103,7 +103,7 @@ Md5Duplicate (
This function performs MD5 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- MD5 context should be already correctly intialized by Md5Init(), and should not be finalized
+ MD5 context should be already correctly initialized by Md5Init(), and should not be finalized
by Md5Final(). Behavior with invalid context is undefined.
If Md5Context is NULL, then return FALSE.
@@ -150,7 +150,7 @@ Md5Update (
This function completes MD5 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the MD5 context cannot
be used again.
- MD5 context should be already correctly intialized by Md5Init(), and should not be
+ MD5 context should be already correctly initialized by Md5Init(), and should not be
finalized by Md5Final(). Behavior with invalid MD5 context is undefined.
If Md5Context is NULL, then return FALSE.
diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c
index 78c29c1..1a8ac6c 100644
--- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c
+++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c
@@ -102,7 +102,7 @@ Sha1Duplicate (
This function performs SHA-1 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- SHA-1 context should be already correctly intialized by Sha1Init(), and should not be finalized
+ SHA-1 context should be already correctly initialized by Sha1Init(), and should not be finalized
by Sha1Final(). Behavior with invalid context is undefined.
If Sha1Context is NULL, then return FALSE.
@@ -149,7 +149,7 @@ Sha1Update (
This function completes SHA-1 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the SHA-1 context cannot
be used again.
- SHA-1 context should be already correctly intialized by Sha1Init(), and should not be
+ SHA-1 context should be already correctly initialized by Sha1Init(), and should not be
finalized by Sha1Final(). Behavior with invalid SHA-1 context is undefined.
If Sha1Context is NULL, then return FALSE.
diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c
index 56894ac..ec45d6a 100644
--- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c
+++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c
@@ -101,7 +101,7 @@ Sha256Duplicate (
This function performs SHA-256 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- SHA-256 context should be already correctly intialized by Sha256Init(), and should not be finalized
+ SHA-256 context should be already correctly initialized by Sha256Init(), and should not be finalized
by Sha256Final(). Behavior with invalid context is undefined.
If Sha256Context is NULL, then return FALSE.
@@ -148,7 +148,7 @@ Sha256Update (
This function completes SHA-256 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the SHA-256 context cannot
be used again.
- SHA-256 context should be already correctly intialized by Sha256Init(), and should not be
+ SHA-256 context should be already correctly initialized by Sha256Init(), and should not be
finalized by Sha256Final(). Behavior with invalid SHA-256 context is undefined.
If Sha256Context is NULL, then return FALSE.
diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c
index 491f45d..e68a4bf 100644
--- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c
+++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c
@@ -103,7 +103,7 @@ Sha384Duplicate (
This function performs SHA-384 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- SHA-384 context should be already correctly intialized by Sha384Init(), and should not be finalized
+ SHA-384 context should be already correctly initialized by Sha384Init(), and should not be finalized
by Sha384Final(). Behavior with invalid context is undefined.
If Sha384Context is NULL, then return FALSE.
@@ -150,7 +150,7 @@ Sha384Update (
This function completes SHA-384 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the SHA-384 context cannot
be used again.
- SHA-384 context should be already correctly intialized by Sha384Init(), and should not be
+ SHA-384 context should be already correctly initialized by Sha384Init(), and should not be
finalized by Sha384Final(). Behavior with invalid SHA-384 context is undefined.
If Sha384Context is NULL, then return FALSE.
@@ -272,7 +272,7 @@ Sha512Duplicate (
This function performs SHA-512 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- SHA-512 context should be already correctly intialized by Sha512Init(), and should not be finalized
+ SHA-512 context should be already correctly initialized by Sha512Init(), and should not be finalized
by Sha512Final(). Behavior with invalid context is undefined.
If Sha512Context is NULL, then return FALSE.
@@ -319,7 +319,7 @@ Sha512Update (
This function completes SHA-512 hash computation and retrieves the digest value into
the specified memory. After this function has been called, the SHA-512 context cannot
be used again.
- SHA-512 context should be already correctly intialized by Sha512Init(), and should not be
+ SHA-512 context should be already correctly initialized by Sha512Init(), and should not be
finalized by Sha512Final(). Behavior with invalid SHA-512 context is undefined.
If Sha512Context is NULL, then return FALSE.
diff --git a/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c b/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c
index 693cd32..6175061 100644
--- a/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c
+++ b/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c
@@ -108,7 +108,7 @@ HmacMd5Duplicate (
This function performs HMAC-MD5 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- HMAC-MD5 context should be already correctly intialized by HmacMd5Init(), and should not be
+ HMAC-MD5 context should be already correctly initialized by HmacMd5Init(), and should not be
finalized by HmacMd5Final(). Behavior with invalid context is undefined.
If HmacMd5Context is NULL, then return FALSE.
@@ -157,7 +157,7 @@ HmacMd5Update (
This function completes HMAC-MD5 digest computation and retrieves the digest value into
the specified memory. After this function has been called, the HMAC-MD5 context cannot
be used again.
- HMAC-MD5 context should be already correctly intialized by HmacMd5Init(), and should not be
+ HMAC-MD5 context should be already correctly initialized by HmacMd5Init(), and should not be
finalized by HmacMd5Final(). Behavior with invalid HMAC-MD5 context is undefined.
If HmacMd5Context is NULL, then return FALSE.
diff --git a/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c b/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c
index 881d26c..e660258 100644
--- a/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c
+++ b/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c
@@ -108,7 +108,7 @@ HmacSha1Duplicate (
This function performs HMAC-SHA1 digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- HMAC-SHA1 context should be already correctly intialized by HmacSha1Init(), and should not
+ HMAC-SHA1 context should be already correctly initialized by HmacSha1Init(), and should not
be finalized by HmacSha1Final(). Behavior with invalid context is undefined.
If HmacSha1Context is NULL, then return FALSE.
@@ -157,7 +157,7 @@ HmacSha1Update (
This function completes HMAC-SHA1 digest computation and retrieves the digest value into
the specified memory. After this function has been called, the HMAC-SHA1 context cannot
be used again.
- HMAC-SHA1 context should be already correctly intialized by HmacSha1Init(), and should
+ HMAC-SHA1 context should be already correctly initialized by HmacSha1Init(), and should
not be finalized by HmacSha1Final(). Behavior with invalid HMAC-SHA1 context is undefined.
If HmacSha1Context is NULL, then return FALSE.
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c
index 857281d..74e50a2 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c
@@ -34,7 +34,7 @@ UINT8 mSpcIndirectOidValue[] = {
};
/**
- Verifies the validility of a PE/COFF Authenticode Signature as described in "Windows
+ Verifies the validity of a PE/COFF Authenticode Signature as described in "Windows
Authenticode Portable Executable Signature Format".
If AuthData is NULL, then return FALSE.
@@ -50,7 +50,7 @@ UINT8 mSpcIndirectOidValue[] = {
@param[in] TrustedCert Pointer to a trusted/root certificate encoded in DER, which
is used for certificate chain verification.
@param[in] CertSize Size of the trusted certificate in bytes.
- @param[in] ImageHash Pointer to the original image file hash value. The procudure
+ @param[in] ImageHash Pointer to the original image file hash value. The procedure
for calculating the image hash value is described in Authenticode
specification.
@param[in] HashSize Size of Image hash value in bytes.
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c
index 5554486..afec025 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c
@@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include "InternalCryptLib.h"
/**
- Verifies the validility of a PE/COFF Authenticode Signature as described in "Windows
+ Verifies the validity of a PE/COFF Authenticode Signature as described in "Windows
Authenticode Portable Executable Signature Format".
Return FALSE to indicate this interface is not supported.
@@ -27,7 +27,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@param[in] TrustedCert Pointer to a trusted/root certificate encoded in DER, which
is used for certificate chain verification.
@param[in] CertSize Size of the trusted certificate in bytes.
- @param[in] ImageHash Pointer to the original image file hash value. The procudure
+ @param[in] ImageHash Pointer to the original image file hash value. The procedure
for calculating the image hash value is described in Authenticode
specification.
@param[in] HashSize Size of Image hash value in bytes.
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c
index 5e0447b..a5d6e49 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c
@@ -73,7 +73,7 @@ DhFree (
@param[in] PrimeLength Length in bits of prime to be generated.
@param[out] Prime Pointer to the buffer to receive the generated prime number.
- @retval TRUE DH pamameter generation succeeded.
+ @retval TRUE DH parameter generation succeeded.
@retval FALSE Value of Generator is not supported.
@retval FALSE PRNG fails to generate random prime number with PrimeLength.
@@ -124,7 +124,7 @@ DhGenerateParameter (
@param[in] PrimeLength Length in bits of prime to be generated.
@param[in] Prime Pointer to the prime number.
- @retval TRUE DH pamameter setting succeeded.
+ @retval TRUE DH parameter setting succeeded.
@retval FALSE Value of Generator is not supported.
@retval FALSE Value of Generator is not suitable for the Prime.
@retval FALSE Value of Prime is not a prime number.
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
index 4dd1625..dcaba43 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
@@ -229,7 +229,7 @@ _Exit:
in a ContentInfo structure.
If P7Data, CertStack, StackLength, TrustedCert or CertLength is NULL, then
- return FALSE. If P7Length overflow, then return FAlSE.
+ return FALSE. If P7Length overflow, then return FALSE.
Caution: This function may receive untrusted input.
UEFI Authenticated Variable is external input, so this function will do basic
@@ -718,12 +718,12 @@ _Error:
}
/**
- Verifies the validility of a PKCS#7 signed data as described in "PKCS #7:
+ Verifies the validity of a PKCS#7 signed data as described in "PKCS #7:
Cryptographic Message Syntax Standard". The input signed data could be wrapped
in a ContentInfo structure.
If P7Data, TrustedCert or InData is NULL, then return FALSE.
- If P7Length, CertLength or DataLength overflow, then return FAlSE.
+ If P7Length, CertLength or DataLength overflow, then return FALSE.
Caution: This function may receive untrusted input.
UEFI Authenticated Variable is external input, so this function will do basic
@@ -897,7 +897,7 @@ _Exit:
data could be wrapped in a ContentInfo structure.
If P7Data, Content, or ContentSize is NULL, then return FALSE. If P7Length overflow,
- then return FAlSE. If the P7Data is not correctly formatted, then return FALSE.
+ then return FALSE. If the P7Data is not correctly formatted, then return FALSE.
Caution: This function may receive untrusted input. So this function will do
basic check for PKCS#7 data structure.
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
index d09fd54..06602ec 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
@@ -101,7 +101,7 @@ Pkcs7GetCertificatesList (
}
/**
- Verifies the validility of a PKCS#7 signed data as described in "PKCS #7:
+ Verifies the validity of a PKCS#7 signed data as described in "PKCS #7:
Cryptographic Message Syntax Standard". The input signed data could be wrapped
in a ContentInfo structure.
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c
index e49db51..e68dd02 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c
@@ -67,14 +67,14 @@ RsaFree (
This function sets the tag-designated RSA key component into the established
RSA context from the user-specified non-negative integer (octet string format
represented in RSA PKCS#1).
- If BigNumber is NULL, then the specified key componenet in RSA context is cleared.
+ If BigNumber is NULL, then the specified key component in RSA context is cleared.
If RsaContext is NULL, then return FALSE.
@param[in, out] RsaContext Pointer to RSA context being set.
@param[in] KeyTag Tag of RSA key component being set.
@param[in] BigNumber Pointer to octet integer buffer.
- If NULL, then the specified key componenet in RSA
+ If NULL, then the specified key component in RSA
context is cleared.
@param[in] BnSize Size of big number buffer in bytes.
If BigNumber is NULL, then it is ignored.
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c
index b941d6f..30552e4 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c
@@ -248,7 +248,7 @@ _Exit:
NOTE: This function performs integrity checks on all the RSA key material, so
the RSA key structure must contain all the private key data.
- This function validates key compoents of RSA context in following aspects:
+ This function validates key components of RSA context in following aspects:
- Whether p is a prime
- Whether q is a prime
- Whether n = p * q
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
index d495812..1b78472 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
@@ -323,7 +323,7 @@ _Exit:
}
/**
- Verifies the validility of a TimeStamp Token as described in RFC 3161 ("Internet
+ Verifies the validity of a TimeStamp Token as described in RFC 3161 ("Internet
X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)").
If TSToken is NULL, then return FALSE.
@@ -497,7 +497,7 @@ _Exit:
}
/**
- Verifies the validility of a RFC3161 Timestamp CounterSignature embedded in PE/COFF Authenticode
+ Verifies the validity of a RFC3161 Timestamp CounterSignature embedded in PE/COFF Authenticode
signature.
If AuthData is NULL, then return FALSE.
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c
index eb32aaf..a43f733 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c
@@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include "InternalCryptLib.h"
/**
- Verifies the validility of a RFC3161 Timestamp CounterSignature embedded in PE/COFF Authenticode
+ Verifies the validity of a RFC3161 Timestamp CounterSignature embedded in PE/COFF Authenticode
signature.
Return FALSE to indicate this interface is not supported.
diff --git a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c
index 895ce83..fd3c6d4 100644
--- a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c
+++ b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c
@@ -79,7 +79,7 @@ RandomSeed (
If Output is NULL, then return FALSE.
@param[out] Output Pointer to buffer to receive random value.
- @param[in] Size Size of randome bytes to generate.
+ @param[in] Size Size of random bytes to generate.
@retval TRUE Pseudorandom byte stream generated successfully.
@retval FALSE Pseudorandom number generator fails to generate due to lack of entropy.
diff --git a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c
index 9f87087..3db5157 100644
--- a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c
+++ b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c
@@ -87,7 +87,7 @@ RandomSeed (
If Output is NULL, then return FALSE.
@param[out] Output Pointer to buffer to receive random value.
- @param[in] Size Size of randome bytes to generate.
+ @param[in] Size Size of random bytes to generate.
@retval TRUE Pseudorandom byte stream generated successfully.
@retval FALSE Pseudorandom number generator fails to generate due to lack of entropy.
diff --git a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c
index 8838e22..c292a23 100644
--- a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c
+++ b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c
@@ -46,7 +46,7 @@ RandomSeed (
Return FALSE to indicate this interface is not supported.
@param[out] Output Pointer to buffer to receive random value.
- @param[in] Size Size of randome bytes to generate.
+ @param[in] Size Size of random bytes to generate.
@retval FALSE This interface is not supported.
diff --git a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c
index 9bd349d..15f0b3f 100644
--- a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c
+++ b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c
@@ -87,7 +87,7 @@ RandomSeed (
If Output is NULL, then return FALSE.
@param[out] Output Pointer to buffer to receive random value.
- @param[in] Size Size of randome bytes to generate.
+ @param[in] Size Size of random bytes to generate.
@retval TRUE Pseudorandom byte stream generated successfully.
@retval FALSE Pseudorandom number generator fails to generate due to lack of entropy.
diff --git a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthenticodeNull.c b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthenticodeNull.c
index 5554486..afec025 100644
--- a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthenticodeNull.c
+++ b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthenticodeNull.c
@@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include "InternalCryptLib.h"
/**
- Verifies the validility of a PE/COFF Authenticode Signature as described in "Windows
+ Verifies the validity of a PE/COFF Authenticode Signature as described in "Windows
Authenticode Portable Executable Signature Format".
Return FALSE to indicate this interface is not supported.
@@ -27,7 +27,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@param[in] TrustedCert Pointer to a trusted/root certificate encoded in DER, which
is used for certificate chain verification.
@param[in] CertSize Size of the trusted certificate in bytes.
- @param[in] ImageHash Pointer to the original image file hash value. The procudure
+ @param[in] ImageHash Pointer to the original image file hash value. The procedure
for calculating the image hash value is described in Authenticode
specification.
@param[in] HashSize Size of Image hash value in bytes.
diff --git a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c
index d09fd54..06602ec 100644
--- a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c
+++ b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c
@@ -101,7 +101,7 @@ Pkcs7GetCertificatesList (
}
/**
- Verifies the validility of a PKCS#7 signed data as described in "PKCS #7:
+ Verifies the validity of a PKCS#7 signed data as described in "PKCS #7:
Cryptographic Message Syntax Standard". The input signed data could be wrapped
in a ContentInfo structure.
diff --git a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNull.c b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNull.c
index 8838e22..c292a23 100644
--- a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNull.c
+++ b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNull.c
@@ -46,7 +46,7 @@ RandomSeed (
Return FALSE to indicate this interface is not supported.
@param[out] Output Pointer to buffer to receive random value.
- @param[in] Size Size of randome bytes to generate.
+ @param[in] Size Size of random bytes to generate.
@retval FALSE This interface is not supported.
diff --git a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCryptLib.c b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCryptLib.c
index cd40d16..9babc7e 100644
--- a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCryptLib.c
+++ b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCryptLib.c
@@ -344,14 +344,14 @@ RsaFree (
This function sets the tag-designated RSA key component into the established
RSA context from the user-specified non-negative integer (octet string format
represented in RSA PKCS#1).
- If BigNumber is NULL, then the specified key componenet in RSA context is cleared.
+ If BigNumber is NULL, then the specified key component in RSA context is cleared.
If RsaContext is NULL, then return FALSE.
@param[in, out] RsaContext Pointer to RSA context being set.
@param[in] KeyTag Tag of RSA key component being set.
@param[in] BigNumber Pointer to octet integer buffer.
- If NULL, then the specified key componenet in RSA
+ If NULL, then the specified key component in RSA
context is cleared.
@param[in] BnSize Size of big number buffer in bytes.
If BigNumber is NULL, then it is ignored.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 06/33] DuetPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (4 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 05/33] CryptoPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:46 ` Ni, Ruiyu
2016-10-19 7:01 ` [PATCH 07/33] EdkCompatibilityPkg: " Gary Lin
` (28 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Ruiyu Ni
- TURE -> TRUE
- successull -> successfully
- Libary -> Library
- Incude -> Include
- futhure -> future
- Predfined -> Predefined
- minimue -> minimum
- predeined -> predefined
- excute -> execute
- dirver -> driver
- hanlde -> handle
- boundry -> boundary
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
DuetPkg/BiosVideoThunkDxe/BiosVideo.c | 4 ++--
DuetPkg/DxeIpl/HobGeneration.c | 2 +-
DuetPkg/EfiLdr/EfiLoader.c | 2 +-
DuetPkg/EfiLdr/LzmaDecompress.h | 2 +-
DuetPkg/EfiLdr/TianoDecompress.c | 6 +++---
DuetPkg/EfiLdr/TianoDecompress.h | 4 ++--
DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 14 +++++++-------
DuetPkg/PciBusNoEnumerationDxe/PciBus.h | 2 +-
8 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/DuetPkg/BiosVideoThunkDxe/BiosVideo.c b/DuetPkg/BiosVideoThunkDxe/BiosVideo.c
index da2c877..dc367e9 100644
--- a/DuetPkg/BiosVideoThunkDxe/BiosVideo.c
+++ b/DuetPkg/BiosVideoThunkDxe/BiosVideo.c
@@ -94,7 +94,7 @@ VESA_BIOS_EXTENSIONS_EDID_TIMING mEstablishedEdidTiming[] = {
};
/**
- Install child hanlde for a detect BiosVideo device and install related protocol
+ Install child handle for a detect BiosVideo device and install related protocol
into this handle, such as EFI_GRAPHIC_OUTPUT_PROTOCOL.
@param This Instance pointer of EFI_DRIVER_BINDING_PROTOCOL
@@ -391,7 +391,7 @@ BiosVideoDriverBindingStop (
}
/**
- Install child hanlde for a detect BiosVideo device and install related protocol
+ Install child handle for a detect BiosVideo device and install related protocol
into this handle, such as EFI_GRAPHIC_OUTPUT_PROTOCOL.
@param This Instance pointer of EFI_DRIVER_BINDING_PROTOCOL
diff --git a/DuetPkg/DxeIpl/HobGeneration.c b/DuetPkg/DxeIpl/HobGeneration.c
index fac74b0..03e44d5 100644
--- a/DuetPkg/DxeIpl/HobGeneration.c
+++ b/DuetPkg/DxeIpl/HobGeneration.c
@@ -727,7 +727,7 @@ PrepareHobBfv (
//
// Calculate BFV location at top of the memory region.
- // This is like a RAM Disk. Align to page boundry.
+ // This is like a RAM Disk. Align to page boundary.
//
//BfvLengthPageSize = EFI_PAGES_TO_SIZE (EFI_SIZE_TO_PAGES (BfvLength));
diff --git a/DuetPkg/EfiLdr/EfiLoader.c b/DuetPkg/EfiLdr/EfiLoader.c
index b23966e..ac950b5 100644
--- a/DuetPkg/EfiLdr/EfiLoader.c
+++ b/DuetPkg/EfiLdr/EfiLoader.c
@@ -66,7 +66,7 @@ EfiLoader (
//
// Add all EfiConventionalMemory descriptors to the table. If there are partial pages, then
- // round the start address up to the next page, and round the length down to a page boundry.
+ // round the start address up to the next page, and round the length down to a page boundary.
//
BiosMemoryMap = (BIOS_MEMORY_MAP *) (UINTN) BiosMemoryMapBaseAddress;
NumberOfMemoryMapEntries = 0;
diff --git a/DuetPkg/EfiLdr/LzmaDecompress.h b/DuetPkg/EfiLdr/LzmaDecompress.h
index 7d20fda..e244df7 100644
--- a/DuetPkg/EfiLdr/LzmaDecompress.h
+++ b/DuetPkg/EfiLdr/LzmaDecompress.h
@@ -23,7 +23,7 @@
@param DestinationSize The size of destination buffer.
@param ScratchSize The size of scratch buffer.
- @retval RETURN_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ @retval RETURN_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
@retval RETURN_INVALID_PARAMETER - The source data is corrupted
**/
RETURN_STATUS
diff --git a/DuetPkg/EfiLdr/TianoDecompress.c b/DuetPkg/EfiLdr/TianoDecompress.c
index 6fed7a1..b504e8e 100644
--- a/DuetPkg/EfiLdr/TianoDecompress.c
+++ b/DuetPkg/EfiLdr/TianoDecompress.c
@@ -675,7 +675,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -844,7 +844,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -928,7 +928,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
diff --git a/DuetPkg/EfiLdr/TianoDecompress.h b/DuetPkg/EfiLdr/TianoDecompress.h
index 0d85b7b..e9cb016 100644
--- a/DuetPkg/EfiLdr/TianoDecompress.h
+++ b/DuetPkg/EfiLdr/TianoDecompress.h
@@ -1,5 +1,5 @@
/** @file
- Internal include file for Base UEFI Decompress Libary.
+ Internal include file for Base UEFI Decompress Library.
Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
@@ -47,7 +47,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
index 1875dc9..d85e1fd 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
@@ -383,7 +383,7 @@ PlatformBdsInit (
Routine Description:
- Platform Bds init. Incude the platform firmware vendor, revision
+ Platform Bds init. Include the platform firmware vendor, revision
and so crc check.
Arguments:
@@ -644,7 +644,7 @@ GetGopDevicePath (
}
//
- // Try to connect this handle, so that GOP dirver could start on this
+ // Try to connect this handle, so that GOP driver could start on this
// device and create child handles with GraphicsOutput Protocol installed
// on them, then we get device paths of these child handles and select
// them as possible console device.
@@ -676,7 +676,7 @@ GetGopDevicePath (
// In current implementation, we only enable one of the child handles
// as console device, i.e. sotre one of the child handle's device
// path to variable "ConOut"
- // In futhure, we could select all child handles to be console device
+ // In future, we could select all child handles to be console device
//
*GopDevicePath = TempDevicePath;
@@ -907,7 +907,7 @@ Routine Description:
Arguments:
- PlatformConsole - Predfined platform default console device array.
+ PlatformConsole - Predefined platform default console device array.
Returns:
@@ -950,7 +950,7 @@ Returns:
//
// Have chance to connect the platform default console,
- // the platform default console is the minimue device group
+ // the platform default console is the minimum device group
// the platform should support
//
for (Index = 0; PlatformConsole[Index].DevicePath != NULL; ++Index) {
@@ -1001,7 +1001,7 @@ PlatformBdsConnectSequence (
Routine Description:
- Connect with predeined platform connect sequence,
+ Connect with predefined platform connect sequence,
the OEM/IBV can customize with their own connect sequence.
Arguments:
@@ -1141,7 +1141,7 @@ PlatformBdsPolicyBehavior (
Routine Description:
- The function will excute with as the platform policy, current policy
+ The function will execute with as the platform policy, current policy
is driven by boot mode. IBV/OEM can customize this code for their specific
policy action.
diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
index 3ddb5bf..150196c 100644
--- a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
+++ b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
@@ -137,7 +137,7 @@ typedef struct _PCI_IO_DEVICE {
LIST_ENTRY ChildList;
//
- // TURE if the PCI bus driver creates the handle for this PCI device
+ // TRUE if the PCI bus driver creates the handle for this PCI device
//
BOOLEAN Registered;
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 07/33] EdkCompatibilityPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (5 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 06/33] DuetPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 8:19 ` Gao, Liming
2016-10-19 7:01 ` [PATCH 08/33] EmulatorPkg: Fix typos in comments and variables Gary Lin
` (27 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Liming Gao
- excute -> execute
- Pacakges -> Packages
- successfull -> successfully
- outputed -> outputted
- triggerred -> triggered
- specifiecd -> specified
- hexidecimal -> hexadecimal
- Arrary -> Array
- Pointion -> Position
- paramter -> parameter
- stardard -> standard
- perodically -> periodically
- dependecy -> dependency
- evauated -> evaluated
- availible -> available
- boundry -> boundary
- discontiguous -> discontinuous
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/ScriptSave.c | 4 ++--
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h | 4 ++--
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package.c | 6 +++---
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c | 2 +-
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h | 2 +-
EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c | 2 +-
EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.h | 2 +-
EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h | 2 +-
EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h | 4 ++--
EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h | 4 ++--
EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h | 4 ++--
EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c | 2 +-
EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | 10 +++++-----
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c | 2 +-
EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c | 6 +++---
EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.h | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c | 6 +++---
EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h | 4 ++--
EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/CustomizedCompress.c | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c | 2 +-
31 files changed, 47 insertions(+), 47 deletions(-)
diff --git a/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/ScriptSave.c b/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/ScriptSave.c
index 0bc2f75..a3503a5 100644
--- a/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/ScriptSave.c
+++ b/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/ScriptSave.c
@@ -358,7 +358,7 @@ BootScriptPciCfg2ReadWrite (
);
}
/**
- Internal function to add smbus excute opcode to the table.
+ Internal function to add smbus execute opcode to the table.
@param Marker The variable argument list to get the opcode
and associated attributes.
@@ -913,7 +913,7 @@ InitializeScriptSaveOnS3SaveState (
ASSERT_EFI_ERROR (Status);
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)MemoryAddress;
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);
diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h
index d86572a..c736990 100644
--- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h
+++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h
@@ -249,7 +249,7 @@ extern BOOLEAN mInFrameworkUpdatePakcage;
@param Packages Pointer of HII packages.
@param Handle Handle value to be returned.
- @retval EFI_SUCCESS Pacakges has added to HII database successfully.
+ @retval EFI_SUCCESS Packages has added to HII database successfully.
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
**/
@@ -268,7 +268,7 @@ HiiNewPack (
@param This Pointer of Frameowk HII protocol instance.
@param Handle Handle value to be removed.
- @retval EFI_SUCCESS Pacakges has added to HII database successfully.
+ @retval EFI_SUCCESS Packages has added to HII database successfully.
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
**/
diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package.c b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package.c
index 2d3031a..caa5cf8 100644
--- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package.c
+++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package.c
@@ -455,7 +455,7 @@ FindStringPackAndUpdatePackListWithOnlyIfrPack (
@param Handle On output, a FRAMEWORK_EFI_HII_HANDLE number is
returned.
- @retval EFI_SUCCESS The Package List is registered successfull in
+ @retval EFI_SUCCESS The Package List is registered successfully in
the database.
@retval EFI_UNSUPPORTED The number of IFR package in the package list
is greater than 1.
@@ -644,7 +644,7 @@ Done:
@param Packages Pointer of HII packages.
@param Handle Handle value to be returned.
- @retval EFI_SUCCESS Pacakges has added to HII database successfully.
+ @retval EFI_SUCCESS Packages has added to HII database successfully.
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
**/
@@ -701,7 +701,7 @@ HiiNewPack (
@param This Pointer of Frameowk HII protocol instance.
@param Handle Handle value to be removed.
- @retval EFI_SUCCESS Pacakges has added to HII database successfully.
+ @retval EFI_SUCCESS Packages has added to HII database successfully.
@retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
**/
diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c
index d269b8e..93cd710 100644
--- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c
+++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c
@@ -53,7 +53,7 @@ CONST CHAR16 FrameworkReservedVarstoreName[] = FRAMEWORK_RESERVED_VARSTORE_NAME;
@param HandleBuffer On output, an array of EFI_HII_HANDLE instances returned.
The caller is responcible to free this pointer allocated.
- @retval EFI_SUCCESS The matching handles are outputed successfully.
+ @retval EFI_SUCCESS The matching handles are outputted successfully.
HandleBufferLength is updated with the actual length.
@retval EFI_OUT_OF_RESOURCES Not enough resource to complete the operation.
@retval EFI_NOT_FOUND No matching handle could not be found in database.
diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h
index 4f453f1..551c4bf 100644
--- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h
+++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h
@@ -48,7 +48,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@param HandleBuffer On output, an array of EFI_HII_HANDLE instances returned.
The caller is responcible to free this pointer allocated.
- @retval EFI_SUCCESS The matching handles are outputed successfully.
+ @retval EFI_SUCCESS The matching handles are outputted successfully.
HandleBufferLength is updated with the actual length.
@retval EFI_OUT_OF_RESOURCES Not enough resource to complete the operation.
@retval EFI_NOT_FOUND No matching handle could not be found in database.
diff --git a/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c b/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c
index eb281d6..73c89a1 100644
--- a/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c
+++ b/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c
@@ -747,7 +747,7 @@ WhoAmI (
/**
Checks APs' status periodically.
- This function is triggerred by timer perodically to check the
+ This function is triggered by timer periodically to check the
state of APs for StartupAllAPs() and StartupThisAP() executed
in non-blocking mode.
diff --git a/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.h b/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.h
index 7f9d107..1374968 100644
--- a/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.h
+++ b/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.h
@@ -340,7 +340,7 @@ WhoAmI (
/**
Checks APs' status periodically.
- This function is triggerred by timer perodically to check the
+ This function is triggered by timer periodically to check the
state of APs for StartupAllAPs() and StartupThisAP() executed
in non-blocking mode.
diff --git a/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h b/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h
index 746b4c0..b0ec374 100644
--- a/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h
+++ b/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h
@@ -187,7 +187,7 @@ EfiCpuid (
/*++
Routine Description:
- Get the Cpu info by excute the CPUID instruction
+ Get the Cpu info by execute the CPUID instruction
Arguments:
RegisterInEax: -The input value to put into register EAX
Regs: -The Output value
diff --git a/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h b/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h
index 026854a..81d3b00 100644
--- a/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h
+++ b/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h
@@ -262,12 +262,12 @@ typedef struct {
#define EFI_PAGES_TO_SIZE(a) ( (a) << EFI_PAGE_SHIFT)
//
-// ALIGN_POINTER - aligns a pointer to the lowest boundry
+// ALIGN_POINTER - aligns a pointer to the lowest boundary
//
#define ALIGN_POINTER(p, s) ((VOID *) (p + ((s - ((UINTN) p)) & (s - 1))))
//
-// ALIGN_VARIABLE - aligns a variable up to the next natural boundry for int size of a processor
+// ALIGN_VARIABLE - aligns a variable up to the next natural boundary for int size of a processor
//
#define ALIGN_VARIABLE(Value, Adjustment) \
(UINTN) Adjustment = 0; \
diff --git a/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h b/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h
index b319aae..0db81dd 100644
--- a/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h
+++ b/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h
@@ -201,7 +201,7 @@ EFI_STATUS
Handle - An array of EFI_HII_HANDLE instances returned.
Returns:
- EFI_SUCCESS - The matching handles are outputed successfully.
+ EFI_SUCCESS - The matching handles are outputted successfully.
HandleBufferLength is updated with the actual length.
EFI_BUFFER_TO_SMALL - The HandleBufferLength parameter indicates that
Handle is too small to support the number of handles.
@@ -248,7 +248,7 @@ EFI_STATUS
is too small to support the number of handles.
HandleBufferLength is updated with a value that will
enable the data to fit.
- EFI_NOT_FOUND - The specifiecd Handle could not be found in the current
+ EFI_NOT_FOUND - The specified Handle could not be found in the current
database.
EFI_INVALID_PARAMETER - Handle or Buffer or BufferSize was NULL.
diff --git a/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h b/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h
index 41dad65..5a14a13 100644
--- a/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h
+++ b/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h
@@ -28,8 +28,8 @@ Abstract:
// EFI_DEP_BEFORE - If present, it must be the first and only opcode
// EFI_DEP_AFTER - If present, it must be the first and only opcode
// EFI_DEP_SOR - If present, it must be the first opcode
-// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependecy expression
-// to save time. A EFI_DEP_PUSH is evauated one an
+// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependency expression
+// to save time. A EFI_DEP_PUSH is evaluated one an
// replaced with EFI_DEP_REPLACE_TRUE
//
#define EFI_DEP_BEFORE 0x00
diff --git a/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h b/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h
index e2bc450..46ed778 100644
--- a/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h
+++ b/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h
@@ -433,7 +433,7 @@ EFI_STATUS
Flags - Indicates if ROM found and if PC-AT.
Returns:
- EFI_SUCCESS - Legacy Option ROM availible for this device
+ EFI_SUCCESS - Legacy Option ROM available for this device
EFI_UNSUPPORTED - Legacy Option ROM not supported.
--*/
diff --git a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c
index 03032b9..030dade 100644
--- a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c
+++ b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c
@@ -74,7 +74,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
EFI_UNSUPPORTED - Not supported
diff --git a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h
index 701831b..d7ecb23 100644
--- a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h
+++ b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h
@@ -47,7 +47,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
EFI_UNSUPPORTED - Not supported
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h
index 3d1089f..1f5201b 100644
--- a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h
+++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h
@@ -182,7 +182,7 @@ EfiCpuid (
Routine Description:
- Get the Cpu info by excute the CPUID instruction.
+ Get the Cpu info by execute the CPUID instruction.
Arguments:
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h
index 99d8a62..567bf37 100644
--- a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h
+++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h
@@ -184,7 +184,7 @@ EfiCpuid (
Routine Description:
- Get the Cpu info by excute the CPUID instruction.
+ Get the Cpu info by execute the CPUID instruction.
Arguments:
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c b/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c
index 864a850..366eab8 100644
--- a/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c
+++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c
@@ -1641,7 +1641,7 @@ Returns:
}
//
- // Retrive formset storage data from Form Browser
+ // Retrieve formset storage data from Form Browser
//
ConfigHdr = mFakeConfigHdr;
HeaderLen = EfiStrLen (ConfigHdr);
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h
index 86bd172..54a870e 100644
--- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h
+++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h
@@ -25,7 +25,7 @@ Abstract:
///
/// Define the maximum number of characters that are required to
-/// encode a decimal, hexidecimal, GUID, or TIME value with a NULL
+/// encode a decimal, hexadecimal, GUID, or TIME value with a NULL
/// terminator.
///
/// Maximum Length Decimal String = 28
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h
index 01a3bdf..8a0d8e1 100644
--- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h
+++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h
@@ -63,7 +63,7 @@ Abstract:
by Source and SourceSize.
@retval RETURN_SUCCESS The size of destination buffer and the size of scratch
- buffer are successull retrieved.
+ buffer are successfully retrieved.
@retval RETURN_INVALID_PARAMETER The source data is corrupted
**/
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
index a57b0b9..819e5f1 100644
--- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
+++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
@@ -321,7 +321,7 @@ GlueDecodeP (
/**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
@@ -544,7 +544,7 @@ GlueDecodeC (
Sd->mBlockSize = (UINT16) GetBits (Sd, 16);
//
- // Read in the Extra Set Code Length Arrary,
+ // Read in the Extra Set Code Length Array,
// Generate the Huffman code mapping table for Extra Set.
//
Sd->mBadTableFlag = ReadPTLen (Sd, NT, TBIT, 3);
@@ -553,13 +553,13 @@ GlueDecodeC (
}
//
- // Read in and decode the Char&Len Set Code Length Arrary,
+ // Read in and decode the Char&Len Set Code Length Array,
// Generate the Huffman code mapping table for Char&Len Set.
//
ReadCLen (Sd);
//
- // Read in the Position Set Code Length Arrary,
+ // Read in the Position Set Code Length Array,
// Generate the Huffman code mapping table for the Position Set.
//
Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1));
@@ -702,7 +702,7 @@ Done:
by Source and SourceSize.
@retval RETURN_SUCCESS The size of destination buffer and the size of scratch
- buffer are successull retrieved.
+ buffer are successfully retrieved.
@retval RETURN_INVALID_PARAMETER The source data is corrupted
**/
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h
index eb7f20b..cbd8883 100644
--- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h
+++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h
@@ -155,7 +155,7 @@ GlueDecodeP (
/**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h
index 881942b..4168cec 100644
--- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h
+++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h
@@ -58,7 +58,7 @@ IoReadWorker (
@param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c
index ce8d07b..b002852 100644
--- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c
+++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c
@@ -96,7 +96,7 @@ IoReadWorker (
@param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
diff --git a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
index 6d09c61..5956919 100644
--- a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
+++ b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
@@ -825,7 +825,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -994,7 +994,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -1080,7 +1080,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
diff --git a/EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.h b/EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.h
index 5c20db2..6c659e8 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.h
@@ -42,7 +42,7 @@ EFI_STATUS
Routine Description:
This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
- It allows discontiguous memory regions to be supported by the emulator.
+ It allows discontinuous memory regions to be supported by the emulator.
It uses gSystemMemory[] and gSystemMemoryCount that were created by
parsing the Windows environment variable EFI_MEMORY_SIZE.
The size comes from the varaible and the address comes from the call to
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c
index 3f05bda..bdfe500 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c
@@ -681,7 +681,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -849,7 +849,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -933,7 +933,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h
index 50458ef..ca1cd90 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h
@@ -47,7 +47,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -111,7 +111,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h
index 74cbf06..c75d549 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h
@@ -65,7 +65,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/CustomizedCompress.c b/EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/CustomizedCompress.c
index a336178..c0f6fab 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/CustomizedCompress.c
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/CustomizedCompress.c
@@ -66,7 +66,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
EFI_UNSUPPORTED - The operation is unsupported.
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c b/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c
index 2cfc307..5d7f693 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c
@@ -266,7 +266,7 @@ Routine Description:
<boolval> ::= true |
false
- The outputed binary grammer is thus:
+ The outputted binary grammer is thus:
<depex> ::= sor <dep> |
before <depinst> <dep> |
after <depinst> <dep> |
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c b/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c
index 269a5b8..f84f152 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c
@@ -644,7 +644,7 @@ Returns:
} else if (_strcmpi (Type, "LZH") == 0) {
//
- // EFI stardard compression (LZH)
+ // EFI standard compression (LZH)
//
CompressionType = EFI_STANDARD_COMPRESSION;
CompressFunction = (COMPRESS_FUNCTION) TianoCompress;
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 08/33] EmulatorPkg: Fix typos in comments and variables
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (6 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 07/33] EdkCompatibilityPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 20:37 ` Jordan Justen
2016-10-19 7:01 ` [PATCH 09/33] EmbeddedPkg: Fix typos in comments Gary Lin
` (26 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Jordan Justen, Andrew Fish
- Predfined -> Predefined
- minimue -> minimum
- predeined -> predefined
- excute -> execute
- availible -> available
- discontiguous -> discontinuous
- permenent -> permanent
- immediatly -> immediately
- environmemt -> environment
- Seperator -> Separator
- remmeber -> remember
- initailized -> initialized
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Andrew Fish <afish@apple.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c | 2 +-
EmulatorPkg/Include/Ppi/EmuThunk.h | 2 +-
EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c | 8 +++----
EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 4 ++--
EmulatorPkg/Sec/Ia32/TempRam.c | 8 +++----
EmulatorPkg/Unix/Host/Host.c | 24 ++++++++++----------
EmulatorPkg/Unix/Host/Host.h | 4 ++--
7 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c b/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c
index 91d1197..a7f548b 100644
--- a/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c
+++ b/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c
@@ -33,7 +33,7 @@ Routine Description:
Perform a call-back into the SEC simulator to get address of the Firmware Hub
Arguments:
- FfsHeader - Ffs Header availible to every PEIM
+ FfsHeader - Ffs Header available to every PEIM
PeiServices - General purpose services available to every PEIM.
Returns:
diff --git a/EmulatorPkg/Include/Ppi/EmuThunk.h b/EmulatorPkg/Include/Ppi/EmuThunk.h
index 7788d7b..61e90bf 100644
--- a/EmulatorPkg/Include/Ppi/EmuThunk.h
+++ b/EmulatorPkg/Include/Ppi/EmuThunk.h
@@ -25,7 +25,7 @@
Routine Description:
This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
- It allows discontiguous memory regions to be supported by the emulator.
+ It allows discontinuous memory regions to be supported by the emulator.
Arguments:
Index - Which memory region to use
diff --git a/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c b/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c
index 46d2a7e..3580d36 100644
--- a/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c
+++ b/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c
@@ -92,7 +92,7 @@ Routine Description:
Arguments:
- PlatformConsole - Predfined platform default console device array.
+ PlatformConsole - Predefined platform default console device array.
Returns:
@@ -113,7 +113,7 @@ Returns:
//
// Have chance to connect the platform default console,
- // the platform default console is the minimue device group
+ // the platform default console is the minimum device group
// the platform should support
//
while (PlatformConsole[Index].DevicePath != NULL) {
@@ -149,7 +149,7 @@ PlatformBdsConnectSequence (
Routine Description:
- Connect with predeined platform connect sequence,
+ Connect with predefined platform connect sequence,
the OEM/IBV can customize with their own connect sequence.
Arguments:
@@ -288,7 +288,7 @@ PlatformBdsPolicyBehavior (
Routine Description:
- The function will excute with as the platform policy, current policy
+ The function will execute with as the platform policy, current policy
is driven by boot mode. IBV/OEM can customize this code for their specific
policy action.
diff --git a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c b/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
index 2c75f85..a7ea3a4 100644
--- a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
+++ b/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
@@ -126,11 +126,11 @@ PlatfomrSmbiosDriverEntryPoint (
// Phase 3 - Create tables from scratch
// Create Type 13 record from EFI Variables
- // Do we need this record for EFI as the info is availible from EFI varaibles
+ // Do we need this record for EFI as the info is available from EFI varaibles
// Also language types don't always match between EFI and SMBIOS
// CreateSmbiosLanguageInformation (1, gSmbiosLangToEfiLang);
CreatePlatformSmbiosMemoryRecords ();
return EFI_SUCCESS;
-}
\ No newline at end of file
+}
diff --git a/EmulatorPkg/Sec/Ia32/TempRam.c b/EmulatorPkg/Sec/Ia32/TempRam.c
index 525fb95..931e066 100644
--- a/EmulatorPkg/Sec/Ia32/TempRam.c
+++ b/EmulatorPkg/Sec/Ia32/TempRam.c
@@ -36,7 +36,7 @@ SecTemporaryRamSupport (
)
{
//
- // Migrate the whole temporary memory to permenent memory.
+ // Migrate the whole temporary memory to permanent memory.
//
CopyMem (
(VOID*)(UINTN)PermanentMemoryBase,
@@ -46,14 +46,14 @@ SecTemporaryRamSupport (
//
// SecSwitchStack function must be invoked after the memory migration
- // immediatly, also we need fixup the stack change caused by new call into
- // permenent memory.
+ // immediately, also we need fixup the stack change caused by new call into
+ // permanent memory.
//
SecSwitchStack ((UINT32) TemporaryMemoryBase, (UINT32) PermanentMemoryBase);
//
// We need *not* fix the return address because currently,
- // The PeiCore is excuted in flash.
+ // The PeiCore is executed in flash.
//
//
diff --git a/EmulatorPkg/Unix/Host/Host.c b/EmulatorPkg/Unix/Host/Host.c
index 977fe87..f84b22f 100644
--- a/EmulatorPkg/Unix/Host/Host.c
+++ b/EmulatorPkg/Unix/Host/Host.c
@@ -87,7 +87,7 @@ Routine Description:
Arguments:
Argc - Number of command line arguments
Argv - Array of command line argument strings
- Envp - Array of environmemt variable strings
+ Envp - Array of environment variable strings
Returns:
0 - Normal exit
@@ -175,7 +175,7 @@ main (
//
// Allocate space for gSystemMemory Array
//
- gSystemMemoryCount = CountSeperatorsInString (MemorySizeStr, '!') + 1;
+ gSystemMemoryCount = CountSeparatorsInString (MemorySizeStr, '!') + 1;
gSystemMemory = AllocateZeroPool (gSystemMemoryCount * sizeof (EMU_SYSTEM_MEMORY));
if (gSystemMemory == NULL) {
printf ("ERROR : Can not allocate memory for system. Exiting.\n");
@@ -184,7 +184,7 @@ main (
//
// Allocate space for gSystemMemory Array
//
- gFdInfoCount = CountSeperatorsInString (FirmwareVolumesStr, '!') + 1;
+ gFdInfoCount = CountSeparatorsInString (FirmwareVolumesStr, '!') + 1;
gFdInfo = AllocateZeroPool (gFdInfoCount * sizeof (EMU_FD_INFO));
if (gFdInfo == NULL) {
printf ("ERROR : Can not allocate memory for fd info. Exiting.\n");
@@ -249,7 +249,7 @@ main (
);
} else {
//
- // Open the FD and remmeber where it got mapped into our processes address space
+ // Open the FD and remember where it got mapped into our processes address space
// Maps Read Only
//
Status = MapFile (
@@ -614,7 +614,7 @@ SecLoadFromCore (
Routine Description:
This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
- It allows discontiguous memory regions to be supported by the emulator.
+ It allows discontinuous memory regions to be supported by the emulator.
It uses gSystemMemory[] and gSystemMemoryCount that were created by
parsing the host environment variable EFI_MEMORY_SIZE.
The size comes from the varaible and the address comes from the call to
@@ -703,7 +703,7 @@ EfiSystemMemoryRange (
Routine Description:
Since the SEC is the only Unix program in stack it must export
- an interface to do POSIX calls. gUnix is initailized in UnixThunk.c.
+ an interface to do POSIX calls. gUnix is initialized in UnixThunk.c.
Arguments:
InterfaceSize - sizeof (EFI_WIN_NT_THUNK_PROTOCOL);
@@ -830,26 +830,26 @@ SecUnixFdAddress (
/*++
Routine Description:
- Count the number of seperators in String
+ Count the number of separators in String
Arguments:
String - String to process
- Seperator - Item to count
+ Separator - Item to count
Returns:
- Number of Seperator in String
+ Number of Separator in String
**/
UINTN
-CountSeperatorsInString (
+CountSeparatorsInString (
IN const CHAR16 *String,
- IN CHAR16 Seperator
+ IN CHAR16 Separator
)
{
UINTN Count;
for (Count = 0; *String != '\0'; String++) {
- if (*String == Seperator) {
+ if (*String == Separator) {
Count++;
}
}
diff --git a/EmulatorPkg/Unix/Host/Host.h b/EmulatorPkg/Unix/Host/Host.h
index aff7c36..9d6d36e 100644
--- a/EmulatorPkg/Unix/Host/Host.h
+++ b/EmulatorPkg/Unix/Host/Host.h
@@ -255,9 +255,9 @@ AsciiToUnicode (
);
UINTN
-CountSeperatorsInString (
+CountSeparatorsInString (
IN const CHAR16 *String,
- IN CHAR16 Seperator
+ IN CHAR16 Separator
);
EFI_STATUS
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 09/33] EmbeddedPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (7 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 08/33] EmulatorPkg: Fix typos in comments and variables Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 15:09 ` Ard Biesheuvel
2016-10-19 7:01 ` [PATCH 10/33] IntelFrameworkModulePkg: " Gary Lin
` (25 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Leif Lindholm, Ard Biesheuvel
- reseting -> resetting
- stoping -> stopping
- Libary -> Library
- paramter -> parameter
- availible -> available
- availble -> available
- proccessed -> processed
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c | 2 +-
EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c | 2 +-
EmbeddedPkg/GdbStub/GdbStub.c | 2 +-
EmbeddedPkg/GdbStub/GdbStubInternal.h | 2 +-
EmbeddedPkg/Include/Library/GdbSerialLib.h | 4 ++--
EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c | 2 +-
EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c | 4 ++--
EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h | 2 +-
EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c | 2 +-
EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c | 4 ++--
EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c | 4 ++--
EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c | 4 ++--
EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c | 2 +-
| 2 +-
14 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
index aabaf60..bdc390f 100644
--- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
+++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
@@ -1516,7 +1516,7 @@ SnpReceive (
}
//
- // Restart the receiver and the transmitter without reseting the FIFOs
+ // Restart the receiver and the transmitter without resetting the FIFOs
// as it has been done by SoftReset().
//
StartRx (0, Snp);
diff --git a/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c b/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c
index 5a5526c..f494655 100644
--- a/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c
+++ b/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c
@@ -490,7 +490,7 @@ CLOSE_PCIIO:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/EmbeddedPkg/GdbStub/GdbStub.c b/EmbeddedPkg/GdbStub/GdbStub.c
index 213038a..a75e775 100644
--- a/EmbeddedPkg/GdbStub/GdbStub.c
+++ b/EmbeddedPkg/GdbStub/GdbStub.c
@@ -325,7 +325,7 @@ SendPacket (
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
the packet teminating character '#' and the two digit checksum.
- If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
+ If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
If an ack '+' is not sent resend the packet
diff --git a/EmbeddedPkg/GdbStub/GdbStubInternal.h b/EmbeddedPkg/GdbStub/GdbStubInternal.h
index 521c344..aec39f1 100644
--- a/EmbeddedPkg/GdbStub/GdbStubInternal.h
+++ b/EmbeddedPkg/GdbStub/GdbStubInternal.h
@@ -573,7 +573,7 @@ SendPacket (
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
the packet teminating character '#' and the two digit checksum.
- If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
+ If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
If an ack '+' is not sent resend the packet
diff --git a/EmbeddedPkg/Include/Library/GdbSerialLib.h b/EmbeddedPkg/Include/Library/GdbSerialLib.h
index aa4c3ff..9f26fed 100644
--- a/EmbeddedPkg/Include/Library/GdbSerialLib.h
+++ b/EmbeddedPkg/Include/Library/GdbSerialLib.h
@@ -51,8 +51,8 @@ GdbSerialInit (
Check to see if a character is available from GDB. Do not read the character as that is
done via GdbGetChar().
- @return TRUE - Character availible
- @return FALSE - Character not availible
+ @return TRUE - Character available
+ @return FALSE - Character not available
**/
BOOLEAN
diff --git a/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c b/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c
index 2b353f0..8226c80 100644
--- a/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c
+++ b/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c
@@ -603,7 +603,7 @@ GdbFPutString (
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
responsible to invoke the passing-in function at the end of InitializeDebugAgent().
- If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
+ If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
passing in the Context to be its parameter.
If Function() is NULL, Debug Agent Library instance will return after setup debug
diff --git a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c
index 2e67de6..80aa476 100644
--- a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c
+++ b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c
@@ -93,7 +93,7 @@ gXferObjectReadResponse (
1) Length will generally be max remote packet size (big enough)
2) First Offset of an XML document read needs to be 0
3) This code will return back small chunks of the XML document on every read.
- Each subseqent call will ask for the next availble part of the document.
+ Each subseqent call will ask for the next available part of the document.
Note: The only variable size element in the XML is:
" <library name=\"%s\"><segment address=\"%p\"/></library>\n" and it is
@@ -257,7 +257,7 @@ SendPacket (
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
the packet teminating character '#' and the two digit checksum.
- If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
+ If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
If an ack '+' is not sent resend the packet
diff --git a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h
index dfdc016..7d85481 100644
--- a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h
+++ b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h
@@ -519,7 +519,7 @@ SendPacket (
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
the packet teminating character '#' and the two digit checksum.
- If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
+ If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
If an ack '+' is not sent resend the packet
diff --git a/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c b/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c
index d465b21..f1d7f3f 100644
--- a/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c
+++ b/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c
@@ -922,7 +922,7 @@ RemoveBreakPoint (
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
responsible to invoke the passing-in function at the end of InitializeDebugAgent().
- If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
+ If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
passing in the Context to be its parameter.
If Function() is NULL, Debug Agent Library instance will return after setup debug
diff --git a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
index e3d1b47..ffd8951 100644
--- a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
+++ b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
@@ -94,8 +94,8 @@ GdbSerialInit (
Check to see if a character is available from GDB. Do not read the character as that is
done via GdbGetChar().
- @return TRUE - Character availible
- @return FALSE - Character not availible
+ @return TRUE - Character available
+ @return FALSE - Character not available
**/
BOOLEAN
diff --git a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
index 7ea976f..069d87c 100644
--- a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
+++ b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
@@ -165,8 +165,8 @@ GdbSerialInit (
Check to see if a character is available from GDB. Do not read the character as that is
done via GdbGetChar().
- @return TRUE - Character availible
- @return FALSE - Character not availible
+ @return TRUE - Character available
+ @return FALSE - Character not available
**/
BOOLEAN
diff --git a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c
index ec89cfd..0b1e6b0 100644
--- a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c
+++ b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c
@@ -120,7 +120,7 @@ Returns:
}
//
- //Assume that capsules have the same flags on reseting or not.
+ //Assume that capsules have the same flags on resetting or not.
//
CapsuleHeader = CapsuleHeaderArray[0];
@@ -253,7 +253,7 @@ Returns:
SupportCapsuleSize(&MaxSizePopulate,&MaxSizeNonPopulate);
//
- //Assume that capsules have the same flags on reseting or not.
+ //Assume that capsules have the same flags on resetting or not.
//
CapsuleHeader = CapsuleHeaderArray[0];
if ((CapsuleHeader->Flags & CAPSULE_FLAGS_PERSIST_ACROSS_RESET) != 0) {
diff --git a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c
index c35d72c..9e2b2e3 100644
--- a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c
+++ b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c
@@ -584,7 +584,7 @@ libGetWakeupTime (
UINT8 Century;
//
- // Check paramters for null pointers
+ // Check parameters for null pointers
//
if ((Enabled == NULL) || (Pending == NULL) || (Time == NULL)) {
return EFI_INVALID_PARAMETER;
--git a/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c b/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c
index cee15c4..7b08de8 100644
--- a/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c
+++ b/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c
@@ -53,7 +53,7 @@ ExtractGuidedSectionRegisterHandlers (
PRE_PI_EXTRACT_GUIDED_SECTION_DATA *SavedData;
UINT32 Index;
//
- // Check input paramter.
+ // Check input parameter.
//
if (SectionGuid == NULL) {
return RETURN_INVALID_PARAMETER;
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 10/33] IntelFrameworkModulePkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (8 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 09/33] EmbeddedPkg: Fix typos in comments Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-20 1:08 ` Fan, Jeff
2016-10-19 7:01 ` [PATCH 11/33] IntelFrameworkPkg: " Gary Lin
` (24 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Jeff Fan
- stoping -> stopping
- Pointion -> Position
- Arrary -> Array
- reseting -> resetting
- excute -> execute
- isTRUE -> is TRUE
- connectted -> connected
- Retrive -> Retrieve
- dirvers -> drivers
- funciton -> function
- paramter -> parameter
- availible -> available
- permenent -> permanent
- boundry -> boundary
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c | 4 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c | 4 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c | 6 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h | 8 +--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c | 6 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h | 8 +--
IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c | 12 ++--
IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h | 2 +-
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c | 14 ++---
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h | 62 ++++++++++----------
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c | 2 +-
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c | 46 +++++++--------
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c | 2 +-
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h | 4 +-
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c | 4 +-
IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h | 4 +-
IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h | 2 +-
IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c | 8 +--
IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h | 4 +-
IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c | 2 +-
IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c | 2 +-
IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c | 2 +-
IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h | 2 +-
IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c | 4 +-
IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c | 2 +-
IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c | 6 +-
IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c | 4 +-
31 files changed, 137 insertions(+), 137 deletions(-)
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
index 2a20b78..9bde538 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
@@ -1685,9 +1685,9 @@ InitKeyboard (
ConsoleIn->IsSupportPartialKey = FALSE;
//
- // For reseting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
+ // For resetting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
// and to support KB hot plug, we need to let the InitKB succeed no matter whether there is a KB device connected
- // to system. So we only do the real reseting for keyboard when user asks and there is a real KB connected t system,
+ // to system. So we only do the real resetting for keyboard when user asks and there is a real KB connected t system,
// and normally during booting an OS, it's skipped.
//
if (ExtendedVerification && CheckKeyboardConnect (ConsoleIn)) {
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
index c020202..b6a9b70 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
@@ -55,7 +55,7 @@ KbdControllerDriverStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -448,7 +448,7 @@ ErrorExit:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c
index fb4a753..5aa1705 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c
@@ -540,7 +540,7 @@ PS2MouseRead (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -579,7 +579,7 @@ Out8042Command (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -615,7 +615,7 @@ Out8042Data (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -659,7 +659,7 @@ In8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -740,7 +740,7 @@ Out8042AuxCommand (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value
- @retval EFI_SUCCESS Success to excute I/O work flow.
+ @retval EFI_SUCCESS Success to execute I/O work flow.
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -786,7 +786,7 @@ Out8042AuxData (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
index 59d7b51..560389d 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
@@ -302,7 +302,7 @@ PS2MouseRead (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -317,7 +317,7 @@ Out8042Command (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -332,7 +332,7 @@ In8042Data (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -348,7 +348,7 @@ Out8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -364,7 +364,7 @@ Out8042AuxCommand (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -379,7 +379,7 @@ In8042AuxData (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c
index 7af35bc..bf8adfc 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c
@@ -402,7 +402,7 @@ ErrorExit:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -498,14 +498,14 @@ PS2MouseAbsolutePointerDriverStop (
}
/**
- Reset the Mouse and do BAT test for it, if ExtendedVerification isTRUE and there is a mouse device connectted to system.
+ Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and there is a mouse device connected to system.
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h
index 17d1847..8f959fd 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h
@@ -151,7 +151,7 @@ PS2MouseAbsolutePointerDriverStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -303,14 +303,14 @@ Ps2MouseAbsolutePointerComponentNameGetControllerName (
);
/**
- Reset the Mouse and do BAT test for it, if ExtendedVerification isTRUE and there is a mouse device connectted to system.
+ Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and there is a mouse device connected to system.
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
@@ -374,7 +374,7 @@ PollMouseAbsolutePointer (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
index 1c763e9..27d378d 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
@@ -539,7 +539,7 @@ PS2MouseRead (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -578,7 +578,7 @@ Out8042Command (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -614,7 +614,7 @@ Out8042Data (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -658,7 +658,7 @@ In8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -739,7 +739,7 @@ Out8042AuxCommand (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -785,7 +785,7 @@ Out8042AuxData (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
index a48ee8c..6c0f8ac 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
@@ -302,7 +302,7 @@ PS2MouseRead (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -317,7 +317,7 @@ Out8042Command (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -332,7 +332,7 @@ In8042Data (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -348,7 +348,7 @@ Out8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -364,7 +364,7 @@ Out8042AuxCommand (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -379,7 +379,7 @@ In8042AuxData (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
index 1623201..43fad21 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
@@ -417,7 +417,7 @@ ErrorExit:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -513,14 +513,14 @@ PS2MouseDriverStop (
}
/**
- Reset the Mouse and do BAT test for it, if ExtendedVerification isTRUE and there is a mouse device connectted to system
+ Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and there is a mouse device connected to system
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
index 1d9f139..078cefa 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
@@ -151,7 +151,7 @@ PS2MouseDriverStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -303,14 +303,14 @@ Ps2MouseComponentNameGetControllerName (
);
/**
- Reset the Mouse and do BAT test for it, if ExtendedVerification isTRUE and there is a mouse device connectted to system
+ Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and there is a mouse device connected to system
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
@@ -374,7 +374,7 @@ PollMouse (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c b/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c
index 8c7019f..8dcb131 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c
@@ -934,7 +934,7 @@ KeyboardReadKeyStrokeWorker (
}
//
- // Use TimerEvent callback funciton to check whether there's any key pressed
+ // Use TimerEvent callback function to check whether there's any key pressed
//
//
@@ -978,7 +978,7 @@ KeyboardReadKeyStrokeWorker (
@param ExtendedVerification Whether perform the extra validation of keyboard. True: perform; FALSE: skip.
@retval EFI_SUCCESS The command byte is written successfully.
- @retval EFI_DEVICE_ERROR Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR Errors occurred during resetting keyboard.
**/
EFI_STATUS
@@ -1176,8 +1176,8 @@ BiosKeyboardReset (
);
//
- // For reseting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
- // so we only do the real reseting for keyboard when user asks, and normally during booting an OS, it's skipped.
+ // For resetting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
+ // so we only do the real resetting for keyboard when user asks, and normally during booting an OS, it's skipped.
// Call CheckKeyboardConnect() to check whether keyboard is connected, if it is not connected,
// Real reset will not do.
//
@@ -1431,7 +1431,7 @@ BiosKeyboardWaitForKey (
//
gBS->Stall (1000);
//
- // Use TimerEvent callback funciton to check whether there's any key pressed
+ // Use TimerEvent callback function to check whether there's any key pressed
//
BiosKeyboardTimerHandler (NULL, BIOS_KEYBOARD_DEV_FROM_THIS (Context));
@@ -1795,7 +1795,7 @@ BiosKeyboardTimerHandler (
// will be disabled after the thunk call finish, which means if user crazy input during int 9 being disabled, some keystrokes will be lost when
// KB device own hardware buffer overflows. And if the lost keystroke code is CTRL or ALT or SHIFT release code, these function key flags bit
// in BDA will not be updated. So the Int 16 will believe the CTRL or ALT or SHIFT is still pressed, and Int 16 will translate later scancode
- // to wrong ASCII code. We can increase the Thunk frequence to let Int 9 response in time, but this way will much hurt other dirvers
+ // to wrong ASCII code. We can increase the Thunk frequence to let Int 9 response in time, but this way will much hurt other drivers
// performance, like USB.
//
// 1. If CTRL or ALT release code is missed, all later input keys will be translated to wrong ASCII codes which the Tiano cannot support. In
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h b/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h
index a27d2e1..e836086 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h
@@ -447,7 +447,7 @@ BiosKeyboardComponentNameGetControllerName (
@param ExtendedVerification Whether perform the extra validation of keyboard. True: perform; FALSE: skip.
@retval EFI_SUCCESS The command byte is written successfully.
- @retval EFI_DEVICE_ERROR Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR Errors occurred during resetting keyboard.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c
index 7af2ded..a2a7797 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c
@@ -2148,7 +2148,7 @@ Undi16SimpleNetworkInitialize (
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
@param ExtendedVerification Need extended verfication.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -2229,7 +2229,7 @@ Undi16SimpleNetworkReset (
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -2342,7 +2342,7 @@ Undi16SimpleNetworkShutdown (
@param MCastFilterCnt Count of mutli cast filter for different MAC address
@param MCastFilter Buffer for mustli cast filter for different MAC address.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -2496,10 +2496,10 @@ Undi16SimpleNetworkReceiveFilters (
Set new MAC address.
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
- @param Reset Whether reset station MAC address to permenent address
+ @param Reset Whether reset station MAC address to permanent address
@param New A pointer to New address
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -2554,7 +2554,7 @@ Undi16SimpleNetworkStationAddress (
if (Reset) {
//
- // If we are reseting the Station Address to the permanent address, and the
+ // If we are resetting the Station Address to the permanent address, and the
// Station Address is not programmable, then just return EFI_SUCCESS.
//
if (!SimpleNetworkDevice->SimpleNetworkMode.MacAddressChangeable) {
@@ -2853,7 +2853,7 @@ Undi16SimpleNetworkStatistics (
@param IP A pointer to given Ip address.
@param MAC On return, translated MAC address.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_INVALID_PARAMETER Invalid IP address.
@retval EFI_INVALID_PARAMETER Invalid return buffer for holding MAC address.
@retval EFI_UNSUPPORTED Do not support IPv6
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h
index b29059f..447783c 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h
@@ -236,7 +236,7 @@ Undi16SimpleNetworkInitialize (
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
@param ExtendedVerification Need extended verfication.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -255,7 +255,7 @@ Undi16SimpleNetworkReset (
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -278,7 +278,7 @@ Undi16SimpleNetworkShutdown (
@param MCastFilterCnt Count of mutli cast filter for different MAC address
@param MCastFilter Buffer for mustli cast filter for different MAC address.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -300,10 +300,10 @@ Undi16SimpleNetworkReceiveFilters (
Set new MAC address.
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
- @param Reset Whether reset station MAC address to permenent address
+ @param Reset Whether reset station MAC address to permanent address
@param New A pointer to New address
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -326,7 +326,7 @@ Undi16SimpleNetworkStationAddress (
@param StatisticsSize The buffer of statistics table.
@param StatisticsTable A pointer to statistics buffer.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -350,7 +350,7 @@ Undi16SimpleNetworkStatistics (
@param IP A pointer to given Ip address.
@param MAC On return, translated MAC address.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_INVALID_PARAMETER Invalid IP address.
@retval EFI_INVALID_PARAMETER Invalid return buffer for holding MAC address.
@retval EFI_UNSUPPORTED Do not support IPv6
@@ -639,7 +639,7 @@ LaunchBaseCode (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -680,7 +680,7 @@ PxeStartUndi (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -713,7 +713,7 @@ PxeUndiStartup (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -759,7 +759,7 @@ PxeUndiCleanup (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance.
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -808,7 +808,7 @@ PxeUndiInitialize (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance.
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@param RxFilter Filter setting mask value for PXE recive .
@@ -843,7 +843,7 @@ PxeUndiResetNic (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -890,7 +890,7 @@ PxeUndiShutdown (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -921,7 +921,7 @@ PxeUndiOpen (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1007,7 +1007,7 @@ PxeUndiClose (
Status: See the PXENV_STATUS_xxx constants
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1041,7 +1041,7 @@ PxeUndiTransmit (
Status: See the PXENV_STATUS_xxx constants
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1076,7 +1076,7 @@ PxeUndiSetMcastAddr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1110,7 +1110,7 @@ PxeUndiSetStationAddr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1169,7 +1169,7 @@ PxeUndiSetPacketFilter (
TxBufCnt: Transmit queue length.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1210,7 +1210,7 @@ PxeUndiGetInformation (
because receive queue was full.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1240,7 +1240,7 @@ PxeUndiGetStatistics (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1271,7 +1271,7 @@ PxeUndiClearStatistics (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1308,7 +1308,7 @@ PxeUndiInitiateDiags (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1342,7 +1342,7 @@ PxeUndiForceInterrupt (
MediaAddr: MAC multicast address.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1408,7 +1408,7 @@ PxeUndiGetMcastAddr (
in the [PnP] and [PCI] specifications
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1457,7 +1457,7 @@ PxeUndiGetNicType (
Reserved: Must be zero.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1515,7 +1515,7 @@ PxeUndiGetNdisInfo (
strategy routine when the UNDI re-enables interrupts.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1550,7 +1550,7 @@ PxeUndiIsr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1598,7 +1598,7 @@ PxeUndiStop (
status of that operation on return.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1623,7 +1623,7 @@ PxeUndiGetState (
@param SimpleNetworkDevice Device instance for simple network
@param Table Point to parameter/retun value table for legacy far call
- @param TableSize The size of paramter/return value table
+ @param TableSize The size of parameter/return value table
@param CallIndex The index of legacy call.
@return EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c
index 243048c..4750b2f 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c
@@ -823,7 +823,7 @@ LaunchBaseCode (
@param SimpleNetworkDevice Device instance for simple network
@param Table Point to parameter/retun value table for legacy far call
- @param TableSize The size of paramter/return value table
+ @param TableSize The size of parameter/return value table
@param CallIndex The index of legacy call.
@return EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c
index d35fc3f..7063229 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c
@@ -57,7 +57,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -105,7 +105,7 @@ PxeStartUndi (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -145,7 +145,7 @@ PxeUndiStartup (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -198,7 +198,7 @@ PxeUndiCleanup (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -254,7 +254,7 @@ PxeUndiInitialize (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance.
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@param RxFilter Filter setting mask value for PXE recive .
@@ -347,7 +347,7 @@ PxeUndiResetNic (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -401,7 +401,7 @@ PxeUndiShutdown (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -439,7 +439,7 @@ PxeUndiOpen (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -532,7 +532,7 @@ PxeUndiClose (
Status: See the PXENV_STATUS_xxx constants
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -586,7 +586,7 @@ PxeUndiTransmit (
Status: See the PXENV_STATUS_xxx constants
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -628,7 +628,7 @@ PxeUndiSetMcastAddr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -669,7 +669,7 @@ PxeUndiSetStationAddr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -735,7 +735,7 @@ PxeUndiSetPacketFilter (
TxBufCnt: Transmit queue length.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -783,7 +783,7 @@ PxeUndiGetInformation (
because receive queue was full.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -820,7 +820,7 @@ PxeUndiGetStatistics (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -858,7 +858,7 @@ PxeUndiClearStatistics (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -902,7 +902,7 @@ PxeUndiInitiateDiags (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -943,7 +943,7 @@ PxeUndiForceInterrupt (
MediaAddr: MAC multicast address.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1016,7 +1016,7 @@ PxeUndiGetMcastAddr (
in the [PnP] and [PCI] specifications
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1072,7 +1072,7 @@ PxeUndiGetNicType (
Reserved: Must be zero.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1137,7 +1137,7 @@ PxeUndiGetNdisInfo (
strategy routine when the UNDI re-enables interrupts.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1179,7 +1179,7 @@ PxeUndiIsr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1234,7 +1234,7 @@ PxeUndiStop (
status of that operation on return.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c
index 8c8f6d3..ee08c86 100644
--- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c
+++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c
@@ -223,7 +223,7 @@ RelocateImageUnder4GIfNeeded (
}
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)MemoryAddress;
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~((PHYSICAL_ADDRESS)ImageContext.SectionAlignment - 1);
diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h
index bbd074b..069646b 100644
--- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h
+++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h
@@ -826,7 +826,7 @@ LegacyBiosFarCall86 (
@param RomSize Size of ROM Image
@param Flags Indicates if ROM found and if PC-AT.
- @retval EFI_SUCCESS Legacy Option ROM availible for this device
+ @retval EFI_SUCCESS Legacy Option ROM available for this device
@retval EFI_UNSUPPORTED Legacy Option ROM not supported.
**/
@@ -1463,7 +1463,7 @@ LegacyCalculateWriteStandardCmosChecksum (
@param[out] OpromRevision Revision of the PCI Rom
@param[out] ConfigUtilityCodeHeaderPointer of Configuration Utility Code Header
- @return EFI_SUCCESS Legacy Option ROM availible for this device
+ @return EFI_SUCCESS Legacy Option ROM available for this device
@return EFI_ALREADY_STARTED This device is already managed by its Oprom
@return EFI_UNSUPPORTED Legacy Option ROM not supported.
diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c
index 9d84ab0..8f91a7d 100644
--- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c
+++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c
@@ -1812,7 +1812,7 @@ PciShadowRoms (
@param RomSize Size of ROM Image
@param Flags Indicates if ROM found and if PC-AT.
- @retval EFI_SUCCESS Legacy Option ROM availible for this device
+ @retval EFI_SUCCESS Legacy Option ROM available for this device
@retval EFI_UNSUPPORTED Legacy Option ROM not supported.
**/
@@ -1854,7 +1854,7 @@ LegacyBiosCheckPciRom (
@param[out] OpromRevision Revision of the PCI Rom
@param[out] ConfigUtilityCodeHeaderPointer of Configuration Utility Code Header
- @return EFI_SUCCESS Legacy Option ROM availible for this device
+ @return EFI_SUCCESS Legacy Option ROM available for this device
@return EFI_ALREADY_STARTED This device is already managed by its Oprom
@return EFI_UNSUPPORTED Legacy Option ROM not supported.
diff --git a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
index ecd68a0..c338c4d 100644
--- a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
+++ b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
@@ -170,7 +170,7 @@ BdsLibBootViaBootOption (
This function will enumerate all possible boot devices in the system, and
automatically create boot options for Network, Shell, Removable BlockIo,
and Non-BlockIo Simplefile devices.
- It will excute once every boot.
+ It will execute once every boot.
@param BdsBootOptionList The header of the linked list that indexed all
current boot options.
@@ -995,7 +995,7 @@ BdsLibUserIdentify (
/**
This function checks if a Fv file device path is valid, according to a file GUID. If it is invalid,
it tries to return the valid device path.
- FV address maybe changes for memory layout adjust from time to time, use this funciton
+ FV address maybe changes for memory layout adjust from time to time, use this function
could promise the Fv file device path is right.
@param DevicePath On input, the Fv file device path to check. On
diff --git a/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h b/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h
index af237a6..f971e67 100644
--- a/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h
+++ b/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h
@@ -72,7 +72,7 @@ PlatformBdsInit (
);
/**
- The function will excute with as the platform policy, current policy
+ The function will execute with as the platform policy, current policy
is driven by boot mode. IBV/OEM can customize this code for their specific
policy action.
diff --git a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c
index 2e52723..e0ba053 100644
--- a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c
+++ b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c
@@ -298,7 +298,7 @@ DecodeP (
/**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
@@ -503,7 +503,7 @@ DecodeC (
Sd->mBlockSize = (UINT16) GetBits (Sd, 16);
//
- // Read in the Extra Set Code Length Arrary,
+ // Read in the Extra Set Code Length Array,
// Generate the Huffman code mapping table for Extra Set.
//
Sd->mBadTableFlag = ReadPTLen (Sd, NT, TBIT, 3);
@@ -512,13 +512,13 @@ DecodeC (
}
//
- // Read in and decode the Char&Len Set Code Length Arrary,
+ // Read in and decode the Char&Len Set Code Length Array,
// Generate the Huffman code mapping table for Char&Len Set.
//
ReadCLen (Sd);
//
- // Read in the Position Set Code Length Arrary,
+ // Read in the Position Set Code Length Array,
// Generate the Huffman code mapping table for the Position Set.
//
Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1));
diff --git a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h
index 6ba3f43..3992875 100644
--- a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h
+++ b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h
@@ -1,5 +1,5 @@
/** @file
- Internal data structure and interfaces defintions for UEFI and Tiano Decompress Libary.
+ Internal data structure and interfaces defintions for UEFI and Tiano Decompress Library.
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
@@ -155,7 +155,7 @@ DecodeP (
/**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c
index d4b4475..96f84ec 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c
@@ -739,7 +739,7 @@ BootMaintCallback (
Private = BMM_CALLBACK_DATA_FROM_THIS (This);
//
- // Retrive uncommitted data from Form Browser
+ // Retrieve uncommitted data from Form Browser
//
CurrentFakeNVMap = &Private->BmmFakeNvData;
HiiGetBrowserData (&gBootMaintFormSetGuid, mBootMaintStorageName, sizeof (BMM_FAKE_NV_DATA), (UINT8 *) CurrentFakeNVMap);
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c
index f804984..910edf6 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c
@@ -370,7 +370,7 @@ FileExplorerRouteConfig (
@retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold the variable and its data.
@retval EFI_DEVICE_ERROR The variable could not be saved.
@retval EFI_UNSUPPORTED The specified Action is not supported by the callback.
- @retval EFI_INVALID_PARAMETER If paramter Value or ActionRequest is NULL.
+ @retval EFI_INVALID_PARAMETER If parameter Value or ActionRequest is NULL.
**/
EFI_STATUS
EFIAPI
diff --git a/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c b/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c
index ca13989..2d67279 100644
--- a/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c
+++ b/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c
@@ -714,7 +714,7 @@ ErrorExit:
Starts the device controller.
This function implments EFI_DRIVER_BINDING_PROTOCOL.Stop().
- It stops this driver on Controller. Support stoping any child handles
+ It stops this driver on Controller. Support stopping any child handles
created by this driver.
@param This A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.
diff --git a/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h b/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h
index 5cfa704..8ecd4c0 100644
--- a/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h
+++ b/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h
@@ -134,7 +134,7 @@ VgaClassDriverBindingStart (
Starts the device controller.
This function implments EFI_DRIVER_BINDING_PROTOCOL.Stop().
- It stops this driver on Controller. Support stoping any child handles
+ It stops this driver on Controller. Support stopping any child handles
created by this driver.
@param This A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.
diff --git a/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c b/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c
index 916586f..9a193d5 100644
--- a/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c
+++ b/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c
@@ -255,7 +255,7 @@ FindFilterDriverByEvent (
/**
Get a previously logged data record and the MonotonicCount for the next
- availible Record. This allows all records or all records later
+ available Record. This allows all records or all records later
than a give MonotonicCount to be returned. If an optional FilterDriverEvent
is passed in with a MonotonicCout of zero return the first record
not yet read by the filter driver. If FilterDriverEvent is NULL and
@@ -264,7 +264,7 @@ FindFilterDriverByEvent (
@param This Pointer to the EFI_DATA_HUB_PROTOCOL instance.
@param MonotonicCount Specifies the Record to return. On input, zero means
return the first record. On output, contains the next
- record to availible. Zero indicates no more records.
+ record to available. Zero indicates no more records.
@param FilterDriverEvent If FilterDriverEvent is not passed in a MonotonicCount
of zero, it means to return the first data record.
If FilterDriverEvent is passed in, then a MonotonicCount
diff --git a/IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c b/IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c
index 48522c0..f64c541 100644
--- a/IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c
+++ b/IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c
@@ -56,7 +56,7 @@ DataHubStdErrEventHandler (
//
// If StdErr is not yet initialized just return a DEBUG print in the BDS
// after consoles are connect will make sure data gets flushed properly
- // when StdErr is availible.
+ // when StdErr is available.
//
if (gST == NULL) {
return ;
diff --git a/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c b/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c
index 2ba09c4..65a292d 100644
--- a/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c
+++ b/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c
@@ -529,7 +529,7 @@ FvCheck (
continue;
}
//
- // double check boundry
+ // double check boundary
//
if (TestLength < sizeof (EFI_FFS_FILE_HEADER)) {
break;
@@ -570,7 +570,7 @@ FvCheck (
DEBUG ((EFI_D_ERROR, "Found a FFS3 formatted file: %g in a non-FFS3 formatted FV.\n", &((EFI_FFS_FILE_HEADER *) Ptr)->Name));
Ptr = Ptr + FFS_FILE2_SIZE (Ptr);
//
- // Adjust Ptr to the next 8-byte aligned boundry.
+ // Adjust Ptr to the next 8-byte aligned boundary.
//
while (((UINTN) Ptr & 0x07) != 0) {
Ptr++;
@@ -609,7 +609,7 @@ FvCheck (
}
//
- // Adjust Ptr to the next 8-byte aligned boundry.
+ // Adjust Ptr to the next 8-byte aligned boundary.
//
while (((UINTN) Ptr & 0x07) != 0) {
Ptr++;
diff --git a/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c b/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c
index 7f23b51..99385e0 100644
--- a/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c
+++ b/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c
@@ -782,7 +782,7 @@ FvCreateNewFile (
//
// First find a free space that can hold this image.
- // Check alignment, FFS at least must be aligned at 8-byte boundry
+ // Check alignment, FFS at least must be aligned at 8-byte boundary
//
RequiredAlignment = GetRequiredAlignment (FileAttributes);
@@ -1513,7 +1513,7 @@ FvWriteFile (
for (Index1 = 0; Index1 < NumberOfFiles; Index1++) {
//
- // Making Buffersize QWORD boundry, and add file tail.
+ // Making Buffersize QWORD boundary, and add file tail.
//
HeaderSize = sizeof (EFI_FFS_FILE_HEADER);
ActualSize = FileData[Index1].BufferSize + HeaderSize;
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 11/33] IntelFrameworkPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (9 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 10/33] IntelFrameworkModulePkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-20 1:08 ` Fan, Jeff
2016-10-19 7:01 ` [PATCH 12/33] IntelFspPkg: " Gary Lin
` (23 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Jeff Fan
- paramter -> parameter
- availible -> available
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h | 2 +-
IntelFrameworkPkg/Include/Protocol/LegacyBios.h | 2 +-
IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h | 2 +-
IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h b/IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h
index e9ea49d..2d769bc 100644
--- a/IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h
+++ b/IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h
@@ -149,7 +149,7 @@ EFI_STATUS
@param Attributes Attributes bit-mask to set for the variable.
Inconsistent with specification here:
Attributes data type has been changed from
- UINT32 * to UINT32, because the input paramter is
+ UINT32 * to UINT32, because the input parameter is
not necessary to use a pointer date type.
@param DataSize The size in bytes of the Buffer. A size of zero causes
the variable to be deleted.
diff --git a/IntelFrameworkPkg/Include/Protocol/LegacyBios.h b/IntelFrameworkPkg/Include/Protocol/LegacyBios.h
index d431ad8..641f101 100644
--- a/IntelFrameworkPkg/Include/Protocol/LegacyBios.h
+++ b/IntelFrameworkPkg/Include/Protocol/LegacyBios.h
@@ -1197,7 +1197,7 @@ BOOLEAN
- 01 = ROM Found.
- 02 = ROM is a valid legacy ROM.
- @retval EFI_SUCCESS The Legacy Option ROM availible for this device
+ @retval EFI_SUCCESS The Legacy Option ROM available for this device
@retval EFI_UNSUPPORTED The Legacy Option ROM is not supported.
**/
diff --git a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h
index a3b6af6..66c73fe 100644
--- a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h
+++ b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h
@@ -64,7 +64,7 @@ IoReadWorker (
@param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
diff --git a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
index eb846e0..c1c48d5 100644
--- a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
+++ b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
@@ -93,7 +93,7 @@ IoReadWorker (
@param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 12/33] IntelFspPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (10 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 11/33] IntelFrameworkPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:06 ` Yao, Jiewen
2016-10-19 7:01 ` [PATCH 13/33] IntelFspWrapperPkg: " Gary Lin
` (22 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Jiewen Yao
- tempory -> temporary
- immediatly -> immediately
- permenent -> permanent
- paramter -> parameter
- funciton -> function
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
IntelFspPkg/FspSecCore/SecMain.c | 6 +++---
IntelFspPkg/FspSecCore/SecMain.h | 2 +-
IntelFspPkg/Include/Library/FspCommonLib.h | 6 +++---
IntelFspPkg/Include/Library/FspSwitchStackLib.h | 2 +-
IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c | 6 +++---
5 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/IntelFspPkg/FspSecCore/SecMain.c b/IntelFspPkg/FspSecCore/SecMain.c
index 99acefa..e1d9cb2 100644
--- a/IntelFspPkg/FspSecCore/SecMain.c
+++ b/IntelFspPkg/FspSecCore/SecMain.c
@@ -39,7 +39,7 @@ UINT64 mIdtEntryTemplate = 0xffff8e000008ffe4ULL;
@param[in] SizeOfRam Size of the temporary memory available for use.
- @param[in] TempRamBase Base address of tempory ram
+ @param[in] TempRamBase Base address of temporary ram
@param[in] BootFirmwareVolume Base address of the Boot Firmware Volume.
@param[in] PeiCore PeiCore entry point.
@param[in] BootLoaderStack BootLoader stack.
@@ -200,8 +200,8 @@ SecTemporaryRamSupport (
//
// SecSwitchStack function must be invoked after the memory migration
- // immediatly, also we need fixup the stack change caused by new call into
- // permenent memory.
+ // immediately, also we need fixup the stack change caused by new call into
+ // permanent memory.
//
SecSwitchStack (
(UINT32) (UINTN) OldStack,
diff --git a/IntelFspPkg/FspSecCore/SecMain.h b/IntelFspPkg/FspSecCore/SecMain.h
index 1fd2f2b..3888635 100644
--- a/IntelFspPkg/FspSecCore/SecMain.h
+++ b/IntelFspPkg/FspSecCore/SecMain.h
@@ -105,7 +105,7 @@ InitializeFloatingPointUnits (
@param[in] SizeOfRam Size of the temporary memory available for use.
- @param[in] TempRamBase Base address of tempory ram
+ @param[in] TempRamBase Base address of temporary ram
@param[in] BootFirmwareVolume Base address of the Boot Firmware Volume.
@param[in] PeiCore PeiCore entry point.
@param[in] BootLoaderStack BootLoader stack.
diff --git a/IntelFspPkg/Include/Library/FspCommonLib.h b/IntelFspPkg/Include/Library/FspCommonLib.h
index fa2f81c..5e6846f 100644
--- a/IntelFspPkg/Include/Library/FspCommonLib.h
+++ b/IntelFspPkg/Include/Library/FspCommonLib.h
@@ -40,9 +40,9 @@ GetFspGlobalDataPointer (
);
/**
- This function gets back the FSP API paramter passed by the bootlaoder.
+ This function gets back the FSP API parameter passed by the bootlaoder.
- @retval ApiParameter FSP API paramter passed by the bootlaoder.
+ @retval ApiParameter FSP API parameter passed by the bootlaoder.
**/
UINT32
EFIAPI
@@ -51,7 +51,7 @@ GetFspApiParameter (
);
/**
- This function sets the FSP API paramter in the stack.
+ This function sets the FSP API parameter in the stack.
@param[in] Value New parameter value.
diff --git a/IntelFspPkg/Include/Library/FspSwitchStackLib.h b/IntelFspPkg/Include/Library/FspSwitchStackLib.h
index e90b13e..fee44a3 100644
--- a/IntelFspPkg/Include/Library/FspSwitchStackLib.h
+++ b/IntelFspPkg/Include/Library/FspSwitchStackLib.h
@@ -16,7 +16,7 @@
/**
- This funciton will switch the current stack to the previous saved stack.
+ This function will switch the current stack to the previous saved stack.
Before calling the previous stack has to be set in FSP_GLOBAL_DATA.CoreStack.
EIP
FLAGS 16 bit FLAGS 16 bit
diff --git a/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c b/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c
index a31d16b..f6a4252 100644
--- a/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c
+++ b/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c
@@ -89,9 +89,9 @@ GetFspGlobalDataPointer (
}
/**
- This function gets back the FSP API paramter passed by the bootlaoder.
+ This function gets back the FSP API parameter passed by the bootlaoder.
- @retval ApiParameter FSP API paramter passed by the bootlaoder.
+ @retval ApiParameter FSP API parameter passed by the bootlaoder.
**/
UINT32
EFIAPI
@@ -106,7 +106,7 @@ GetFspApiParameter (
}
/**
- This function sets the FSP API paramter in the stack.
+ This function sets the FSP API parameter in the stack.
@param[in] Value New parameter value.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 13/33] IntelFspWrapperPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (11 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 12/33] IntelFspPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:08 ` Yao, Jiewen
2016-10-19 7:01 ` [PATCH 14/33] IntelFsp2Pkg: " Gary Lin
` (21 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Jiewen Yao
- inforamtion -> information
- tempory -> temporary
- boundry -> boundary
- immediatly -> immediately
- permenent -> permanent
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
IntelFspWrapperPkg/FspInitPei/FindPeiCore.c | 2 +-
IntelFspWrapperPkg/FspInitPei/SecMain.c | 2 +-
IntelFspWrapperPkg/FspInitPei/SecMain.h | 4 ++--
IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c | 2 +-
IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c | 2 +-
IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c | 2 +-
IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h | 4 ++--
IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRamSupport.c | 4 ++--
8 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/IntelFspWrapperPkg/FspInitPei/FindPeiCore.c b/IntelFspWrapperPkg/FspInitPei/FindPeiCore.c
index ce003d0..068465a 100644
--- a/IntelFspWrapperPkg/FspInitPei/FindPeiCore.c
+++ b/IntelFspWrapperPkg/FspInitPei/FindPeiCore.c
@@ -146,7 +146,7 @@ FindImageBase (
/**
Find and return Pei Core entry point.
- It also find SEC and PEI Core file debug inforamtion. It will report them if
+ It also find SEC and PEI Core file debug information. It will report them if
remote debug is enabled.
@param[in] BootFirmwareVolumePtr Point to the boot firmware volume.
diff --git a/IntelFspWrapperPkg/FspInitPei/SecMain.c b/IntelFspWrapperPkg/FspInitPei/SecMain.c
index 4d0878a..e4f397a 100644
--- a/IntelFspWrapperPkg/FspInitPei/SecMain.c
+++ b/IntelFspWrapperPkg/FspInitPei/SecMain.c
@@ -61,7 +61,7 @@ SecStartupPhase2(
the control is transferred to this function.
@param[in] SizeOfRam Size of the temporary memory available for use.
- @param[in] TempRamBase Base address of tempory ram
+ @param[in] TempRamBase Base address of temporary ram
@param[in] BootFirmwareVolume Base address of the Boot Firmware Volume.
**/
VOID
diff --git a/IntelFspWrapperPkg/FspInitPei/SecMain.h b/IntelFspWrapperPkg/FspInitPei/SecMain.h
index fc20397..66c53de 100644
--- a/IntelFspWrapperPkg/FspInitPei/SecMain.h
+++ b/IntelFspWrapperPkg/FspInitPei/SecMain.h
@@ -54,7 +54,7 @@ typedef struct _SEC_IDT_TABLE {
the control is transferred to this function.
@param[in] SizeOfRam Size of the temporary memory available for use.
- @param[in] TempRamBase Base address of tempory ram
+ @param[in] TempRamBase Base address of temporary ram
@param[in] BootFirmwareVolume Base address of the Boot Firmware Volume.
**/
VOID
@@ -68,7 +68,7 @@ SecStartup (
/**
Find and return Pei Core entry point.
- It also find SEC and PEI Core file debug inforamtion. It will report them if
+ It also find SEC and PEI Core file debug information. It will report them if
remote debug is enabled.
@param[in] BootFirmwareVolumePtr Point to the boot firmware volume.
diff --git a/IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c b/IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c
index d39164e..6f06e24 100644
--- a/IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c
+++ b/IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c
@@ -112,7 +112,7 @@ RelocateImageUnder4GIfNeeded (
ASSERT_EFI_ERROR (Status);
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1));
diff --git a/IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c b/IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c
index ce003d0..068465a 100644
--- a/IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c
+++ b/IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c
@@ -146,7 +146,7 @@ FindImageBase (
/**
Find and return Pei Core entry point.
- It also find SEC and PEI Core file debug inforamtion. It will report them if
+ It also find SEC and PEI Core file debug information. It will report them if
remote debug is enabled.
@param[in] BootFirmwareVolumePtr Point to the boot firmware volume.
diff --git a/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c b/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c
index f441725..fc271e2 100644
--- a/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c
+++ b/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c
@@ -52,7 +52,7 @@ SecStartupPhase2(
the control is transferred to this function.
@param[in] SizeOfRam Size of the temporary memory available for use.
- @param[in] TempRamBase Base address of tempory ram
+ @param[in] TempRamBase Base address of temporary ram
@param[in] BootFirmwareVolume Base address of the Boot Firmware Volume.
**/
VOID
diff --git a/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h b/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h
index afaadfe..de82221 100644
--- a/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h
+++ b/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h
@@ -53,7 +53,7 @@ typedef struct _SEC_IDT_TABLE {
the control is transferred to this function.
@param[in] SizeOfRam Size of the temporary memory available for use.
- @param[in] TempRamBase Base address of tempory ram
+ @param[in] TempRamBase Base address of temporary ram
@param[in] BootFirmwareVolume Base address of the Boot Firmware Volume.
**/
VOID
@@ -67,7 +67,7 @@ SecStartup (
/**
Find and return Pei Core entry point.
- It also find SEC and PEI Core file debug inforamtion. It will report them if
+ It also find SEC and PEI Core file debug information. It will report them if
remote debug is enabled.
@param[in] BootFirmwareVolumePtr Point to the boot firmware volume.
diff --git a/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRamSupport.c b/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRamSupport.c
index 7f7a6af..06b3ea6 100644
--- a/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRamSupport.c
+++ b/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRamSupport.c
@@ -139,8 +139,8 @@ SecTemporaryRamSupport (
//
// SecSwitchStack function must be invoked after the memory migration
- // immediatly, also we need fixup the stack change caused by new call into
- // permenent memory.
+ // immediately, also we need fixup the stack change caused by new call into
+ // permanent memory.
//
SecSwitchStack (
(UINT32) (UINTN) OldStack,
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 14/33] IntelFsp2Pkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (12 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 13/33] IntelFspWrapperPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:06 ` Yao, Jiewen
2016-10-19 7:12 ` Mudusuru, Giri P
2016-10-19 7:01 ` [PATCH 15/33] IntelFsp2WrapperPkg: Fix a typo in the comment Gary Lin
` (20 subsequent siblings)
34 siblings, 2 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Jiewen Yao, Giri P Mudusuru
- tempory -> temporary
- immediatly -> immediately
- permenent -> permanent
- funciton -> function
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
IntelFsp2Pkg/FspSecCore/SecMain.c | 6 +++---
IntelFsp2Pkg/FspSecCore/SecMain.h | 2 +-
IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.c b/IntelFsp2Pkg/FspSecCore/SecMain.c
index fa556bf..0432dee 100644
--- a/IntelFsp2Pkg/FspSecCore/SecMain.c
+++ b/IntelFsp2Pkg/FspSecCore/SecMain.c
@@ -39,7 +39,7 @@ UINT64 mIdtEntryTemplate = 0xffff8e000008ffe4ULL;
@param[in] SizeOfRam Size of the temporary memory available for use.
- @param[in] TempRamBase Base address of tempory ram
+ @param[in] TempRamBase Base address of temporary ram
@param[in] BootFirmwareVolume Base address of the Boot Firmware Volume.
@param[in] PeiCore PeiCore entry point.
@param[in] BootLoaderStack BootLoader stack.
@@ -215,8 +215,8 @@ SecTemporaryRamSupport (
//
// SecSwitchStack function must be invoked after the memory migration
- // immediatly, also we need fixup the stack change caused by new call into
- // permenent memory.
+ // immediately, also we need fixup the stack change caused by new call into
+ // permanent memory.
//
SecSwitchStack (
(UINT32) (UINTN) OldStack,
diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.h b/IntelFsp2Pkg/FspSecCore/SecMain.h
index 33f7362..291bc5c 100644
--- a/IntelFsp2Pkg/FspSecCore/SecMain.h
+++ b/IntelFsp2Pkg/FspSecCore/SecMain.h
@@ -105,7 +105,7 @@ InitializeFloatingPointUnits (
@param[in] SizeOfRam Size of the temporary memory available for use.
- @param[in] TempRamBase Base address of tempory ram
+ @param[in] TempRamBase Base address of temporary ram
@param[in] BootFirmwareVolume Base address of the Boot Firmware Volume.
@param[in] PeiCore PeiCore entry point.
@param[in] BootLoaderStack BootLoader stack.
diff --git a/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h b/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
index e90b13e..fee44a3 100644
--- a/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
+++ b/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
@@ -16,7 +16,7 @@
/**
- This funciton will switch the current stack to the previous saved stack.
+ This function will switch the current stack to the previous saved stack.
Before calling the previous stack has to be set in FSP_GLOBAL_DATA.CoreStack.
EIP
FLAGS 16 bit FLAGS 16 bit
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 15/33] IntelFsp2WrapperPkg: Fix a typo in the comment
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (13 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 14/33] IntelFsp2Pkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:07 ` Yao, Jiewen
2016-10-19 7:11 ` Mudusuru, Giri P
2016-10-19 7:01 ` [PATCH 16/33] MdeModulePkg: BootManagerMenuApp: Fix typos in comments Gary Lin
` (19 subsequent siblings)
34 siblings, 2 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Jiewen Yao, Giri P Mudusuru
- boundry -> boundary
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c
index c073703..ff2f563 100644
--- a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c
+++ b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c
@@ -112,7 +112,7 @@ RelocateImageUnder4GIfNeeded (
ASSERT_EFI_ERROR (Status);
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1));
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 16/33] MdeModulePkg: BootManagerMenuApp: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (14 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 15/33] IntelFsp2WrapperPkg: Fix a typo in the comment Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 8:20 ` Tian, Feng
2016-10-19 7:01 ` [PATCH 17/33] MdeModulePkg/Bus: " Gary Lin
` (18 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Feng Tian, Star Zeng
- chracter -> character
- lanaguag -> language
- proccessed -> processed
- optin -> option
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
| 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
--git a/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c b/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c
index 6481d94..6d493e1 100644
--- a/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c
+++ b/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c
@@ -57,7 +57,7 @@ PrintStringAt (
}
/**
- Prints a chracter to the default console, at
+ Prints a character to the default console, at
the supplied cursor position, using L"%c" format.
@param Column The cursor position to print the string at.
@@ -79,7 +79,7 @@ PrintCharAt (
}
/**
- Count the storage space of a Unicode string which uses current lanaguag to get
+ Count the storage space of a Unicode string which uses current language to get
from input string ID.
@param StringId The input string to be counted.
@@ -147,7 +147,7 @@ GetLineWidth (
/**
This function uses calculate the boot menu location, size and scroll bar information.
- @param BootMenuData The boot menu data to be proccessed.
+ @param BootMenuData The boot menu data to be processed.
@return EFI_SUCCESS calculate boot menu information successful.
@retval EFI_INVALID_PARAMETER Input parameter is invalid
@@ -219,7 +219,7 @@ InitializeBootMenuScreen (
return EFI_SUCCESS;
}
/**
- This funciton uses check boot option is wheher setup application or no
+ This function uses check boot option is wheher setup application or no
@param BootOption Pointer to EFI_BOOT_MANAGER_LOAD_OPTION array.
@@ -248,7 +248,7 @@ IsBootManagerMenu (
@param BootOption Pointer to EFI_BOOT_MANAGER_LOAD_OPTION to check.
- @retval TRUE Ignore the boot optin.
+ @retval TRUE Ignore the boot option.
@retval FALSE Do not ignore the boot option.
**/
BOOLEAN
@@ -286,7 +286,7 @@ IgnoreBootOption (
}
/**
- This funciton uses to initialize boot menu data
+ This function uses to initialize boot menu data
@param BootOption Pointer to EFI_BOOT_MANAGER_LOAD_OPTION array.
@param BootOptionCount Number of boot option.
@@ -345,7 +345,7 @@ InitializeBootMenuData (
and set current selected item in BootMenuData
@param WantSelectItem The user wants to select item.
- @param BootMenuData The boot menu data to be proccessed
+ @param BootMenuData The boot menu data to be processed
@return EFI_SUCCESS Highlight selected item and update current selected
item successful
@@ -485,7 +485,7 @@ BootMenuSelectItem (
}
/**
- This funciton uses to draw boot popup menu
+ This function uses to draw boot popup menu
@param BootMenuData The Input BootMenuData to be processed.
@@ -644,7 +644,7 @@ DrawBootPopupMenu (
}
/**
- This funciton uses to boot from selected item
+ This function uses to boot from selected item
@param BootOptions Pointer to EFI_BOOT_MANAGER_LOAD_OPTION array.
@param BootOptionCount Number of boot option.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 17/33] MdeModulePkg/Bus: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (15 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 16/33] MdeModulePkg: BootManagerMenuApp: Fix typos in comments Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:01 ` [PATCH 18/33] MdeModulePkg/Core: " Gary Lin
` (17 subsequent siblings)
34 siblings, 0 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Feng Tian, Star Zeng
- TURE -> TRUE
- stoping -> stopping
- doule -> double
- Peroidic -> Periodic
- stardard -> standard
- a a -> a
- reseting -> resetting
- excute -> execute
- connectted -> connected
- Sumbit -> Submit
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c | 2 +-
MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c | 2 +-
MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c | 4 ++--
MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c | 4 ++--
MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c | 12 ++++++------
MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h | 12 ++++++------
MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c | 6 +++---
MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h | 8 ++++----
MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 2 +-
MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h | 8 ++++----
MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h | 6 +++---
MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c | 6 +++---
MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 14 +++++++-------
MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 4 ++--
MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c | 2 +-
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c | 2 +-
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h | 2 +-
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c | 2 +-
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h | 4 ++--
MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h | 2 +-
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c | 4 ++--
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c | 2 +-
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h | 2 +-
23 files changed, 56 insertions(+), 56 deletions(-)
diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c
index 2389d54..795443e 100644
--- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c
+++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c
@@ -1878,7 +1878,7 @@ AtaPassThruResetDevice (
}
/**
- Sumbit ATAPI request sense command.
+ Submit ATAPI request sense command.
@param[in] This A pointer to the EFI_EXT_SCSI_PASS_THRU_PROTOCOL instance.
@param[in] Target The Target is an array of size TARGET_MAX_BYTES and it represents
diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
index e7449f9..cb7f1f0 100644
--- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
+++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
@@ -1005,7 +1005,7 @@ AtaBlockIoReset (
@param[in, out] Token A pointer to the token associated with the transaction.
@param[in] BufferSize Size of Buffer, must be a multiple of device block size.
@param[out] Buffer A pointer to the destination/source buffer for the data.
- @param[in] IsBlockIo2 Indicate the calling is from BlockIO or BlockIO2. TURE is
+ @param[in] IsBlockIo2 Indicate the calling is from BlockIO or BlockIO2. TRUE is
from BlockIO2, FALSE is for BlockIO.
@param[in] IsWrite Indicates whether it is a write operation.
diff --git a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c b/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
index 4f064f7..eeb7de3 100644
--- a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
+++ b/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
@@ -1649,9 +1649,9 @@ InitKeyboard (
ConsoleIn->IsSupportPartialKey = FALSE;
//
- // For reseting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
+ // For resetting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
// and to support KB hot plug, we need to let the InitKB succeed no matter whether there is a KB device connected
- // to system. So we only do the real reseting for keyboard when user asks and there is a real KB connected t system,
+ // to system. So we only do the real resetting for keyboard when user asks and there is a real KB connected t system,
// and normally during booting an OS, it's skipped.
//
if (ExtendedVerification && CheckKeyboardConnect (ConsoleIn)) {
diff --git a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c b/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
index 4384935..4df1b89 100644
--- a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
+++ b/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
@@ -55,7 +55,7 @@ KbdControllerDriverStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -460,7 +460,7 @@ ErrorExit:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
index 0c0a1f4..04d536c 100644
--- a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
+++ b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
@@ -510,7 +510,7 @@ PS2MouseRead (
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -545,7 +545,7 @@ Out8042Command (
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -571,7 +571,7 @@ Out8042Data (
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -610,7 +610,7 @@ In8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -688,7 +688,7 @@ Out8042AuxCommand (
@param Data Buffer holding return value
- @retval EFI_SUCCESS Success to excute I/O work flow.
+ @retval EFI_SUCCESS Success to execute I/O work flow.
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -729,7 +729,7 @@ Out8042AuxData (
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
index 26535fc..c854e68 100644
--- a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
+++ b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
@@ -279,7 +279,7 @@ PS2MouseRead (
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -292,7 +292,7 @@ Out8042Command (
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -305,7 +305,7 @@ In8042Data (
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -319,7 +319,7 @@ Out8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -333,7 +333,7 @@ Out8042AuxCommand (
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -346,7 +346,7 @@ In8042AuxData (
@param Data Buffer holding return value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
index 91fac55..1586935 100644
--- a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
+++ b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
@@ -431,7 +431,7 @@ ErrorExit:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -528,14 +528,14 @@ PS2MouseDriverStop (
/**
Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and
- there is a mouse device connectted to system.
+ there is a mouse device connected to system.
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
diff --git a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
index 6419b89..9e62f74 100644
--- a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
+++ b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
@@ -151,7 +151,7 @@ PS2MouseDriverStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -304,14 +304,14 @@ Ps2MouseComponentNameGetControllerName (
/**
Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and
- there is a mouse device connectted to system.
+ there is a mouse device connected to system.
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
@@ -374,7 +374,7 @@ PollMouse (
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
index c7a6a40..5173a9d 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
@@ -2018,7 +2018,7 @@ CLOSE_PCIIO:
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h
index be81bde..3415816 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h
@@ -85,13 +85,13 @@ typedef struct _USB2_HC_DEV USB2_HC_DEV;
#define EHC_TPL TPL_NOTIFY
//
-//Iterate through the doule linked list. NOT delete safe
+//Iterate through the double linked list. NOT delete safe
//
#define EFI_LIST_FOR_EACH(Entry, ListHead) \
for(Entry = (ListHead)->ForwardLink; Entry != (ListHead); Entry = Entry->ForwardLink)
//
-//Iterate through the doule linked list. This is delete-safe.
+//Iterate through the double linked list. This is delete-safe.
//Don't touch NextEntry
//
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
@@ -146,7 +146,7 @@ struct _USB2_HC_DEV {
EHC_QH *ReclaimHead;
//
- // Peroidic (interrupt) transfer schedule data:
+ // Periodic (interrupt) transfer schedule data:
//
VOID *PeriodFrame; // the buffer pointed by this pointer is used to store pci bus address of the QH descriptor.
VOID *PeriodFrameHost; // the buffer pointed by this pointer is used to store host memory address of the QH descriptor.
@@ -225,7 +225,7 @@ EhcDriverBindingStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h b/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h
index 7403776..d7a68d9 100644
--- a/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h
+++ b/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h
@@ -66,13 +66,13 @@ typedef struct _PEI_USB2_HC_DEV PEI_USB2_HC_DEV;
#define EHC_SYNC_POLL_INTERVAL (6 * EHC_1_MILLISECOND)
//
-//Iterate through the doule linked list. NOT delete safe
+//Iterate through the double linked list. NOT delete safe
//
#define EFI_LIST_FOR_EACH(Entry, ListHead) \
for(Entry = (ListHead)->ForwardLink; Entry != (ListHead); Entry = Entry->ForwardLink)
//
-//Iterate through the doule linked list. This is delete-safe.
+//Iterate through the double linked list. This is delete-safe.
//Don't touch NextEntry
//
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
@@ -119,7 +119,7 @@ struct _PEI_USB2_HC_DEV {
PEI_EHC_QH *ReclaimHead;
//
- // Peroidic (interrupt) transfer schedule data:
+ // Periodic (interrupt) transfer schedule data:
//
VOID *PeriodFrame; // Mapped as common buffer
VOID *PeriodFrameHost;
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c
index a463bea..f3be47a 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c
@@ -113,7 +113,7 @@ PciBusEntryPoint (
@param This Protocol instance pointer.
@param Controller Handle of device to test.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver supports this device.
@@ -223,7 +223,7 @@ PciBusDriverBindingSupported (
@param This Protocol instance pointer.
@param Controller Handle of device to bind driver to.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver is added to ControllerHandle.
@@ -332,7 +332,7 @@ PciBusDriverBindingStart (
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
index b12d7ec..39ba8b9 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
@@ -203,7 +203,7 @@ struct _PCI_IO_DEVICE {
LIST_ENTRY ChildList;
//
- // TURE if the PCI bus driver creates the handle for this PCI device
+ // TRUE if the PCI bus driver creates the handle for this PCI device
//
BOOLEAN Registered;
@@ -285,7 +285,7 @@ struct _PCI_IO_DEVICE {
UINT16 ReservedBusNum;
//
// Per PCI to PCI Bridge spec, I/O window is 4K aligned,
- // but some chipsets support non-stardard I/O window aligments less than 4K.
+ // but some chipsets support non-standard I/O window alignments less than 4K.
// This field is used to support this case.
//
UINT16 BridgeIoAlignment;
@@ -327,8 +327,8 @@ extern BOOLEAN mReserveVgaAliases;
@param _p Specified device.
- @retval TRUE Device is a a GFX device.
- @retval FALSE Device is not a a GFX device.
+ @retval TRUE Device is a GFX device.
+ @retval FALSE Device is not a GFX device.
**/
#define IS_PCI_GFX(_p) IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER)
@@ -339,7 +339,7 @@ extern BOOLEAN mReserveVgaAliases;
@param This Protocol instance pointer.
@param Controller Handle of device to test.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver supports this device.
@@ -361,7 +361,7 @@ PciBusDriverBindingSupported (
@param This Protocol instance pointer.
@param Controller Handle of device to bind driver to.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver is added to ControllerHandle.
@@ -378,7 +378,7 @@ PciBusDriverBindingStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
index 80f2885..ac4d323 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
@@ -599,14 +599,14 @@ GatherPpbInfo (
//
// if PcdPciBridgeIoAlignmentProbe is TRUE, PCI bus driver probes
- // PCI bridge supporting non-stardard I/O window alignment less than 4K.
+ // PCI bridge supporting non-standard I/O window alignment less than 4K.
//
PciIoDevice->BridgeIoAlignment = 0xFFF;
if (FeaturePcdGet (PcdPciBridgeIoAlignmentProbe)) {
//
// Check any bits of bit 3-1 of I/O Base Register are writable.
- // if so, it is assumed non-stardard I/O window alignment is supported by this bridge.
+ // if so, it is assumed non-standard I/O window alignment is supported by this bridge.
// Per spec, bit 3-1 of I/O Base Register are reserved bits, so its content can't be assumed.
//
Value = (UINT8)(Temp ^ (BIT3 | BIT2 | BIT1));
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c
index 337a6db..c13e99b 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c
@@ -429,7 +429,7 @@ PciHostBridgeResourceAllocator (
//
//
- // If non-stardard PCI Bridge I/O window alignment is supported,
+ // If non-standard PCI Bridge I/O window alignment is supported,
// set I/O aligment to minimum possible alignment for root bridge.
//
IoBridge = CreateResourceNode (
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
index a4cb27a..1fcc8b5 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
@@ -1833,7 +1833,7 @@ CLOSE_PCIIO:
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h
index 8635d82..fc23a75 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h
@@ -197,7 +197,7 @@ UhciDriverBindingStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
index 1058f03..2f6137e 100644
--- a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
+++ b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
@@ -2149,7 +2149,7 @@ CLOSE_PCIIO:
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
index 0f53bb0..06cc73c 100644
--- a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
+++ b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
@@ -84,7 +84,7 @@ typedef struct _USB_DEV_CONTEXT USB_DEV_CONTEXT;
#define INT_INTER_ASYNC 4
//
-// Iterate through the doule linked list. This is delete-safe.
+// Iterate through the double linked list. This is delete-safe.
// Don't touch NextEntry
//
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
@@ -308,7 +308,7 @@ XhcDriverBindingStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h b/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h
index 4f7087f..7fc82ba 100644
--- a/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h
+++ b/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h
@@ -51,7 +51,7 @@ typedef struct {
} UFS_EXPOSED_LUNS;
//
-// Iterate through the doule linked list. This is delete-safe.
+// Iterate through the double linked list. This is delete-safe.
// Do not touch NextEntry
//
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
index 96c3622..d5de1ac 100644
--- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
+++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
@@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@param UsbMass The device whose sense data is requested.
- @retval EFI_SUCCESS The command is excuted successfully.
+ @retval EFI_SUCCESS The command is executed successfully.
@retval EFI_DEVICE_ERROR Failed to request sense.
@retval EFI_NO_RESPONSE The device media doesn't response this request.
@retval EFI_INVALID_PARAMETER The command has some invalid parameters.
@@ -152,7 +152,7 @@ UsbBootRequestSense (
@param DataLen The length of expected data
@param Timeout The timeout used to transfer
- @retval EFI_SUCCESS Command is excuted successfully
+ @retval EFI_SUCCESS Command is executed successfully
@retval Others Command execution failed.
**/
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c
index 0767ff0..4c29b61 100644
--- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c
+++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c
@@ -392,7 +392,7 @@ UsbBotGetStatus (
@param CmdStatus The result of high level command execution
@retval EFI_SUCCESS The command is executed successfully.
- @retval Other Failed to excute command
+ @retval Other Failed to execute command
**/
EFI_STATUS
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h
index bdbddf5..502c670 100644
--- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h
+++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h
@@ -126,7 +126,7 @@ UsbBotInit (
@param CmdStatus The result of high level command execution
@retval EFI_SUCCESS The command is executed successfully.
- @retval Other Failed to excute command
+ @retval Other Failed to execute command
**/
EFI_STATUS
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 18/33] MdeModulePkg/Core: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (16 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 17/33] MdeModulePkg/Bus: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 8:20 ` Tian, Feng
2016-10-19 7:01 ` [PATCH 19/33] MdeModulePkg/Include: " Gary Lin
` (16 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Feng Tian, Star Zeng
- paramters -> parameters
- funciton -> function
- dependecy -> dependency
- evauated -> evaluated
- genric -> generic
- retore -> restore
- Protocl -> Protocol
- availible -> available
- elasped -> elapsed
- sarted -> started
- boundry -> boundary
- permenent -> permanent
- debuging -> debugging
- availble -> available
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
MdeModulePkg/Core/Dxe/DxeMain.h | 20 ++++++++++----------
MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c | 2 +-
MdeModulePkg/Core/Dxe/Event/Timer.c | 2 +-
MdeModulePkg/Core/Dxe/FwVol/FwVol.c | 4 ++--
MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c | 4 ++--
MdeModulePkg/Core/Dxe/Hand/Locate.c | 2 +-
MdeModulePkg/Core/Dxe/Image/Image.c | 4 ++--
MdeModulePkg/Core/Dxe/Mem/Page.c | 2 +-
MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 12 ++++++------
MdeModulePkg/Core/Pei/FwVol/FwVol.c | 2 +-
MdeModulePkg/Core/Pei/Memory/MemoryServices.c | 2 +-
MdeModulePkg/Core/Pei/PeiMain.h | 4 ++--
MdeModulePkg/Core/Pei/PeiMain/PeiMain.c | 4 ++--
MdeModulePkg/Core/PiSmmCore/Dependency.c | 4 ++--
MdeModulePkg/Core/PiSmmCore/Dispatcher.c | 2 +-
MdeModulePkg/Core/PiSmmCore/Locate.c | 2 +-
16 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/MdeModulePkg/Core/Dxe/DxeMain.h b/MdeModulePkg/Core/Dxe/DxeMain.h
index aefeeb7..327d23a 100644
--- a/MdeModulePkg/Core/Dxe/DxeMain.h
+++ b/MdeModulePkg/Core/Dxe/DxeMain.h
@@ -109,8 +109,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
///
-/// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependecy expression
-/// to save time. A EFI_DEP_PUSH is evauated one an
+/// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependency expression
+/// to save time. A EFI_DEP_PUSH is evaluated one an
/// replaced with EFI_DEP_REPLACE_TRUE. If PI spec's Vol 2
/// Driver Execution Environment Core Interface use 0xff
/// as new DEPEX opcode. EFI_DEP_REPLACE_TRUE should be
@@ -141,7 +141,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#else
///
-/// For genric EFI machines make the default allocations 4K aligned
+/// For generic EFI machines make the default allocations 4K aligned
///
#define EFI_ACPI_RUNTIME_PAGE_ALLOCATION_ALIGNMENT (EFI_PAGE_SIZE)
#define DEFAULT_PAGE_ALLOCATION (EFI_PAGE_SIZE)
@@ -246,9 +246,9 @@ typedef struct {
UINTN ExitDataSize;
/// Pointer to exit data from started image
VOID *ExitData;
- /// Pointer to pool allocation for context save/retore
+ /// Pointer to pool allocation for context save/restore
VOID *JumpBuffer;
- /// Pointer to buffer for context save/retore
+ /// Pointer to buffer for context save/restore
BASE_LIBRARY_JUMP_BUFFER *JumpContext;
/// Machine type from PE image
UINT16 Machine;
@@ -256,7 +256,7 @@ typedef struct {
EFI_EBC_PROTOCOL *Ebc;
/// Runtime image list
EFI_RUNTIME_IMAGE_ENTRY *RuntimeData;
- /// Pointer to Loaded Image Device Path Protocl
+ /// Pointer to Loaded Image Device Path Protocol
EFI_DEVICE_PATH_PROTOCOL *LoadedImageDevicePath;
/// PeCoffLoader ImageContext
PE_COFF_LOADER_IMAGE_CONTEXT ImageContext;
@@ -445,7 +445,7 @@ CoreNotifyOnProtocolInstallation (
/**
- Return TRUE if all AP services are availible.
+ Return TRUE if all AP services are available.
@retval EFI_SUCCESS All AP services are available
@retval EFI_NOT_FOUND At least one AP service is not available
@@ -473,7 +473,7 @@ CalculateEfiHdrCrc (
/**
Called by the platform code to process a tick.
- @param Duration The number of 100ns elasped since the last call
+ @param Duration The number of 100ns elapsed since the last call
to TimerTick
**/
@@ -1097,7 +1097,7 @@ CoreLocateDevicePath (
@retval EFI_NOT_FOUND No handles match the search.
@retval EFI_OUT_OF_RESOURCES There is not enough pool memory to store the
matching results.
- @retval EFI_INVALID_PARAMETER One or more paramters are not valid.
+ @retval EFI_INVALID_PARAMETER One or more parameters are not valid.
**/
EFI_STATUS
@@ -1458,7 +1458,7 @@ CoreLoadImage (
unloaded.
@retval EFI_SUCCESS The image has been unloaded.
- @retval EFI_UNSUPPORTED The image has been sarted, and does not support
+ @retval EFI_UNSUPPORTED The image has been started, and does not support
unload.
@retval EFI_INVALID_PARAMPETER ImageHandle is not a valid image handle.
diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c
index 034520c..ea7c610 100644
--- a/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c
+++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c
@@ -76,7 +76,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST GUID_TO_STRING_PROTOCOL_ENTRY mMissingProtoc
};
/**
- Return TRUE if all AP services are availible.
+ Return TRUE if all AP services are available.
@retval EFI_SUCCESS All AP services are available
@retval EFI_NOT_FOUND At least one AP service is not available
diff --git a/MdeModulePkg/Core/Dxe/Event/Timer.c b/MdeModulePkg/Core/Dxe/Event/Timer.c
index 087e55e..6cd4e6c 100644
--- a/MdeModulePkg/Core/Dxe/Event/Timer.c
+++ b/MdeModulePkg/Core/Dxe/Event/Timer.c
@@ -187,7 +187,7 @@ CoreInitializeTimer (
/**
Called by the platform code to process a tick.
- @param Duration The number of 100ns elasped since the last call
+ @param Duration The number of 100ns elapsed since the last call
to TimerTick
**/
diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
index 0ca765d..fe12d6e 100644
--- a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
+++ b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
@@ -554,7 +554,7 @@ FvCheck (
DEBUG ((EFI_D_ERROR, "Found a FFS3 formatted file: %g in a non-FFS3 formatted FV.\n", &CacheFfsHeader->Name));
FfsHeader = (EFI_FFS_FILE_HEADER *) ((UINT8 *) FfsHeader + FFS_FILE2_SIZE (CacheFfsHeader));
//
- // Adjust pointer to the next 8-byte aligned boundry.
+ // Adjust pointer to the next 8-byte aligned boundary.
//
FfsHeader = (EFI_FFS_FILE_HEADER *) (((UINTN) FfsHeader + 7) & ~0x07);
continue;
@@ -589,7 +589,7 @@ FvCheck (
}
//
- // Adjust pointer to the next 8-byte aligned boundry.
+ // Adjust pointer to the next 8-byte aligned boundary.
//
FfsHeader = (EFI_FFS_FILE_HEADER *)(((UINTN)FfsHeader + 7) & ~0x07);
diff --git a/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c b/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
index fffd821..f031ef1 100644
--- a/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
+++ b/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
@@ -234,7 +234,7 @@ FwVolBlockReadBlock (
if (Offset > FvbDevice->LbaCache[LbaIndex].Length) {
//
- // all exceed boundry, read nothing.
+ // all exceed boundary, read nothing.
//
*NumBytes = 0;
return EFI_BAD_BUFFER_SIZE;
@@ -243,7 +243,7 @@ FwVolBlockReadBlock (
NumOfBytesRead = *NumBytes;
if (Offset + NumOfBytesRead > FvbDevice->LbaCache[LbaIndex].Length) {
//
- // partial exceed boundry, read data from current postion to end.
+ // partial exceed boundary, read data from current postion to end.
//
NumOfBytesRead = FvbDevice->LbaCache[LbaIndex].Length - Offset;
}
diff --git a/MdeModulePkg/Core/Dxe/Hand/Locate.c b/MdeModulePkg/Core/Dxe/Hand/Locate.c
index d2b6da8..80df0d4 100644
--- a/MdeModulePkg/Core/Dxe/Hand/Locate.c
+++ b/MdeModulePkg/Core/Dxe/Hand/Locate.c
@@ -640,7 +640,7 @@ Done:
@retval EFI_NOT_FOUND No handles match the search.
@retval EFI_OUT_OF_RESOURCES There is not enough pool memory to store the
matching results.
- @retval EFI_INVALID_PARAMETER One or more paramters are not valid.
+ @retval EFI_INVALID_PARAMETER One or more parameters are not valid.
**/
EFI_STATUS
diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Image/Image.c
index 351382b..4a8a16d 100644
--- a/MdeModulePkg/Core/Dxe/Image/Image.c
+++ b/MdeModulePkg/Core/Dxe/Image/Image.c
@@ -507,7 +507,7 @@ CoreLoadPeImage (
}
//
- // Allocate memory of the correct memory type aligned on the required image boundry
+ // Allocate memory of the correct memory type aligned on the required image boundary
//
DstBufAlocated = FALSE;
if (DstBuffer == 0) {
@@ -1857,7 +1857,7 @@ Done:
unloaded.
@retval EFI_SUCCESS The image has been unloaded.
- @retval EFI_UNSUPPORTED The image has been sarted, and does not support
+ @retval EFI_UNSUPPORTED The image has been started, and does not support
unload.
@retval EFI_INVALID_PARAMPETER ImageHandle is not a valid image handle.
diff --git a/MdeModulePkg/Core/Dxe/Mem/Page.c b/MdeModulePkg/Core/Dxe/Mem/Page.c
index b02bafb..bda4f63 100644
--- a/MdeModulePkg/Core/Dxe/Mem/Page.c
+++ b/MdeModulePkg/Core/Dxe/Mem/Page.c
@@ -204,7 +204,7 @@ CoreAddRange (
// If we are in EFI 1.10 compatability mode no event groups will be
// found and nothing will happen we we call this function. These events
// will get signaled but since a lock is held around the call to this
- // function the notificaiton events will only be called after this funciton
+ // function the notificaiton events will only be called after this function
// returns and the lock is released.
//
CoreNotifySignalList (&gEfiEventMemoryMapChangeGuid);
diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
index 715e9d2..3934ed0 100644
--- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
+++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
@@ -671,8 +671,8 @@ PeiCheckAndSwitchStack (
if (Private->SwitchStackSignal) {
//
- // Before switch stack from temporary memory to permenent memory, calculate the heap and stack
- // usage in temporary memory for debuging.
+ // Before switch stack from temporary memory to permanent memory, calculate the heap and stack
+ // usage in temporary memory for debugging.
//
DEBUG_CODE_BEGIN ();
UINT32 *StackPointer;
@@ -709,10 +709,10 @@ PeiCheckAndSwitchStack (
//
// Reserve the size of new stack at bottom of physical memory
//
- // The size of new stack in permenent memory must be the same size
+ // The size of new stack in permanent memory must be the same size
// or larger than the size of old stack in temporary memory.
// But if new stack is smaller than the size of old stack, we also reserve
- // the size of old stack at bottom of permenent memory.
+ // the size of old stack at bottom of permanent memory.
//
NewStackSize = RShiftU64 (Private->PhysicalMemoryLength, 1);
NewStackSize = ALIGN_VALUE (NewStackSize, EFI_PAGE_SIZE);
@@ -789,7 +789,7 @@ PeiCheckAndSwitchStack (
//
// Temporary Ram Support PPI is provided by platform, it will copy
- // temporary memory to permenent memory and do stack switching.
+ // temporary memory to permanent memory and do stack switching.
// After invoking Temporary Ram Support PPI, the following code's
// stack is in permanent memory.
//
@@ -1142,7 +1142,7 @@ PeiDispatcher (
if ((Private->PeiMemoryInstalled) && (Private->Fv[FvCount].PeimState[PeimCount] == PEIM_STATE_REGISITER_FOR_SHADOW) && \
(Private->HobList.HandoffInformationTable->BootMode != BOOT_ON_S3_RESUME || PcdGetBool (PcdShadowPeimOnS3Boot))) {
//
- // If memory is availble we shadow images by default for performance reasons.
+ // If memory is available we shadow images by default for performance reasons.
// We call the entry point a 2nd time so the module knows it's shadowed.
//
//PERF_START (PeiServices, L"PEIM", PeimFileHandle, 0);
diff --git a/MdeModulePkg/Core/Pei/FwVol/FwVol.c b/MdeModulePkg/Core/Pei/FwVol/FwVol.c
index 6ca41ee..d2eb0bc 100644
--- a/MdeModulePkg/Core/Pei/FwVol/FwVol.c
+++ b/MdeModulePkg/Core/Pei/FwVol/FwVol.c
@@ -2019,7 +2019,7 @@ FindNextCoreFvHandle (
/**
After PeiCore image is shadowed into permanent memory, all build-in FvPpi should
be re-installed with the instance in permanent memory and all cached FvPpi pointers in
- PrivateData->Fv[] array should be fixed up to be pointed to the one in permenant
+ PrivateData->Fv[] array should be fixed up to be pointed to the one in permanent
memory.
@param PrivateData Pointer to PEI_CORE_INSTANCE.
diff --git a/MdeModulePkg/Core/Pei/Memory/MemoryServices.c b/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
index 2f9b9de..4efe143 100644
--- a/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
+++ b/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
@@ -222,7 +222,7 @@ PeiAllocatePages (
/**
- Pool allocation service. Before permenent memory is discoveried, the pool will
+ Pool allocation service. Before permanent memory is discoveried, the pool will
be allocated the heap in the temporary memory. Genenrally, the size of heap in temporary
memory does not exceed to 64K, so the biggest pool size could be allocated is
64K.
diff --git a/MdeModulePkg/Core/Pei/PeiMain.h b/MdeModulePkg/Core/Pei/PeiMain.h
index 2498320..69eea51 100644
--- a/MdeModulePkg/Core/Pei/PeiMain.h
+++ b/MdeModulePkg/Core/Pei/PeiMain.h
@@ -1119,7 +1119,7 @@ PeiRegisterForShadow (
@param OldCoreData Pointer to Old PeiCore's private data.
If NULL, PeiCore is entered at first time, stack/heap in temporary memory.
If not NULL, PeiCore is entered at second time, stack/heap has been moved
- to permenent memory.
+ to permanent memory.
**/
VOID
@@ -1732,7 +1732,7 @@ extern EFI_PEI_PCI_CFG2_PPI gPeiDefaultPciCfg2Ppi;
/**
After PeiCore image is shadowed into permanent memory, all build-in FvPpi should
be re-installed with the instance in permanent memory and all cached FvPpi pointers in
- PrivateData->Fv[] array should be fixed up to be pointed to the one in permenant
+ PrivateData->Fv[] array should be fixed up to be pointed to the one in permanent
memory.
@param PrivateData Pointer to PEI_CORE_INSTANCE.
diff --git a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
index 956200f..fed34f3 100644
--- a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
+++ b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
@@ -218,7 +218,7 @@ PeiCore (
SetPeiServicesTablePointer ((CONST EFI_PEI_SERVICES **)&OldCoreData->Ps);
//
- // Update HandOffHob for new installed permenent memory
+ // Update HandOffHob for new installed permanent memory
//
HandoffInformationTable = OldCoreData->HobList.HandoffInformationTable;
if (OldCoreData->HeapOffsetPositive) {
@@ -238,7 +238,7 @@ PeiCore (
//
// After the whole temporary memory is migrated, then we can allocate page in
- // permenent memory.
+ // permanent memory.
//
OldCoreData->PeiMemoryInstalled = TRUE;
diff --git a/MdeModulePkg/Core/PiSmmCore/Dependency.c b/MdeModulePkg/Core/PiSmmCore/Dependency.c
index 44f693a..deaf4b4 100644
--- a/MdeModulePkg/Core/PiSmmCore/Dependency.c
+++ b/MdeModulePkg/Core/PiSmmCore/Dependency.c
@@ -19,8 +19,8 @@
#include "PiSmmCore.h"
///
-/// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependecy expression
-/// to save time. A EFI_DEP_PUSH is evauated one an
+/// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependency expression
+/// to save time. A EFI_DEP_PUSH is evaluated one an
/// replaced with EFI_DEP_REPLACE_TRUE. If PI spec's Vol 2
/// Driver Execution Environment Core Interface use 0xff
/// as new DEPEX opcode. EFI_DEP_REPLACE_TRUE should be
diff --git a/MdeModulePkg/Core/PiSmmCore/Dispatcher.c b/MdeModulePkg/Core/PiSmmCore/Dispatcher.c
index 8b34778..87f4617 100644
--- a/MdeModulePkg/Core/PiSmmCore/Dispatcher.c
+++ b/MdeModulePkg/Core/PiSmmCore/Dispatcher.c
@@ -517,7 +517,7 @@ SmmLoadImage (
ImageContext.ImageAddress = (EFI_PHYSICAL_ADDRESS)DstBuffer;
}
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1));
diff --git a/MdeModulePkg/Core/PiSmmCore/Locate.c b/MdeModulePkg/Core/PiSmmCore/Locate.c
index 705d6d4..a7220ba 100644
--- a/MdeModulePkg/Core/PiSmmCore/Locate.c
+++ b/MdeModulePkg/Core/PiSmmCore/Locate.c
@@ -430,7 +430,7 @@ SmmLocateHandle (
@retval EFI_NOT_FOUND No handles match the search.
@retval EFI_OUT_OF_RESOURCES There is not enough pool memory to store the
matching results.
- @retval EFI_INVALID_PARAMETER One or more paramters are not valid.
+ @retval EFI_INVALID_PARAMETER One or more parameters are not valid.
**/
EFI_STATUS
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 19/33] MdeModulePkg/Include: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (17 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 18/33] MdeModulePkg/Core: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:01 ` [PATCH 20/33] MdeModulePkg/Library: Fix typos in comments and variables Gary Lin
` (15 subsequent siblings)
34 siblings, 0 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Feng Tian, Star Zeng
- opints -> points
- sucessfully -> successfully
- suported -> supported
- hexidecimal -> hexadecimal
- TURE -> TRUE
- servity -> severity
- Moudle -> Module
- contiue -> continue
- infomation -> information
- malformated -> malformatted
- Pepresentation -> Representation
- opeque -> opaque
- assocated -> associated
- Libary -> Library
- descrption -> description
- paramter -> parameter
- chracter -> character
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
MdeModulePkg/Include/Library/CustomizedDisplayLib.h | 2 +-
MdeModulePkg/Include/Library/DebugAgentLib.h | 4 +--
MdeModulePkg/Include/Library/HiiLib.h | 16 +++++-----
MdeModulePkg/Include/Library/NetLib.h | 32 ++++++++++----------
MdeModulePkg/Include/Ppi/AtaController.h | 2 +-
5 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/MdeModulePkg/Include/Library/CustomizedDisplayLib.h b/MdeModulePkg/Include/Library/CustomizedDisplayLib.h
index 31e1091..1689e2c 100644
--- a/MdeModulePkg/Include/Library/CustomizedDisplayLib.h
+++ b/MdeModulePkg/Include/Library/CustomizedDisplayLib.h
@@ -202,7 +202,7 @@ PrintStringAtWithWidth (
);
/**
- Prints a chracter to the default console, at
+ Prints a character to the default console, at
the supplied cursor position, using L"%c" format.
@param Column The cursor position to print the string at. When it is -1, use current Position.
diff --git a/MdeModulePkg/Include/Library/DebugAgentLib.h b/MdeModulePkg/Include/Library/DebugAgentLib.h
index 01b06a7..63d1c8f 100644
--- a/MdeModulePkg/Include/Library/DebugAgentLib.h
+++ b/MdeModulePkg/Include/Library/DebugAgentLib.h
@@ -39,7 +39,7 @@ typedef struct {
/**
Caller provided function to be invoked at the end of InitializeDebugAgent().
- Refer to the descrption for InitializeDebugAgent() for more details.
+ Refer to the description for InitializeDebugAgent() for more details.
@param[in] Context The first input parameter of InitializeDebugAgent().
@@ -61,7 +61,7 @@ VOID
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
responsible to invoke the passing-in function at the end of InitializeDebugAgent().
- If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
+ If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
passing in the Context to be its parameter.
If Function() is NULL, Debug Agent Library instance will return after setup debug
diff --git a/MdeModulePkg/Include/Library/HiiLib.h b/MdeModulePkg/Include/Library/HiiLib.h
index 4ad4cf1..3d87677 100644
--- a/MdeModulePkg/Include/Library/HiiLib.h
+++ b/MdeModulePkg/Include/Library/HiiLib.h
@@ -230,13 +230,13 @@ HiiGetHiiHandles (
for freeing the allocated buffer using FreePool().
@param Handle The HII handle.
- @param Buffer On return, opints to a pointer which point to the buffer that contain the formset opcode.
+ @param Buffer On return, points to a pointer which point to the buffer that contain the formset opcode.
@param BufferSize On return, points to the length of the buffer.
@retval EFI_OUT_OF_RESOURCES No enough memory resource is allocated.
@retval EFI_NOT_FOUND Can't find the package data for the input Handle.
@retval EFI_INVALID_PARAMETER The input parameters are not correct.
- @retval EFI_SUCCESS Get the formset opcode from the hii handle sucessfully.
+ @retval EFI_SUCCESS Get the formset opcode from the hii handle successfully.
**/
EFI_STATUS
@@ -259,9 +259,9 @@ HiiGetFormSetFromHiiHandle(
@param[in] HiiHandle A handle that was previously registered in the HII Database.
@retval NULL HiiHandle is not registered in the HII database
- @retval NULL There are not enough resources available to retrieve the suported
+ @retval NULL There are not enough resources available to retrieve the supported
languages.
- @retval NULL The list of suported languages could not be retrieved.
+ @retval NULL The list of supported languages could not be retrieved.
@retval Other A pointer to the Null-terminated ASCII string of supported languages.
**/
@@ -284,17 +284,17 @@ HiiGetSupportedLanguages (
@param[in] Guid The pointer to an EFI_GUID that is the routing information
GUID. Each of the 16 bytes in Guid is converted to
- a 2 Unicode character hexidecimal string. This is
+ a 2 Unicode character hexadecimal string. This is
an optional parameter that may be NULL.
@param[in] Name The pointer to a Null-terminated Unicode string that is
the routing information NAME. This is an optional
parameter that may be NULL. Each 16-bit Unicode
character in Name is converted to a 4 character Unicode
- hexidecimal string.
+ hexadecimal string.
@param[in] DriverHandle The driver handle that supports a Device Path Protocol
that is the routing information PATH. Each byte of
the Device Path associated with DriverHandle is converted
- to a two (Unicode) character hexidecimal string.
+ to a two (Unicode) character hexadecimal string.
@retval NULL DriverHandle does not support the Device Path Protocol.
@retval NULL DriverHandle does not support the Device Path Protocol.
@@ -322,7 +322,7 @@ HiiConstructConfigHdr (
entirety of the current HII database will be reset.
@param DefaultId Specifies the type of defaults to retrieve.
- @retval TURE The default value was set successfully.
+ @retval TRUE The default value was set successfully.
@retval FALSE The default value was not found.
**/
BOOLEAN
diff --git a/MdeModulePkg/Include/Library/NetLib.h b/MdeModulePkg/Include/Library/NetLib.h
index 87f393e..c5c0fc2 100644
--- a/MdeModulePkg/Include/Library/NetLib.h
+++ b/MdeModulePkg/Include/Library/NetLib.h
@@ -252,7 +252,7 @@ typedef struct {
//
// The debug level definition. This value is also used as the
-// syslog's servity level. Don't change it.
+// syslog's severity level. Don't change it.
//
#define NETDEBUG_LEVEL_TRACE 5
#define NETDEBUG_LEVEL_WARNING 4
@@ -335,8 +335,8 @@ NetDebugASPrint (
This function will locate a instance of SNP then send the message through it.
Because it isn't open the SNP BY_DRIVER, apply caution when using it.
- @param Level The servity level of the message.
- @param Module The Moudle that generates the log.
+ @param Level The severity level of the message.
+ @param Module The Module that generates the log.
@param File The file that contains the log.
@param Line The exact line that contains the log.
@param Message The user message to log.
@@ -750,7 +750,7 @@ NetDestroyLinkList (
@param[in] ChildHandleBuffer An array of child handles to be freed. May be NULL
if NumberOfChildren is 0.
- @retval TURE Found the input Handle in ChildHandleBuffer.
+ @retval TRUE Found the input Handle in ChildHandleBuffer.
@retval FALSE Can't find the input Handle in ChildHandleBuffer.
**/
@@ -1008,7 +1008,7 @@ EFI_STATUS
/**
Iterate through the netmap and call CallBack for each item.
- It will contiue the traverse if CallBack returns EFI_SUCCESS, otherwise, break
+ It will continue the traverse if CallBack returns EFI_SUCCESS, otherwise, break
from the loop. It returns the CallBack's last return value. This function is
delete safe for the current item.
@@ -1308,7 +1308,7 @@ NetLibCreateIPv6DPathNode (
needs to find its own private data that is related the IP's
service binding instance that is installed on the UNDI/SNP handle.
The controller is then either an MNP or an ARP child handle. Note that
- IP opens these handles using BY_DRIVER. Use that infomation to get the
+ IP opens these handles using BY_DRIVER. Use that information to get the
UNDI/SNP handle.
@param[in] Controller The protocol handle to check.
@@ -1349,7 +1349,7 @@ NetLibDefaultUnload (
@param[out] Ip4Address The pointer to the converted IPv4 address.
@retval EFI_SUCCESS Converted to an IPv4 address successfully.
- @retval EFI_INVALID_PARAMETER The string is malformated, or Ip4Address is NULL.
+ @retval EFI_INVALID_PARAMETER The string is malformatted, or Ip4Address is NULL.
**/
EFI_STATUS
@@ -1361,13 +1361,13 @@ NetLibAsciiStrToIp4 (
/**
Convert one Null-terminated ASCII string to EFI_IPv6_ADDRESS. The format of the
- string is defined in RFC 4291 - Text Pepresentation of Addresses.
+ string is defined in RFC 4291 - Text Representation of Addresses.
@param[in] String The pointer to the Ascii string.
@param[out] Ip6Address The pointer to the converted IPv6 address.
@retval EFI_SUCCESS Converted to an IPv6 address successfully.
- @retval EFI_INVALID_PARAMETER The string is malformated, or Ip6Address is NULL.
+ @retval EFI_INVALID_PARAMETER The string is malformatted, or Ip6Address is NULL.
**/
EFI_STATUS
@@ -1384,7 +1384,7 @@ NetLibAsciiStrToIp6 (
@param[out] Ip4Address The pointer to the converted IPv4 address.
@retval EFI_SUCCESS Converted to an IPv4 address successfully.
- @retval EFI_INVALID_PARAMETER The string is mal-formated or Ip4Address is NULL.
+ @retval EFI_INVALID_PARAMETER The string is mal-formatted or Ip4Address is NULL.
@retval EFI_OUT_OF_RESOURCES Failed to perform the operation due to lack of resources.
**/
@@ -1397,13 +1397,13 @@ NetLibStrToIp4 (
/**
Convert one Null-terminated Unicode string to EFI_IPv6_ADDRESS. The format of
- the string is defined in RFC 4291 - Text Pepresentation of Addresses.
+ the string is defined in RFC 4291 - Text Representation of Addresses.
@param[in] String The pointer to the Ascii string.
@param[out] Ip6Address The pointer to the converted IPv6 address.
@retval EFI_SUCCESS Converted to an IPv6 address successfully.
- @retval EFI_INVALID_PARAMETER The string is malformated or Ip6Address is NULL.
+ @retval EFI_INVALID_PARAMETER The string is malformatted or Ip6Address is NULL.
@retval EFI_OUT_OF_RESOURCES Failed to perform the operation due to a lack of resources.
**/
@@ -1416,7 +1416,7 @@ NetLibStrToIp6 (
/**
Convert one Null-terminated Unicode string to EFI_IPv6_ADDRESS and prefix length.
- The format of the string is defined in RFC 4291 - Text Pepresentation of Addresses
+ The format of the string is defined in RFC 4291 - Text Representation of Addresses
Prefixes: ipv6-address/prefix-length.
@param[in] String The pointer to the Ascii string.
@@ -1424,7 +1424,7 @@ NetLibStrToIp6 (
@param[out] PrefixLength The pointer to the converted prefix length.
@retval EFI_SUCCESS Converted to an IPv6 address successfully.
- @retval EFI_INVALID_PARAMETER The string is malformated, or Ip6Address is NULL.
+ @retval EFI_INVALID_PARAMETER The string is malformatted, or Ip6Address is NULL.
@retval EFI_OUT_OF_RESOURCES Failed to perform the operation due to a lack of resources.
**/
@@ -1493,9 +1493,9 @@ typedef struct {
UINT32 Signature;
INTN RefCnt; // Reference count to share NET_VECTOR.
NET_VECTOR_EXT_FREE Free; // external function to free NET_VECTOR
- VOID *Arg; // opeque argument to Free
+ VOID *Arg; // opaque argument to Free
UINT32 Flag; // Flags, NET_VECTOR_OWN_FIRST
- UINT32 Len; // Total length of the assocated BLOCKs
+ UINT32 Len; // Total length of the associated BLOCKs
UINT32 BlockNum;
NET_BLOCK Block[1];
diff --git a/MdeModulePkg/Include/Ppi/AtaController.h b/MdeModulePkg/Include/Ppi/AtaController.h
index aa4ae56..2333bef 100644
--- a/MdeModulePkg/Include/Ppi/AtaController.h
+++ b/MdeModulePkg/Include/Ppi/AtaController.h
@@ -106,7 +106,7 @@ typedef struct {
@param[in] PeiServices The pointer to the PEI Services Table.
@param[in] This The pointer to this instance of the PEI_ATA_CONTROLLER_PPI.
@param[in] ChannelMask The bitmask that identifies the IDE and SATA channels to
- enable or disable. This paramter is optional.
+ enable or disable. This parameter is optional.
@retval EFI_SUCCESS The IDE or SATA channels were enabled or disabled successfully.
@retval EFI_DEVICE_ERROR The IDE or SATA channels could not be enabled or disabled.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 20/33] MdeModulePkg/Library: Fix typos in comments and variables
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (18 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 19/33] MdeModulePkg/Include: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:01 ` [PATCH 21/33] MdeModulePkg/Universal: Fix typos in comments Gary Lin
` (14 subsequent siblings)
34 siblings, 0 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Feng Tian, Star Zeng
- servity -> severity
- TURE -> TRUE
- contiue -> continue
- Pepresentation -> Representation
- suported -> supported
- opints -> points
- sucessfully -> successfully
- hexidecimal -> hexadecimal
- Pacakge -> Package
- Libary -> Library
- successull -> successfully
- reseting -> resetting
- Retrive -> Retrieve
- dirver -> driver
- availible -> available
- chracter -> character
- seperator -> separator
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c | 2 +-
MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c | 2 +-
MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.c | 2 +-
| 2 +-
MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.c | 2 +-
MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 8 ++--
MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | 2 +-
MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 16 ++++----
| 2 +-
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c | 2 +-
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryProfileLib.c | 2 +-
MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c | 2 +-
MdeModulePkg/Library/SmmMemoryAllocationProfileLib/MemoryAllocationLib.c | 2 +-
MdeModulePkg/Library/SmmMemoryAllocationProfileLib/SmmMemoryProfileLib.c | 2 +-
MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c | 2 +-
MdeModulePkg/Library/UefiHiiLib/HiiLanguage.c | 4 +-
MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 42 ++++++++++----------
MdeModulePkg/Library/UefiHiiLib/HiiString.c | 2 +-
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c | 2 +-
19 files changed, 50 insertions(+), 50 deletions(-)
diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
index a190596..11c5501 100644
--- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
+++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
@@ -913,7 +913,7 @@ BootMaintCallback (
}
}
//
- // Retrive uncommitted data from Form Browser
+ // Retrieve uncommitted data from Form Browser
//
CurrentFakeNVMap = &Private->BmmFakeNvData;
HiiGetBrowserData (&mBootMaintGuid, mBootMaintStorageName, sizeof (BMM_FAKE_NV_DATA), (UINT8 *) CurrentFakeNVMap);
diff --git a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c
index 6224103..e29892f 100644
--- a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c
+++ b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c
@@ -678,7 +678,7 @@ PrintStringAtWithWidth (
}
/**
- Prints a chracter to the default console, at
+ Prints a character to the default console, at
the supplied cursor position, using L"%c" format.
@param Column The cursor position to print the string at. When it is -1, use current Position.
diff --git a/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.c b/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.c
index 09e1366..253fbdc 100644
--- a/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.c
+++ b/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.c
@@ -24,7 +24,7 @@
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
responsible to invoke the passing-in function at the end of InitializeDebugAgent().
- If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
+ If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
passing in the Context to be its parameter.
If Function() is NULL, Debug Agent Library instance will return after setup debug
--git a/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c b/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c
index de1b136..5f28928 100644
--- a/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c
+++ b/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c
@@ -48,7 +48,7 @@ typedef struct {
@param SectionAttribute The attribute of the input guided section.
@retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and
- the attribute of the input section are successull retrieved.
+ the attribute of the input section are successfully retrieved.
@retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.
**/
diff --git a/MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.c b/MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.c
index cad5702..0ba88d8 100644
--- a/MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.c
+++ b/MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.c
@@ -248,7 +248,7 @@ GetDebugPrintErrorLevel (
}
} else {
//
- // If variable services are not yet availible optionally get the global
+ // If variable services are not yet available optionally get the global
// debug print error level mask from a HOB.
//
Hob = GetFirstGuidHob (&gEfiGenericVariableGuid);
diff --git a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
index 727cc42..a4579bf 100644
--- a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
+++ b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
@@ -1430,10 +1430,10 @@ HttpFreeMsgParser (
/**
- Get the next string, which is distinguished by specified seperator.
+ Get the next string, which is distinguished by specified separator.
@param[in] String Pointer to the string.
- @param[in] Seperator Specified seperator used to distinguish where is the beginning
+ @param[in] Separator Specified separator used to distinguish where is the beginning
of next string.
@return Pointer to the next string.
@@ -1444,7 +1444,7 @@ CHAR8 *
EFIAPI
AsciiStrGetNextToken (
IN CONST CHAR8 *String,
- IN CHAR8 Seperator
+ IN CHAR8 Separator
)
{
CONST CHAR8 *Token;
@@ -1454,7 +1454,7 @@ AsciiStrGetNextToken (
if (*Token == 0) {
return NULL;
}
- if (*Token == Seperator) {
+ if (*Token == Separator) {
return (CHAR8 *)(Token + 1);
}
Token++;
diff --git a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c
index ab4df80..27fef71 100644
--- a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c
+++ b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c
@@ -1439,7 +1439,7 @@ IpIoStop (
}
//
- // All pending send tokens should be flushed by reseting the IP instances.
+ // All pending send tokens should be flushed by resetting the IP instances.
//
ASSERT (IsListEmpty (&IpIo->PendingSndList));
diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c
index 7700f0ff..e11e501 100644
--- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c
+++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c
@@ -301,7 +301,7 @@ ON_EXIT:
Build a syslog packet, including the Ethernet/Ip/Udp headers
and user's message.
- @param[in] Level Syslog servity level
+ @param[in] Level Syslog severity level
@param[in] Module The module that generates the log
@param[in] File The file that contains the current log
@param[in] Line The line of code in the File that contains the current log
@@ -475,7 +475,7 @@ NetDebugASPrint (
This function will locate a instance of SNP then send the message through it.
Because it isn't open the SNP BY_DRIVER, apply caution when using it.
- @param Level The servity level of the message.
+ @param Level The severity level of the message.
@param Module The Moudle that generates the log.
@param File The file that contains the log.
@param Line The exact line that contains the log.
@@ -1151,7 +1151,7 @@ NetDestroyLinkList (
@param[in] ChildHandleBuffer An array of child handles to be freed. May be NULL
if NumberOfChildren is 0.
- @retval TURE Found the input Handle in ChildHandleBuffer.
+ @retval TRUE Found the input Handle in ChildHandleBuffer.
@retval FALSE Can't find the input Handle in ChildHandleBuffer.
**/
@@ -1636,7 +1636,7 @@ NetMapRemoveTail (
/**
Iterate through the netmap and call CallBack for each item.
- It will contiue the traverse if CallBack returns EFI_SUCCESS, otherwise, break
+ It will continue the traverse if CallBack returns EFI_SUCCESS, otherwise, break
from the loop. It returns the CallBack's last return value. This function is
delete safe for the current item.
@@ -2765,7 +2765,7 @@ NetLibAsciiStrToIp4 (
/**
Convert one Null-terminated ASCII string to EFI_IPv6_ADDRESS. The format of the
- string is defined in RFC 4291 - Text Pepresentation of Addresses.
+ string is defined in RFC 4291 - Text Representation of Addresses.
@param[in] String The pointer to the Ascii string.
@param[out] Ip6Address The pointer to the converted IPv6 address.
@@ -3004,7 +3004,7 @@ NetLibStrToIp4 (
/**
Convert one Null-terminated Unicode string to EFI_IPv6_ADDRESS. The format of
- the string is defined in RFC 4291 - Text Pepresentation of Addresses.
+ the string is defined in RFC 4291 - Text Representation of Addresses.
@param[in] String The pointer to the Ascii string.
@param[out] Ip6Address The pointer to the converted IPv6 address.
@@ -3046,7 +3046,7 @@ NetLibStrToIp6 (
/**
Convert one Null-terminated Unicode string to EFI_IPv6_ADDRESS and prefix length.
- The format of the string is defined in RFC 4291 - Text Pepresentation of Addresses
+ The format of the string is defined in RFC 4291 - Text Representation of Addresses
Prefixes: ipv6-address/prefix-length.
@param[in] String The pointer to the Ascii string.
@@ -3401,4 +3401,4 @@ NetLibCreateDnsQName (
*Tail = 0;
return QueryName;
-}
\ No newline at end of file
+}
--git a/MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/PeiCrc32GuidedSectionExtractLib.c b/MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/PeiCrc32GuidedSectionExtractLib.c
index 6e3dcdd..f979bdf 100644
--- a/MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/PeiCrc32GuidedSectionExtractLib.c
+++ b/MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/PeiCrc32GuidedSectionExtractLib.c
@@ -129,7 +129,7 @@ PeiCrc32GuidedSectionExtractLibCalculateCrc32 (
@param SectionAttribute The attribute of the input guided section.
@retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and
- the attribute of the input section are successull retrieved.
+ the attribute of the input section are successfully retrieved.
@retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.
**/
diff --git a/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c b/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c
index 08dd17b..bd21468 100644
--- a/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c
+++ b/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c
@@ -40,7 +40,7 @@ UINTN mSmmCoreMemoryAllocLibSmramRangeCount = 0;
@param[in] Buffer The pointer to the buffer to be checked.
- @retval TURE The buffer is in SMRAM ranges.
+ @retval TRUE The buffer is in SMRAM ranges.
@retval FALSE The buffer is out of SMRAM ranges.
**/
BOOLEAN
diff --git a/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryProfileLib.c b/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryProfileLib.c
index f6a064a..ffae221 100644
--- a/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryProfileLib.c
+++ b/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryProfileLib.c
@@ -28,7 +28,7 @@ EDKII_MEMORY_PROFILE_PROTOCOL *mLibProfileProtocol;
@param[in] Buffer The pointer to the buffer to be checked.
- @retval TURE The buffer is in SMRAM ranges.
+ @retval TRUE The buffer is in SMRAM ranges.
@retval FALSE The buffer is out of SMRAM ranges.
**/
BOOLEAN
diff --git a/MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c b/MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c
index 74655c6..b96f8dd 100644
--- a/MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c
+++ b/MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c
@@ -926,7 +926,7 @@ VariableCleanupHiiCallback (
}
//
- // Retrive uncommitted data from Form Browser.
+ // Retrieve uncommitted data from Form Browser.
//
VariableCleanupData = &Private->VariableCleanupData;
HiiGetBrowserData (&mVariableCleanupHiiGuid, mVarStoreName, sizeof (VARIABLE_CLEANUP_DATA), (UINT8 *) VariableCleanupData);
diff --git a/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/MemoryAllocationLib.c b/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/MemoryAllocationLib.c
index 34ff120..e9bbf02 100644
--- a/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/MemoryAllocationLib.c
+++ b/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/MemoryAllocationLib.c
@@ -116,7 +116,7 @@ SmmMemoryAllocationLibDestructor (
@param[in] Buffer The pointer to the buffer to be checked.
- @retval TURE The buffer is in SMRAM ranges.
+ @retval TRUE The buffer is in SMRAM ranges.
@retval FALSE The buffer is out of SMRAM ranges.
**/
BOOLEAN
diff --git a/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/SmmMemoryProfileLib.c b/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/SmmMemoryProfileLib.c
index dcf0868..85e7c9c 100644
--- a/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/SmmMemoryProfileLib.c
+++ b/MdeModulePkg/Library/SmmMemoryAllocationProfileLib/SmmMemoryProfileLib.c
@@ -28,7 +28,7 @@ EDKII_SMM_MEMORY_PROFILE_PROTOCOL *mLibSmmProfileProtocol;
@param[in] Buffer The pointer to the buffer to be checked.
- @retval TURE The buffer is in SMRAM ranges.
+ @retval TRUE The buffer is in SMRAM ranges.
@retval FALSE The buffer is out of SMRAM ranges.
**/
BOOLEAN
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c b/MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c
index a13917b..4059dac 100644
--- a/MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c
+++ b/MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c
@@ -251,7 +251,7 @@ EfiBootManagerConnectVideoController (
}
//
- // Try to connect the PCI device path, so that GOP dirver could start on this
+ // Try to connect the PCI device path, so that GOP driver could start on this
// device and create child handles with GraphicsOutput Protocol installed
// on them, then we get device paths of these child handles and select
// them as possible console device.
diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLanguage.c b/MdeModulePkg/Library/UefiHiiLib/HiiLanguage.c
index 2519afa..f4ef36c 100644
--- a/MdeModulePkg/Library/UefiHiiLib/HiiLanguage.c
+++ b/MdeModulePkg/Library/UefiHiiLib/HiiLanguage.c
@@ -27,9 +27,9 @@
@param[in] HiiHandle A handle that was previously registered in the HII Database.
@retval NULL HiiHandle is not registered in the HII database
- @retval NULL There are not enough resources available to retrieve the suported
+ @retval NULL There are not enough resources available to retrieve the supported
languages.
- @retval NULL The list of suported languages could not be retrieved.
+ @retval NULL The list of supported languages could not be retrieved.
@retval Other A pointer to the Null-terminated ASCII string of supported languages.
**/
diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
index afd9985..8579501 100644
--- a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
+++ b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
@@ -383,13 +383,13 @@ HiiGetHiiHandles (
for freeing the allocated buffer using FreePool().
@param Handle The HII handle.
- @param Buffer On return, opints to a pointer which point to the buffer that contain the formset opcode.
+ @param Buffer On return, points to a pointer which point to the buffer that contain the formset opcode.
@param BufferSize On return, points to the length of the buffer.
@retval EFI_OUT_OF_RESOURCES No enough memory resource is allocated.
@retval EFI_NOT_FOUND Can't find the package data for the input Handle.
@retval EFI_INVALID_PARAMETER The input parameters are not correct.
- @retval EFI_SUCCESS Get the formset opcode from the hii handle sucessfully.
+ @retval EFI_SUCCESS Get the formset opcode from the hii handle successfully.
**/
EFI_STATUS
@@ -696,17 +696,17 @@ InternalHiiBrowserCallback (
@param[in] Guid Pointer to an EFI_GUID that is the routing information
GUID. Each of the 16 bytes in Guid is converted to
- a 2 Unicode character hexidecimal string. This is
+ a 2 Unicode character hexadecimal string. This is
an optional parameter that may be NULL.
@param[in] Name Pointer to a Null-terminated Unicode string that is
the routing information NAME. This is an optional
parameter that may be NULL. Each 16-bit Unicode
character in Name is converted to a 4 character Unicode
- hexidecimal string.
+ hexadecimal string.
@param[in] DriverHandle The driver handle which supports a Device Path Protocol
that is the routing information PATH. Each byte of
the Device Path associated with DriverHandle is converted
- to a 2 Unicode character hexidecimal string.
+ to a 2 Unicode character hexadecimal string.
@retval NULL DriverHandle does not support the Device Path Protocol.
@retval Other A pointer to the Null-terminate Unicode <ConfigHdr> string
@@ -1130,7 +1130,7 @@ ValidateQuestionFromVfr (
UINT64 VarValue;
EFI_IFR_TYPE_VALUE TmpValue;
EFI_STATUS Status;
- EFI_HII_PACKAGE_HEADER PacakgeHeader;
+ EFI_HII_PACKAGE_HEADER PackageHeader;
UINT32 PackageOffset;
UINT8 *PackageData;
UINTN IfrOffset;
@@ -1167,15 +1167,15 @@ ValidateQuestionFromVfr (
//
PackageOffset = sizeof (EFI_HII_PACKAGE_LIST_HEADER);
while (PackageOffset < PackageListLength) {
- CopyMem (&PacakgeHeader, (UINT8 *) HiiPackageList + PackageOffset, sizeof (PacakgeHeader));
+ CopyMem (&PackageHeader, (UINT8 *) HiiPackageList + PackageOffset, sizeof (PackageHeader));
//
// Parse IFR opcode from the form package.
//
- if (PacakgeHeader.Type == EFI_HII_PACKAGE_FORMS) {
- IfrOffset = sizeof (PacakgeHeader);
+ if (PackageHeader.Type == EFI_HII_PACKAGE_FORMS) {
+ IfrOffset = sizeof (PackageHeader);
PackageData = (UINT8 *) HiiPackageList + PackageOffset;
- while (IfrOffset < PacakgeHeader.Length) {
+ while (IfrOffset < PackageHeader.Length) {
IfrOpHdr = (EFI_IFR_OP_HEADER *) (PackageData + IfrOffset);
//
// Validate current setting to the value built in IFR opcode
@@ -1710,7 +1710,7 @@ ValidateQuestionFromVfr (
//
// Go to next package.
//
- PackageOffset += PacakgeHeader.Length;
+ PackageOffset += PackageHeader.Length;
}
return EFI_SUCCESS;
@@ -2107,7 +2107,7 @@ GetElementsFromRequest (
@param DefaultId Specifies the type of defaults to retrieve only for setting default action.
@param ActionType Action supports setting defaults and validate current setting.
- @retval TURE Action runs successfully.
+ @retval TRUE Action runs successfully.
@retval FALSE Action is not valid or Action can't be executed successfully..
**/
BOOLEAN
@@ -2501,7 +2501,7 @@ HiiValidateSettings (
entirety of the current HII database will be reset.
@param DefaultId Specifies the type of defaults to retrieve.
- @retval TURE The default value is set successfully.
+ @retval TRUE The default value is set successfully.
@retval FALSE The default value can't be found and set.
**/
BOOLEAN
@@ -4206,7 +4206,7 @@ HiiUpdateForm (
UINTN BufferSize;
UINT8 *UpdateBufferPos;
EFI_HII_PACKAGE_HEADER *Package;
- EFI_HII_PACKAGE_HEADER *TempPacakge;
+ EFI_HII_PACKAGE_HEADER *TempPackage;
EFI_HII_PACKAGE_HEADER PackageHeader;
BOOLEAN Updated;
HII_LIB_OPCODE_BUFFER *OpCodeBufferStart;
@@ -4218,7 +4218,7 @@ HiiUpdateForm (
ASSERT (HiiHandle != NULL);
ASSERT (StartOpCodeHandle != NULL);
UpdatePackageList = NULL;
- TempPacakge = NULL;
+ TempPackage = NULL;
HiiPackageList = NULL;
//
@@ -4264,8 +4264,8 @@ HiiUpdateForm (
//
// Allocate temp buffer to store the temp updated package buffer
//
- TempPacakge = AllocateZeroPool (BufferSize);
- if (TempPacakge == NULL) {
+ TempPackage = AllocateZeroPool (BufferSize);
+ if (TempPackage == NULL) {
Status = EFI_OUT_OF_RESOURCES;
goto Finish;
}
@@ -4293,7 +4293,7 @@ HiiUpdateForm (
//
// Check this package is the matched package.
//
- Status = InternalHiiUpdateFormPackageData (FormSetGuid, FormId, Package, OpCodeBufferStart, OpCodeBufferEnd, TempPacakge);
+ Status = InternalHiiUpdateFormPackageData (FormSetGuid, FormId, Package, OpCodeBufferStart, OpCodeBufferEnd, TempPackage);
//
// The matched package is found. Its package buffer will be updated by the input new data.
//
@@ -4305,7 +4305,7 @@ HiiUpdateForm (
//
// Add updated package buffer
//
- Package = TempPacakge;
+ Package = TempPackage;
}
}
@@ -4344,8 +4344,8 @@ Finish:
FreePool (UpdatePackageList);
}
- if (TempPacakge != NULL) {
- FreePool (TempPacakge);
+ if (TempPackage != NULL) {
+ FreePool (TempPackage);
}
return Status;
diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiString.c b/MdeModulePkg/Library/UefiHiiLib/HiiString.c
index bfae3f8..c6a241e 100644
--- a/MdeModulePkg/Library/UefiHiiLib/HiiString.c
+++ b/MdeModulePkg/Library/UefiHiiLib/HiiString.c
@@ -100,7 +100,7 @@ HiiSetString (
Language = Supported;
//
- // Search for the next language seperator and replace it with a Null-terminator
+ // Search for the next language separator and replace it with a Null-terminator
//
for (; *Supported != 0 && *Supported != ';'; Supported++);
if (*Supported != 0) {
diff --git a/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c b/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c
index cab9296..5cb056f 100644
--- a/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c
+++ b/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c
@@ -1308,7 +1308,7 @@ VarCheckParseHiiDatabase (
while ((UINTN) HiiPackageHeader < ((UINTN) HiiPackageListHeader + HiiPackageListHeader->PackageLength)) {
//
- // Parse Hii Pacakge.
+ // Parse Hii Package.
//
VarCheckParseHiiPackage (HiiPackageHeader, FALSE);
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 21/33] MdeModulePkg/Universal: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (19 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 20/33] MdeModulePkg/Library: Fix typos in comments and variables Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:01 ` [PATCH 22/33] MdePkg: " Gary Lin
` (13 subsequent siblings)
34 siblings, 0 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Feng Tian, Star Zeng
- stardard -> standard
- doule -> double
- defalut -> default
- Pacakge -> Package
- globa -> global
- responsiblity -> responsibility
- outputed -> outputted
- specifiecd -> specified
- Resuts -> Results
- the a -> a
- suported -> supported
- assocated -> associated
- TURE -> TRUE
- successfull -> successfully
- excute -> execute
- reseting -> resetting
- Retrive -> Retrieve
- funciton -> function
- paramter -> parameter
- dependecy -> dependency
- boundry -> boundary
- permenantly -> permanently
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c | 2 +-
MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c | 2 +-
MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c | 2 +-
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c | 2 +-
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h | 2 +-
MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c | 2 +-
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h | 4 ++--
MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c | 2 +-
MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c | 2 +-
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h | 4 ++--
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c | 4 ++--
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c | 4 ++--
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h | 20 ++++++++++----------
MdeModulePkg/Universal/HiiDatabaseDxe/String.c | 8 ++++----
MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c | 2 +-
MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c | 2 +-
MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c | 2 +-
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 2 +-
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h | 2 +-
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c | 2 +-
MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c | 2 +-
MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h | 2 +-
MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c | 4 ++--
MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c | 8 ++++----
MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c | 8 ++++----
MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 8 ++++----
MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c | 2 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h | 4 ++--
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c | 4 ++--
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c | 4 ++--
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c | 2 +-
31 files changed, 60 insertions(+), 60 deletions(-)
diff --git a/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c b/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c
index 10493be..f67fbca 100644
--- a/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c
+++ b/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c
@@ -322,7 +322,7 @@ ReadyToLockEventNotify (
ASSERT_EFI_ERROR (Status);
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1));
diff --git a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
index e86d39e..32263c9 100644
--- a/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
+++ b/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c
@@ -248,7 +248,7 @@ BootScriptWritePciCfg2ReadWrite (
return S3BootScriptSavePciCfg2ReadWrite (Width, Segment, Address, Data, DataMask);
}
/**
- Internal function to add smbus excute opcode to the table.
+ Internal function to add smbus execute opcode to the table.
@param Marker The variable argument list to get the opcode
and associated attributes.
diff --git a/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c b/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
index a9bca31..739f19e 100644
--- a/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
+++ b/MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c
@@ -247,7 +247,7 @@ BootScriptWritePciCfg2ReadWrite (
return S3BootScriptSavePciCfg2ReadWrite (Width, Segment, Address, Data, DataMask);
}
/**
- Internal function to add smbus excute opcode to the table.
+ Internal function to add smbus execute opcode to the table.
@param Marker The variable argument list to get the opcode
and associated attributes.
diff --git a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c
index 795123d..1ee8acf 100644
--- a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c
+++ b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c
@@ -328,7 +328,7 @@ ConPlatformTextInDriverBindingStart (
}
/**
- Start this driver on the device for console output and stardard error output.
+ Start this driver on the device for console output and standard error output.
Start this driver on ControllerHandle by opening Simple Text Output Protocol,
reading Device Path, and installing Console Out Devcic GUID, Standard Error
diff --git a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h
index 4e59e1b..4b88e97 100644
--- a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h
+++ b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h
@@ -140,7 +140,7 @@ ConPlatformTextInDriverBindingStart (
);
/**
- Start this driver on the device for console output and stardard error output.
+ Start this driver on the device for console output and standard error output.
Start this driver on ControllerHandle by opening Simple Text Output Protocol,
reading Device Path, and installing Console Out Devcic GUID, Standard Error
diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
index 6fde3b2..3f445f0 100644
--- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
+++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
@@ -678,7 +678,7 @@ TerminalDriverBindingStart (
//
if (FirstEnter) {
//
- // First enther the start funciton
+ // First enther the start function
//
FirstEnter = FALSE;
//
diff --git a/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h b/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h
index d5c99a4..077bb77 100644
--- a/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h
+++ b/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h
@@ -54,13 +54,13 @@
#define RAM_DISK_BLOCK_SIZE 512
//
-// Iterate through the doule linked list. NOT delete safe
+// Iterate through the double linked list. NOT delete safe
//
#define EFI_LIST_FOR_EACH(Entry, ListHead) \
for(Entry = (ListHead)->ForwardLink; Entry != (ListHead); Entry = Entry->ForwardLink)
//
-// Iterate through the doule linked list. This is delete-safe.
+// Iterate through the double linked list. This is delete-safe.
// Do not touch NextEntry
//
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
index 8531d0e..89ed3bb 100644
--- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
+++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
@@ -1827,7 +1827,7 @@ FindTopMenu (
}
} else {
//
- // Last time highlight menu has disappear, find the first highlightable menu as the defalut one.
+ // Last time highlight menu has disappear, find the first highlightable menu as the default one.
//
*HighlightMenu = gMenuOption.ForwardLink;
if (!IsListEmpty (&gMenuOption)) {
diff --git a/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c b/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c
index 026e2c2..3c494e3 100644
--- a/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c
+++ b/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c
@@ -446,7 +446,7 @@ SetPassword (
FreePool (TempPassword);
//
- // Retrive uncommitted data from Browser
+ // Retrieve uncommitted data from Browser
//
Configuration = AllocateZeroPool (sizeof (DRIVER_SAMPLE_CONFIGURATION));
ASSERT (Configuration != NULL);
diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h
index 849d1f4..be6929c 100644
--- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h
+++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h
@@ -300,7 +300,7 @@ FtwEraseSpareBlock (
);
/**
- Retrive the proper FVB protocol interface by HANDLE.
+ Retrieve the proper FVB protocol interface by HANDLE.
@param FvBlockHandle The handle of FVB protocol that provides services for
@@ -641,7 +641,7 @@ GetFvbByAddress (
);
/**
- Retrive the proper Swap Address Range protocol interface.
+ Retrieve the proper Swap Address Range protocol interface.
@param[out] SarProtocol The interface of SAR protocol
diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c
index f570729..3fa5431 100644
--- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c
+++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c
@@ -56,7 +56,7 @@ EFI_EVENT mFvbRegistration = NULL;
/**
- Retrive the FVB protocol interface by HANDLE.
+ Retrieve the FVB protocol interface by HANDLE.
@param[in] FvBlockHandle The handle of FVB protocol that provides services for
reading, writing, and erasing the target block.
@@ -84,7 +84,7 @@ FtwGetFvbByHandle (
}
/**
- Retrive the Swap Address Range protocol interface.
+ Retrieve the Swap Address Range protocol interface.
@param[out] SarProtocol The interface of SAR protocol
diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c
index bc5e617..1e75328 100644
--- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c
+++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c
@@ -71,7 +71,7 @@ EFI_FTW_DEVICE *mFtwDevice = NULL;
BOOLEAN mEndOfDxe = FALSE;
/**
- Retrive the SMM FVB protocol interface by HANDLE.
+ Retrieve the SMM FVB protocol interface by HANDLE.
@param[in] FvBlockHandle The handle of SMM FVB protocol that provides services for
reading, writing, and erasing the target block.
@@ -99,7 +99,7 @@ FtwGetFvbByHandle (
}
/**
- Retrive the SMM Swap Address Range protocol interface.
+ Retrieve the SMM Swap Address Range protocol interface.
@param[out] SarProtocol The interface of SMM SAR protocol
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h
index ee49364..e6760c3 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h
@@ -91,7 +91,7 @@ typedef enum {
DefaultValueFromDefault = 0, // Get from the minimum or first one when not set default value.
DefaultValueFromOtherDefault, // Get default vale from other default when no default(When other
// defaults are more than one, use the default with smallest default id).
- DefaultValueFromFlag, // Get default value from the defalut flag.
+ DefaultValueFromFlag, // Get default value from the default flag.
DefaultValueFromOpcode // Get default value from default opcode, highest priority.
} DEFAULT_VALUE_TYPE;
@@ -230,7 +230,7 @@ typedef struct _HII_IMAGE_PACKAGE_INSTANCE {
} HII_IMAGE_PACKAGE_INSTANCE;
//
-// Keyboard Layout Pacakge definitions
+// Keyboard Layout Package definitions
//
#define HII_KB_LAYOUT_PACKAGE_SIGNATURE SIGNATURE_32 ('h','k','l','p')
typedef struct _HII_KEYBOARD_LAYOUT_PACKAGE_INSTANCE {
@@ -430,7 +430,7 @@ IsHiiHandleValid (
@param FontHandle On entry, Points to the font handle returned by a
previous call to GetFontInfo() or NULL to start
with the first font.
- @param GlobalFontInfo If not NULL, output the corresponding globa font
+ @param GlobalFontInfo If not NULL, output the corresponding global font
info.
@retval TRUE Existed
@@ -542,7 +542,7 @@ FindStringBlock (
@param CharValue Unicode character value, which identifies a glyph
block.
@param GlyphBuffer Output the corresponding bitmap data of the found
- block. It is the caller's responsiblity to free
+ block. It is the caller's responsibility to free
this buffer.
@param Cell Output cell information of the encoded bitmap.
@param GlyphBufferLen If not NULL, output the length of GlyphBuffer.
@@ -1591,7 +1591,7 @@ HiiUpdatePackageList (
buffer that is required for the handles found.
@param Handle An array of EFI_HII_HANDLE instances returned.
- @retval EFI_SUCCESS The matching handles are outputed successfully.
+ @retval EFI_SUCCESS The matching handles are outputted successfully.
HandleBufferLength is updated with the actual length.
@retval EFI_BUFFER_TO_SMALL The HandleBufferLength parameter indicates that
Handle is too small to support the number of
@@ -1640,7 +1640,7 @@ HiiListPackageLists (
Handle is too small to support the number of
handles. HandleBufferLength is updated with
a value that will enable the data to fit.
- @retval EFI_NOT_FOUND The specifiecd Handle could not be found in the
+ @retval EFI_NOT_FOUND The specified Handle could not be found in the
current database.
@retval EFI_INVALID_PARAMETER BufferSize was NULL.
@retval EFI_INVALID_PARAMETER The value referenced by BufferSize was not zero
@@ -2236,7 +2236,7 @@ EfiConfigKeywordHandlerSetData (
@retval EFI_SUCCESS The specified action was completed successfully.
@retval EFI_INVALID_PARAMETER One or more of the following are TRUE:
- 1.Progress, ProgressErr, or Resuts is NULL.
+ 1.Progress, ProgressErr, or Results is NULL.
2.Parsing of the KeywordString resulted in an error. See
Progress and ProgressErr for more data.
@@ -2286,7 +2286,7 @@ HiiCompareLanguage (
;
/**
- Retrieves a pointer to the a Null-terminated ASCII string containing the list
+ Retrieves a pointer to a Null-terminated ASCII string containing the list
of languages that an HII handle in the HII Database supports. The returned
string is allocated using AllocatePool(). The caller is responsible for freeing
the returned string using FreePool(). The format of the returned string follows
@@ -2297,9 +2297,9 @@ HiiCompareLanguage (
@param[in] HiiHandle A handle that was previously registered in the HII Database.
@retval NULL HiiHandle is not registered in the HII database
- @retval NULL There are not enough resources available to retrieve the suported
+ @retval NULL There are not enough resources available to retrieve the supported
languages.
- @retval NULL The list of suported languages could not be retrieved.
+ @retval NULL The list of supported languages could not be retrieved.
@retval Other A pointer to the Null-terminated ASCII string of supported languages.
**/
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/String.c b/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
index e55aa29..d5a7488 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/String.c
@@ -106,7 +106,7 @@ ReferFontInfoLocally (
@param StringSrc Points to current null-terminated string.
@param BufferSize Length of the buffer.
- @retval EFI_SUCCESS The string text was outputed successfully.
+ @retval EFI_SUCCESS The string text was outputted successfully.
@retval EFI_BUFFER_TOO_SMALL Buffer is insufficient to store the found string
text. BufferSize is updated to the required buffer
size.
@@ -150,7 +150,7 @@ ConvertToUnicodeText (
@param StringSrc Points to current null-terminated string.
@param BufferSize Length of the buffer.
- @retval EFI_SUCCESS The string text was outputed successfully.
+ @retval EFI_SUCCESS The string text was outputted successfully.
@retval EFI_BUFFER_TOO_SMALL Buffer is insufficient to store the found string
text. BufferSize is updated to the required buffer
size.
@@ -199,7 +199,7 @@ GetUnicodeStringTextOrSize (
@param StringFontInfo Buffer to record the output font info. It's
caller's responsibility to free this buffer.
- @retval EFI_SUCCESS The string font is outputed successfully.
+ @retval EFI_SUCCESS The string font is outputted successfully.
@retval EFI_NOT_FOUND The specified font id does not exist.
**/
@@ -719,7 +719,7 @@ GetStringWorker (
@param StringBlockAddr Output the block address of found string block.
@param FontBlock whether this string block has font info.
- @retval EFI_SUCCESS The string font is outputed successfully.
+ @retval EFI_SUCCESS The string font is outputted successfully.
@retval EFI_OUT_OF_RESOURCES NO resource for the memory to save the new string block.
**/
diff --git a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
index 6161274..477c914 100644
--- a/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
+++ b/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c
@@ -551,7 +551,7 @@ GenPerformMemoryTest (
//
// In extensive mode the boundary of "mCurrentRange->Length" may will lost
- // some range that is not Private->BdsBlockSize size boundry, so need
+ // some range that is not Private->BdsBlockSize size boundary, so need
// the software mechanism to confirm all memory location be covered.
//
if (mCurrentAddress < (mCurrentRange->StartAddress + mCurrentRange->Length)) {
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c
index 7b77fd3..ca53fd5 100644
--- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c
+++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c
@@ -684,7 +684,7 @@ IScsiFormCallback (
Private = ISCSI_FORM_CALLBACK_INFO_FROM_FORM_CALLBACK (This);
//
- // Retrive uncommitted data from Browser
+ // Retrieve uncommitted data from Browser
//
IfrNvData = AllocateZeroPool (sizeof (ISCSI_CONFIG_IFR_NVDATA));
ASSERT (IfrNvData != NULL);
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
index 1ac79e7..14f13f8 100644
--- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
+++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
@@ -1815,7 +1815,7 @@ IScsiNewDataSegment (
@param[in] Packet The EXT SCSI PASS THRU request packet containing the SCSI command.
@param[in] Lun The LUN.
- @param[in] Tcb The tcb assocated with this SCSI command.
+ @param[in] Tcb The tcb associated with this SCSI command.
@return The created iSCSI SCSI command PDU.
@retval NULL Other errors as indicated.
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c
index 97b555b..d868957 100644
--- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c
+++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c
@@ -901,7 +901,7 @@ Exit:
@param[in] Instance The IP4 config2 instance to configure
- @retval EFI_SUCCESS The auto configuration is successfull started
+ @retval EFI_SUCCESS The auto configuration is successfully started
@retval Others Failed to start auto configuration.
**/
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h
index b6da11f..a431f6f 100644
--- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h
+++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h
@@ -235,7 +235,7 @@ Ip4Config2ReadConfigData (
@param[in] Instance The IP4 config2 instance to configure.
- @retval EFI_SUCCESS The auto configuration is successfull started.
+ @retval EFI_SUCCESS The auto configuration is successfully started.
@retval Others Failed to start auto configuration.
**/
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c
index 381dcb1..ee771e3 100644
--- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c
+++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c
@@ -1134,7 +1134,7 @@ Ip4FormCallback (
}
//
- // Retrive uncommitted data from Browser
+ // Retrieve uncommitted data from Browser
//
if (!HiiGetBrowserData (&gIp4Config2NvDataGuid, mIp4Config2StorageName, sizeof (IP4_CONFIG2_IFR_NVDATA), (UINT8 *) IfrFormNvData)) {
FreePool (IfrFormNvData);
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c
index 3025790..fc78273 100644
--- a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c
+++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c
@@ -150,7 +150,7 @@ SockTcpDataToRcv (
@param Sock Pointer to the socket.
@param TcpRxData Pointer to the application provided receive buffer.
@param RcvdBytes The maximum length of the data can be copied.
- @param IsOOB If TURE the data is OOB, FALSE the data is normal.
+ @param IsOOB If TRUE the data is OOB, FALSE the data is normal.
**/
VOID
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h
index 52472d4..4a5a845 100644
--- a/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h
+++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h
@@ -66,7 +66,7 @@ SockProcessTcpSndData (
@param Sock Pointer to the socket.
@param TcpRxData Pointer to the application provided receive buffer.
@param RcvdBytes The maximum length of the data can be copied.
- @param IsOOB If TURE the data is OOB, else the data is normal.
+ @param IsOOB If TRUE the data is OOB, else the data is normal.
**/
VOID
diff --git a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c
index 1274d67..eddd75a 100644
--- a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c
+++ b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c
@@ -541,7 +541,7 @@ UpdateDeviceSelectPage (
@param ImageHandle The Image handle
@return Handle to Driver binding
- @retval NULL The paramter is not valid or the driver binding handle is not found.
+ @retval NULL The parameter is not valid or the driver binding handle is not found.
**/
EFI_HANDLE
@@ -1577,7 +1577,7 @@ DriverLoaded (
}
/**
- The driver Entry Point. The funciton will export a disk device class formset and
+ The driver Entry Point. The function will export a disk device class formset and
its callback function to hii database.
@param ImageHandle The firmware allocated handle for the EFI image.
diff --git a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c
index 7d880e6..86c34be 100644
--- a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c
+++ b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c
@@ -147,7 +147,7 @@ CheckExistInStack (
According to a file GUID, check a Fv file device path is valid. If it is invalid,
try to return the valid device path.
- FV address maybe changes for memory layout adjust from time to time, use this funciton
+ FV address maybe changes for memory layout adjust from time to time, use this function
could promise the Fv file device path is right.
@param DevicePath On input, the FV file device path to check
@@ -1115,7 +1115,7 @@ SaveOverridesMapping (
If Binding protocol is not found, it is set to NULL.
@return Pointer into the Binding Protocol interface
- @retval NULL The paramter is not valid or the binding protocol is not found.
+ @retval NULL The parameter is not valid or the binding protocol is not found.
**/
EFI_DRIVER_BINDING_PROTOCOL *
@@ -1315,7 +1315,7 @@ GetDriverFromMapping (
//
if (CheckExistInStack (OverrideItem->ControllerDevicePath)) {
//
- // There is a dependecy dead loop if the ControllerDevicePath appear in stack twice
+ // There is a dependency dead loop if the ControllerDevicePath appear in stack twice
//
return EFI_UNSUPPORTED;
}
@@ -1337,7 +1337,7 @@ GetDriverFromMapping (
// If the image device path contains an FV node, check the FV file device path is valid.
// If it is invalid, try to return the valid device path.
// FV address maybe changes for memory layout adjust from time to time,
- // use this funciton could promise the FV file device path is right.
+ // use this function could promise the FV file device path is right.
//
Status = UpdateFvFileDevicePath (&TempDriverImagePath, NULL, CallerImageHandle);
if (!EFI_ERROR (Status)) {
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
index 6856cc5..0c5d1b4 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
@@ -1937,8 +1937,8 @@ ReconnectController (
@param Action The action request.
@param SkipSaveOrDiscard Whether skip save or discard action.
- @retval EFI_SUCCESS The call back function excutes successfully.
- @return Other value if the call back function failed to excute.
+ @retval EFI_SUCCESS The call back function executes successfully.
+ @return Other value if the call back function failed to execute.
**/
EFI_STATUS
ProcessCallBackFunction (
@@ -2247,8 +2247,8 @@ ProcessCallBackFunction (
@param Statement The Question which need to call.
@param FormSet The formset this question belong to.
- @retval EFI_SUCCESS The call back function excutes successfully.
- @return Other value if the call back function failed to excute.
+ @retval EFI_SUCCESS The call back function executes successfully.
+ @return Other value if the call back function failed to execute.
**/
EFI_STATUS
ProcessRetrieveForQuestion (
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h
index cc9f431..f1accdf 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h
@@ -1222,8 +1222,8 @@ IsNvUpdateRequiredForFormSet (
@param Action The action request.
@param SkipSaveOrDiscard Whether skip save or discard action.
- @retval EFI_SUCCESS The call back function excutes successfully.
- @return Other value if the call back function failed to excute.
+ @retval EFI_SUCCESS The call back function executes successfully.
+ @return Other value if the call back function failed to execute.
**/
EFI_STATUS
ProcessCallBackFunction (
@@ -1245,8 +1245,8 @@ ProcessCallBackFunction (
@param Statement The Question which need to call.
@param FormSet The formset this question belong to.
- @retval EFI_SUCCESS The call back function excutes successfully.
- @return Other value if the call back function failed to excute.
+ @retval EFI_SUCCESS The call back function executes successfully.
+ @return Other value if the call back function failed to execute.
**/
EFI_STATUS
ProcessRetrieveForQuestion (
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c
index 461b0fc..d06317c 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c
@@ -190,7 +190,7 @@ SetVariableCheckHandlerMorLock (
//
if (DataSize == MOR_LOCK_V1_SIZE) {
//
- // V1 - lock permenantly
+ // V1 - lock permanently
//
if (*(UINT8 *)Data == MOR_LOCK_DATA_UNLOCKED) {
//
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h
index 5c224b9..55df131 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h
@@ -389,7 +389,7 @@ ReleaseLockOnlyAtBootTime (
);
/**
- Retrive the FVB protocol interface by HANDLE.
+ Retrieve the FVB protocol interface by HANDLE.
@param[in] FvBlockHandle The handle of FVB protocol that provides services for
reading, writing, and erasing the target block.
@@ -472,7 +472,7 @@ VariableWriteServiceInitialize (
);
/**
- Retrive the SMM Fault Tolerent Write protocol interface.
+ Retrieve the SMM Fault Tolerent Write protocol interface.
@param[out] FtwProtocol The interface of SMM Ftw protocol
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c
index dfed031..3d3cd24 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c
@@ -117,7 +117,7 @@ ReleaseLockOnlyAtBootTime (
}
/**
- Retrive the Fault Tolerent Write protocol interface.
+ Retrieve the Fault Tolerent Write protocol interface.
@param[out] FtwProtocol The interface of Ftw protocol
@@ -145,7 +145,7 @@ GetFtwProtocol (
}
/**
- Retrive the FVB protocol interface by HANDLE.
+ Retrieve the FVB protocol interface by HANDLE.
@param[in] FvBlockHandle The handle of FVB protocol that provides services for
reading, writing, and erasing the target block.
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c
index 2ceba37..eafb533 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c
@@ -199,7 +199,7 @@ ReleaseLockOnlyAtBootTime (
}
/**
- Retrive the SMM Fault Tolerent Write protocol interface.
+ Retrieve the SMM Fault Tolerent Write protocol interface.
@param[out] FtwProtocol The interface of SMM Ftw protocol
@@ -228,7 +228,7 @@ GetFtwProtocol (
/**
- Retrive the SMM FVB protocol interface by HANDLE.
+ Retrieve the SMM FVB protocol interface by HANDLE.
@param[in] FvBlockHandle The handle of SMM FVB protocol that provides services for
reading, writing, and erasing the target block.
diff --git a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c
index b018eb2..6dedfbf 100644
--- a/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c
+++ b/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c
@@ -75,7 +75,7 @@ WatchdogTimerDriverExpires (
mWatchdogTimerNotifyFunction (mWatchdogTimerPeriod);
}
- DEBUG ((EFI_D_ERROR, "Watchdog Timer reseting system\n"));
+ DEBUG ((EFI_D_ERROR, "Watchdog Timer resetting system\n"));
//
// Reset the platform
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 22/33] MdePkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (20 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 21/33] MdeModulePkg/Universal: Fix typos in comments Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 8:21 ` Gao, Liming
2016-10-19 7:01 ` [PATCH 23/33] NetworkPkg: " Gary Lin
` (12 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Michael D Kinney, Liming Gao
- Resuts -> Results
- outputed -> outputted
- specifiecd -> specified
- TURE -> TRUE
- specifed -> specified
- Pointion -> Position
- Arrary -> Array
- elasped -> elapsed
- paramter -> parameter
- Sumbit -> Submit
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h | 6 +++---
MdePkg/Include/Library/SmmPeriodicSmiLib.h | 4 ++--
MdePkg/Include/Protocol/HiiConfigKeyword.h | 2 +-
MdePkg/Include/Protocol/HiiDatabase.h | 4 ++--
MdePkg/Include/Protocol/Kms.h | 10 +++++-----
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | 8 ++++----
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h | 2 +-
| 2 +-
MdePkg/Library/DxeIoLibCpuIo2/IoLib.c | 2 +-
MdePkg/Library/DxeIoLibEsal/IoLib.c | 2 +-
MdePkg/Library/DxePciLibEsal/PciLib.c | 2 +-
MdePkg/Library/DxePciSegmentLibEsal/PciLib.c | 2 +-
| 4 ++--
MdePkg/Library/PeiPciLibPciCfg2/PciLib.c | 2 +-
MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c | 2 +-
MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c | 2 +-
MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c | 2 +-
MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c | 2 +-
MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c | 2 +-
19 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h b/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h
index 80ae7d3..7a500e2 100644
--- a/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h
+++ b/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h
@@ -41,8 +41,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define TCG_PP_RETURN_TPM_OPERATION_RESPONSE_FAILURE 1
//
-// TCG PP definition of return code for Sumbit TPM Request to Pre-OS Environment
-// and Sumbit TPM Request to Pre-OS Environment 2
+// TCG PP definition of return code for Submit TPM Request to Pre-OS Environment
+// and Submit TPM Request to Pre-OS Environment 2
//
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1
@@ -126,4 +126,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define TCG2_PHYSICAL_PRESENCE_VENDOR_SPECIFIC_OPERATION 128
-#endif
\ No newline at end of file
+#endif
diff --git a/MdePkg/Include/Library/SmmPeriodicSmiLib.h b/MdePkg/Include/Library/SmmPeriodicSmiLib.h
index dfdb5eb..2bad2b7 100644
--- a/MdePkg/Include/Library/SmmPeriodicSmiLib.h
+++ b/MdePkg/Include/Library/SmmPeriodicSmiLib.h
@@ -79,7 +79,7 @@ PeriodicSmiExit (
If this function is not called from within an enabled periodic SMI handler,
then 0 is returned.
- @return The actual time in 100ns units elasped since this function was
+ @return The actual time in 100ns units elapsed since this function was
called. A value of 0 indicates an unknown amount of time.
**/
@@ -95,7 +95,7 @@ PeriodicSmiYield (
PeriodicSmiDisable().
@param[in] Context Content registered with PeriodicSmiEnable().
- @param[in] ElapsedTime The actual time in 100ns units elasped since
+ @param[in] ElapsedTime The actual time in 100ns units elapsed since
this function was called. A value of 0 indicates
an unknown amount of time.
diff --git a/MdePkg/Include/Protocol/HiiConfigKeyword.h b/MdePkg/Include/Protocol/HiiConfigKeyword.h
index 69280b8..208336c 100644
--- a/MdePkg/Include/Protocol/HiiConfigKeyword.h
+++ b/MdePkg/Include/Protocol/HiiConfigKeyword.h
@@ -152,7 +152,7 @@ EFI_STATUS
@retval EFI_SUCCESS The specified action was completed successfully.
@retval EFI_INVALID_PARAMETER One or more of the following are TRUE:
- 1.Progress, ProgressErr, or Resuts is NULL.
+ 1.Progress, ProgressErr, or Results is NULL.
2.Parsing of the KeywordString resulted in an error. See
Progress and ProgressErr for more data.
diff --git a/MdePkg/Include/Protocol/HiiDatabase.h b/MdePkg/Include/Protocol/HiiDatabase.h
index 474d840..5ba50f8 100644
--- a/MdePkg/Include/Protocol/HiiDatabase.h
+++ b/MdePkg/Include/Protocol/HiiDatabase.h
@@ -214,7 +214,7 @@ EFI_STATUS
@param Handle An array of EFI_HII_HANDLE instances returned.
- @retval EFI_SUCCESS The matching handles are outputed successfully.
+ @retval EFI_SUCCESS The matching handles are outputted successfully.
HandleBufferLength is updated with the actual length.
@retval EFI_BUFFER_TOO_SMALL The HandleBufferLength parameter
indicates that Handle is too
@@ -273,7 +273,7 @@ EFI_STATUS
@retval EFI_OUT_OF_RESOURCES BufferSize is too small to hold the package.
- @retval EFI_NOT_FOUND The specifiecd Handle could not be found in the
+ @retval EFI_NOT_FOUND The specified Handle could not be found in the
current database.
@retval EFI_INVALID_PARAMETER BufferSize was NULL.
diff --git a/MdePkg/Include/Protocol/Kms.h b/MdePkg/Include/Protocol/Kms.h
index 1a13755..da27096 100644
--- a/MdePkg/Include/Protocol/Kms.h
+++ b/MdePkg/Include/Protocol/Kms.h
@@ -1197,12 +1197,12 @@ struct _EFI_KMS_PROTOCOL {
///
BOOLEAN ServiceAvailable;
///
- /// TURE if and only if the service supports client identifiers. Client identifiers may be used
+ /// TRUE if and only if the service supports client identifiers. Client identifiers may be used
/// for auditing, access control or any other purpose specific to the implementation.
///
BOOLEAN ClientIdSupported;
///
- /// TURE if and only if the service requires a client identifier in order to process key requests.
+ /// TRUE if and only if the service requires a client identifier in order to process key requests.
/// FALSE otherwise.
///
BOOLEAN ClientIdRequired;
@@ -1218,7 +1218,7 @@ struct _EFI_KMS_PROTOCOL {
///
UINT8 ClientNameStringTypes;
///
- /// TURE if only if the KMS requires a client name to be supplied to the service.
+ /// TRUE if only if the KMS requires a client name to be supplied to the service.
/// FALSE otherwise.
///
BOOLEAN ClientNameRequired;
@@ -1227,7 +1227,7 @@ struct _EFI_KMS_PROTOCOL {
///
UINT16 ClientNameMaxCount;
///
- /// TURE if and only if the service supports arbitrary client data requests. The use of client
+ /// TRUE if and only if the service supports arbitrary client data requests. The use of client
/// data requires the caller to have specific knowledge of the individual KMS service and
/// should be used only if absolutely necessary.
/// FALSE otherwise.
@@ -1239,7 +1239,7 @@ struct _EFI_KMS_PROTOCOL {
///
UINTN ClientDataMaxSize;
///
- /// TURE if variable length key identifiers are supported.
+ /// TRUE if variable length key identifiers are supported.
/// FALSE if a fixed length key identifier is supported.
///
BOOLEAN KeyIdVariableLenSupported;
diff --git a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
index 4b86f50..e3b2846 100644
--- a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
+++ b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
@@ -308,7 +308,7 @@ DecodeP (
/**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
@@ -508,7 +508,7 @@ DecodeC (
Sd->mBlockSize = (UINT16) GetBits (Sd, 16);
//
- // Read in the Extra Set Code Length Arrary,
+ // Read in the Extra Set Code Length Array,
// Generate the Huffman code mapping table for Extra Set.
//
Sd->mBadTableFlag = ReadPTLen (Sd, NT, TBIT, 3);
@@ -517,13 +517,13 @@ DecodeC (
}
//
- // Read in and decode the Char&Len Set Code Length Arrary,
+ // Read in and decode the Char&Len Set Code Length Array,
// Generate the Huffman code mapping table for Char&Len Set.
//
ReadCLen (Sd);
//
- // Read in the Position Set Code Length Arrary,
+ // Read in the Position Set Code Length Array,
// Generate the Huffman code mapping table for the Position Set.
//
Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1));
diff --git a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h
index aba510c..4e14313 100644
--- a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h
+++ b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h
@@ -146,7 +146,7 @@ DecodeP (
/**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
--git a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c
index 567f091..8b8e528 100644
--- a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c
+++ b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c
@@ -179,7 +179,7 @@ ExtractGuidedSectionRegisterHandlers (
VOID *GuidData;
//
- // Check input paramter.
+ // Check input parameter.
//
ASSERT (SectionGuid != NULL);
ASSERT (GetInfoHandler != NULL);
diff --git a/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c b/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c
index 9204757..110f66c 100644
--- a/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c
+++ b/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c
@@ -88,7 +88,7 @@ IoReadWorker (
@param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
diff --git a/MdePkg/Library/DxeIoLibEsal/IoLib.c b/MdePkg/Library/DxeIoLibEsal/IoLib.c
index 81b28ec..3a58b51 100644
--- a/MdePkg/Library/DxeIoLibEsal/IoLib.c
+++ b/MdePkg/Library/DxeIoLibEsal/IoLib.c
@@ -68,7 +68,7 @@ IoReadWorker (
@param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
diff --git a/MdePkg/Library/DxePciLibEsal/PciLib.c b/MdePkg/Library/DxePciLibEsal/PciLib.c
index 43fcef1..28b01c9 100644
--- a/MdePkg/Library/DxePciLibEsal/PciLib.c
+++ b/MdePkg/Library/DxePciLibEsal/PciLib.c
@@ -124,7 +124,7 @@ DxePciLibEsalReadWorker (
This function wraps EsalPciConfigWrite function of Extended SAL PCI
Services Class.
It writes the PCI configuration register specified by Address with the
- value specified by Data. The width of data is specifed by Width.
+ value specified by Data. The width of data is specified by Width.
Data is returned.
@param Address Address that encodes the PCI Bus, Device, Function and
diff --git a/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c b/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c
index 07ddd8f..fe0fb8b 100644
--- a/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c
+++ b/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c
@@ -124,7 +124,7 @@ DxePciSegmentLibEsalReadWorker (
This function wraps EsalPciConfigWrite function of Extended SAL PCI
Services Class.
It writes the PCI configuration register specified by Address with the
- value specified by Data. The width of data is specifed by Width.
+ value specified by Data. The width of data is specified by Width.
Data is returned.
@param Address Address that encodes the PCI Bus, Device, Function and
--git a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c
index c471ae9..d7bc98b 100644
--- a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c
+++ b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c
@@ -198,7 +198,7 @@ ExtractGuidedSectionRegisterHandlers (
PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo;
//
- // Check input paramter
+ // Check input parameter
//
ASSERT (SectionGuid != NULL);
ASSERT (GetInfoHandler != NULL);
@@ -305,7 +305,7 @@ ExtractGuidedSectionGetInfo (
EFI_GUID *SectionDefinitionGuid;
//
- // Check input paramter
+ // Check input parameter
//
ASSERT (InputSection != NULL);
ASSERT (OutputBufferSize != NULL);
diff --git a/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c b/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c
index 689a229..ce9121b 100644
--- a/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c
+++ b/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c
@@ -90,7 +90,7 @@ PeiPciLibPciCfg2ReadWorker (
This function wraps EFI_PEI_PCI_CFG2_PPI.Write() service.
It writes the PCI configuration register specified by Address with the
- value specified by Data. The width of data is specifed by Width.
+ value specified by Data. The width of data is specified by Width.
Data is returned.
@param Address The address that encodes the PCI Bus, Device, Function and
diff --git a/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c b/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c
index 1e55791..7c8a603 100644
--- a/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c
+++ b/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c
@@ -58,7 +58,7 @@ IoReadWorker (
@param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
diff --git a/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c b/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
index 30670bf..937165a 100644
--- a/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
+++ b/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
@@ -114,7 +114,7 @@ SmmMemoryAllocationLibDestructor (
@param[in] Buffer The pointer to the buffer to be checked.
- @retval TURE The buffer is in SMRAM ranges.
+ @retval TRUE The buffer is in SMRAM ranges.
@retval FALSE The buffer is out of SMRAM ranges.
**/
BOOLEAN
diff --git a/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c b/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c
index 0b94aeb..cdd35c1 100644
--- a/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c
+++ b/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c
@@ -112,7 +112,7 @@ SmmPciLibPciRootBridgeIoReadWorker (
This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write() service.
It writes the PCI configuration register specified by Address with the
- value specified by Data. The width of data is specifed by Width.
+ value specified by Data. The width of data is specified by Width.
Data is returned.
@param Address The address that encodes the PCI Bus, Device, Function and
diff --git a/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c b/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c
index b6db317..2016af6 100644
--- a/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c
+++ b/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c
@@ -545,7 +545,7 @@ PeriodicSmiExit (
If this function is not called from within an enabled periodic SMI handler,
then 0 is returned.
- @return The actual time in 100ns units elasped since this function was
+ @return The actual time in 100ns units elapsed since this function was
called. A value of 0 indicates an unknown amount of time.
**/
diff --git a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
index 148e12c..a146000 100644
--- a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
+++ b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
@@ -114,7 +114,7 @@ DxePciLibPciRootBridgeIoReadWorker (
This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write() service.
It writes the PCI configuration register specified by Address with the
- value specified by Data. The width of data is specifed by Width.
+ value specified by Data. The width of data is specified by Width.
Data is returned.
@param Address The address that encodes the PCI Bus, Device, Function and
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 23/33] NetworkPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (21 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 22/33] MdePkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:21 ` Fu, Siyuan
2016-10-26 0:53 ` Fu, Siyuan
2016-10-19 7:01 ` [PATCH 24/33] Nt32Pkg: Fix typos in comments and variables Gary Lin
` (11 subsequent siblings)
34 siblings, 2 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Siyuan Fu, Jiaxin Wu
- assocated -> associated
- malformated -> malformatted
- mal-formated -> mal-formatted
- formated -> formatted
- octects -> octets
- responsiblity -> responsibility
- enought -> enough
- immediatly -> immediately
- integar -> integer
- Alogrithem -> Algorithm
- Initializeion -> Initialization
- primelenght -> primelength
- Vlaue -> Value
- perfoms -> performs
- randome -> random
- verifed -> verified
- finallization -> finalization
- Intializes -> Initializes
- specifed -> specified
- if -> If
- Decrption -> Decryption
- Autahentication -> Authentication
- informatino -> information
- alogrithm -> algorithm
- Authenticaion -> Authentication
- Alogrithem -> Algorithm
- containning -> containing
- paramter -> parameter
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
NetworkPkg/Application/Ping6/Ping6.c | 8 +--
NetworkPkg/IScsiDxe/IScsiProto.c | 4 +-
NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 +-
NetworkPkg/Ip6Dxe/Ip6Option.c | 16 ++---
NetworkPkg/Ip6Dxe/Ip6Option.h | 10 +--
NetworkPkg/Ip6Dxe/Ip6Output.c | 8 +--
NetworkPkg/IpSecDxe/IpSecCryptIo.c | 50 +++++++--------
NetworkPkg/IpSecDxe/IpSecCryptIo.h | 66 ++++++++++----------
8 files changed, 82 insertions(+), 82 deletions(-)
diff --git a/NetworkPkg/Application/Ping6/Ping6.c b/NetworkPkg/Application/Ping6/Ping6.c
index 55314e5..66daac2 100644
--- a/NetworkPkg/Application/Ping6/Ping6.c
+++ b/NetworkPkg/Application/Ping6/Ping6.c
@@ -1103,7 +1103,7 @@ InitializePing6 (
BufferSize = 16;
//
- // Parse the paramter of count number.
+ // Parse the parameter of count number.
//
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");
ValueStrPtr = ValueStr;
@@ -1120,7 +1120,7 @@ InitializePing6 (
}
}
//
- // Parse the paramter of buffer size.
+ // Parse the parameter of buffer size.
//
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");
ValueStrPtr = ValueStr;
@@ -1141,7 +1141,7 @@ InitializePing6 (
ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));
//
- // Parse the paramter of source ip address.
+ // Parse the parameter of source ip address.
//
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");
ValueStrPtr = ValueStr;
@@ -1155,7 +1155,7 @@ InitializePing6 (
}
}
//
- // Parse the paramter of destination ip address.
+ // Parse the parameter of destination ip address.
//
NonOptionCount = ShellCommandLineGetCount(ParamPackage);
ValueStr = ShellCommandLineGetRawValue (ParamPackage, (UINT32)(NonOptionCount-1));
diff --git a/NetworkPkg/IScsiDxe/IScsiProto.c b/NetworkPkg/IScsiDxe/IScsiProto.c
index 88d9bdd..eb77d75 100644
--- a/NetworkPkg/IScsiDxe/IScsiProto.c
+++ b/NetworkPkg/IScsiDxe/IScsiProto.c
@@ -786,7 +786,7 @@ IScsiPrepareLoginReq (
case ISCSI_LOGIN_OPERATIONAL_NEGOTIATION:
//
- // Only negotiate the paramter once.
+ // Only negotiate the parameter once.
//
if (!Conn->ParamNegotiated) {
IScsiFillOpParams (Conn, Nbuf);
@@ -2117,7 +2117,7 @@ IScsiNewDataSegment (
@param[in] Packet The EXT SCSI PASS THRU request packet containing the SCSI command.
@param[in] Lun The LUN.
- @param[in] Tcb The tcb assocated with this SCSI command.
+ @param[in] Tcb The tcb associated with this SCSI command.
@return The created iSCSI SCSI command PDU.
@retval NULL Other errors as indicated.
diff --git a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
index 75ecec1..9b6a62e 100644
--- a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
+++ b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
@@ -121,7 +121,7 @@ Ip6ConfigOnPolicyChanged (
if (NewPolicy == Ip6ConfigPolicyAutomatic) {
//
- // Set paramters to trigger router solicitation sending in timer handler.
+ // Set parameters to trigger router solicitation sending in timer handler.
//
IpSb->RouterAdvertiseReceived = FALSE;
IpSb->SolicitTimer = IP6_MAX_RTR_SOLICITATIONS;
diff --git a/NetworkPkg/Ip6Dxe/Ip6Option.c b/NetworkPkg/Ip6Dxe/Ip6Option.c
index 9a91fd7..21d28b6 100644
--- a/NetworkPkg/Ip6Dxe/Ip6Option.c
+++ b/NetworkPkg/Ip6Dxe/Ip6Option.c
@@ -18,7 +18,7 @@
/**
Validate the IP6 option format for both the packets we received
and that we will transmit. It will compute the ICMPv6 error message fields
- if the option is malformated.
+ if the option is malformatted.
@param[in] IpSb The IP6 service data.
@param[in] Packet The to be validated packet.
@@ -29,7 +29,7 @@
@retval TRUE The option is properly formatted.
- @retval FALSE The option is malformated.
+ @retval FALSE The option is malformatted.
**/
BOOLEAN
@@ -126,7 +126,7 @@ Ip6IsOptionValid (
@param[in] OptionLen The length of the whole option.
@retval TRUE The option is properly formatted.
- @retval FALSE The option is malformated.
+ @retval FALSE The option is malformatted.
**/
BOOLEAN
@@ -231,7 +231,7 @@ Ip6IsValidProtocol (
/**
Validate the IP6 extension header format for both the packets we received
and that we will transmit. It will compute the ICMPv6 error message fields
- if the option is mal-formated.
+ if the option is mal-formatted.
@param[in] IpSb The IP6 service instance. This is an optional parameter.
@param[in] Packet The data of the packet. Ignored if NULL.
@@ -252,8 +252,8 @@ Ip6IsValidProtocol (
@param[out] Fragmented Indicate whether the packet is fragmented.
This is an optional parameter that may be NULL.
- @retval TRUE The option is properly formated.
- @retval FALSE The option is malformated.
+ @retval TRUE The option is properly formatted.
+ @retval FALSE The option is malformatted.
**/
BOOLEAN
@@ -436,7 +436,7 @@ Ip6IsExtsValid (
//
// RFC2460, ICMP Parameter Problem message with code 0 should be sent
- // if the length of a fragment is not a multiple of 8 octects and the M
+ // if the length of a fragment is not a multiple of 8 octets and the M
// flag of that fragment is 1, pointing to the Payload length field of the
// fragment packet.
//
@@ -606,7 +606,7 @@ Ip6FillHopByHop (
@param[in] ExtHdrsLen The length of the extension headers.
@param[in] FragmentOffset The fragment offset of the data following the header.
@param[out] UpdatedExtHdrs The updated ExtHdrs with Fragment header inserted.
- It's caller's responsiblity to free this buffer.
+ It's caller's responsibility to free this buffer.
@retval EFI_OUT_OF_RESOURCES Failed to finish the operation due to lake of
resource.
diff --git a/NetworkPkg/Ip6Dxe/Ip6Option.h b/NetworkPkg/Ip6Dxe/Ip6Option.h
index b62a042..242ec51 100644
--- a/NetworkPkg/Ip6Dxe/Ip6Option.h
+++ b/NetworkPkg/Ip6Dxe/Ip6Option.h
@@ -51,7 +51,7 @@ typedef enum {
/**
Validate the IP6 extension header format for both the packets we received
and that we will transmit. It will compute the ICMPv6 error message fields
- if the option is mal-formated.
+ if the option is mal-formatted.
@param[in] IpSb The IP6 service instance. This is an optional parameter.
@param[in] Packet The data of the packet. Ignored if NULL.
@@ -72,8 +72,8 @@ typedef enum {
@param[out] Fragmented Indicate whether the packet is fragmented.
This is an optional parameter that may be NULL.
- @retval TRUE The option is properly formated.
- @retval FALSE The option is malformated.
+ @retval TRUE The option is properly formatted.
+ @retval FALSE The option is malformatted.
**/
BOOLEAN
@@ -122,7 +122,7 @@ Ip6FillHopByHop (
@param[in] ExtHdrsLen The length of the extension headers.
@param[in] FragmentOffset The fragment offset of the data following the header.
@param[out] UpdatedExtHdrs The updated ExtHdrs with Fragment header inserted.
- It's caller's responsiblity to free this buffer.
+ It's caller's responsibility to free this buffer.
@retval EFI_OUT_OF_RESOURCES Failed to finish the operation due to lake of
resource.
@@ -179,7 +179,7 @@ Ip6CopyExts (
@param[in] OptionLen The length of the whole option.
@retval TRUE The option is properly formatted.
- @retval FALSE The option is malformated.
+ @retval FALSE The option is malformatted.
**/
BOOLEAN
diff --git a/NetworkPkg/Ip6Dxe/Ip6Output.c b/NetworkPkg/Ip6Dxe/Ip6Output.c
index fe642d3..8330e37 100644
--- a/NetworkPkg/Ip6Dxe/Ip6Output.c
+++ b/NetworkPkg/Ip6Dxe/Ip6Output.c
@@ -23,7 +23,7 @@ UINT32 mIp6Id;
@param[in] IpSb Points to an IP6 service binding instance.
@param[out] SourceList The list entry head of all source addresses.
- It is the caller's responsiblity to free the
+ It is the caller's responsibility to free the
resources.
@param[out] SourceCount The number of source addresses.
@@ -364,7 +364,7 @@ Ip6SysPacketSent (
@param[in] LastHeader The pointer of next header of last extension header.
@param[in] HeadLen The length of the unfragmented part of the IP6 header.
- @retval EFI_BAD_BUFFER_SIZE There is no enought room in the head space of
+ @retval EFI_BAD_BUFFER_SIZE There is no enough room in the head space of
Packet.
@retval EFI_SUCCESS The operation performed successfully.
@@ -726,7 +726,7 @@ Ip6Output (
}
//
- // Send out multicast neighbor solicitation for address resolution immediatly.
+ // Send out multicast neighbor solicitation for address resolution immediately.
//
Ip6CreateSNMulticastAddr (&NeighborCache->Neighbor, &Destination);
Status = Ip6SelectSourceAddress (IpSb, &NeighborCache->Neighbor, &Source);
@@ -809,7 +809,7 @@ Ip6Output (
//
// OK, selected the source and route, fragment the packet then send
// them. Tag each fragment other than the first one as spawn from it.
- // Each extension header is an integar multiple of 8 octets long, in
+ // Each extension header is an integer multiple of 8 octets long, in
// order to retain 8-octet alignment for subsequent headers.
//
Mtu = IpSb->MaxPacketSize + sizeof (EFI_IP6_HEADER);
diff --git a/NetworkPkg/IpSecDxe/IpSecCryptIo.c b/NetworkPkg/IpSecDxe/IpSecCryptIo.c
index dca4423..31fa4fb 100644
--- a/NetworkPkg/IpSecDxe/IpSecCryptIo.c
+++ b/NetworkPkg/IpSecDxe/IpSecCryptIo.c
@@ -45,7 +45,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED HASH_ALGORITHM mIpsecHashAlgorithmList[IPSEC_HASH_
BOOLEAN mInitialRandomSeed = FALSE;
/**
- Get the block size of specified encryption alogrithm.
+ Get the block size of specified encryption algorithm.
@param[in] AlgorithmId The encryption algorithm ID.
@@ -69,7 +69,7 @@ IpSecGetEncryptBlockSize (
}
/**
- Get the key length of the specified encryption alogrithm.
+ Get the key length of the specified encryption algorithm.
@param[in] AlgorithmId The encryption algorithm ID.
@@ -93,7 +93,7 @@ IpSecGetEncryptKeyLength (
}
/**
- Get the IV size of the specified encryption alogrithm.
+ Get the IV size of the specified encryption algorithm.
@param[in] AlgorithmId The encryption algorithm ID.
@@ -144,7 +144,7 @@ IpSecGetHmacDigestLength (
}
/**
- Get the ICV size of the specified Authenticaion alogrithm.
+ Get the ICV size of the specified Authenticaion algorithm.
@param[in] AlgorithmId The Authentication algorithm ID.
@@ -191,7 +191,7 @@ IpSecGenerateIv (
}
/**
- Get index of the specified encryption alogrithm from the mIpsecEncryptAlgorithemList.
+ Get index of the specified encryption algorithm from the mIpsecEncryptAlgorithmList.
@param[in] AlgorithmId The encryption algorithm ID.
@@ -215,7 +215,7 @@ IpSecGetIndexFromEncList (
}
/**
- Get index of the specified encryption alogrithm from the mIpsecAuthAlgorithemList.
+ Get index of the specified encryption algorithm from the mIpsecAuthAlgorithmList.
@param[in] AlgorithmId The encryption algorithm ID.
@@ -245,14 +245,14 @@ IpSecGetIndexFromAuthList (
Encrypt the buffer.
This function calls relevant encryption interface from CryptoLib according to
- the input alogrithm ID. The InData should be multiple of block size. This function
+ the input algorithm ID. The InData should be multiple of block size. This function
doesn't perform the padding. If it has the Ivec data, the length of it should be
same with the block size. The block size is different from the different algorithm.
- @param[in] AlgorithmId The Alogrithem identification defined in RFC.
+ @param[in] AlgorithmId The Algorithm identification defined in RFC.
@param[in] Key Pointer to the buffer containing encrypting key.
@param[in] KeyBits The length of the key in bits.
- @param[in] Ivec Point to the buffer containning the Initializeion
+ @param[in] Ivec Point to the buffer containing the Initialization
Vector (IV) data.
@param[in] InData Point to the buffer containing the data to be
encrypted.
@@ -331,14 +331,14 @@ IpSecCryptoIoEncrypt (
Decrypts the buffer.
This function calls relevant Decryption interface from CryptoLib according to
- the input alogrithm ID. The InData should be multiple of block size. This function
+ the input algorithm ID. The InData should be multiple of block size. This function
doesn't perform the padding. If it has the Ivec data, the length of it should be
same with the block size. The block size is different from the different algorithm.
- @param[in] AlgorithmId The Alogrithem identification defined in RFC.
+ @param[in] AlgorithmId The Algorithm identification defined in RFC.
@param[in] Key Pointer to the buffer containing encrypting key.
@param[in] KeyBits The length of the key in bits.
- @param[in] Ivec Point to the buffer containning the Initializeion
+ @param[in] Ivec Point to the buffer containing the Initialization
Vector (IV) data.
@param[in] InData Point to the buffer containing the data to be
decrypted.
@@ -417,9 +417,9 @@ IpSecCryptoIoDecrypt (
Digests the Payload with key and store the result into the OutData.
This function calls relevant Hmac interface from CryptoLib according to
- the input alogrithm ID. It computes all datas from InDataFragment and output
+ the input algorithm ID. It computes all datas from InDataFragment and output
the result into the OutData buffer. If the OutDataSize is larger than the related
- HMAC alogrithm output size, return EFI_INVALID_PARAMETER.
+ HMAC algorithm output size, return EFI_INVALID_PARAMETER.
@param[in] AlgorithmId The authentication Identification.
@param[in] Key Pointer of the authentication key.
@@ -540,9 +540,9 @@ Exit:
Digests the Payload and store the result into the OutData.
This function calls relevant Hash interface from CryptoLib according to
- the input alogrithm ID. It computes all datas from InDataFragment and output
+ the input algorithm ID. It computes all datas from InDataFragment and output
the result into the OutData buffer. If the OutDataSize is larger than the related
- Hash alogrithm output size, return EFI_INVALID_PARAMETER.
+ Hash algorithm output size, return EFI_INVALID_PARAMETER.
@param[in] AlgorithmId The authentication Identification.
@param[in] InDataFragment A list contains all data to be authenticated.
@@ -657,14 +657,14 @@ Exit:
Generates the Diffie-Hellman public key.
This function first initiate a DHContext, then call the DhSetParameter() to set
- the prime and primelenght, at end call the DhGenerateKey() to generates random
+ the prime and primelength, at end call the DhGenerateKey() to generates random
secret exponent, and computes the public key. The output returned via parameter
PublicKey and PublicKeySize. DH context is updated accordingly. If the PublicKey
buffer is too small to hold the public key, EFI_INVALID_PARAMETER is returned
and PublicKeySize is set to the required buffer size to obtain the public key.
@param[in, out] DhContext Pointer to the DH context.
- @param[in] Generator Vlaue of generator.
+ @param[in] Generator Value of generator.
@param[in] PrimeLength Length in bits of prime to be generated.
@param[in] Prime Pointer to the buffer to receive the generated
prime number.
@@ -673,7 +673,7 @@ Exit:
For out, the size of data returned in PublicKey
buffer in bytes.
- @retval EFI_SUCCESS The operation perfoms successfully.
+ @retval EFI_SUCCESS The operation performs successfully.
@retval Otherwise The operation is failed.
**/
@@ -725,7 +725,7 @@ Exit:
For out, the size of data returned in Key
buffer in bytes.
- @retval EFI_SUCCESS The operation perfoms successfully.
+ @retval EFI_SUCCESS The operation performs successfully.
@retval Otherwise The operation is failed.
**/
@@ -750,7 +750,7 @@ IpSecCryptoIoDhComputeKey (
@param[in, out] DhContext Pointer to the DH context to be freed.
- @retval EFI_SUCCESS The operation perfoms successfully.
+ @retval EFI_SUCCESS The operation performs successfully.
@retval EFI_INVALID_PARAMETER The DhContext is NULL.
**/
@@ -773,9 +773,9 @@ IpSecCryptoIoFreeDh (
If the Random Generator wasn't initiated, initiate it first, then call RandomBytes.
@param[out] OutBuffer Pointer to buffer to receive random value.
- @param[in] Bytes Size of randome bytes to generate.
+ @param[in] Bytes Size of random bytes to generate.
- @retval EFI_SUCCESS The operation perfoms successfully.
+ @retval EFI_SUCCESS The operation performs successfully.
@retval Otherwise The operation is failed.
**/
@@ -869,9 +869,9 @@ IpSecCryptoIoAuthDataWithCertificate (
@param[in] CertLen The size of Certificate in bytes.
@param[in] InCa Pointer to the CA certificate
@param[in] CaLen The size of CA certificate in bytes.
- @param[in] InData Pointer to octect message hash to be checked.
+ @param[in] InData Pointer to octet message hash to be checked.
@param[in] InDataSize Size of the message hash in bytes.
- @param[in] Singnature The pointer to the RSA PKCS1-V1_5 signature to be verifed.
+ @param[in] Singnature The pointer to the RSA PKCS1-V1_5 signature to be verified.
@param[in] SigSize Size of signature in bytes.
@retval TRUE Valid signature encoded in PKCS1-v1_5.
diff --git a/NetworkPkg/IpSecDxe/IpSecCryptIo.h b/NetworkPkg/IpSecDxe/IpSecCryptIo.h
index 0e106af..0ef83eb 100644
--- a/NetworkPkg/IpSecDxe/IpSecCryptIo.h
+++ b/NetworkPkg/IpSecDxe/IpSecCryptIo.h
@@ -104,7 +104,7 @@ BOOLEAN
);
/**
- Prototype of HMAC finallization.
+ Prototype of HMAC finalization.
Terminate a HMAC message digest operation and output the message digest.
If Context is NULL, then ASSERT().
@@ -139,7 +139,7 @@ UINTN
/**
Prototype of Block Cipher initiation.
- Intializes the user-supplied key as the specifed context (key materials) for both
+ Initializes the user-supplied key as the specified context (key materials) for both
encryption and decryption operations.
If Context is NULL, then ASSERT().
@@ -165,7 +165,7 @@ BOOLEAN
Encrypts plaintext message with the specified cipher.
If Context is NULL, then ASSERT().
- if InData is NULL, then ASSERT().
+ If InData is NULL, then ASSERT().
If Size of input data is not multiple of Cipher algorithm related block size,
then ASSERT().
@@ -193,7 +193,7 @@ BOOLEAN
Decrypts cipher message with specified cipher.
If Context is NULL, then ASSERT().
- if InData is NULL, then ASSERT().
+ If InData is NULL, then ASSERT().
If Size of input data is not a multiple of a certaion block size , then ASSERT().
@param[in] Context The specified Context.
@@ -256,7 +256,7 @@ BOOLEAN
This function performs digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- Context should be already correctly intialized by HashInit(), and should not be finalized
+ Context should be already correctly initialized by HashInit(), and should not be finalized
by HashFinal(). Behavior with invalid context is undefined.
If Context is NULL, then ASSERT().
@@ -285,7 +285,7 @@ BOOLEAN
This function completes hash computation and retrieves the digest value into
the specified memory. After this function has been called, the context cannot
be used again.
- context should be already correctly intialized by HashInit(), and should not be
+ context should be already correctly initialized by HashInit(), and should not be
finalized by HashFinal(). Behavior with invalid context is undefined.
If Context is NULL, then ASSERT().
@@ -339,13 +339,13 @@ typedef struct _ENCRYPT_ALGORITHM {
//
CRYPTO_CIPHER_ENCRYPT CipherEncrypt;
//
- // The Function pointer of Cipher Decrption.
+ // The Function pointer of Cipher Decryption.
//
CRYPTO_CIPHER_DECRYPT CipherDecrypt;
} ENCRYPT_ALGORITHM;
//
-// The struct used to store the information and operation of Autahentication algorithm.
+// The struct used to store the information and operation of Authentication algorithm.
//
typedef struct _AUTH_ALGORITHM {
//
@@ -383,7 +383,7 @@ typedef struct _AUTH_ALGORITHM {
} AUTH_ALGORITHM;
//
-// The struct used to store the informatino and operation of Hash algorithm.
+// The struct used to store the information and operation of Hash algorithm.
//
typedef struct _HASH_ALGORITHM {
//
@@ -421,7 +421,7 @@ typedef struct _HASH_ALGORITHM {
} HASH_ALGORITHM;
/**
- Get the IV size of specified encryption alogrithm.
+ Get the IV size of specified encryption algorithm.
@param[in] AlgorithmId The encryption algorithm ID.
@@ -434,7 +434,7 @@ IpSecGetEncryptIvLength (
);
/**
- Get the block size of specified encryption alogrithm.
+ Get the block size of specified encryption algorithm.
@param[in] AlgorithmId The encryption algorithm ID.
@@ -447,7 +447,7 @@ IpSecGetEncryptBlockSize (
);
/**
- Get the required key length of the specified encryption alogrithm.
+ Get the required key length of the specified encryption algorithm.
@param[in] AlgorithmId The encryption algorithm ID.
@@ -460,7 +460,7 @@ IpSecGetEncryptKeyLength (
);
/**
- Get the ICV size of the specified Authenticaion alogrithm.
+ Get the ICV size of the specified Authentication algorithm.
@param[in] AlgorithmId The Authentication algorithm ID.
@@ -475,7 +475,7 @@ IpSecGetIcvLength (
/**
Get the HMAC digest length by the specified Algorithm ID.
- @param[in] AlgorithmId The specified Alogrithm ID.
+ @param[in] AlgorithmId The specified Algorithm ID.
@return The digest length of the specified Authentication Algorithm ID.
@@ -505,14 +505,14 @@ IpSecGenerateIv (
Encrypt the buffer.
This function calls relevant encryption interface from CryptoLib according to
- the input alogrithm ID. The InData should be multiple of block size. This function
+ the input algorithm ID. The InData should be multiple of block size. This function
doesn't perform the padding. If it has the Ivec data, the length of it should be
same with the block size. The block size is different from the different algorithm.
- @param[in] AlgorithmId The Alogrithem identification defined in RFC.
+ @param[in] AlgorithmId The Algorithm identification defined in RFC.
@param[in] Key Pointer to the buffer containing encrypting key.
@param[in] KeyBits The length of the key in bits.
- @param[in] Ivec Point to the buffer containning the Initializeion
+ @param[in] Ivec Point to the buffer containing the Initialization
Vector (IV) data.
@param[in] InData Point to the buffer containing the data to be
encrypted.
@@ -540,14 +540,14 @@ IpSecCryptoIoEncrypt (
Decrypts the buffer.
This function calls relevant Decryption interface from CryptoLib according to
- the input alogrithm ID. The InData should be multiple of block size. This function
+ the input algorithm ID. The InData should be multiple of block size. This function
doesn't perform the padding. If it has the Ivec data, the length of it should be
same with the block size. The block size is different from the different algorithm.
- @param[in] AlgorithmId The Alogrithem identification defined in RFC.
+ @param[in] AlgorithmId The Algorithm identification defined in RFC.
@param[in] Key Pointer to the buffer containing encrypting key.
@param[in] KeyBits The length of the key in bits.
- @param[in] Ivec Point to the buffer containning the Initializeion
+ @param[in] Ivec Point to the buffer containing the Initialization
Vector (IV) data.
@param[in] InData Point to the buffer containing the data to be
decrypted.
@@ -575,9 +575,9 @@ IpSecCryptoIoDecrypt (
Digests the Payload with key and store the result into the OutData.
This function calls relevant Hmac interface from CryptoLib according to
- the input alogrithm ID. It computes all datas from InDataFragment and output
+ the input algorithm ID. It computes all datas from InDataFragment and output
the result into the OutData buffer. If the OutDataSize is larger than the related
- HMAC alogrithm output size, return EFI_INVALID_PARAMETER.
+ HMAC algorithm output size, return EFI_INVALID_PARAMETER.
@param[in] AlgorithmId The authentication Identification.
@param[in] Key Pointer of the authentication key.
@@ -609,9 +609,9 @@ IpSecCryptoIoHmac (
Digests the Payload and store the result into the OutData.
This function calls relevant Hash interface from CryptoLib according to
- the input alogrithm ID. It computes all datas from InDataFragment and output
+ the input algorithm ID. It computes all datas from InDataFragment and output
the result into the OutData buffer. If the OutDataSize is larger than the related
- Hash alogrithm output size, return EFI_INVALID_PARAMETER.
+ Hash algorithm output size, return EFI_INVALID_PARAMETER.
@param[in] AlgorithmId The authentication Identification.
@param[in] InDataFragment A list contains all data to be authenticated.
@@ -640,14 +640,14 @@ IpSecCryptoIoHash (
Generates the Diffie-Hellman public key.
This function first initiate a DHContext, then call the DhSetParameter() to set
- the prime and primelenght, at end call the DhGenerateKey() to generates random
+ the prime and primelength, at end call the DhGenerateKey() to generates random
secret exponent, and computes the public key. The output returned via parameter
PublicKey and PublicKeySize. DH context is updated accordingly. If the PublicKey
buffer is too small to hold the public key, EFI_INVALID_PARAMETER is returned
and PublicKeySize is set to the required buffer size to obtain the public key.
@param[in, out] DhContext Pointer to the DH context.
- @param[in] Generator Vlaue of generator.
+ @param[in] Generator Value of generator.
@param[in] PrimeLength Length in bits of prime to be generated.
@param[in] Prime Pointer to the buffer to receive the generated
prime number.
@@ -656,7 +656,7 @@ IpSecCryptoIoHash (
For out, the size of data returned in PublicKey
buffer in bytes.
- @retval EFI_SUCCESS The operation perfoms successfully.
+ @retval EFI_SUCCESS The operation performs successfully.
@retval Otherwise The operation is failed.
**/
@@ -684,7 +684,7 @@ IpSecCryptoIoDhGetPublicKey (
For out, the size of data returned in Key
buffer in bytes.
- @retval EFI_SUCCESS The operation perfoms successfully.
+ @retval EFI_SUCCESS The operation performs successfully.
@retval Otherwise The operation is failed.
**/
@@ -702,7 +702,7 @@ IpSecCryptoIoDhComputeKey (
@param[in, out] DhContext Pointer to the DH context to be freed.
- @retval EFI_SUCCESS The operation perfoms successfully.
+ @retval EFI_SUCCESS The operation performs successfully.
@retval EFI_INVALID_PARAMETER The DhContext is NULL.
**/
@@ -717,9 +717,9 @@ IpSecCryptoIoFreeDh (
If the Random Generator wasn't initiated, initiate it first, then call RandomBytes.
@param[out] OutBuffer Pointer to buffer to receive random value.
- @param[in] Bytes Size of randome bytes to generate.
+ @param[in] Bytes Size of random bytes to generate.
- @retval EFI_SUCCESS The operation perfoms successfully.
+ @retval EFI_SUCCESS The operation performs successfully.
@retval Otherwise The operation is failed.
**/
@@ -762,9 +762,9 @@ IpSecCryptoIoAuthDataWithCertificate (
@param[in] CertLen The size of Certificate in bytes.
@param[in] InCa Pointer to the CA certificate
@param[in] CaLen The size of CA certificate in bytes.
- @param[in] InData Pointer to octect message hash to be checked.
+ @param[in] InData Pointer to octet message hash to be checked.
@param[in] InDataSize Size of the message hash in bytes.
- @param[in] Singnature The pointer to the RSA PKCS1-V1_5 signature to be verifed.
+ @param[in] Singnature The pointer to the RSA PKCS1-V1_5 signature to be verified.
@param[in] SigSize Size of signature in bytes.
@retval TRUE Valid signature encoded in PKCS1-v1_5.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 24/33] Nt32Pkg: Fix typos in comments and variables
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (22 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 23/33] NetworkPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:50 ` Ni, Ruiyu
2016-10-19 7:01 ` [PATCH 25/33] OptionRomPkg: Fix typos in comments Gary Lin
` (10 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Ruiyu Ni
- discontiguous -> discontinuous
- reloaced -> relocated
- supresses -> suppresses
- debuging -> debugging
- suported -> supported
- availble -> available
- environmemt -> environment
- Seperator -> Separator
- remmeber -> remember
- interperted -> interpreted
- the a new -> the new
- initailized -> initialized
- attribue -> attribute
- boundry -> boundary
- nto -> not
- permenent -> permanent
- immediatly -> immediately
- excuted -> executed
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
Nt32Pkg/Include/Ppi/NtAutoscan.h | 2 +-
| 8 ++--
| 6 +--
Nt32Pkg/Sec/SecMain.c | 50 ++++++++++----------
Nt32Pkg/Sec/SecMain.h | 6 +--
Nt32Pkg/Sec/WinNtThunk.c | 2 +-
Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c | 2 +-
7 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/Nt32Pkg/Include/Ppi/NtAutoscan.h b/Nt32Pkg/Include/Ppi/NtAutoscan.h
index 49c0294..1891bb4 100644
--- a/Nt32Pkg/Include/Ppi/NtAutoscan.h
+++ b/Nt32Pkg/Include/Ppi/NtAutoscan.h
@@ -41,7 +41,7 @@ EFI_STATUS
Routine Description:
This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
- It allows discontiguous memory regions to be supported by the emulator.
+ It allows discontinuous memory regions to be supported by the emulator.
It uses gSystemMemory[] and gSystemMemoryCount that were created by
parsing the Windows environment variable EFI_MEMORY_SIZE.
The size comes from the varaible and the address comes from the call to
--git a/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c b/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c
index 524d6c0..2f62d65 100644
--- a/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c
+++ b/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c
@@ -290,7 +290,7 @@ PeCoffLoaderRelocateImageExtraAction (
// If we load our own PE COFF images the Windows debugger can not source
// level debug our code. If a valid PDB pointer exists usw it to load
// the *.dll file as a library using Windows* APIs. This allows
- // source level debug. The image is still loaded and reloaced
+ // source level debug. The image is still loaded and relocated
// in the Framework memory space like on a real system (by the code above),
// but the entry point points into the DLL loaded by the code bellow.
//
@@ -335,11 +335,11 @@ PeCoffLoaderRelocateImageExtraAction (
if (Library != NULL) {
//
// InitializeDriver is the entry point we put in all our EFI DLL's. The
- // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx() supresses the
+ // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx() suppresses the
// normal DLL entry point of DllMain, and prevents other modules that are
// referenced in side the DllFileName from being loaded. There is no error
// checking as the we can point to the PE32 image loaded by Tiano. This
- // step is only needed for source level debuging
+ // step is only needed for source level debugging
//
DllEntryPoint = (VOID *) (UINTN) mWinNt->GetProcAddress (Library, "InitializeDriver");
@@ -355,7 +355,7 @@ PeCoffLoaderRelocateImageExtraAction (
DEBUG ((EFI_D_ERROR, "WARNING: DLL already loaded. No source level debug %s. \n", DllFileName));
} else {
//
- // This DLL is not already loaded, so source level debugging is suported.
+ // This DLL is not already loaded, so source level debugging is supported.
//
ImageContext->EntryPoint = (EFI_PHYSICAL_ADDRESS) (UINTN) DllEntryPoint;
DEBUG ((EFI_D_INFO, "LoadLibraryEx (%s,\n NULL, DONT_RESOLVE_DLL_REFERENCES)\n", DllFileName));
--git a/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c b/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c
index b05834e..682446a 100644
--- a/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c
+++ b/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c
@@ -155,7 +155,7 @@ PeCoffLoaderRelocateImageExtraAction (
// If we load our own PE COFF images the Windows debugger can not source
// level debug our code. If a valid PDB pointer exists usw it to load
// the *.dll file as a library using Windows* APIs. This allows
- // source level debug. The image is still loaded and reloaced
+ // source level debug. The image is still loaded and relocated
// in the Framework memory space like on a real system (by the code above),
// but the entry point points into the DLL loaded by the code bellow.
//
@@ -200,11 +200,11 @@ PeCoffLoaderRelocateImageExtraAction (
if (Library != NULL) {
//
// InitializeDriver is the entry point we put in all our EFI DLL's. The
- // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx() supresses the
+ // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx() suppresses the
// normal DLL entry point of DllMain, and prevents other modules that are
// referenced in side the DllFileName from being loaded. There is no error
// checking as the we can point to the PE32 image loaded by Tiano. This
- // step is only needed for source level debuging
+ // step is only needed for source level debugging
//
DllEntryPoint = (VOID *) (UINTN) mWinNt->GetProcAddress (Library, "InitializeDriver");
diff --git a/Nt32Pkg/Sec/SecMain.c b/Nt32Pkg/Sec/SecMain.c
index e9f72df..80539fa 100644
--- a/Nt32Pkg/Sec/SecMain.c
+++ b/Nt32Pkg/Sec/SecMain.c
@@ -22,7 +22,7 @@ Abstract:
will be, how may FD's will be loaded and also what the boot mode is.
The SEC registers a set of services with the SEC core. gPrivateDispatchTable
- is a list of PPI's produced by the SEC that are availble for usage in PEI.
+ is a list of PPI's produced by the SEC that are available for usage in PEI.
This code produces 128 K of temporary memory for the PEI stack by directly
allocate memory space with ReadWrite and Execute attribute.
@@ -161,7 +161,7 @@ Routine Description:
Arguments:
Argc - Number of command line arguments
Argv - Array of command line argument strings
- Envp - Array of environmemt variable strings
+ Envp - Array of environment variable strings
Returns:
0 - Normal exit
@@ -228,7 +228,7 @@ Returns:
//
// Allocate space for gSystemMemory Array
//
- gSystemMemoryCount = CountSeperatorsInString (MemorySizeStr, '!') + 1;
+ gSystemMemoryCount = CountSeparatorsInString (MemorySizeStr, '!') + 1;
gSystemMemory = calloc (gSystemMemoryCount, sizeof (NT_SYSTEM_MEMORY));
if (gSystemMemory == NULL) {
SecPrint ("ERROR : Can not allocate memory for %S. Exiting.\n", MemorySizeStr);
@@ -237,7 +237,7 @@ Returns:
//
// Allocate space for gSystemMemory Array
//
- gFdInfoCount = CountSeperatorsInString (FirmwareVolumesStr, '!') + 1;
+ gFdInfoCount = CountSeparatorsInString (FirmwareVolumesStr, '!') + 1;
gFdInfo = calloc (gFdInfoCount, sizeof (NT_FD_INFO));
if (gFdInfo == NULL) {
SecPrint ("ERROR : Can not allocate memory for %S. Exiting.\n", FirmwareVolumesStr);
@@ -291,7 +291,7 @@ Returns:
}
//
- // Open the FD and remmeber where it got mapped into our processes address space
+ // Open the FD and remember where it got mapped into our processes address space
//
Status = WinNtOpenFile (
FileName,
@@ -307,7 +307,7 @@ Returns:
SecPrint (" FD loaded from");
//
- // printf can't print filenames directly as the \ gets interperted as an
+ // printf can't print filenames directly as the \ gets interpreted as an
// escape character.
//
for (Index2 = 0; FileName[Index2] != '\0'; Index2++) {
@@ -385,7 +385,7 @@ Arguments:
CreationDisposition - The flags to pass to CreateFile(). Use to create new files for
memory emulation, and exiting files for firmware volume emulation
BaseAddress - The base address of the mapped file in the user address space.
- If passed in as NULL the a new memory region is used.
+ If passed in as NULL the new memory region is used.
If passed in as non NULL the request memory region is used for
the mapping of the file into the process space.
Length - The size of the mapped region in bytes
@@ -701,7 +701,7 @@ SecWinNtPeiAutoScan (
Routine Description:
This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
- It allows discontiguous memory regions to be supported by the emulator.
+ It allows discontinuous memory regions to be supported by the emulator.
It uses gSystemMemory[] and gSystemMemoryCount that were created by
parsing PcdWinNtMemorySizeForSecMain value.
The size comes from the Pcd value and the address comes from the memory space
@@ -746,7 +746,7 @@ SecWinNtWinNtThunkAddress (
Routine Description:
Since the SEC is the only Windows program in stack it must export
an interface to do Win API calls. That's what the WinNtThunk address
- is for. gWinNt is initailized in WinNtThunk.c.
+ is for. gWinNt is initialized in WinNtThunk.c.
Arguments:
InterfaceSize - sizeof (EFI_WIN_NT_THUNK_PROTOCOL);
@@ -799,7 +799,7 @@ Returns:
return Status;
}
//
- // Allocate space in NT (not emulator) memory with ReadWrite and Execute attribue.
+ // Allocate space in NT (not emulator) memory with ReadWrite and Execute attribute.
// Extra space is for alignment
//
ImageContext.ImageAddress = (EFI_PHYSICAL_ADDRESS) (UINTN) VirtualAlloc (NULL, (SIZE_T) (ImageContext.ImageSize + (ImageContext.SectionAlignment * 2)), MEM_COMMIT, PAGE_EXECUTE_READWRITE);
@@ -807,7 +807,7 @@ Returns:
return EFI_OUT_OF_RESOURCES;
}
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)ImageContext.SectionAlignment - 1);
@@ -853,7 +853,7 @@ Arguments:
Returns:
EFI_SUCCESS - Return the Base address and size of the FV
- EFI_UNSUPPORTED - Index does nto map to an FD in the system
+ EFI_UNSUPPORTED - Index does not map to an FD in the system
--*/
{
@@ -956,28 +956,28 @@ Returns:
}
UINTN
-CountSeperatorsInString (
+CountSeparatorsInString (
IN CONST CHAR16 *String,
- IN CHAR16 Seperator
+ IN CHAR16 Separator
)
/*++
Routine Description:
- Count the number of seperators in String
+ Count the number of separators in String
Arguments:
String - String to process
- Seperator - Item to count
+ Separator - Item to count
Returns:
- Number of Seperator in String
+ Number of Separator in String
--*/
{
UINTN Count;
for (Count = 0; *String != '\0'; String++) {
- if (*String == Seperator) {
+ if (*String == Separator) {
Count++;
}
}
@@ -1010,7 +1010,7 @@ SecNt32PeCoffRelocateImage (
// If we load our own PE COFF images the Windows debugger can not source
// level debug our code. If a valid PDB pointer exists usw it to load
// the *.dll file as a library using Windows* APIs. This allows
- // source level debug. The image is still loaded and reloaced
+ // source level debug. The image is still loaded and relocated
// in the Framework memory space like on a real system (by the code above),
// but the entry point points into the DLL loaded by the code bellow.
//
@@ -1055,11 +1055,11 @@ SecNt32PeCoffRelocateImage (
if (Library != NULL) {
//
// InitializeDriver is the entry point we put in all our EFI DLL's. The
- // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx() supresses the
+ // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx() suppresses the
// normal DLL entry point of DllMain, and prevents other modules that are
// referenced in side the DllFileName from being loaded. There is no error
// checking as the we can point to the PE32 image loaded by Tiano. This
- // step is only needed for source level debuging
+ // step is only needed for source level debugging
//
DllEntryPoint = (VOID *) (UINTN) GetProcAddress (Library, "InitializeDriver");
@@ -1103,7 +1103,7 @@ SecTemporaryRamSupport (
)
{
//
- // Migrate the whole temporary memory to permenent memory.
+ // Migrate the whole temporary memory to permanent memory.
//
CopyMem (
(VOID*)(UINTN)PermanentMemoryBase,
@@ -1113,8 +1113,8 @@ SecTemporaryRamSupport (
//
// SecSwitchStack function must be invoked after the memory migration
- // immediatly, also we need fixup the stack change caused by new call into
- // permenent memory.
+ // immediately, also we need fixup the stack change caused by new call into
+ // permanent memory.
//
SecSwitchStack (
(UINT32) TemporaryMemoryBase,
@@ -1123,7 +1123,7 @@ SecTemporaryRamSupport (
//
// We need *not* fix the return address because currently,
- // The PeiCore is excuted in flash.
+ // The PeiCore is executed in flash.
//
//
diff --git a/Nt32Pkg/Sec/SecMain.h b/Nt32Pkg/Sec/SecMain.h
index 76522e3..8b19878 100644
--- a/Nt32Pkg/Sec/SecMain.h
+++ b/Nt32Pkg/Sec/SecMain.h
@@ -524,9 +524,9 @@ Returns:
;
UINTN
-CountSeperatorsInString (
+CountSeparatorsInString (
IN CONST CHAR16 *String,
- IN CHAR16 Seperator
+ IN CHAR16 Separator
)
/*++
@@ -537,7 +537,7 @@ Routine Description:
Arguments:
String - TODO: add argument description
- Seperator - TODO: add argument description
+ Separator - TODO: add argument description
Returns:
diff --git a/Nt32Pkg/Sec/WinNtThunk.c b/Nt32Pkg/Sec/WinNtThunk.c
index 9ab380c..3159ef4 100644
--- a/Nt32Pkg/Sec/WinNtThunk.c
+++ b/Nt32Pkg/Sec/WinNtThunk.c
@@ -42,7 +42,7 @@ Abstract:
// point could be modified dynamically. The SEC does not do that, so we must
// disable the warning so we can compile the SEC. The previous method was to
// asign each element in code. The disadvantage to that approach is it's harder
-// to tell if all the elements have been initailized properly.
+// to tell if all the elements have been initialized properly.
//
#pragma warning(disable : 4232)
#pragma warning(disable : 4996)
diff --git a/Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c b/Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c
index 20774ee..8cd9188 100644
--- a/Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c
+++ b/Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c
@@ -48,7 +48,7 @@ Routine Description:
Perform a call-back into the SEC simulator to get address of the Firmware Hub
Arguments:
- FfsHeader - Ffs Header availible to every PEIM
+ FfsHeader - Ffs Header available to every PEIM
PeiServices - General purpose services available to every PEIM.
Returns:
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 25/33] OptionRomPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (23 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 24/33] Nt32Pkg: Fix typos in comments and variables Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:51 ` Ni, Ruiyu
2016-10-19 7:01 ` [PATCH 26/33] OvmfPkg: " Gary Lin
` (9 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Ruiyu Ni
- stoping -> stopping
- Sumbit -> Submit
- pionter -> pointer
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c | 6 +++---
OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h | 4 ++--
OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
index 3578a1e..d2431b7 100644
--- a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
+++ b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
@@ -300,7 +300,7 @@ AtapiScsiPassThruDriverBindingStop (
Routine Description:
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
Arguments:
@@ -1885,11 +1885,11 @@ RequestSenseCommand (
Routine Description:
- Sumbit request sense command
+ Submit request sense command
Arguments:
- AtapiScsiPrivate - The pionter of ATAPI_SCSI_PASS_THRU_DEV
+ AtapiScsiPrivate - The pointer of ATAPI_SCSI_PASS_THRU_DEV
Target - The target ID
Timeout - The time to complete the command
SenseData - The buffer to fill in sense data
diff --git a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h
index e1f1759..8ae6542 100644
--- a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h
+++ b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h
@@ -1119,11 +1119,11 @@ RequestSenseCommand (
Routine Description:
- Sumbit request sense command
+ Submit request sense command
Arguments:
- AtapiScsiPrivate - The pionter of ATAPI_SCSI_PASS_THRU_DEV
+ AtapiScsiPrivate - The pointer of ATAPI_SCSI_PASS_THRU_DEV
Target - The target ID
Timeout - The time to complete the command
SenseData - The buffer to fill in sense data
diff --git a/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c b/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c
index 0a3dd75..c03606b 100644
--- a/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c
+++ b/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c
@@ -1370,7 +1370,7 @@ GetControlBitsInternal (
/**
Resets the USB Serial Device
- This function is the internal method for reseting the device and is called by
+ This function is the internal method for resetting the device and is called by
SerialReset()
@param UsbSerialDevice[in] A pointer to the USB Serial device
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 26/33] OvmfPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (24 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 25/33] OptionRomPkg: Fix typos in comments Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:01 ` [PATCH 27/33] QuarkPlatformPkg: " Gary Lin
` (8 subsequent siblings)
34 siblings, 0 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Jordan Justen, Laszlo Ersek
- Incude -> Include
- futhure -> future
- Predfined -> Predefined
- minimue -> minimum
- predeined -> predefined
- excute -> execute
- dirver -> driver
- inforamtion -> information
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 14 +++++++-------
OvmfPkg/Sec/SecMain.c | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
index 74cb5a4..bd1a439 100644
--- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
+++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
@@ -342,7 +342,7 @@ PlatformBootManagerBeforeConsole (
Routine Description:
- Platform Bds init. Incude the platform firmware vendor, revision
+ Platform Bds init. Include the platform firmware vendor, revision
and so crc check.
Arguments:
@@ -566,7 +566,7 @@ GetGopDevicePath (
}
//
- // Try to connect this handle, so that GOP dirver could start on this
+ // Try to connect this handle, so that GOP driver could start on this
// device and create child handles with GraphicsOutput Protocol installed
// on them, then we get device paths of these child handles and select
// them as possible console device.
@@ -598,7 +598,7 @@ GetGopDevicePath (
// In current implementation, we only enable one of the child handles
// as console device, i.e. sotre one of the child handle's device
// path to variable "ConOut"
- // In futhure, we could select all child handles to be console device
+ // In future, we could select all child handles to be console device
//
*GopDevicePath = TempDevicePath;
@@ -915,7 +915,7 @@ Routine Description:
Arguments:
- PlatformConsole - Predfined platform default console device array.
+ PlatformConsole - Predefined platform default console device array.
--*/
{
UINTN Index;
@@ -936,7 +936,7 @@ Arguments:
//
// Have chance to connect the platform default console,
- // the platform default console is the minimue device group
+ // the platform default console is the minimum device group
// the platform should support
//
for (Index = 0; PlatformConsole[Index].DevicePath != NULL; ++Index) {
@@ -1327,7 +1327,7 @@ PlatformBdsConnectSequence (
Routine Description:
- Connect with predeined platform connect sequence,
+ Connect with predefined platform connect sequence,
the OEM/IBV can customize with their own connect sequence.
Arguments:
@@ -1409,7 +1409,7 @@ PlatformBootManagerAfterConsole (
Routine Description:
- The function will excute with as the platform policy, current policy
+ The function will execute with as the platform policy, current policy
is driven by boot mode. IBV/OEM can customize this code for their specific
policy action.
diff --git a/OvmfPkg/Sec/SecMain.c b/OvmfPkg/Sec/SecMain.c
index 464de10..e1993ec 100644
--- a/OvmfPkg/Sec/SecMain.c
+++ b/OvmfPkg/Sec/SecMain.c
@@ -669,7 +669,7 @@ FindImageBase (
/*
Find and return Pei Core entry point.
- It also find SEC and PEI Core file debug inforamtion. It will report them if
+ It also find SEC and PEI Core file debug information. It will report them if
remote debug is enabled.
**/
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 27/33] QuarkPlatformPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (25 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 26/33] OvmfPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-25 20:53 ` Kinney, Michael D
2016-10-19 7:01 ` [PATCH 28/33] QuarkSocPkg: " Gary Lin
` (7 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Michael D Kinney, Kelly Steele
- TURE -> TRUE
- reseting -> resetting
- retore -> restore
- boundry -> boundary
- tempory -> temporary
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Kelly Steele <kelly.steele@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c | 6 +++---
QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c | 2 +-
QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c | 2 +-
QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c | 6 +++---
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c b/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c
index 96af046..28d7016 100644
--- a/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c
+++ b/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c
@@ -87,7 +87,7 @@ SdtGetInteger (
@param OpCode Expected OpCode
@param SubOpCode Expected SubOpCode
- @retval TURE This handle has expected opcode
+ @retval TRUE This handle has expected opcode
@retval FALSE This handle does not have expected opcode
**/
BOOLEAN
@@ -127,7 +127,7 @@ SdtIsThisTypeObject (
@param Name Expected name
@param Value Expected name value
- @retval TURE This handle has expected name and name value.
+ @retval TRUE This handle has expected name and name value.
@retval FALSE This handle does not have expected name and name value.
**/
BOOLEAN
@@ -176,7 +176,7 @@ SdtIsNameIntegerValueEqual (
@param Name Expected name
@param Value Expected name value
- @retval TURE This handle's children has expected name and name value.
+ @retval TRUE This handle's children has expected name and name value.
@retval FALSE This handle's children does not have expected name and name value.
**/
BOOLEAN
diff --git a/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c b/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c
index a1a18c9..63f8ae5 100644
--- a/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c
+++ b/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c
@@ -225,7 +225,7 @@ BootScriptExecutorEntryPoint (
}
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);
diff --git a/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c b/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c
index 321cf62..7df7459 100644
--- a/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c
+++ b/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c
@@ -501,7 +501,7 @@ RestoreQncS3SwCallback (
/*++
Routine Description:
- SMI handler to retore QncS3 code & context for S3 path
+ SMI handler to restore QncS3 code & context for S3 path
This will be only triggered when BootScript got executed during resume
Arguments:
diff --git a/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c b/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c
index 0f71b1f..88b50c1 100644
--- a/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c
+++ b/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c
@@ -142,7 +142,7 @@ SetLanControllerMacAddr (
SaveBarReg = PciRead32 (DevPcieAddr + R_IOH_MAC_MEMBAR);
//
- // Use predefined tempory memory resource
+ // Use predefined temporary memory resource
//
PciWrite32 ( DevPcieAddr + R_IOH_MAC_MEMBAR, Bar0);
PciWrite8 ( DevPcieAddr + PCI_COMMAND_OFFSET, EFI_PCI_COMMAND_MEMORY_SPACE);
@@ -800,7 +800,7 @@ CheckForResetDueToErrors (
//
// Check if RMU reset system due to access violations.
- // RMU updates a SOC Unit register before reseting the system.
+ // RMU updates a SOC Unit register before resetting the system.
//
RegValue = QNCAltPortRead (QUARK_SCSS_SOC_UNIT_SB_PORT_ID, QUARK_SCSS_SOC_UNIT_CFG_STICKY_RW);
if ((RegValue & B_CFG_STICKY_RW_VIOLATION) != 0) {
@@ -1048,7 +1048,7 @@ EarlyPlatformGpioCtrlerInitAndManipulation (
SaveBarReg = PciRead32 (DevPcieAddr + PcdGet8 (PcdIohGpioBarRegister));
//
- // Use predefined tempory memory resource.
+ // Use predefined temporary memory resource.
//
PciWrite32 ( DevPcieAddr + PcdGet8 (PcdIohGpioBarRegister), IohGpioBase);
PciWrite8 ( DevPcieAddr + PCI_COMMAND_OFFSET, EFI_PCI_COMMAND_MEMORY_SPACE);
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 28/33] QuarkSocPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (26 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 27/33] QuarkPlatformPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-25 21:00 ` Kinney, Michael D
2016-10-19 7:01 ` [PATCH 29/33] SecurityPkg: " Gary Lin
` (6 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Michael D Kinney, Kelly Steele
- paramter -> parameter
- reseting -> resetting
- stoping -> stopping
- hanlder -> handler
- boundry -> boundary
- tempory -> temporary
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Kelly Steele <kelly.steele@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c | 2 +-
QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c | 2 +-
QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c | 2 +-
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c | 4 ++--
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h | 2 +-
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c | 2 +-
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h | 2 +-
QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c | 4 ++--
QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h | 2 +-
9 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c b/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c
index 9d04a29..1cdf6cb 100644
--- a/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c
+++ b/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c
@@ -582,7 +582,7 @@ MtrrGetMemoryAttributeInVariableMtrrWorker (
@param[in] MtrrValidAddressMask The valid address mask for MTRR
@param[out] VariableMtrr The array to shadow variable MTRRs content
- @return The return value of this paramter indicates the
+ @return The return value of this parameter indicates the
number of MTRRs which has been used.
**/
diff --git a/QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c b/QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c
index 9290311..6e67635 100644
--- a/QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c
+++ b/QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c
@@ -312,7 +312,7 @@ Returns:
Status = PcdSet64S (PcdQncS3CodeInLockBoxSize, (UINT64)mQncS3ImageSize);
ASSERT_EFI_ERROR (Status);
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;
if (ImageContext.SectionAlignment != 0) {
diff --git a/QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c b/QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c
index a48a2a4..67b9249 100644
--- a/QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c
+++ b/QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c
@@ -87,7 +87,7 @@ ReadIohGpioValues (
DEBUG ((EFI_D_INFO, "SC GPIO temporary enable at %08X\n", TempBarAddr));
- // Use predefined tempory memory resource.
+ // Use predefined temporary memory resource.
PciWrite32 ( GipAddr + PcdGet8 (PcdIohGpioBarRegister), TempBarAddr);
PciWrite8 ( GipAddr + PCI_COMMAND_OFFSET, EFI_PCI_COMMAND_MEMORY_SPACE);
diff --git a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c
index 96c8774..808b00b 100644
--- a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c
+++ b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c
@@ -1156,7 +1156,7 @@ ResetSDHost (
//
// To improve SD stability, we zero the MMIO_CLKCTL register and
- // stall for 50 microseconds before reseting the controller. We
+ // stall for 50 microseconds before resetting the controller. We
// restore the register setting following the reset operation.
//
PciIo->Mem.Read (
@@ -1713,7 +1713,7 @@ Exit:
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h
index d5302ba..5b0e1db 100644
--- a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h
+++ b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h
@@ -117,7 +117,7 @@ SDControllerStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c
index 1a0682c..21090be 100644
--- a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c
+++ b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c
@@ -247,7 +247,7 @@ Exit:
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h
index 1550429..f7c8b86 100644
--- a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h
+++ b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h
@@ -155,7 +155,7 @@ SDMediaDeviceStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c b/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c
index e19d4d8..930f597 100644
--- a/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c
+++ b/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c
@@ -2203,7 +2203,7 @@ OhciCleanDevUp (
One notified function to stop the Host Controller when gBS->ExitBootServices() called.
@param Event Pointer to this event
- @param Context Event hanlder private data
+ @param Context Event handler private data
**/
VOID
EFIAPI
@@ -2429,7 +2429,7 @@ CLOSE_PCIIO:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h b/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h
index 1bfe4a8..56a1cdb 100644
--- a/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h
+++ b/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h
@@ -645,7 +645,7 @@ OHCIDriverBindingStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 29/33] SecurityPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (27 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 28/33] QuarkSocPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-27 1:29 ` Zhang, Chao B
2016-11-14 3:12 ` Zhang, Chao B
2016-10-19 7:01 ` [PATCH 30/33] ShellPkg: Fix typos in comments and variables Gary Lin
` (5 subsequent siblings)
34 siblings, 2 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Chao Zhang
- intialized -> initialized
- TURE -> TRUE
- successull -> successfully
- hanlder -> handler
- funciton -> function
- Seperator -> Separator
- Sumbit -> Submit
Cc: Chao Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c | 2 +-
SecurityPkg/Include/Library/TcgPpVendorLib.h | 4 ++--
SecurityPkg/Include/Library/TcgStorageOpalLib.h | 2 +-
SecurityPkg/Include/Library/TrEEPpVendorLib.h | 4 ++--
SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c | 6 +++---
| 2 +-
| 2 +-
SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c | 2 +-
SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 2 +-
SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c | 2 +-
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 2 +-
SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 2 +-
SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c | 2 +-
SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c | 2 +-
SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h | 2 +-
15 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
index ab34de7..93e3273 100644
--- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
+++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
@@ -64,7 +64,7 @@ BOOLEAN
This function performs Hash digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- Hash context should be already correctly intialized by HashInit(), and should not be finalized
+ Hash context should be already correctly initialized by HashInit(), and should not be finalized
by HashFinal(). Behavior with invalid context is undefined.
If HashContext is NULL, then return FALSE.
diff --git a/SecurityPkg/Include/Library/TcgPpVendorLib.h b/SecurityPkg/Include/Library/TcgPpVendorLib.h
index 08b3690..284aa9e 100644
--- a/SecurityPkg/Include/Library/TcgPpVendorLib.h
+++ b/SecurityPkg/Include/Library/TcgPpVendorLib.h
@@ -42,8 +42,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define TCG_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
//
-// The return code for Sumbit TPM Request to Pre-OS Environment
-// and Sumbit TPM Request to Pre-OS Environment 2
+// The return code for Submit TPM Request to Pre-OS Environment
+// and Submit TPM Request to Pre-OS Environment 2
//
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1
diff --git a/SecurityPkg/Include/Library/TcgStorageOpalLib.h b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
index 108affc..9b64a8e 100644
--- a/SecurityPkg/Include/Library/TcgStorageOpalLib.h
+++ b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
@@ -290,7 +290,7 @@ OpalGlobalLockingRangeGenKey(
/**
The function updates the ReadLocked and WriteLocked columns of the Global Locking Range.
- This funciton is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
+ This function is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
(not ReadLockEnabled and WriteLockEnabled columns).
@param[in] LockingSpSession OPAL_SESSION with OPAL_UID_LOCKING_SP to generate key
diff --git a/SecurityPkg/Include/Library/TrEEPpVendorLib.h b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
index d3a0767..f0dcfd9 100644
--- a/SecurityPkg/Include/Library/TrEEPpVendorLib.h
+++ b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
@@ -45,8 +45,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define TREE_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
//
-// The return code for Sumbit TPM Request to Pre-OS Environment
-// and Sumbit TPM Request to Pre-OS Environment 2
+// The return code for Submit TPM Request to Pre-OS Environment
+// and Submit TPM Request to Pre-OS Environment 2
//
#define TREE_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
#define TREE_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1
diff --git a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
index 142b546..02a87f9 100644
--- a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
+++ b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
@@ -469,7 +469,7 @@ Done:
@param[in] DevicePath Points to device path.
@param[in] AccessType The type of user access control.
- @retval TURE The DevicePath is in the specified List.
+ @retval TRUE The DevicePath is in the specified List.
@retval FALSE The DevicePath is not in the specified List.
**/
@@ -512,7 +512,7 @@ IsDevicePathInList (
@param[in] DevicePath Points to device path
- @retval TURE The image pointed by DevicePath is permitted to load.
+ @retval TRUE The image pointed by DevicePath is permitted to load.
@retval FALSE The image pointed by DevicePath is forbidden to load.
**/
@@ -545,7 +545,7 @@ VerifyDevicePath (
@param[in] DevicePath Points to device path.
- @retval TURE The image pointed by DevicePath is a boot option.
+ @retval TRUE The image pointed by DevicePath is a boot option.
@retval FALSE The image pointed by DevicePath is not a boot option.
**/
--git a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
index 5f5d242..39768fb 100644
--- a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
+++ b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
@@ -59,7 +59,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
@param SectionAttribute The attribute of the input guided section.
@retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and
- the attribute of the input section are successull retrieved.
+ the attribute of the input section are successfully retrieved.
@retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.
**/
--git a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
index 4733703..ba1c700 100644
--- a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
+++ b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
@@ -57,7 +57,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
@param SectionAttribute The attribute of the input guided section.
@retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and
- the attribute of the input section are successull retrieved.
+ the attribute of the input section are successfully retrieved.
@retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.
**/
diff --git a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
index 30808cd..286f5b6 100644
--- a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
+++ b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
@@ -881,7 +881,7 @@ TcgIsProtocolSupported(
@param Discovery
- @retval TURE if lock, FALSE if not lock.
+ @retval TRUE if lock, FALSE if not lock.
**/
BOOLEAN
EFIAPI
diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
index a0eac33..90cc51a 100644
--- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
+++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
@@ -1055,7 +1055,7 @@ OpalGlobalLockingRangeGenKey(
/**
The function updates the ReadLocked and WriteLocked columns of the Global Locking Range.
- This funciton is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
+ This function is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
(not ReadLockEnabled and WriteLockEnabled columns).
@param[in] LockingSpSession OPAL_SESSION with OPAL_UID_LOCKING_SP to generate key
diff --git a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
index 9bf1ced..bd12d5a 100644
--- a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
+++ b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
@@ -406,7 +406,7 @@ OpalDriverGetDeviceList(
ReadyToBoot callback to send BlockSid command.
@param Event Pointer to this event
- @param Context Event hanlder private Data
+ @param Context Event handler private Data
**/
VOID
diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
index db8d662..804929e 100644
--- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
+++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
@@ -2073,7 +2073,7 @@ OnReadyToBoot (
for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
Status = MeasureSeparatorEvent (PcrIndex);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
+ DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
}
}
diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
index 0d7e32a..3e6d87b 100644
--- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
+++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
@@ -1160,7 +1160,7 @@ OnReadyToBoot (
for (PcrIndex = 0; PcrIndex < 8; PcrIndex++) {
Status = MeasureSeparatorEvent (PcrIndex);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
+ DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
}
}
diff --git a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
index fb69fa1..fa51b64 100644
--- a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
+++ b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
@@ -1500,7 +1500,7 @@ OnReadyToBoot (
for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
Status = MeasureSeparatorEvent (PcrIndex);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
+ DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
}
}
diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
index 9f157f8..8382744 100644
--- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
+++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
@@ -409,7 +409,7 @@ CheckNewIdentityPolicy (
/**
Save the identity policy and update UI with it.
- This funciton will verify the new identity policy, in current implementation,
+ This function will verify the new identity policy, in current implementation,
the identity policy can be: T, P & P & P & ..., P | P | P | ...
Here, "T" means "True", "P" means "Credential Provider", "&" means "and", "|" means "or".
Other identity policies are not supported.
diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
index afa420e..6491dc2 100644
--- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
+++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
@@ -254,7 +254,7 @@ AddIdentityPolicyItem (
/**
Save the identity policy and update UI with it.
- This funciton will verify the new identity policy, in current implementation,
+ This function will verify the new identity policy, in current implementation,
the identity policy can be: T, P & P & P & ..., P | P | P | ...
Here, "T" means "True", "P" means "Credential Provider", "&" means "and", "|" means "or".
Other identity policies are not supported.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 30/33] ShellPkg: Fix typos in comments and variables
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (28 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 29/33] SecurityPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:51 ` Ni, Ruiyu
2016-10-19 7:01 ` [PATCH 31/33] SourceLevelDebugPkg: Fix typos in comments Gary Lin
` (4 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Jaben Carsey, Ruiyu Ni
- funciton -> function
- paramter -> parameter
- supresses -> suppresses
- Seperator -> Separator
- permenant -> permanent
Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
ShellPkg/Include/Library/ShellCEntryLib.h | 2 +-
ShellPkg/Include/Library/ShellCommandLib.h | 2 +-
ShellPkg/Include/Protocol/EfiShellEnvironment2.h | 2 +-
ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c | 2 +-
ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c | 10 +++++-----
ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c | 2 +-
ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c | 8 ++++----
ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 8 ++++----
8 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/ShellPkg/Include/Library/ShellCEntryLib.h b/ShellPkg/Include/Library/ShellCEntryLib.h
index dfbb16f..e4983f8 100644
--- a/ShellPkg/Include/Library/ShellCEntryLib.h
+++ b/ShellPkg/Include/Library/ShellCEntryLib.h
@@ -1,5 +1,5 @@
/** @file
- Provides application point extension for "C" style main funciton.
+ Provides application point extension for "C" style main function.
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
diff --git a/ShellPkg/Include/Library/ShellCommandLib.h b/ShellPkg/Include/Library/ShellCommandLib.h
index 3ee8200..5ff1e4f 100644
--- a/ShellPkg/Include/Library/ShellCommandLib.h
+++ b/ShellPkg/Include/Library/ShellCommandLib.h
@@ -2,7 +2,7 @@
Provides interface to shell internal functions for shell commands.
This library is for use ONLY by shell commands linked into the shell application.
- This library will not funciton if it is used for UEFI Shell 2.0 Applications.
+ This library will not function if it is used for UEFI Shell 2.0 Applications.
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
diff --git a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
index 1aa1b7e..ac6c6a0 100644
--- a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
+++ b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
@@ -124,7 +124,7 @@ GUID for the shell environment2 extension (main GUID above).
@param[in] ParentImageHandle Handle of the image executing this operation.
@param[in] CommandLine The string command line to execute.
@param[in] DebugOutput TRUE indicates that errors should be printed directly.
- FALSE supresses error messages.
+ FALSE suppresses error messages.
@retval EFI_SUCCESS The command line executed and completed.
@retval EFI_ABORTED The operation aborted.
diff --git a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
index 525c1f1..faed230 100644
--- a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
+++ b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
@@ -1,5 +1,5 @@
/** @file
- Provides application point extension for "C" style main funciton
+ Provides application point extension for "C" style main function
Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
index 00a4c10..e07304c 100644
--- a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
+++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
@@ -130,7 +130,7 @@ IsDriverProt (
@param[in] TheHandle The handles to show info on.
@param[in] Language Language string per UEFI specification.
- @param[in] Seperator Separator string between information blocks.
+ @param[in] Separator Separator string between information blocks.
@param[in] Verbose TRUE for extra info, FALSE otherwise.
@param[in] ExtraInfo TRUE for extra info, FALSE otherwise.
@@ -141,7 +141,7 @@ CHAR16*
GetProtocolInfoString(
IN CONST EFI_HANDLE TheHandle,
IN CONST CHAR8 *Language,
- IN CONST CHAR16 *Seperator,
+ IN CONST CHAR16 *Separator,
IN CONST BOOLEAN Verbose,
IN CONST BOOLEAN ExtraInfo
)
@@ -169,7 +169,7 @@ GetProtocolInfoString(
if (Temp != NULL) {
ASSERT((RetVal == NULL && Size == 0) || (RetVal != NULL));
if (Size != 0) {
- StrnCatGrow(&RetVal, &Size, Seperator, 0);
+ StrnCatGrow(&RetVal, &Size, Separator, 0);
}
StrnCatGrow(&RetVal, &Size, L"%H", 0);
StrnCatGrow(&RetVal, &Size, Temp, 0);
@@ -185,7 +185,7 @@ GetProtocolInfoString(
StrnCatGrow(&RetVal, &Size, Temp, 0);
StrnCatGrow(&RetVal, &Size, L")\r\n", 0);
} else {
- StrnCatGrow(&RetVal, &Size, Seperator, 0);
+ StrnCatGrow(&RetVal, &Size, Separator, 0);
StrnCatGrow(&RetVal, &Size, Temp, 0);
}
FreePool(Temp);
@@ -201,7 +201,7 @@ GetProtocolInfoString(
}
ASSERT((RetVal == NULL && Size == 0) || (RetVal != NULL));
- StrnCatGrow(&RetVal, &Size, Seperator, 0);
+ StrnCatGrow(&RetVal, &Size, Separator, 0);
return (RetVal);
}
diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c
index 1491ee9..7948e53 100644
--- a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c
+++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c
@@ -99,7 +99,7 @@ ShellLevel2CommandsLibConstructor (
ShellCommandRegisterCommandName(L"vol", ShellCommandRunVol , ShellCommandGetManFileNameLevel2, 2, L"", TRUE, gShellLevel2HiiHandle, STRING_TOKEN(STR_GET_HELP_VOL) );
//
- // support for permenant (built in) aliases
+ // support for permanent (built in) aliases
//
ShellCommandRegisterAlias(L"rm", L"del");
ShellCommandRegisterAlias(L"ls", L"dir");
diff --git a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
index 38625fe..70d9d9a 100644
--- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
+++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
@@ -1492,7 +1492,7 @@ ShellCommandRunPing (
}
//
- // Parse the paramter of count number.
+ // Parse the parameter of count number.
//
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");
if (ValueStr != NULL) {
@@ -1510,7 +1510,7 @@ ShellCommandRunPing (
SendNumber = DEFAULT_SEND_COUNT;
}
//
- // Parse the paramter of buffer size.
+ // Parse the parameter of buffer size.
//
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");
if (ValueStr != NULL) {
@@ -1532,7 +1532,7 @@ ShellCommandRunPing (
ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));
//
- // Parse the paramter of source ip address.
+ // Parse the parameter of source ip address.
//
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");
if (ValueStr == NULL) {
@@ -1553,7 +1553,7 @@ ShellCommandRunPing (
}
}
//
- // Parse the paramter of destination ip address.
+ // Parse the parameter of destination ip address.
//
NonOptionCount = ShellCommandLineGetCount(ParamPackage);
if (NonOptionCount < 2) {
diff --git a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
index 90a2604..265258f 100644
--- a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
+++ b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
@@ -1177,7 +1177,7 @@ ShellCommandRunPing6 (
BufferSize = 16;
//
- // Parse the paramter of count number.
+ // Parse the parameter of count number.
//
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");
ValueStrPtr = ValueStr;
@@ -1194,7 +1194,7 @@ ShellCommandRunPing6 (
}
}
//
- // Parse the paramter of buffer size.
+ // Parse the parameter of buffer size.
//
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");
ValueStrPtr = ValueStr;
@@ -1215,7 +1215,7 @@ ShellCommandRunPing6 (
ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));
//
- // Parse the paramter of source ip address.
+ // Parse the parameter of source ip address.
//
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");
ValueStrPtr = ValueStr;
@@ -1229,7 +1229,7 @@ ShellCommandRunPing6 (
}
}
//
- // Parse the paramter of destination ip address.
+ // Parse the parameter of destination ip address.
//
NonOptionCount = ShellCommandLineGetCount(ParamPackage);
ValueStr = ShellCommandLineGetRawValue (ParamPackage, (UINT32)(NonOptionCount-1));
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 31/33] SourceLevelDebugPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (29 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 30/33] ShellPkg: Fix typos in comments and variables Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-19 7:46 ` Wu, Hao A
2016-10-19 7:01 ` [PATCH 32/33] UefiCpuPkg: " Gary Lin
` (3 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Jeff Fan, Hao Wu
- descrption -> description
- Libary -> Library
- funciton -> function
- paramter -> parameter
- triggerred -> triggered
- hanlde -> handle
Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h | 8 ++++----
SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c | 6 +++---
SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.h | 4 ++--
SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.c | 4 ++--
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.c | 4 ++--
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c | 6 +++---
6 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h b/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h
index 0c1a7b0..b204284 100644
--- a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h
+++ b/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h
@@ -20,10 +20,10 @@ typedef VOID * DEBUG_PORT_HANDLE;
/**
Caller provided function to be invoked at the end of DebugPortInitialize().
- Refer to the descrption for DebugPortInitialize() for more details.
+ Refer to the description for DebugPortInitialize() for more details.
@param[in] Context The first input argument of DebugPortInitialize().
- @param[in] DebugPortHandle Debug port handle created by Debug Communication Libary.
+ @param[in] DebugPortHandle Debug port handle created by Debug Communication Library.
**/
typedef
@@ -41,9 +41,9 @@ VOID
stack, this function must work on the mode that doesn't return to the caller, then
the caller needs to wrap up all rest of logic after DebugPortInitialize() into one
function and pass it into DebugPortInitialize(). DebugPortInitialize() is
- responsible to invoke the passing-in funciton at the end of DebugPortInitialize().
+ responsible to invoke the passing-in function at the end of DebugPortInitialize().
- If the paramter Function is not NULL, Debug Communication Libary instance will
+ If the parameter Function is not NULL, Debug Communication Library instance will
invoke it by passing in the Context to be the first parameter. Debug Communication
Library instance could create one debug port handle to be the second parameter
passing into the Function. Debug Communication Library instance also could pass
diff --git a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c
index faec574..128c69f 100644
--- a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c
+++ b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c
@@ -343,7 +343,7 @@ DebugAgentCallbackMemoryDiscoveredPpi (
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
responsible to invoke the passing-in function at the end of InitializeDebugAgent().
- If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
+ If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
passing in the Context to be its parameter.
If Function() is NULL, Debug Agent Library instance will return after setup debug
@@ -648,10 +648,10 @@ InitializeDebugAgent (
/**
Caller provided function to be invoked at the end of DebugPortInitialize().
- Refer to the descrption for DebugPortInitialize() for more details.
+ Refer to the description for DebugPortInitialize() for more details.
@param[in] Context The first input argument of DebugPortInitialize().
- @param[in] DebugPortHandle Debug port handle created by Debug Communication Libary.
+ @param[in] DebugPortHandle Debug port handle created by Debug Communication Library.
**/
VOID
diff --git a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.h b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.h
index a0687fa..300bc35 100644
--- a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.h
+++ b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.h
@@ -30,10 +30,10 @@ typedef struct {
/**
Caller provided function to be invoked at the end of DebugPortInitialize().
- Refer to the descrption for DebugPortInitialize() for more details.
+ Refer to the description for DebugPortInitialize() for more details.
@param[in] Context The first input argument of DebugPortInitialize().
- @param[in] DebugPortHandle Debug port handle created by Debug Communication Libary.
+ @param[in] DebugPortHandle Debug port handle created by Debug Communication Library.
**/
VOID
diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.c b/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.c
index 388286b..6a854ff 100644
--- a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.c
+++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.c
@@ -26,9 +26,9 @@
stack, this function must work on the mode that doesn't return to the caller, then
the caller needs to wrap up all rest of logic after DebugPortInitialize() into one
function and pass it into DebugPortInitialize(). DebugPortInitialize() is
- responsible to invoke the passing-in funciton at the end of DebugPortInitialize().
+ responsible to invoke the passing-in function at the end of DebugPortInitialize().
- If the paramter Function is not NULL, Debug Communication Libary instance will
+ If the parameter Function is not NULL, Debug Communication Library instance will
invoke it by passing in the Context to be the first parameter. Debug Communication
Library instance could create one debug port handle to be the second parameter
passing into the Function. Debug Communication Library instance also could pass
diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.c b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.c
index a08a260..d7829c2 100644
--- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.c
+++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.c
@@ -511,7 +511,7 @@ UsbDebugPortControlTransfer (
Check if it needs to re-initialize usb debug port hardware.
During different phases switch, such as SEC to PEI or PEI to DXE or DXE to SMM, we should check
- whether the usb debug port hardware configuration is changed. Such case can be triggerred by
+ whether the usb debug port hardware configuration is changed. Such case can be triggered by
Pci bus resource allocation and so on.
@param Handle Debug port handle.
@@ -1007,7 +1007,7 @@ DebugPortPollBuffer (
/**
Initialize the debug port.
- If Function is not NULL, Debug Communication Libary will call this function
+ If Function is not NULL, Debug Communication Library will call this function
by passing in the Context to be the first parameter. If needed, Debug Communication
Library will create one debug port handle to be the second argument passing in
calling the Function, otherwise it will pass NULL to be the second argument of
diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c
index 7c62bda..04e25e3 100644
--- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c
+++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c
@@ -300,7 +300,7 @@ Done:
Check if it needs to re-initialize usb debug port hardware.
During different phases switch, such as SEC to PEI or PEI to DXE or DXE to SMM, we should check
- whether the usb debug port hardware configuration is changed. Such case can be triggerred by
+ whether the usb debug port hardware configuration is changed. Such case can be triggered by
Pci bus resource allocation and so on.
@param Handle Debug port handle.
@@ -989,7 +989,7 @@ DebugPortPollBuffer (
/**
Initialize the debug port.
- If Function is not NULL, Debug Communication Libary will call this function
+ If Function is not NULL, Debug Communication Library will call this function
by passing in the Context to be the first parameter. If needed, Debug Communication
Library will create one debug port handle to be the second argument passing in
calling the Function, otherwise it will pass NULL to be the second argument of
@@ -997,7 +997,7 @@ DebugPortPollBuffer (
If Function is NULL, and Context is not NULL, the Debug Communication Library could
a) Return the same handle as passed in (as Context parameter).
- b) Ignore the input Context parameter and create new hanlde to be returned.
+ b) Ignore the input Context parameter and create new handle to be returned.
If parameter Function is NULL and Context is NULL, Debug Communication Library could
created a new handle if needed and return it, otherwise it will return NULL.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 32/33] UefiCpuPkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (30 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 31/33] SourceLevelDebugPkg: Fix typos in comments Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-20 1:58 ` Fan, Jeff
2016-10-19 7:01 ` [PATCH 33/33] Vlv2TbltDevicePkg: " Gary Lin
` (2 subsequent siblings)
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: Jeff Fan
- excute -> execute
- Retrive -> Retrieve
- possilbe -> possible
- CONTINOUS -> CONTINUOUS
- storgage -> storage
- allcated -> allocated
- triggerred -> triggered
- paramter -> parameter
- perodically -> periodically
- retore -> restore
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
UefiCpuPkg/Include/Library/MtrrLib.h | 2 +-
UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 2 +-
UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +-
UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2 +-
UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 10 +++++-----
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/UefiCpuPkg/Include/Library/MtrrLib.h b/UefiCpuPkg/Include/Library/MtrrLib.h
index 36cd2cd..5d62adb 100644
--- a/UefiCpuPkg/Include/Library/MtrrLib.h
+++ b/UefiCpuPkg/Include/Library/MtrrLib.h
@@ -306,7 +306,7 @@ MtrrSetAllMtrrs (
MtrrValidBitsMask & 0xfffffffffffff000ULL
@param[out] VariableMtrr The array to shadow variable MTRRs content
- @return The ruturn value of this paramter indicates the number of
+ @return The ruturn value of this parameter indicates the number of
MTRRs which has been used.
**/
UINT32
diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
index 02d5622..e55709c 100644
--- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
+++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
@@ -65,7 +65,7 @@ CommonExceptionHandlerWorker (
//
if (ReservedVectors[ExceptionType].ApicId == GetApicId ()) {
//
- // Old IDT handler has been executed, then retore CPU exception content to
+ // Old IDT handler has been executed, then restore CPU exception content to
// run new exception handler.
//
ArchRestoreExceptionContext (ExceptionType, SystemContext);
diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
index 50b5b27..b399f1c 100644
--- a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
+++ b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
@@ -172,7 +172,7 @@ CheckAndUpdateApsStatus (
/**
Checks APs' status periodically.
- This function is triggerred by timer perodically to check the
+ This function is triggered by timer periodically to check the
state of APs for StartupAllAPs() and StartupThisAP() executed
in non-blocking mode.
diff --git a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
index 5aef772..7783b63 100644
--- a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
+++ b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
@@ -606,7 +606,7 @@ MtrrGetMemoryAttributeInVariableMtrrWorker (
@param[in] MtrrValidAddressMask The valid address mask for MTRR
@param[out] VariableMtrr The array to shadow variable MTRRs content
- @return The return value of this paramter indicates the
+ @return The return value of this parameter indicates the
number of MTRRs which has been used.
**/
diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
index 0ccf3a4..f907b30 100644
--- a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
+++ b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
@@ -1,7 +1,7 @@
/** @file
This module produces the EFI_PEI_S3_RESUME2_PPI.
This module works with StandAloneBootScriptExecutor to S3 resume to OS.
- This module will excute the boot script saved during last boot and after that,
+ This module will execute the boot script saved during last boot and after that,
control is passed to OS waking up handler.
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
@@ -294,7 +294,7 @@ WriteToOsS3PerformanceData (
UINT64 Freq;
//
- // Retrive time stamp count as early as possilbe
+ // Retrieve time stamp count as early as possible
//
Ticker = GetPerformanceCounter ();
@@ -612,12 +612,12 @@ RestoreS3PageTables (
// NOTE: We have to ASSUME the page table generation format, because we do not know whole page table information.
// The whole page table is too large to be saved in SMRAM.
//
- // The assumption is : whole page table is allocated in CONTINOUS memory and CR3 points to TOP page.
+ // The assumption is : whole page table is allocated in CONTINUOUS memory and CR3 points to TOP page.
//
DEBUG ((EFI_D_ERROR, "S3NvsPageTableAddress - %x (%x)\n", (UINTN)S3NvsPageTableAddress, (UINTN)Build4GPageTableOnly));
//
- // By architecture only one PageMapLevel4 exists - so lets allocate storgage for it.
+ // By architecture only one PageMapLevel4 exists - so lets allocate storage for it.
//
PageMap = (PAGE_MAP_AND_DIRECTORY_POINTER *)S3NvsPageTableAddress;
S3NvsPageTableAddress += SIZE_4KB;
@@ -819,7 +819,7 @@ S3ResumeExecuteBootScript (
//
IdtDescriptor = (IA32_DESCRIPTOR *) (UINTN) (AcpiS3Context->IdtrProfile);
//
- // Make sure the newly allcated IDT align with 16-bytes
+ // Make sure the newly allocated IDT align with 16-bytes
//
IdtBuffer = AllocatePages (EFI_SIZE_TO_PAGES((IdtDescriptor->Limit + 1) + 16));
if (IdtBuffer == NULL) {
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* [PATCH 33/33] Vlv2TbltDevicePkg: Fix typos in comments
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (31 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 32/33] UefiCpuPkg: " Gary Lin
@ 2016-10-19 7:01 ` Gary Lin
2016-10-24 1:33 ` Wei, David
2016-10-19 7:28 ` [PATCH 00/33] Fix typos in comments and variables Zeng, Star
2016-10-19 14:50 ` Leif Lindholm
34 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-19 7:01 UTC (permalink / raw)
To: edk2-devel; +Cc: David Wei
- TURE -> TRUE
- stardard -> standard
- aligments -> alignments
- a a -> a
- stoping -> stopping
- defalut -> default
- excute -> execute
- Incude -> Include
- futhure -> future
- Predfined -> Predefined
- minimue -> minimum
- predeined -> predefined
- dirver -> driver
- paramter -> parameter
- funciton -> function
- immediatly -> immediately
Cc: David Wei <david.wei@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c | 2 +-
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c | 4 ++--
Vlv2TbltDevicePkg/Include/Library/CpuIA32.h | 2 +-
Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h | 2 +-
Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 16 ++++++++--------
Vlv2TbltDevicePkg/PlatformDxe/PciBus.h | 14 +++++++-------
Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c | 4 ++--
Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c | 2 +-
Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c | 4 ++--
9 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c b/Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c
index 55f758c..af7b968 100644
--- a/Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c
+++ b/Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c
@@ -251,7 +251,7 @@ BootScriptPciCfg2ReadWrite (
}
/**
- Internal function to add smbus excute opcode to the table.
+ Internal function to add smbus execute opcode to the table.
@param Marker The variable argument list to get the opcode
and associated attributes.
diff --git a/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c b/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c
index e505d71..72488f8 100644
--- a/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c
+++ b/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c
@@ -140,8 +140,8 @@ SecTemporaryRamSupport (
//
// SecSwitchStack function must be invoked after the memory migration
- // immediatly, also we need fixup the stack change caused by new call into
- // permenent memory.
+ // immediately, also we need fixup the stack change caused by new call into
+ // permanent memory.
//
SecSwitchStack (
(UINT32) (UINTN) OldStack,
diff --git a/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h b/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h
index b8c53c9..7615781 100644
--- a/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h
+++ b/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h
@@ -180,7 +180,7 @@ EfiInvd (
);
/**
- Get the Cpu info by excute the CPUID instruction
+ Get the Cpu info by execute the CPUID instruction
@param[in] RegisterInEax The input value to put into register EAX
@param[in] Regs The Output value
diff --git a/Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h b/Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h
index 8f9948c..e4cbd4a 100644
--- a/Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h
+++ b/Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h
@@ -216,7 +216,7 @@ typedef struct {
UINT8 TpmEnable; // 121 TPM Enable
UINT8 MorData; // 122 Memory Overwrite Request Data
- UINT8 TcgParamter; // 123 Used for save the Mor and/or physical presence paramter
+ UINT8 TcgParamter; // 123 Used for save the Mor and/or physical presence parameter
UINT32 PPResponse; // 124 Physical Presence request operation response
UINT8 PPRequest; // 128 Physical Presence request operation
UINT8 LastPPRequest; // 129 Last Physical Presence request operation
diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
index e1f3524..135ed21 100644
--- a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
+++ b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
@@ -214,7 +214,7 @@ ShellImageCallback (
// BDS Platform Functions
//
/**
- Platform Bds init. Incude the platform firmware vendor, revision
+ Platform Bds init. Include the platform firmware vendor, revision
and so crc check.
@param VOID
@@ -310,7 +310,7 @@ GetGopDevicePath (
}
//
- // Try to connect this handle, so that GOP dirver could start on this
+ // Try to connect this handle, so that GOP driver could start on this
// device and create child handles with GraphicsOutput Protocol installed
// on them, then we get device paths of these child handles and select
// them as possible console device.
@@ -427,7 +427,7 @@ GetGopDevicePath (
// In current implementation, we only enable one of the child handles
// as console device, i.e. sotre one of the child handle's device
// path to variable "ConOut"
- // In futhure, we could select all child handles to be console device
+ // In future, we could select all child handles to be console device
//
*GopDevicePath = TempDevicePath;
}
@@ -780,7 +780,7 @@ UpdateConsoleResolution(
Connect the predefined platform default console device. Always try to find
and enable the vga device if have.
- @param PlatformConsole Predfined platform default console device array.
+ @param PlatformConsole Predefined platform default console device array.
@retval EFI_SUCCESS Success connect at least one ConIn and ConOut
device, there must have one ConOut device is
@@ -819,7 +819,7 @@ PlatformBdsConnectConsole (
if (VarConout == NULL || VarConin == NULL) {
//
// Have chance to connect the platform default console,
- // the platform default console is the minimue device group
+ // the platform default console is the minimum device group
// the platform should support
//
while (PlatformConsole[Index].DevicePath != NULL) {
@@ -866,7 +866,7 @@ PlatformBdsConnectConsole (
}
/**
- Connect with predeined platform connect sequence,
+ Connect with predefined platform connect sequence,
the OEM/IBV can customize with their own connect sequence.
@param None.
@@ -1568,7 +1568,7 @@ PlatformBdsLibEnumerateAllBootOption (
/**
- The function will excute with as the platform policy, current policy
+ The function will execute with as the platform policy, current policy
is driven by boot mode. IBV/OEM can customize this code for their specific
policy action.
@@ -2839,7 +2839,7 @@ PlatformBdsConnectSimpleConsole (
if (VarConout == NULL || VarConin == NULL) {
//
// Have chance to connect the platform default console,
- // the platform default console is the minimue device group
+ // the platform default console is the minimum device group
// the platform should support
//
while (PlatformConsole[Index].DevicePath != NULL) {
diff --git a/Vlv2TbltDevicePkg/PlatformDxe/PciBus.h b/Vlv2TbltDevicePkg/PlatformDxe/PciBus.h
index 89e31d2..412e9f1 100644
--- a/Vlv2TbltDevicePkg/PlatformDxe/PciBus.h
+++ b/Vlv2TbltDevicePkg/PlatformDxe/PciBus.h
@@ -187,7 +187,7 @@ struct _PCI_IO_DEVICE {
LIST_ENTRY ChildList;
//
- // TURE if the PCI bus driver creates the handle for this PCI device
+ // TRUE if the PCI bus driver creates the handle for this PCI device
//
BOOLEAN Registered;
@@ -266,7 +266,7 @@ struct _PCI_IO_DEVICE {
//
// Per PCI to PCI Bridge spec, I/O window is 4K aligned,
- // but some chipsets support non-stardard I/O window aligments less than 4K.
+ // but some chipsets support non-standard I/O window alignments less than 4K.
// This field is used to support this case.
//
UINT16 BridgeIoAlignment;
@@ -308,8 +308,8 @@ extern BOOLEAN mReserveVgaAliases;
@param _p Specified device.
- @retval TRUE Device is a a GFX device.
- @retval FALSE Device is not a a GFX device.
+ @retval TRUE Device is a GFX device.
+ @retval FALSE Device is not a GFX device.
**/
#define IS_PCI_GFX(_p) IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER)
@@ -320,7 +320,7 @@ extern BOOLEAN mReserveVgaAliases;
@param This Protocol instance pointer.
@param Controller Handle of device to test.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver supports this device.
@@ -342,7 +342,7 @@ PciBusDriverBindingSupported (
@param This Protocol instance pointer.
@param Controller Handle of device to bind driver to.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver is added to ControllerHandle.
@@ -359,7 +359,7 @@ PciBusDriverBindingStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c b/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
index 3ad6b57..035f7b5 100644
--- a/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
+++ b/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
@@ -33,7 +33,7 @@ PLATFORM_GOP_POLICY_PROTOCOL mPlatformGOPPolicy;
//
/**
- The function will excute with as the platform policy, and gives
+ The function will execute with as the platform policy, and gives
the Platform Lid Status. IBV/OEM can customize this code for their specific
policy action.
@@ -54,7 +54,7 @@ GetPlatformLidStatus (
}
/**
- The function will excute and gives the Video Bios Table Size and Address.
+ The function will execute and gives the Video Bios Table Size and Address.
@param VbtAddress Gives the Physical Address of Video BIOS Table
diff --git a/Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c b/Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c
index 48d69a3..f6bb826 100644
--- a/Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c
+++ b/Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c
@@ -79,7 +79,7 @@ CheckOsSelection (
SystemConfiguration->ReservedO = OsSelectionHob->OsSelection;
//
- // Load LPSS and SCC defalut configurations
+ // Load LPSS and SCC default configurations
//
OsSelectionHob->LpssData.LpsseMMCEnabled = FALSE;
OsSelectionHob->LpssData.LpssSdioEnabled = TRUE;
diff --git a/Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c b/Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c
index de7830f..47ede35 100644
--- a/Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c
+++ b/Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c
@@ -126,7 +126,7 @@ LoadLpssDefaultValues (
)
{
//
- // Load LPSS and SCC defalut configurations for Android
+ // Load LPSS and SCC default configurations for Android
//
Private->FakeNvData.LpsseMMCEnabled = FALSE;
Private->FakeNvData.LpssSdioEnabled = TRUE;
@@ -780,7 +780,7 @@ SystemConfigCallback (
/**
- The driver Entry Point. The funciton will export a disk device class formset and
+ The driver Entry Point. The function will export a disk device class formset and
its callback function to hii database.
@param ImageHandle The firmware allocated handle for the EFI image.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 12/33] IntelFspPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 12/33] IntelFspPkg: " Gary Lin
@ 2016-10-19 7:06 ` Yao, Jiewen
0 siblings, 0 replies; 79+ messages in thread
From: Yao, Jiewen @ 2016-10-19 7:06 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: Jiewen.yao@intel.com
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Gary Lin
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>
> Subject: [edk2] [PATCH 12/33] IntelFspPkg: Fix typos in comments
>
> - tempory -> temporary
> - immediatly -> immediately
> - permenent -> permanent
> - paramter -> parameter
> - funciton -> function
>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> IntelFspPkg/FspSecCore/SecMain.c | 6 +++---
> IntelFspPkg/FspSecCore/SecMain.h | 2 +-
> IntelFspPkg/Include/Library/FspCommonLib.h | 6 +++---
> IntelFspPkg/Include/Library/FspSwitchStackLib.h | 2 +-
> IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c | 6 +++---
> 5 files changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/IntelFspPkg/FspSecCore/SecMain.c
> b/IntelFspPkg/FspSecCore/SecMain.c
> index 99acefa..e1d9cb2 100644
> --- a/IntelFspPkg/FspSecCore/SecMain.c
> +++ b/IntelFspPkg/FspSecCore/SecMain.c
> @@ -39,7 +39,7 @@ UINT64 mIdtEntryTemplate =
> 0xffff8e000008ffe4ULL;
>
>
> @param[in] SizeOfRam Size of the temporary memory
> available for use.
> - @param[in] TempRamBase Base address of tempory ram
> + @param[in] TempRamBase Base address of temporary ram
> @param[in] BootFirmwareVolume Base address of the Boot Firmware
> Volume.
> @param[in] PeiCore PeiCore entry point.
> @param[in] BootLoaderStack BootLoader stack.
> @@ -200,8 +200,8 @@ SecTemporaryRamSupport (
>
> //
> // SecSwitchStack function must be invoked after the memory migration
> - // immediatly, also we need fixup the stack change caused by new call
> into
> - // permenent memory.
> + // immediately, also we need fixup the stack change caused by new call
> into
> + // permanent memory.
> //
> SecSwitchStack (
> (UINT32) (UINTN) OldStack,
> diff --git a/IntelFspPkg/FspSecCore/SecMain.h
> b/IntelFspPkg/FspSecCore/SecMain.h
> index 1fd2f2b..3888635 100644
> --- a/IntelFspPkg/FspSecCore/SecMain.h
> +++ b/IntelFspPkg/FspSecCore/SecMain.h
> @@ -105,7 +105,7 @@ InitializeFloatingPointUnits (
>
>
> @param[in] SizeOfRam Size of the temporary memory
> available for use.
> - @param[in] TempRamBase Base address of tempory ram
> + @param[in] TempRamBase Base address of temporary ram
> @param[in] BootFirmwareVolume Base address of the Boot Firmware
> Volume.
> @param[in] PeiCore PeiCore entry point.
> @param[in] BootLoaderStack BootLoader stack.
> diff --git a/IntelFspPkg/Include/Library/FspCommonLib.h
> b/IntelFspPkg/Include/Library/FspCommonLib.h
> index fa2f81c..5e6846f 100644
> --- a/IntelFspPkg/Include/Library/FspCommonLib.h
> +++ b/IntelFspPkg/Include/Library/FspCommonLib.h
> @@ -40,9 +40,9 @@ GetFspGlobalDataPointer (
> );
>
> /**
> - This function gets back the FSP API paramter passed by the bootlaoder.
> + This function gets back the FSP API parameter passed by the bootlaoder.
>
> - @retval ApiParameter FSP API paramter passed by the bootlaoder.
> + @retval ApiParameter FSP API parameter passed by the bootlaoder.
> **/
> UINT32
> EFIAPI
> @@ -51,7 +51,7 @@ GetFspApiParameter (
> );
>
> /**
> - This function sets the FSP API paramter in the stack.
> + This function sets the FSP API parameter in the stack.
>
> @param[in] Value New parameter value.
>
> diff --git a/IntelFspPkg/Include/Library/FspSwitchStackLib.h
> b/IntelFspPkg/Include/Library/FspSwitchStackLib.h
> index e90b13e..fee44a3 100644
> --- a/IntelFspPkg/Include/Library/FspSwitchStackLib.h
> +++ b/IntelFspPkg/Include/Library/FspSwitchStackLib.h
> @@ -16,7 +16,7 @@
>
> /**
>
> - This funciton will switch the current stack to the previous saved stack.
> + This function will switch the current stack to the previous saved stack.
> Before calling the previous stack has to be set in
> FSP_GLOBAL_DATA.CoreStack.
> EIP
> FLAGS 16 bit FLAGS 16 bit
> diff --git a/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c
> b/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c
> index a31d16b..f6a4252 100644
> --- a/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c
> +++ b/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c
> @@ -89,9 +89,9 @@ GetFspGlobalDataPointer (
> }
>
> /**
> - This function gets back the FSP API paramter passed by the bootlaoder.
> + This function gets back the FSP API parameter passed by the bootlaoder.
>
> - @retval ApiParameter FSP API paramter passed by the bootlaoder.
> + @retval ApiParameter FSP API parameter passed by the bootlaoder.
> **/
> UINT32
> EFIAPI
> @@ -106,7 +106,7 @@ GetFspApiParameter (
> }
>
> /**
> - This function sets the FSP API paramter in the stack.
> + This function sets the FSP API parameter in the stack.
>
> @param[in] Value New parameter value.
>
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 14/33] IntelFsp2Pkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 14/33] IntelFsp2Pkg: " Gary Lin
@ 2016-10-19 7:06 ` Yao, Jiewen
2016-10-19 7:12 ` Mudusuru, Giri P
1 sibling, 0 replies; 79+ messages in thread
From: Yao, Jiewen @ 2016-10-19 7:06 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: jiewen.yao@intel.com
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Mudusuru, Giri P
> <giri.p.mudusuru@intel.com>
> Subject: [PATCH 14/33] IntelFsp2Pkg: Fix typos in comments
>
> - tempory -> temporary
> - immediatly -> immediately
> - permenent -> permanent
> - funciton -> function
>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> IntelFsp2Pkg/FspSecCore/SecMain.c | 6 +++---
> IntelFsp2Pkg/FspSecCore/SecMain.h | 2 +-
> IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h | 2 +-
> 3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.c
> b/IntelFsp2Pkg/FspSecCore/SecMain.c
> index fa556bf..0432dee 100644
> --- a/IntelFsp2Pkg/FspSecCore/SecMain.c
> +++ b/IntelFsp2Pkg/FspSecCore/SecMain.c
> @@ -39,7 +39,7 @@ UINT64 mIdtEntryTemplate =
> 0xffff8e000008ffe4ULL;
>
>
> @param[in] SizeOfRam Size of the temporary memory
> available for use.
> - @param[in] TempRamBase Base address of tempory ram
> + @param[in] TempRamBase Base address of temporary ram
> @param[in] BootFirmwareVolume Base address of the Boot Firmware
> Volume.
> @param[in] PeiCore PeiCore entry point.
> @param[in] BootLoaderStack BootLoader stack.
> @@ -215,8 +215,8 @@ SecTemporaryRamSupport (
>
> //
> // SecSwitchStack function must be invoked after the memory migration
> - // immediatly, also we need fixup the stack change caused by new call
> into
> - // permenent memory.
> + // immediately, also we need fixup the stack change caused by new call
> into
> + // permanent memory.
> //
> SecSwitchStack (
> (UINT32) (UINTN) OldStack,
> diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.h
> b/IntelFsp2Pkg/FspSecCore/SecMain.h
> index 33f7362..291bc5c 100644
> --- a/IntelFsp2Pkg/FspSecCore/SecMain.h
> +++ b/IntelFsp2Pkg/FspSecCore/SecMain.h
> @@ -105,7 +105,7 @@ InitializeFloatingPointUnits (
>
>
> @param[in] SizeOfRam Size of the temporary memory
> available for use.
> - @param[in] TempRamBase Base address of tempory ram
> + @param[in] TempRamBase Base address of temporary ram
> @param[in] BootFirmwareVolume Base address of the Boot Firmware
> Volume.
> @param[in] PeiCore PeiCore entry point.
> @param[in] BootLoaderStack BootLoader stack.
> diff --git a/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
> b/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
> index e90b13e..fee44a3 100644
> --- a/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
> +++ b/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
> @@ -16,7 +16,7 @@
>
> /**
>
> - This funciton will switch the current stack to the previous saved stack.
> + This function will switch the current stack to the previous saved stack.
> Before calling the previous stack has to be set in
> FSP_GLOBAL_DATA.CoreStack.
> EIP
> FLAGS 16 bit FLAGS 16 bit
> --
> 2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 15/33] IntelFsp2WrapperPkg: Fix a typo in the comment
2016-10-19 7:01 ` [PATCH 15/33] IntelFsp2WrapperPkg: Fix a typo in the comment Gary Lin
@ 2016-10-19 7:07 ` Yao, Jiewen
2016-10-19 7:11 ` Mudusuru, Giri P
1 sibling, 0 replies; 79+ messages in thread
From: Yao, Jiewen @ 2016-10-19 7:07 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: jiewen.yao@intel.com
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Mudusuru, Giri P
> <giri.p.mudusuru@intel.com>
> Subject: [PATCH 15/33] IntelFsp2WrapperPkg: Fix a typo in the comment
>
> - boundry -> boundary
>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c
> b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c
> index c073703..ff2f563 100644
> --- a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c
> +++ b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c
> @@ -112,7 +112,7 @@ RelocateImageUnder4GIfNeeded (
> ASSERT_EFI_ERROR (Status);
> ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;
> //
> - // Align buffer on section boundry
> + // Align buffer on section boundary
> //
> ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
> ImageContext.ImageAddress &=
> ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1));
> --
> 2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 13/33] IntelFspWrapperPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 13/33] IntelFspWrapperPkg: " Gary Lin
@ 2016-10-19 7:08 ` Yao, Jiewen
0 siblings, 0 replies; 79+ messages in thread
From: Yao, Jiewen @ 2016-10-19 7:08 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: jiewen.yao@intel.com
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Gary Lin
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>
> Subject: [edk2] [PATCH 13/33] IntelFspWrapperPkg: Fix typos in comments
>
> - inforamtion -> information
> - tempory -> temporary
> - boundry -> boundary
> - immediatly -> immediately
> - permenent -> permanent
>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> IntelFspWrapperPkg/FspInitPei/FindPeiCore.c
> | 2 +-
> IntelFspWrapperPkg/FspInitPei/SecMain.c
> | 2 +-
> IntelFspWrapperPkg/FspInitPei/SecMain.h
> | 4 ++--
> IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c
> | 2 +-
> IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c
> | 2 +-
> IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c
> | 2 +-
> IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h
> | 4 ++--
>
> IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRamS
> upport.c | 4 ++--
> 8 files changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/IntelFspWrapperPkg/FspInitPei/FindPeiCore.c
> b/IntelFspWrapperPkg/FspInitPei/FindPeiCore.c
> index ce003d0..068465a 100644
> --- a/IntelFspWrapperPkg/FspInitPei/FindPeiCore.c
> +++ b/IntelFspWrapperPkg/FspInitPei/FindPeiCore.c
> @@ -146,7 +146,7 @@ FindImageBase (
> /**
> Find and return Pei Core entry point.
>
> - It also find SEC and PEI Core file debug inforamtion. It will report them if
> + It also find SEC and PEI Core file debug information. It will report them if
> remote debug is enabled.
>
> @param[in] BootFirmwareVolumePtr Point to the boot firmware
> volume.
> diff --git a/IntelFspWrapperPkg/FspInitPei/SecMain.c
> b/IntelFspWrapperPkg/FspInitPei/SecMain.c
> index 4d0878a..e4f397a 100644
> --- a/IntelFspWrapperPkg/FspInitPei/SecMain.c
> +++ b/IntelFspWrapperPkg/FspInitPei/SecMain.c
> @@ -61,7 +61,7 @@ SecStartupPhase2(
> the control is transferred to this function.
>
> @param[in] SizeOfRam Size of the temporary memory
> available for use.
> - @param[in] TempRamBase Base address of tempory ram
> + @param[in] TempRamBase Base address of temporary ram
> @param[in] BootFirmwareVolume Base address of the Boot Firmware
> Volume.
> **/
> VOID
> diff --git a/IntelFspWrapperPkg/FspInitPei/SecMain.h
> b/IntelFspWrapperPkg/FspInitPei/SecMain.h
> index fc20397..66c53de 100644
> --- a/IntelFspWrapperPkg/FspInitPei/SecMain.h
> +++ b/IntelFspWrapperPkg/FspInitPei/SecMain.h
> @@ -54,7 +54,7 @@ typedef struct _SEC_IDT_TABLE {
> the control is transferred to this function.
>
> @param[in] SizeOfRam Size of the temporary memory
> available for use.
> - @param[in] TempRamBase Base address of tempory ram
> + @param[in] TempRamBase Base address of temporary ram
> @param[in] BootFirmwareVolume Base address of the Boot Firmware
> Volume.
> **/
> VOID
> @@ -68,7 +68,7 @@ SecStartup (
> /**
> Find and return Pei Core entry point.
>
> - It also find SEC and PEI Core file debug inforamtion. It will report them if
> + It also find SEC and PEI Core file debug information. It will report them if
> remote debug is enabled.
>
> @param[in] BootFirmwareVolumePtr Point to the boot firmware
> volume.
> diff --git a/IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c
> b/IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c
> index d39164e..6f06e24 100644
> --- a/IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c
> +++ b/IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c
> @@ -112,7 +112,7 @@ RelocateImageUnder4GIfNeeded (
> ASSERT_EFI_ERROR (Status);
> ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;
> //
> - // Align buffer on section boundry
> + // Align buffer on section boundary
> //
> ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
> ImageContext.ImageAddress &=
> ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1));
> diff --git a/IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c
> b/IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c
> index ce003d0..068465a 100644
> --- a/IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c
> +++ b/IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c
> @@ -146,7 +146,7 @@ FindImageBase (
> /**
> Find and return Pei Core entry point.
>
> - It also find SEC and PEI Core file debug inforamtion. It will report them if
> + It also find SEC and PEI Core file debug information. It will report them if
> remote debug is enabled.
>
> @param[in] BootFirmwareVolumePtr Point to the boot firmware
> volume.
> diff --git a/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c
> b/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c
> index f441725..fc271e2 100644
> --- a/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c
> +++ b/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c
> @@ -52,7 +52,7 @@ SecStartupPhase2(
> the control is transferred to this function.
>
> @param[in] SizeOfRam Size of the temporary memory
> available for use.
> - @param[in] TempRamBase Base address of tempory ram
> + @param[in] TempRamBase Base address of temporary ram
> @param[in] BootFirmwareVolume Base address of the Boot Firmware
> Volume.
> **/
> VOID
> diff --git a/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h
> b/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h
> index afaadfe..de82221 100644
> --- a/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h
> +++ b/IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h
> @@ -53,7 +53,7 @@ typedef struct _SEC_IDT_TABLE {
> the control is transferred to this function.
>
> @param[in] SizeOfRam Size of the temporary memory
> available for use.
> - @param[in] TempRamBase Base address of tempory ram
> + @param[in] TempRamBase Base address of temporary ram
> @param[in] BootFirmwareVolume Base address of the Boot Firmware
> Volume.
> **/
> VOID
> @@ -67,7 +67,7 @@ SecStartup (
> /**
> Find and return Pei Core entry point.
>
> - It also find SEC and PEI Core file debug inforamtion. It will report them if
> + It also find SEC and PEI Core file debug information. It will report them if
> remote debug is enabled.
>
> @param[in] BootFirmwareVolumePtr Point to the boot firmware
> volume.
> diff --git
> a/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRa
> mSupport.c
> b/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRa
> mSupport.c
> index 7f7a6af..06b3ea6 100644
> ---
> a/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRa
> mSupport.c
> +++
> b/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRa
> mSupport.c
> @@ -139,8 +139,8 @@ SecTemporaryRamSupport (
>
> //
> // SecSwitchStack function must be invoked after the memory migration
> - // immediatly, also we need fixup the stack change caused by new call
> into
> - // permenent memory.
> + // immediately, also we need fixup the stack change caused by new call
> into
> + // permanent memory.
> //
> SecSwitchStack (
> (UINT32) (UINTN) OldStack,
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 15/33] IntelFsp2WrapperPkg: Fix a typo in the comment
2016-10-19 7:01 ` [PATCH 15/33] IntelFsp2WrapperPkg: Fix a typo in the comment Gary Lin
2016-10-19 7:07 ` Yao, Jiewen
@ 2016-10-19 7:11 ` Mudusuru, Giri P
1 sibling, 0 replies; 79+ messages in thread
From: Mudusuru, Giri P @ 2016-10-19 7:11 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Yao, Jiewen
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 12:01 AM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Mudusuru, Giri P
> <giri.p.mudusuru@intel.com>
> Subject: [PATCH 15/33] IntelFsp2WrapperPkg: Fix a typo in the comment
>
> - boundry -> boundary
>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c
> b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c
> index c073703..ff2f563 100644
> --- a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c
> +++ b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c
> @@ -112,7 +112,7 @@ RelocateImageUnder4GIfNeeded (
> ASSERT_EFI_ERROR (Status);
> ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;
> //
> - // Align buffer on section boundry
> + // Align buffer on section boundary
> //
> ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
> ImageContext.ImageAddress &=
> ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1));
> --
> 2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 14/33] IntelFsp2Pkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 14/33] IntelFsp2Pkg: " Gary Lin
2016-10-19 7:06 ` Yao, Jiewen
@ 2016-10-19 7:12 ` Mudusuru, Giri P
1 sibling, 0 replies; 79+ messages in thread
From: Mudusuru, Giri P @ 2016-10-19 7:12 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Yao, Jiewen
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 12:01 AM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Mudusuru, Giri P
> <giri.p.mudusuru@intel.com>
> Subject: [PATCH 14/33] IntelFsp2Pkg: Fix typos in comments
>
> - tempory -> temporary
> - immediatly -> immediately
> - permenent -> permanent
> - funciton -> function
>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> IntelFsp2Pkg/FspSecCore/SecMain.c | 6 +++---
> IntelFsp2Pkg/FspSecCore/SecMain.h | 2 +-
> IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h | 2 +-
> 3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.c
> b/IntelFsp2Pkg/FspSecCore/SecMain.c
> index fa556bf..0432dee 100644
> --- a/IntelFsp2Pkg/FspSecCore/SecMain.c
> +++ b/IntelFsp2Pkg/FspSecCore/SecMain.c
> @@ -39,7 +39,7 @@ UINT64 mIdtEntryTemplate = 0xffff8e000008ffe4ULL;
>
>
> @param[in] SizeOfRam Size of the temporary memory available for use.
> - @param[in] TempRamBase Base address of tempory ram
> + @param[in] TempRamBase Base address of temporary ram
> @param[in] BootFirmwareVolume Base address of the Boot Firmware
> Volume.
> @param[in] PeiCore PeiCore entry point.
> @param[in] BootLoaderStack BootLoader stack.
> @@ -215,8 +215,8 @@ SecTemporaryRamSupport (
>
> //
> // SecSwitchStack function must be invoked after the memory migration
> - // immediatly, also we need fixup the stack change caused by new call into
> - // permenent memory.
> + // immediately, also we need fixup the stack change caused by new call into
> + // permanent memory.
> //
> SecSwitchStack (
> (UINT32) (UINTN) OldStack,
> diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.h
> b/IntelFsp2Pkg/FspSecCore/SecMain.h
> index 33f7362..291bc5c 100644
> --- a/IntelFsp2Pkg/FspSecCore/SecMain.h
> +++ b/IntelFsp2Pkg/FspSecCore/SecMain.h
> @@ -105,7 +105,7 @@ InitializeFloatingPointUnits (
>
>
> @param[in] SizeOfRam Size of the temporary memory available for use.
> - @param[in] TempRamBase Base address of tempory ram
> + @param[in] TempRamBase Base address of temporary ram
> @param[in] BootFirmwareVolume Base address of the Boot Firmware
> Volume.
> @param[in] PeiCore PeiCore entry point.
> @param[in] BootLoaderStack BootLoader stack.
> diff --git a/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
> b/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
> index e90b13e..fee44a3 100644
> --- a/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
> +++ b/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
> @@ -16,7 +16,7 @@
>
> /**
>
> - This funciton will switch the current stack to the previous saved stack.
> + This function will switch the current stack to the previous saved stack.
> Before calling the previous stack has to be set in
> FSP_GLOBAL_DATA.CoreStack.
> EIP
> FLAGS 16 bit FLAGS 16 bit
> --
> 2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 23/33] NetworkPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 23/33] NetworkPkg: " Gary Lin
@ 2016-10-19 7:21 ` Fu, Siyuan
2016-10-26 0:53 ` Fu, Siyuan
1 sibling, 0 replies; 79+ messages in thread
From: Fu, Siyuan @ 2016-10-19 7:21 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Wu, Jiaxin
Reviewed-by: Fu Siyuan siyuan.fu@intel.com
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Gary Lin
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Fu, Siyuan <siyuan.fu@intel.com>; Wu, Jiaxin <jiaxin.wu@intel.com>
> Subject: [edk2] [PATCH 23/33] NetworkPkg: Fix typos in comments
>
> - assocated -> associated
> - malformated -> malformatted
> - mal-formated -> mal-formatted
> - formated -> formatted
> - octects -> octets
> - responsiblity -> responsibility
> - enought -> enough
> - immediatly -> immediately
> - integar -> integer
> - Alogrithem -> Algorithm
> - Initializeion -> Initialization
> - primelenght -> primelength
> - Vlaue -> Value
> - perfoms -> performs
> - randome -> random
> - verifed -> verified
> - finallization -> finalization
> - Intializes -> Initializes
> - specifed -> specified
> - if -> If
> - Decrption -> Decryption
> - Autahentication -> Authentication
> - informatino -> information
> - alogrithm -> algorithm
> - Authenticaion -> Authentication
> - Alogrithem -> Algorithm
> - containning -> containing
> - paramter -> parameter
>
> Cc: Siyuan Fu <siyuan.fu@intel.com>
> Cc: Jiaxin Wu <jiaxin.wu@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> NetworkPkg/Application/Ping6/Ping6.c | 8 +--
> NetworkPkg/IScsiDxe/IScsiProto.c | 4 +-
> NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 +-
> NetworkPkg/Ip6Dxe/Ip6Option.c | 16 ++---
> NetworkPkg/Ip6Dxe/Ip6Option.h | 10 +--
> NetworkPkg/Ip6Dxe/Ip6Output.c | 8 +--
> NetworkPkg/IpSecDxe/IpSecCryptIo.c | 50 +++++++--------
> NetworkPkg/IpSecDxe/IpSecCryptIo.h | 66 ++++++++++----------
> 8 files changed, 82 insertions(+), 82 deletions(-)
>
> diff --git a/NetworkPkg/Application/Ping6/Ping6.c
> b/NetworkPkg/Application/Ping6/Ping6.c
> index 55314e5..66daac2 100644
> --- a/NetworkPkg/Application/Ping6/Ping6.c
> +++ b/NetworkPkg/Application/Ping6/Ping6.c
> @@ -1103,7 +1103,7 @@ InitializePing6 (
> BufferSize = 16;
>
> //
> - // Parse the paramter of count number.
> + // Parse the parameter of count number.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");
> ValueStrPtr = ValueStr;
> @@ -1120,7 +1120,7 @@ InitializePing6 (
> }
> }
> //
> - // Parse the paramter of buffer size.
> + // Parse the parameter of buffer size.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");
> ValueStrPtr = ValueStr;
> @@ -1141,7 +1141,7 @@ InitializePing6 (
> ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));
>
> //
> - // Parse the paramter of source ip address.
> + // Parse the parameter of source ip address.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");
> ValueStrPtr = ValueStr;
> @@ -1155,7 +1155,7 @@ InitializePing6 (
> }
> }
> //
> - // Parse the paramter of destination ip address.
> + // Parse the parameter of destination ip address.
> //
> NonOptionCount = ShellCommandLineGetCount(ParamPackage);
> ValueStr = ShellCommandLineGetRawValue (ParamPackage,
> (UINT32)(NonOptionCount-1));
> diff --git a/NetworkPkg/IScsiDxe/IScsiProto.c
> b/NetworkPkg/IScsiDxe/IScsiProto.c
> index 88d9bdd..eb77d75 100644
> --- a/NetworkPkg/IScsiDxe/IScsiProto.c
> +++ b/NetworkPkg/IScsiDxe/IScsiProto.c
> @@ -786,7 +786,7 @@ IScsiPrepareLoginReq (
>
> case ISCSI_LOGIN_OPERATIONAL_NEGOTIATION:
> //
> - // Only negotiate the paramter once.
> + // Only negotiate the parameter once.
> //
> if (!Conn->ParamNegotiated) {
> IScsiFillOpParams (Conn, Nbuf);
> @@ -2117,7 +2117,7 @@ IScsiNewDataSegment (
>
> @param[in] Packet The EXT SCSI PASS THRU request packet containing the
> SCSI command.
> @param[in] Lun The LUN.
> - @param[in] Tcb The tcb assocated with this SCSI command.
> + @param[in] Tcb The tcb associated with this SCSI command.
>
> @return The created iSCSI SCSI command PDU.
> @retval NULL Other errors as indicated.
> diff --git a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
> b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
> index 75ecec1..9b6a62e 100644
> --- a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
> +++ b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
> @@ -121,7 +121,7 @@ Ip6ConfigOnPolicyChanged (
>
> if (NewPolicy == Ip6ConfigPolicyAutomatic) {
> //
> - // Set paramters to trigger router solicitation sending in timer
> handler.
> + // Set parameters to trigger router solicitation sending in timer
> handler.
> //
> IpSb->RouterAdvertiseReceived = FALSE;
> IpSb->SolicitTimer = IP6_MAX_RTR_SOLICITATIONS;
> diff --git a/NetworkPkg/Ip6Dxe/Ip6Option.c b/NetworkPkg/Ip6Dxe/Ip6Option.c
> index 9a91fd7..21d28b6 100644
> --- a/NetworkPkg/Ip6Dxe/Ip6Option.c
> +++ b/NetworkPkg/Ip6Dxe/Ip6Option.c
> @@ -18,7 +18,7 @@
> /**
> Validate the IP6 option format for both the packets we received
> and that we will transmit. It will compute the ICMPv6 error message
> fields
> - if the option is malformated.
> + if the option is malformatted.
>
> @param[in] IpSb The IP6 service data.
> @param[in] Packet The to be validated packet.
> @@ -29,7 +29,7 @@
>
>
> @retval TRUE The option is properly formatted.
> - @retval FALSE The option is malformated.
> + @retval FALSE The option is malformatted.
>
> **/
> BOOLEAN
> @@ -126,7 +126,7 @@ Ip6IsOptionValid (
> @param[in] OptionLen The length of the whole option.
>
> @retval TRUE The option is properly formatted.
> - @retval FALSE The option is malformated.
> + @retval FALSE The option is malformatted.
>
> **/
> BOOLEAN
> @@ -231,7 +231,7 @@ Ip6IsValidProtocol (
> /**
> Validate the IP6 extension header format for both the packets we
> received
> and that we will transmit. It will compute the ICMPv6 error message
> fields
> - if the option is mal-formated.
> + if the option is mal-formatted.
>
> @param[in] IpSb The IP6 service instance. This is an optional
> parameter.
> @param[in] Packet The data of the packet. Ignored if NULL.
> @@ -252,8 +252,8 @@ Ip6IsValidProtocol (
> @param[out] Fragmented Indicate whether the packet is fragmented.
> This is an optional parameter that may be
> NULL.
>
> - @retval TRUE The option is properly formated.
> - @retval FALSE The option is malformated.
> + @retval TRUE The option is properly formatted.
> + @retval FALSE The option is malformatted.
>
> **/
> BOOLEAN
> @@ -436,7 +436,7 @@ Ip6IsExtsValid (
>
> //
> // RFC2460, ICMP Parameter Problem message with code 0 should be
> sent
> - // if the length of a fragment is not a multiple of 8 octects and
> the M
> + // if the length of a fragment is not a multiple of 8 octets and
> the M
> // flag of that fragment is 1, pointing to the Payload length field
> of the
> // fragment packet.
> //
> @@ -606,7 +606,7 @@ Ip6FillHopByHop (
> @param[in] ExtHdrsLen The length of the extension headers.
> @param[in] FragmentOffset The fragment offset of the data following
> the header.
> @param[out] UpdatedExtHdrs The updated ExtHdrs with Fragment header
> inserted.
> - It's caller's responsiblity to free this
> buffer.
> + It's caller's responsibility to free this
> buffer.
>
> @retval EFI_OUT_OF_RESOURCES Failed to finish the operation due to lake
> of
> resource.
> diff --git a/NetworkPkg/Ip6Dxe/Ip6Option.h b/NetworkPkg/Ip6Dxe/Ip6Option.h
> index b62a042..242ec51 100644
> --- a/NetworkPkg/Ip6Dxe/Ip6Option.h
> +++ b/NetworkPkg/Ip6Dxe/Ip6Option.h
> @@ -51,7 +51,7 @@ typedef enum {
> /**
> Validate the IP6 extension header format for both the packets we
> received
> and that we will transmit. It will compute the ICMPv6 error message
> fields
> - if the option is mal-formated.
> + if the option is mal-formatted.
>
> @param[in] IpSb The IP6 service instance. This is an optional
> parameter.
> @param[in] Packet The data of the packet. Ignored if NULL.
> @@ -72,8 +72,8 @@ typedef enum {
> @param[out] Fragmented Indicate whether the packet is fragmented.
> This is an optional parameter that may be
> NULL.
>
> - @retval TRUE The option is properly formated.
> - @retval FALSE The option is malformated.
> + @retval TRUE The option is properly formatted.
> + @retval FALSE The option is malformatted.
>
> **/
> BOOLEAN
> @@ -122,7 +122,7 @@ Ip6FillHopByHop (
> @param[in] ExtHdrsLen The length of the extension headers.
> @param[in] FragmentOffset The fragment offset of the data following
> the header.
> @param[out] UpdatedExtHdrs The updated ExtHdrs with Fragment header
> inserted.
> - It's caller's responsiblity to free this
> buffer.
> + It's caller's responsibility to free this
> buffer.
>
> @retval EFI_OUT_OF_RESOURCES Failed to finish the operation due to lake
> of
> resource.
> @@ -179,7 +179,7 @@ Ip6CopyExts (
> @param[in] OptionLen The length of the whole option.
>
> @retval TRUE The option is properly formatted.
> - @retval FALSE The option is malformated.
> + @retval FALSE The option is malformatted.
>
> **/
> BOOLEAN
> diff --git a/NetworkPkg/Ip6Dxe/Ip6Output.c b/NetworkPkg/Ip6Dxe/Ip6Output.c
> index fe642d3..8330e37 100644
> --- a/NetworkPkg/Ip6Dxe/Ip6Output.c
> +++ b/NetworkPkg/Ip6Dxe/Ip6Output.c
> @@ -23,7 +23,7 @@ UINT32 mIp6Id;
>
> @param[in] IpSb Points to an IP6 service binding
> instance.
> @param[out] SourceList The list entry head of all source
> addresses.
> - It is the caller's responsiblity to
> free the
> + It is the caller's responsibility to
> free the
> resources.
> @param[out] SourceCount The number of source addresses.
>
> @@ -364,7 +364,7 @@ Ip6SysPacketSent (
> @param[in] LastHeader The pointer of next header of last
> extension header.
> @param[in] HeadLen The length of the unfragmented part of the
> IP6 header.
>
> - @retval EFI_BAD_BUFFER_SIZE There is no enought room in the head space
> of
> + @retval EFI_BAD_BUFFER_SIZE There is no enough room in the head space
> of
> Packet.
> @retval EFI_SUCCESS The operation performed successfully.
>
> @@ -726,7 +726,7 @@ Ip6Output (
> }
>
> //
> - // Send out multicast neighbor solicitation for address resolution
> immediatly.
> + // Send out multicast neighbor solicitation for address resolution
> immediately.
> //
> Ip6CreateSNMulticastAddr (&NeighborCache->Neighbor, &Destination);
> Status = Ip6SelectSourceAddress (IpSb, &NeighborCache->Neighbor,
> &Source);
> @@ -809,7 +809,7 @@ Ip6Output (
> //
> // OK, selected the source and route, fragment the packet then send
> // them. Tag each fragment other than the first one as spawn from it.
> - // Each extension header is an integar multiple of 8 octets long, in
> + // Each extension header is an integer multiple of 8 octets long, in
> // order to retain 8-octet alignment for subsequent headers.
> //
> Mtu = IpSb->MaxPacketSize + sizeof (EFI_IP6_HEADER);
> diff --git a/NetworkPkg/IpSecDxe/IpSecCryptIo.c
> b/NetworkPkg/IpSecDxe/IpSecCryptIo.c
> index dca4423..31fa4fb 100644
> --- a/NetworkPkg/IpSecDxe/IpSecCryptIo.c
> +++ b/NetworkPkg/IpSecDxe/IpSecCryptIo.c
> @@ -45,7 +45,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED HASH_ALGORITHM
> mIpsecHashAlgorithmList[IPSEC_HASH_
> BOOLEAN mInitialRandomSeed = FALSE;
>
> /**
> - Get the block size of specified encryption alogrithm.
> + Get the block size of specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -69,7 +69,7 @@ IpSecGetEncryptBlockSize (
> }
>
> /**
> - Get the key length of the specified encryption alogrithm.
> + Get the key length of the specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -93,7 +93,7 @@ IpSecGetEncryptKeyLength (
> }
>
> /**
> - Get the IV size of the specified encryption alogrithm.
> + Get the IV size of the specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -144,7 +144,7 @@ IpSecGetHmacDigestLength (
> }
>
> /**
> - Get the ICV size of the specified Authenticaion alogrithm.
> + Get the ICV size of the specified Authenticaion algorithm.
>
> @param[in] AlgorithmId The Authentication algorithm ID.
>
> @@ -191,7 +191,7 @@ IpSecGenerateIv (
> }
>
> /**
> - Get index of the specified encryption alogrithm from the
> mIpsecEncryptAlgorithemList.
> + Get index of the specified encryption algorithm from the
> mIpsecEncryptAlgorithmList.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -215,7 +215,7 @@ IpSecGetIndexFromEncList (
> }
>
> /**
> - Get index of the specified encryption alogrithm from the
> mIpsecAuthAlgorithemList.
> + Get index of the specified encryption algorithm from the
> mIpsecAuthAlgorithmList.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -245,14 +245,14 @@ IpSecGetIndexFromAuthList (
> Encrypt the buffer.
>
> This function calls relevant encryption interface from CryptoLib
> according to
> - the input alogrithm ID. The InData should be multiple of block size.
> This function
> + the input algorithm ID. The InData should be multiple of block size.
> This function
> doesn't perform the padding. If it has the Ivec data, the length of it
> should be
> same with the block size. The block size is different from the
> different algorithm.
>
> - @param[in] AlgorithmId The Alogrithem identification defined
> in RFC.
> + @param[in] AlgorithmId The Algorithm identification defined in
> RFC.
> @param[in] Key Pointer to the buffer containing
> encrypting key.
> @param[in] KeyBits The length of the key in bits.
> - @param[in] Ivec Point to the buffer containning the
> Initializeion
> + @param[in] Ivec Point to the buffer containing the
> Initialization
> Vector (IV) data.
> @param[in] InData Point to the buffer containing the data
> to be
> encrypted.
> @@ -331,14 +331,14 @@ IpSecCryptoIoEncrypt (
> Decrypts the buffer.
>
> This function calls relevant Decryption interface from CryptoLib
> according to
> - the input alogrithm ID. The InData should be multiple of block size.
> This function
> + the input algorithm ID. The InData should be multiple of block size.
> This function
> doesn't perform the padding. If it has the Ivec data, the length of it
> should be
> same with the block size. The block size is different from the
> different algorithm.
>
> - @param[in] AlgorithmId The Alogrithem identification defined
> in RFC.
> + @param[in] AlgorithmId The Algorithm identification defined in
> RFC.
> @param[in] Key Pointer to the buffer containing
> encrypting key.
> @param[in] KeyBits The length of the key in bits.
> - @param[in] Ivec Point to the buffer containning the
> Initializeion
> + @param[in] Ivec Point to the buffer containing the
> Initialization
> Vector (IV) data.
> @param[in] InData Point to the buffer containing the data
> to be
> decrypted.
> @@ -417,9 +417,9 @@ IpSecCryptoIoDecrypt (
> Digests the Payload with key and store the result into the OutData.
>
> This function calls relevant Hmac interface from CryptoLib according to
> - the input alogrithm ID. It computes all datas from InDataFragment and
> output
> + the input algorithm ID. It computes all datas from InDataFragment and
> output
> the result into the OutData buffer. If the OutDataSize is larger than
> the related
> - HMAC alogrithm output size, return EFI_INVALID_PARAMETER.
> + HMAC algorithm output size, return EFI_INVALID_PARAMETER.
>
> @param[in] AlgorithmId The authentication Identification.
> @param[in] Key Pointer of the authentication key.
> @@ -540,9 +540,9 @@ Exit:
> Digests the Payload and store the result into the OutData.
>
> This function calls relevant Hash interface from CryptoLib according to
> - the input alogrithm ID. It computes all datas from InDataFragment and
> output
> + the input algorithm ID. It computes all datas from InDataFragment and
> output
> the result into the OutData buffer. If the OutDataSize is larger than
> the related
> - Hash alogrithm output size, return EFI_INVALID_PARAMETER.
> + Hash algorithm output size, return EFI_INVALID_PARAMETER.
>
> @param[in] AlgorithmId The authentication Identification.
> @param[in] InDataFragment A list contains all data to be
> authenticated.
> @@ -657,14 +657,14 @@ Exit:
> Generates the Diffie-Hellman public key.
>
> This function first initiate a DHContext, then call the DhSetParameter()
> to set
> - the prime and primelenght, at end call the DhGenerateKey() to generates
> random
> + the prime and primelength, at end call the DhGenerateKey() to generates
> random
> secret exponent, and computes the public key. The output returned via
> parameter
> PublicKey and PublicKeySize. DH context is updated accordingly. If the
> PublicKey
> buffer is too small to hold the public key, EFI_INVALID_PARAMETER is
> returned
> and PublicKeySize is set to the required buffer size to obtain the
> public key.
>
> @param[in, out] DhContext Pointer to the DH context.
> - @param[in] Generator Vlaue of generator.
> + @param[in] Generator Value of generator.
> @param[in] PrimeLength Length in bits of prime to be generated.
> @param[in] Prime Pointer to the buffer to receive the
> generated
> prime number.
> @@ -673,7 +673,7 @@ Exit:
> For out, the size of data returned in
> PublicKey
> buffer in bytes.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -725,7 +725,7 @@ Exit:
> For out, the size of data returned in
> Key
> buffer in bytes.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -750,7 +750,7 @@ IpSecCryptoIoDhComputeKey (
>
> @param[in, out] DhContext Pointer to the DH context to be
> freed.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval EFI_INVALID_PARAMETER The DhContext is NULL.
>
> **/
> @@ -773,9 +773,9 @@ IpSecCryptoIoFreeDh (
> If the Random Generator wasn't initiated, initiate it first, then call
> RandomBytes.
>
> @param[out] OutBuffer Pointer to buffer to receive random value.
> - @param[in] Bytes Size of randome bytes to generate.
> + @param[in] Bytes Size of random bytes to generate.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -869,9 +869,9 @@ IpSecCryptoIoAuthDataWithCertificate (
> @param[in] CertLen The size of Certificate in bytes.
> @param[in] InCa Pointer to the CA certificate
> @param[in] CaLen The size of CA certificate in bytes.
> - @param[in] InData Pointer to octect message hash to be
> checked.
> + @param[in] InData Pointer to octet message hash to be
> checked.
> @param[in] InDataSize Size of the message hash in bytes.
> - @param[in] Singnature The pointer to the RSA PKCS1-V1_5
> signature to be verifed.
> + @param[in] Singnature The pointer to the RSA PKCS1-V1_5
> signature to be verified.
> @param[in] SigSize Size of signature in bytes.
>
> @retval TRUE Valid signature encoded in PKCS1-v1_5.
> diff --git a/NetworkPkg/IpSecDxe/IpSecCryptIo.h
> b/NetworkPkg/IpSecDxe/IpSecCryptIo.h
> index 0e106af..0ef83eb 100644
> --- a/NetworkPkg/IpSecDxe/IpSecCryptIo.h
> +++ b/NetworkPkg/IpSecDxe/IpSecCryptIo.h
> @@ -104,7 +104,7 @@ BOOLEAN
> );
>
> /**
> - Prototype of HMAC finallization.
> + Prototype of HMAC finalization.
> Terminate a HMAC message digest operation and output the message digest.
>
> If Context is NULL, then ASSERT().
> @@ -139,7 +139,7 @@ UINTN
>
> /**
> Prototype of Block Cipher initiation.
> - Intializes the user-supplied key as the specifed context (key materials)
> for both
> + Initializes the user-supplied key as the specified context (key
> materials) for both
> encryption and decryption operations.
>
> If Context is NULL, then ASSERT().
> @@ -165,7 +165,7 @@ BOOLEAN
> Encrypts plaintext message with the specified cipher.
>
> If Context is NULL, then ASSERT().
> - if InData is NULL, then ASSERT().
> + If InData is NULL, then ASSERT().
> If Size of input data is not multiple of Cipher algorithm related block
> size,
> then ASSERT().
>
> @@ -193,7 +193,7 @@ BOOLEAN
> Decrypts cipher message with specified cipher.
>
> If Context is NULL, then ASSERT().
> - if InData is NULL, then ASSERT().
> + If InData is NULL, then ASSERT().
> If Size of input data is not a multiple of a certaion block size , then
> ASSERT().
>
> @param[in] Context The specified Context.
> @@ -256,7 +256,7 @@ BOOLEAN
>
> This function performs digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - Context should be already correctly intialized by HashInit(), and
> should not be finalized
> + Context should be already correctly initialized by HashInit(), and
> should not be finalized
> by HashFinal(). Behavior with invalid context is undefined.
>
> If Context is NULL, then ASSERT().
> @@ -285,7 +285,7 @@ BOOLEAN
> This function completes hash computation and retrieves the digest value
> into
> the specified memory. After this function has been called, the context
> cannot
> be used again.
> - context should be already correctly intialized by HashInit(), and
> should not be
> + context should be already correctly initialized by HashInit(), and
> should not be
> finalized by HashFinal(). Behavior with invalid context is undefined.
>
> If Context is NULL, then ASSERT().
> @@ -339,13 +339,13 @@ typedef struct _ENCRYPT_ALGORITHM {
> //
> CRYPTO_CIPHER_ENCRYPT CipherEncrypt;
> //
> - // The Function pointer of Cipher Decrption.
> + // The Function pointer of Cipher Decryption.
> //
> CRYPTO_CIPHER_DECRYPT CipherDecrypt;
> } ENCRYPT_ALGORITHM;
>
> //
> -// The struct used to store the information and operation of
> Autahentication algorithm.
> +// The struct used to store the information and operation of
> Authentication algorithm.
> //
> typedef struct _AUTH_ALGORITHM {
> //
> @@ -383,7 +383,7 @@ typedef struct _AUTH_ALGORITHM {
> } AUTH_ALGORITHM;
>
> //
> -// The struct used to store the informatino and operation of Hash
> algorithm.
> +// The struct used to store the information and operation of Hash
> algorithm.
> //
> typedef struct _HASH_ALGORITHM {
> //
> @@ -421,7 +421,7 @@ typedef struct _HASH_ALGORITHM {
> } HASH_ALGORITHM;
>
> /**
> - Get the IV size of specified encryption alogrithm.
> + Get the IV size of specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -434,7 +434,7 @@ IpSecGetEncryptIvLength (
> );
>
> /**
> - Get the block size of specified encryption alogrithm.
> + Get the block size of specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -447,7 +447,7 @@ IpSecGetEncryptBlockSize (
> );
>
> /**
> - Get the required key length of the specified encryption alogrithm.
> + Get the required key length of the specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -460,7 +460,7 @@ IpSecGetEncryptKeyLength (
> );
>
> /**
> - Get the ICV size of the specified Authenticaion alogrithm.
> + Get the ICV size of the specified Authentication algorithm.
>
> @param[in] AlgorithmId The Authentication algorithm ID.
>
> @@ -475,7 +475,7 @@ IpSecGetIcvLength (
> /**
> Get the HMAC digest length by the specified Algorithm ID.
>
> - @param[in] AlgorithmId The specified Alogrithm ID.
> + @param[in] AlgorithmId The specified Algorithm ID.
>
> @return The digest length of the specified Authentication Algorithm ID.
>
> @@ -505,14 +505,14 @@ IpSecGenerateIv (
> Encrypt the buffer.
>
> This function calls relevant encryption interface from CryptoLib
> according to
> - the input alogrithm ID. The InData should be multiple of block size.
> This function
> + the input algorithm ID. The InData should be multiple of block size.
> This function
> doesn't perform the padding. If it has the Ivec data, the length of it
> should be
> same with the block size. The block size is different from the
> different algorithm.
>
> - @param[in] AlgorithmId The Alogrithem identification defined
> in RFC.
> + @param[in] AlgorithmId The Algorithm identification defined in
> RFC.
> @param[in] Key Pointer to the buffer containing
> encrypting key.
> @param[in] KeyBits The length of the key in bits.
> - @param[in] Ivec Point to the buffer containning the
> Initializeion
> + @param[in] Ivec Point to the buffer containing the
> Initialization
> Vector (IV) data.
> @param[in] InData Point to the buffer containing the data
> to be
> encrypted.
> @@ -540,14 +540,14 @@ IpSecCryptoIoEncrypt (
> Decrypts the buffer.
>
> This function calls relevant Decryption interface from CryptoLib
> according to
> - the input alogrithm ID. The InData should be multiple of block size.
> This function
> + the input algorithm ID. The InData should be multiple of block size.
> This function
> doesn't perform the padding. If it has the Ivec data, the length of it
> should be
> same with the block size. The block size is different from the
> different algorithm.
>
> - @param[in] AlgorithmId The Alogrithem identification defined
> in RFC.
> + @param[in] AlgorithmId The Algorithm identification defined in
> RFC.
> @param[in] Key Pointer to the buffer containing
> encrypting key.
> @param[in] KeyBits The length of the key in bits.
> - @param[in] Ivec Point to the buffer containning the
> Initializeion
> + @param[in] Ivec Point to the buffer containing the
> Initialization
> Vector (IV) data.
> @param[in] InData Point to the buffer containing the data
> to be
> decrypted.
> @@ -575,9 +575,9 @@ IpSecCryptoIoDecrypt (
> Digests the Payload with key and store the result into the OutData.
>
> This function calls relevant Hmac interface from CryptoLib according to
> - the input alogrithm ID. It computes all datas from InDataFragment and
> output
> + the input algorithm ID. It computes all datas from InDataFragment and
> output
> the result into the OutData buffer. If the OutDataSize is larger than
> the related
> - HMAC alogrithm output size, return EFI_INVALID_PARAMETER.
> + HMAC algorithm output size, return EFI_INVALID_PARAMETER.
>
> @param[in] AlgorithmId The authentication Identification.
> @param[in] Key Pointer of the authentication key.
> @@ -609,9 +609,9 @@ IpSecCryptoIoHmac (
> Digests the Payload and store the result into the OutData.
>
> This function calls relevant Hash interface from CryptoLib according to
> - the input alogrithm ID. It computes all datas from InDataFragment and
> output
> + the input algorithm ID. It computes all datas from InDataFragment and
> output
> the result into the OutData buffer. If the OutDataSize is larger than
> the related
> - Hash alogrithm output size, return EFI_INVALID_PARAMETER.
> + Hash algorithm output size, return EFI_INVALID_PARAMETER.
>
> @param[in] AlgorithmId The authentication Identification.
> @param[in] InDataFragment A list contains all data to be
> authenticated.
> @@ -640,14 +640,14 @@ IpSecCryptoIoHash (
> Generates the Diffie-Hellman public key.
>
> This function first initiate a DHContext, then call the DhSetParameter()
> to set
> - the prime and primelenght, at end call the DhGenerateKey() to generates
> random
> + the prime and primelength, at end call the DhGenerateKey() to generates
> random
> secret exponent, and computes the public key. The output returned via
> parameter
> PublicKey and PublicKeySize. DH context is updated accordingly. If the
> PublicKey
> buffer is too small to hold the public key, EFI_INVALID_PARAMETER is
> returned
> and PublicKeySize is set to the required buffer size to obtain the
> public key.
>
> @param[in, out] DhContext Pointer to the DH context.
> - @param[in] Generator Vlaue of generator.
> + @param[in] Generator Value of generator.
> @param[in] PrimeLength Length in bits of prime to be generated.
> @param[in] Prime Pointer to the buffer to receive the
> generated
> prime number.
> @@ -656,7 +656,7 @@ IpSecCryptoIoHash (
> For out, the size of data returned in
> PublicKey
> buffer in bytes.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -684,7 +684,7 @@ IpSecCryptoIoDhGetPublicKey (
> For out, the size of data returned in
> Key
> buffer in bytes.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -702,7 +702,7 @@ IpSecCryptoIoDhComputeKey (
>
> @param[in, out] DhContext Pointer to the DH context to be
> freed.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval EFI_INVALID_PARAMETER The DhContext is NULL.
>
> **/
> @@ -717,9 +717,9 @@ IpSecCryptoIoFreeDh (
> If the Random Generator wasn't initiated, initiate it first, then call
> RandomBytes.
>
> @param[out] OutBuffer Pointer to buffer to receive random value.
> - @param[in] Bytes Size of randome bytes to generate.
> + @param[in] Bytes Size of random bytes to generate.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -762,9 +762,9 @@ IpSecCryptoIoAuthDataWithCertificate (
> @param[in] CertLen The size of Certificate in bytes.
> @param[in] InCa Pointer to the CA certificate
> @param[in] CaLen The size of CA certificate in bytes.
> - @param[in] InData Pointer to octect message hash to be
> checked.
> + @param[in] InData Pointer to octet message hash to be
> checked.
> @param[in] InDataSize Size of the message hash in bytes.
> - @param[in] Singnature The pointer to the RSA PKCS1-V1_5
> signature to be verifed.
> + @param[in] Singnature The pointer to the RSA PKCS1-V1_5
> signature to be verified.
> @param[in] SigSize Size of signature in bytes.
>
> @retval TRUE Valid signature encoded in PKCS1-v1_5.
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/33] Fix typos in comments and variables
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (32 preceding siblings ...)
2016-10-19 7:01 ` [PATCH 33/33] Vlv2TbltDevicePkg: " Gary Lin
@ 2016-10-19 7:28 ` Zeng, Star
2016-10-19 14:50 ` Leif Lindholm
34 siblings, 0 replies; 79+ messages in thread
From: Zeng, Star @ 2016-10-19 7:28 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Zeng, Star
Reviewed-by: Star Zeng <star.zeng@intel.com> to MdeModulePkg change.
Thanks,
Star
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Gary Lin
Sent: Wednesday, October 19, 2016 3:01 PM
To: edk2-devel@lists.01.org
Subject: [edk2] [PATCH 00/33] Fix typos in comments and variables
When I was reading a header file in CrytoPkg, I found some typos. Out of curiosity, I started to search typos in some files and this is what I got.
The patch set looks huge but there are lots of typos shared across files due to copy&paste, so it's actually not so scary. I tried to collect all fixes in the same Pkg in one patch. The only exception is MdeModulePkg since it affected tons of files. I broke it down to several smaller patches and it might be easier for the maintainers to review.
Some patches affect the code, but those patches only change the variable name, so there is no functional change in this patch set.
Gary Lin (33):
ArmPkg: Fix typos in comments
BaseTools: Fix typos in comments and variables
CorebootPayloadPkg: Fix typos in comments
CorebootModulePkg: Fix typos in comments
CryptoPkg: Fix typos in comments
DuetPkg: Fix typos in comments
EdkCompatibilityPkg: Fix typos in comments
EmulatorPkg: Fix typos in comments and variables
EmbeddedPkg: Fix typos in comments
IntelFrameworkModulePkg: Fix typos in comments
IntelFrameworkPkg: Fix typos in comments
IntelFspPkg: Fix typos in comments
IntelFspWrapperPkg: Fix typos in comments
IntelFsp2Pkg: Fix typos in comments
IntelFsp2WrapperPkg: Fix a typo in the comment
MdeModulePkg: BootManagerMenuApp: Fix typos in comments
MdeModulePkg/Bus: Fix typos in comments
MdeModulePkg/Core: Fix typos in comments
MdeModulePkg/Include: Fix typos in comments
MdeModulePkg/Library: Fix typos in comments and variables
MdeModulePkg/Universal: Fix typos in comments
MdePkg: Fix typos in comments
NetworkPkg: Fix typos in comments
Nt32Pkg: Fix typos in comments and variables
OptionRomPkg: Fix typos in comments
OvmfPkg: Fix typos in comments
QuarkPlatformPkg: Fix typos in comments
QuarkSocPkg: Fix typos in comments
SecurityPkg: Fix typos in comments
ShellPkg: Fix typos in comments and variables
SourceLevelDebugPkg: Fix typos in comments
UefiCpuPkg: Fix typos in comments
Vlv2TbltDevicePkg: Fix typos in comments
ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S | 2 +-
ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm | 2 +-
ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c | 4 +-
BaseTools/Source/C/Common/Decompress.c | 6 +-
BaseTools/Source/C/Common/Decompress.h | 4 +-
BaseTools/Source/C/Common/ParseInf.c | 2 +-
BaseTools/Source/C/EfiRom/EfiRom.c | 4 +-
BaseTools/Source/C/GenCrc32/GenCrc32.c | 2 +-
BaseTools/Source/C/GenFfs/GenFfs.c | 2 +-
BaseTools/Source/C/GenFw/GenFw.c | 8 +--
BaseTools/Source/C/GenPage/GenPage.c | 2 +-
BaseTools/Source/C/GenSec/GenSec.c | 14 ++--
BaseTools/Source/C/Split/Split.c | 6 +-
BaseTools/Source/C/TianoCompress/TianoCompress.h | 4 +-
BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c | 2 +-
CorebootModulePkg/SecCore/FindPeiCore.c | 2 +-
CorebootModulePkg/SecCore/SecMain.c | 6 +-
CorebootModulePkg/SecCore/SecMain.h | 4 +-
CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c | 4 +-
CryptoPkg/Include/Library/BaseCryptLib.h | 68 ++++++++++----------
CryptoPkg/Include/OpenSslSupport.h | 14 ++--
CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c | 8 +--
CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c | 8 +--
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c | 4 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c | 2 +-
CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c | 2 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthenticodeNull.c | 4 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c | 2 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNull.c | 2 +-
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCryptLib.c | 4 +-
DuetPkg/BiosVideoThunkDxe/BiosVideo.c | 4 +-
DuetPkg/DxeIpl/HobGeneration.c | 2 +-
DuetPkg/EfiLdr/EfiLoader.c | 2 +-
DuetPkg/EfiLdr/LzmaDecompress.h | 2 +-
DuetPkg/EfiLdr/TianoDecompress.c | 6 +-
DuetPkg/EfiLdr/TianoDecompress.h | 4 +-
DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 14 ++--
DuetPkg/PciBusNoEnumerationDxe/PciBus.h | 2 +-
EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/ScriptSave.c | 4 +-
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h | 4 +-
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package.c | 6 +-
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c | 2 +-
EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h | 2 +-
EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c | 2 +-
EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.h | 2 +-
EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h | 2 +-
EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h | 4 +-
EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h | 4 +-
EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h | 4 +-
EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c | 2 +-
EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | 10 +--
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h | 2 +-
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c | 2 +-
EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c | 6 +-
EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.h | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c | 6 +-
EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h | 4 +-
EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/CustomizedCompress.c | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c | 2 +-
EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c | 2 +-
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c | 2 +-
EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c | 2 +-
EmbeddedPkg/GdbStub/GdbStub.c | 2 +-
EmbeddedPkg/GdbStub/GdbStubInternal.h | 2 +-
EmbeddedPkg/Include/Library/GdbSerialLib.h | 4 +-
EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c | 2 +-
EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c | 4 +-
EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h | 2 +-
EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c | 2 +-
EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c | 4 +-
EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c | 4 +-
EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c | 4 +-
EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c | 2 +-
EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c | 2 +-
EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c | 2 +-
EmulatorPkg/Include/Ppi/EmuThunk.h | 2 +-
EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c | 8 +--
EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 4 +-
EmulatorPkg/Sec/Ia32/TempRam.c | 8 +--
EmulatorPkg/Unix/Host/Host.c | 24 +++----
EmulatorPkg/Unix/Host/Host.h | 4 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c | 4 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c | 4 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c | 6 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h | 8 +--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c | 6 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h | 8 +--
IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c | 12 ++--
IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h | 2 +-
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c | 14 ++--
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h | 62 +++++++++---------
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c | 2 +-
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c | 46 ++++++-------
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c | 2 +-
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h | 4 +-
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c | 4 +-
IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h | 4 +-
IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h | 2 +-
IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c | 8 +--
IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h | 4 +-
IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c | 2 +-
IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c | 2 +-
IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c | 2 +-
IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h | 2 +-
IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c | 4 +-
IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c | 2 +-
IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c | 6 +-
IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c | 4 +-
IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h | 2 +-
IntelFrameworkPkg/Include/Protocol/LegacyBios.h | 2 +-
IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h | 2 +-
IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c | 2 +-
IntelFsp2Pkg/FspSecCore/SecMain.c | 6 +-
IntelFsp2Pkg/FspSecCore/SecMain.h | 2 +-
IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h | 2 +-
IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c | 2 +-
IntelFspPkg/FspSecCore/SecMain.c | 6 +-
IntelFspPkg/FspSecCore/SecMain.h | 2 +-
IntelFspPkg/Include/Library/FspCommonLib.h | 6 +-
IntelFspPkg/Include/Library/FspSwitchStackLib.h | 2 +-
IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c | 6 +-
IntelFspWrapperPkg/FspInitPei/FindPeiCore.c | 2 +-
IntelFspWrapperPkg/FspInitPei/SecMain.c | 2 +-
IntelFspWrapperPkg/FspInitPei/SecMain.h | 4 +-
IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c | 2 +-
IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c | 2 +-
IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c | 2 +-
IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h | 4 +-
IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRamSupport.c | 4 +-
MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c | 18 +++---
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c | 2 +-
MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c | 2 +-
MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c | 4 +-
MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c | 4 +-
MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c | 12 ++--
MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h | 12 ++--
MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c | 6 +-
MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h | 8 +--
MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 2 +-
MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h | 8 +--
MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h | 6 +-
MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c | 6 +-
MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 14 ++--
MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 4 +-
MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c | 2 +-
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c | 2 +-
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h | 2 +-
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c | 2 +-
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h | 4 +-
MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h | 2 +-
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c | 4 +-
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c | 2 +-
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h | 2 +-
MdeModulePkg/Core/Dxe/DxeMain.h | 20 +++---
MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c | 2 +-
MdeModulePkg/Core/Dxe/Event/Timer.c | 2 +-
MdeModulePkg/Core/Dxe/FwVol/FwVol.c | 4 +-
MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c | 4 +-
MdeModulePkg/Core/Dxe/Hand/Locate.c | 2 +-
MdeModulePkg/Core/Dxe/Image/Image.c | 4 +-
MdeModulePkg/Core/Dxe/Mem/Page.c | 2 +-
MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 12 ++--
MdeModulePkg/Core/Pei/FwVol/FwVol.c | 2 +-
MdeModulePkg/Core/Pei/Memory/MemoryServices.c | 2 +-
MdeModulePkg/Core/Pei/PeiMain.h | 4 +-
MdeModulePkg/Core/Pei/PeiMain/PeiMain.c | 4 +-
MdeModulePkg/Core/PiSmmCore/Dependency.c | 4 +-
MdeModulePkg/Core/PiSmmCore/Dispatcher.c | 2 +-
MdeModulePkg/Core/PiSmmCore/Locate.c | 2 +-
MdeModulePkg/Include/Library/CustomizedDisplayLib.h | 2 +-
MdeModulePkg/Include/Library/DebugAgentLib.h | 4 +-
MdeModulePkg/Include/Library/HiiLib.h | 16 ++---
MdeModulePkg/Include/Library/NetLib.h | 32 ++++-----
MdeModulePkg/Include/Ppi/AtaController.h | 2 +-
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c | 2 +-
MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c | 2 +-
MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.c | 2 +-
MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c | 2 +-
MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.c | 2 +-
MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 8 +--
MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | 2 +-
MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 16 ++---
MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/PeiCrc32GuidedSectionExtractLib.c | 2 +-
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c | 2 +-
MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryProfileLib.c | 2 +-
MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c | 2 +-
MdeModulePkg/Library/SmmMemoryAllocationProfileLib/MemoryAllocationLib.c | 2 +-
MdeModulePkg/Library/SmmMemoryAllocationProfileLib/SmmMemoryProfileLib.c | 2 +-
MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c | 2 +-
MdeModulePkg/Library/UefiHiiLib/HiiLanguage.c | 4 +-
MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 42 ++++++------
MdeModulePkg/Library/UefiHiiLib/HiiString.c | 2 +-
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c | 2 +-
MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c | 2 +-
MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c | 2 +-
MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c | 2 +-
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c | 2 +-
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h | 2 +-
MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c | 2 +-
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h | 4 +-
MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c | 2 +-
MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c | 2 +-
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h | 4 +-
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c | 4 +-
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c | 4 +-
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h | 20 +++---
MdeModulePkg/Universal/HiiDatabaseDxe/String.c | 8 +--
MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c | 2 +-
MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c | 2 +-
MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c | 2 +-
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 2 +-
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h | 2 +-
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c | 2 +-
MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c | 2 +-
MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h | 2 +-
MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c | 4 +-
MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c | 8 +--
MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c | 8 +--
MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 8 +--
MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c | 2 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h | 4 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c | 4 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c | 4 +-
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c | 2 +-
MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h | 6 +-
MdePkg/Include/Library/SmmPeriodicSmiLib.h | 4 +-
MdePkg/Include/Protocol/HiiConfigKeyword.h | 2 +-
MdePkg/Include/Protocol/HiiDatabase.h | 4 +-
MdePkg/Include/Protocol/Kms.h | 10 +--
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | 8 +--
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h | 2 +-
MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c | 2 +-
MdePkg/Library/DxeIoLibCpuIo2/IoLib.c | 2 +-
MdePkg/Library/DxeIoLibEsal/IoLib.c | 2 +-
MdePkg/Library/DxePciLibEsal/PciLib.c | 2 +-
MdePkg/Library/DxePciSegmentLibEsal/PciLib.c | 2 +-
MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c | 4 +-
MdePkg/Library/PeiPciLibPciCfg2/PciLib.c | 2 +-
MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c | 2 +-
MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c | 2 +-
MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c | 2 +-
MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c | 2 +-
MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c | 2 +-
NetworkPkg/Application/Ping6/Ping6.c | 8 +--
NetworkPkg/IScsiDxe/IScsiProto.c | 4 +-
NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 +-
NetworkPkg/Ip6Dxe/Ip6Option.c | 16 ++---
NetworkPkg/Ip6Dxe/Ip6Option.h | 10 +--
NetworkPkg/Ip6Dxe/Ip6Output.c | 8 +--
NetworkPkg/IpSecDxe/IpSecCryptIo.c | 50 +++++++-------
NetworkPkg/IpSecDxe/IpSecCryptIo.h | 66 +++++++++----------
Nt32Pkg/Include/Ppi/NtAutoscan.h | 2 +-
Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c | 8 +--
Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c | 6 +-
Nt32Pkg/Sec/SecMain.c | 50 +++++++-------
Nt32Pkg/Sec/SecMain.h | 6 +-
Nt32Pkg/Sec/WinNtThunk.c | 2 +-
Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c | 2 +-
OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c | 6 +-
OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h | 4 +-
OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c | 2 +-
OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 14 ++--
OvmfPkg/Sec/SecMain.c | 2 +-
QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c | 6 +-
QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c | 2 +-
QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c | 2 +-
QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c | 6 +-
QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c | 2 +-
QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c | 2 +-
QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c | 2 +-
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c | 4 +-
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h | 2 +-
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c | 2 +-
QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h | 2 +-
QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c | 4 +-
QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h | 2 +-
SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c | 2 +-
SecurityPkg/Include/Library/TcgPpVendorLib.h | 4 +-
SecurityPkg/Include/Library/TcgStorageOpalLib.h | 2 +-
SecurityPkg/Include/Library/TrEEPpVendorLib.h | 4 +-
SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c | 6 +-
SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c | 2 +-
SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c | 2 +-
SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c | 2 +-
SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 2 +-
SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c | 2 +-
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 2 +-
SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 2 +-
SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c | 2 +-
SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c | 2 +-
SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h | 2 +-
ShellPkg/Include/Library/ShellCEntryLib.h | 2 +-
ShellPkg/Include/Library/ShellCommandLib.h | 2 +-
ShellPkg/Include/Protocol/EfiShellEnvironment2.h | 2 +-
ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c | 2 +-
ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c | 10 +--
ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c | 2 +-
ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c | 8 +--
ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 8 +--
SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h | 8 +--
SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c | 6 +-
SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.h | 4 +-
SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.c | 4 +-
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.c | 4 +-
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c | 6 +-
UefiCpuPkg/Include/Library/MtrrLib.h | 2 +-
UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 2 +-
UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +-
UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2 +-
UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 10 +--
Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c | 2 +-
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c | 4 +-
Vlv2TbltDevicePkg/Include/Library/CpuIA32.h | 2 +-
Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h | 2 +-
Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 16 ++---
Vlv2TbltDevicePkg/PlatformDxe/PciBus.h | 14 ++--
Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c | 4 +-
Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c | 2 +-
Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c | 4 +-
347 files changed, 913 insertions(+), 913 deletions(-)
--
2.10.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 02/33] BaseTools: Fix typos in comments and variables
2016-10-19 7:01 ` [PATCH 02/33] BaseTools: Fix typos in comments and variables Gary Lin
@ 2016-10-19 7:30 ` Gao, Liming
2016-10-19 7:36 ` Zhu, Yonghong
1 sibling, 0 replies; 79+ messages in thread
From: Gao, Liming @ 2016-10-19 7:30 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: Liming Gao <liming.gao@intel.com>
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Zhu, Yonghong <yonghong.zhu@intel.com>; Gao, Liming
> <liming.gao@intel.com>
> Subject: [PATCH 02/33] BaseTools: Fix typos in comments and variables
>
> - Pacakge -> Package
> - outputed -> outputted
> - successull -> successfully
> - Libary -> Library
> - Pointion -> Position
> - paramter -> parameter
>
> Cc: Yonghong Zhu <yonghong.zhu@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> BaseTools/Source/C/Common/Decompress.c | 6 +++---
> BaseTools/Source/C/Common/Decompress.h | 4 ++--
> BaseTools/Source/C/Common/ParseInf.c | 2 +-
> BaseTools/Source/C/EfiRom/EfiRom.c | 4 ++--
> BaseTools/Source/C/GenCrc32/GenCrc32.c | 2 +-
> BaseTools/Source/C/GenFfs/GenFfs.c | 2 +-
> BaseTools/Source/C/GenFw/GenFw.c | 8 ++++----
> BaseTools/Source/C/GenPage/GenPage.c | 2 +-
> BaseTools/Source/C/GenSec/GenSec.c | 14 +++++++-------
> BaseTools/Source/C/Split/Split.c | 6 +++---
> BaseTools/Source/C/TianoCompress/TianoCompress.h | 4 ++--
> BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c | 2 +-
> 12 files changed, 28 insertions(+), 28 deletions(-)
>
> diff --git a/BaseTools/Source/C/Common/Decompress.c
> b/BaseTools/Source/C/Common/Decompress.c
> index 48578ea..d266b6f 100644
> --- a/BaseTools/Source/C/Common/Decompress.c
> +++ b/BaseTools/Source/C/Common/Decompress.c
> @@ -675,7 +675,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> @@ -810,7 +810,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> @@ -840,7 +840,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> diff --git a/BaseTools/Source/C/Common/Decompress.h
> b/BaseTools/Source/C/Common/Decompress.h
> index 004804c..2899ed5 100644
> --- a/BaseTools/Source/C/Common/Decompress.h
> +++ b/BaseTools/Source/C/Common/Decompress.h
> @@ -39,7 +39,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> **/
> @@ -97,7 +97,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> **/
> diff --git a/BaseTools/Source/C/Common/ParseInf.c
> b/BaseTools/Source/C/Common/ParseInf.c
> index 9e85a88..0a204c8 100644
> --- a/BaseTools/Source/C/Common/ParseInf.c
> +++ b/BaseTools/Source/C/Common/ParseInf.c
> @@ -506,7 +506,7 @@ Returns:
> Index = 0;
>
> //
> - // Check input paramter
> + // Check input parameter
> //
> if (AsciiString == NULL || ReturnValue == NULL) {
> return EFI_INVALID_PARAMETER;
> diff --git a/BaseTools/Source/C/EfiRom/EfiRom.c
> b/BaseTools/Source/C/EfiRom/EfiRom.c
> index 7a57912..e2bd289 100644
> --- a/BaseTools/Source/C/EfiRom/EfiRom.c
> +++ b/BaseTools/Source/C/EfiRom/EfiRom.c
> @@ -120,7 +120,7 @@ Returns:
> for (FList = mOptions.FileList; FList != NULL; FList = FList->Next) {
> if (stricmp (mOptions.OutFileName, FList->FileName) == 0) {
> Status = STATUS_ERROR;
> - Error (NULL, 0, 1002, "Invalid input paramter", "Input and output file
> names must be different - %s = %s.", FList->FileName,
> mOptions.OutFileName);
> + Error (NULL, 0, 1002, "Invalid input parameter", "Input and output file
> names must be different - %s = %s.", FList->FileName,
> mOptions.OutFileName);
> goto BailOut;
> }
> }
> @@ -168,7 +168,7 @@ Returns:
> // Check total size
> //
> if (TotalSize > MAX_OPTION_ROM_SIZE) {
> - Error (NULL, 0, 2000, "Invalid paramter", "Option ROM image size exceeds
> limit of 0x%X bytes.", MAX_OPTION_ROM_SIZE);
> + Error (NULL, 0, 2000, "Invalid parameter", "Option ROM image size
> exceeds limit of 0x%X bytes.", MAX_OPTION_ROM_SIZE);
> Status = STATUS_ERROR;
> }
>
> diff --git a/BaseTools/Source/C/GenCrc32/GenCrc32.c
> b/BaseTools/Source/C/GenCrc32/GenCrc32.c
> index ad8cf57..f4d129e 100644
> --- a/BaseTools/Source/C/GenCrc32/GenCrc32.c
> +++ b/BaseTools/Source/C/GenCrc32/GenCrc32.c
> @@ -248,7 +248,7 @@ Returns:
> VerboseMsg ("%s tool start.", UTILITY_NAME);
>
> //
> - // Check Input paramters
> + // Check Input parameters
> //
> if (FileAction == CRC32_NULL) {
> Error (NULL, 0, 1001, "Missing option", "either the encode or the decode
> option must be specified!");
> diff --git a/BaseTools/Source/C/GenFfs/GenFfs.c
> b/BaseTools/Source/C/GenFfs/GenFfs.c
> index 433b608..9a738cb 100644
> --- a/BaseTools/Source/C/GenFfs/GenFfs.c
> +++ b/BaseTools/Source/C/GenFfs/GenFfs.c
> @@ -739,7 +739,7 @@ Returns:
> VerboseMsg ("%s tool start.", UTILITY_NAME);
>
> //
> - // Check the complete input paramters.
> + // Check the complete input parameters.
> //
> if (FfsFiletype == EFI_FV_FILETYPE_ALL) {
> Error (NULL, 0, 1001, "Missing option", "filetype");
> diff --git a/BaseTools/Source/C/GenFw/GenFw.c
> b/BaseTools/Source/C/GenFw/GenFw.c
> index 03bfaa1..b62756a 100644
> --- a/BaseTools/Source/C/GenFw/GenFw.c
> +++ b/BaseTools/Source/C/GenFw/GenFw.c
> @@ -1093,7 +1093,7 @@ Returns:
> EFI_HII_PACKAGE_LIST_HEADER HiiPackageListHeader;
> EFI_HII_PACKAGE_HEADER HiiPackageHeader;
> EFI_IFR_FORM_SET IfrFormSet;
> - UINT8 NumberOfFormPacakge;
> + UINT8 NumberOfFormPackage;
> EFI_HII_PACKAGE_HEADER EndPackage;
> UINT32 HiiSectionHeaderSize;
> UINT8 *HiiSectionHeader;
> @@ -1140,7 +1140,7 @@ Returns:
> KeepExceptionTableFlag = FALSE;
> KeepOptionalHeaderFlag = FALSE;
> KeepZeroPendingFlag = FALSE;
> - NumberOfFormPacakge = 0;
> + NumberOfFormPackage = 0;
> HiiPackageListBuffer = NULL;
> HiiPackageDataPointer = NULL;
> EndPackage.Length = sizeof (EFI_HII_PACKAGE_HEADER);
> @@ -1642,7 +1642,7 @@ Returns:
> fread (&IfrFormSet, 1, sizeof (IfrFormSet), fpIn);
> memcpy (&HiiPackageListGuid, &IfrFormSet.Guid, sizeof (EFI_GUID));
> }
> - NumberOfFormPacakge ++;
> + NumberOfFormPackage ++;
> }
> HiiPackageListHeader.PackageLength += FileLength;
> fclose (fpIn);
> @@ -1651,7 +1651,7 @@ Returns:
> //
> // Check whether hii packages are valid
> //
> - if (NumberOfFormPacakge > 1) {
> + if (NumberOfFormPackage > 1) {
> Error (NULL, 0, 3000, "Invalid", "The input hii packages contains more than
> one hii form package");
> goto Finish;
> }
> diff --git a/BaseTools/Source/C/GenPage/GenPage.c
> b/BaseTools/Source/C/GenPage/GenPage.c
> index fb829e6..ef69823 100644
> --- a/BaseTools/Source/C/GenPage/GenPage.c
> +++ b/BaseTools/Source/C/GenPage/GenPage.c
> @@ -401,7 +401,7 @@ main (
> }
>
> //
> - // Don't recognize the paramter.
> + // Don't recognize the parameter.
> //
> InputFile = argv[0];
> argc--;
> diff --git a/BaseTools/Source/C/GenSec/GenSec.c
> b/BaseTools/Source/C/GenSec/GenSec.c
> index 20b2a10..d2bf102 100644
> --- a/BaseTools/Source/C/GenSec/GenSec.c
> +++ b/BaseTools/Source/C/GenSec/GenSec.c
> @@ -267,10 +267,10 @@ Returns:
> STATUS Status;
>
> if (InputFileNum > 1) {
> - Error (NULL, 0, 2000, "Invalid paramter", "more than one input file
> specified");
> + Error (NULL, 0, 2000, "Invalid parameter", "more than one input file
> specified");
> return STATUS_ERROR;
> } else if (InputFileNum < 1) {
> - Error (NULL, 0, 2000, "Invalid paramter", "no input file specified");
> + Error (NULL, 0, 2000, "Invalid parameter", "no input file specified");
> return STATUS_ERROR;
> }
> //
> @@ -296,7 +296,7 @@ Returns:
> // Size must fit in 3 bytes
> //
> //if (TotalLength >= MAX_SECTION_SIZE) {
> - // Error (NULL, 0, 2000, "Invalid paramter", "%s file size (0x%X) exceeds
> section size limit(%uM).", InputFileName[0], (unsigned) TotalLength,
> MAX_SECTION_SIZE>>20);
> + // Error (NULL, 0, 2000, "Invalid parameter", "%s file size (0x%X) exceeds
> section size limit(%uM).", InputFileName[0], (unsigned) TotalLength,
> MAX_SECTION_SIZE>>20);
> // goto Done;
> //}
> HeaderLength = sizeof (EFI_COMMON_SECTION_HEADER);
> @@ -436,12 +436,12 @@ Returns:
> UINT32 HeaderSize;
>
> if (InputFileNum < 1) {
> - Error (NULL, 0, 2000, "Invalid paramter", "must specify at least one input
> file");
> + Error (NULL, 0, 2000, "Invalid parameter", "must specify at least one input
> file");
> return EFI_INVALID_PARAMETER;
> }
>
> if (BufferLength == NULL) {
> - Error (NULL, 0, 2000, "Invalid paramter", "BufferLength can't be NULL");
> + Error (NULL, 0, 2000, "Invalid parameter", "BufferLength can't be NULL");
> return EFI_INVALID_PARAMETER;
> }
>
> @@ -698,7 +698,7 @@ Returns:
> break;
>
> default:
> - Error (NULL, 0, 2000, "Invalid paramter", "unknown compression type");
> + Error (NULL, 0, 2000, "Invalid parameter", "unknown compression type");
> free (FileBuffer);
> return EFI_ABORTED;
> }
> @@ -737,7 +737,7 @@ Returns:
> "the original section size is %d bytes and the compressed section size
> is %u bytes", (unsigned) InputLength, (unsigned) CompressedLength);
>
> //if (TotalLength >= MAX_SECTION_SIZE) {
> - // Error (NULL, 0, 2000, "Invalid paramter", "The size of all files exceeds
> section size limit(%uM).", MAX_SECTION_SIZE>>20);
> + // Error (NULL, 0, 2000, "Invalid parameter", "The size of all files exceeds
> section size limit(%uM).", MAX_SECTION_SIZE>>20);
> // if (FileBuffer != NULL) {
> // free (FileBuffer);
> // }
> diff --git a/BaseTools/Source/C/Split/Split.c
> b/BaseTools/Source/C/Split/Split.c
> index c6f547c..d723ed0 100644
> --- a/BaseTools/Source/C/Split/Split.c
> +++ b/BaseTools/Source/C/Split/Split.c
> @@ -323,7 +323,7 @@ Returns:
> if (strlen(argv[0]) > 2) {
> Status = CountVerboseLevel (&argv[0][2], strlen(argv[0]) - 2,
> &VerboseLevel);
> if (EFI_ERROR (Status)) {
> - Error (NULL, 0, 0x1003, NULL, "%s is invaild paramter!", argv[0]);
> + Error (NULL, 0, 0x1003, NULL, "%s is invaild parameter!", argv[0]);
> return STATUS_ERROR;
> }
> }
> @@ -344,9 +344,9 @@ Returns:
> continue;
> }
> //
> - // Don't recognize the paramter.
> + // Don't recognize the parameter.
> //
> - Error (NULL, 0, 0x1003, NULL, "%s is invaild paramter!", argv[0]);
> + Error (NULL, 0, 0x1003, NULL, "%s is invaild parameter!", argv[0]);
> return STATUS_ERROR;
> }
>
> diff --git a/BaseTools/Source/C/TianoCompress/TianoCompress.h
> b/BaseTools/Source/C/TianoCompress/TianoCompress.h
> index accbe2c..2971225 100644
> --- a/BaseTools/Source/C/TianoCompress/TianoCompress.h
> +++ b/BaseTools/Source/C/TianoCompress/TianoCompress.h
> @@ -1,5 +1,5 @@
> /** @file
> - Internal include file for Tiano Decompress Libary.
> + Internal include file for Tiano Decompress Library.
>
> Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
> This program and the accompanying materials
> @@ -361,7 +361,7 @@ DecodeP (
> /**
> Reads code lengths for the Extra Set or the Position Set.
>
> - Read in the Extra Set or Pointion Set Length Arrary, then
> + Read in the Extra Set or Position Set Length Array, then
> generate the Huffman code mapping for them.
>
> @param Sd The global scratch data.
> diff --git a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c
> b/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c
> index e726ae3..af07c27 100644
> --- a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c
> +++ b/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c
> @@ -39,7 +39,7 @@ Fix for Borland C++ 4.x & 5.x compiling with ALL warnings
> enabled
> #pragma warn -aus /* unused assignment of 'xxx' */
> #endif
>
> -int action_no = 0; /* keep track of actions outputed */
> +int action_no = 0; /* keep track of actions outputted */
> int nfa_allocated = 0; /* keeps track of number of nfa nodes */
> nfa_node **nfa_array = NULL;/* root of binary tree that stores nfa array */
> nfa_node nfa_model_node; /* model to initialize new nodes */
> --
> 2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 02/33] BaseTools: Fix typos in comments and variables
2016-10-19 7:01 ` [PATCH 02/33] BaseTools: Fix typos in comments and variables Gary Lin
2016-10-19 7:30 ` Gao, Liming
@ 2016-10-19 7:36 ` Zhu, Yonghong
1 sibling, 0 replies; 79+ messages in thread
From: Zhu, Yonghong @ 2016-10-19 7:36 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Gao, Liming, Zhu, Yonghong
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Best Regards,
Zhu Yonghong
-----Original Message-----
From: Gary Lin [mailto:glin@suse.com]
Sent: Wednesday, October 19, 2016 3:01 PM
To: edk2-devel@lists.01.org
Cc: Zhu, Yonghong <yonghong.zhu@intel.com>; Gao, Liming <liming.gao@intel.com>
Subject: [PATCH 02/33] BaseTools: Fix typos in comments and variables
- Pacakge -> Package
- outputed -> outputted
- successull -> successfully
- Libary -> Library
- Pointion -> Position
- paramter -> parameter
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
BaseTools/Source/C/Common/Decompress.c | 6 +++---
BaseTools/Source/C/Common/Decompress.h | 4 ++--
BaseTools/Source/C/Common/ParseInf.c | 2 +-
BaseTools/Source/C/EfiRom/EfiRom.c | 4 ++--
BaseTools/Source/C/GenCrc32/GenCrc32.c | 2 +-
BaseTools/Source/C/GenFfs/GenFfs.c | 2 +-
BaseTools/Source/C/GenFw/GenFw.c | 8 ++++----
BaseTools/Source/C/GenPage/GenPage.c | 2 +-
BaseTools/Source/C/GenSec/GenSec.c | 14 +++++++-------
BaseTools/Source/C/Split/Split.c | 6 +++---
BaseTools/Source/C/TianoCompress/TianoCompress.h | 4 ++-- BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c | 2 +-
12 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/BaseTools/Source/C/Common/Decompress.c b/BaseTools/Source/C/Common/Decompress.c
index 48578ea..d266b6f 100644
--- a/BaseTools/Source/C/Common/Decompress.c
+++ b/BaseTools/Source/C/Common/Decompress.c
@@ -675,7 +675,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -810,7 +810,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
@@ -840,7 +840,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
--*/
diff --git a/BaseTools/Source/C/Common/Decompress.h b/BaseTools/Source/C/Common/Decompress.h
index 004804c..2899ed5 100644
--- a/BaseTools/Source/C/Common/Decompress.h
+++ b/BaseTools/Source/C/Common/Decompress.h
@@ -39,7 +39,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
**/
@@ -97,7 +97,7 @@ Arguments:
Returns:
- EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successull retrieved.
+ EFI_SUCCESS - The size of destination buffer and the size of scratch buffer are successfully retrieved.
EFI_INVALID_PARAMETER - The source data is corrupted
**/
diff --git a/BaseTools/Source/C/Common/ParseInf.c b/BaseTools/Source/C/Common/ParseInf.c
index 9e85a88..0a204c8 100644
--- a/BaseTools/Source/C/Common/ParseInf.c
+++ b/BaseTools/Source/C/Common/ParseInf.c
@@ -506,7 +506,7 @@ Returns:
Index = 0;
//
- // Check input paramter
+ // Check input parameter
//
if (AsciiString == NULL || ReturnValue == NULL) {
return EFI_INVALID_PARAMETER;
diff --git a/BaseTools/Source/C/EfiRom/EfiRom.c b/BaseTools/Source/C/EfiRom/EfiRom.c
index 7a57912..e2bd289 100644
--- a/BaseTools/Source/C/EfiRom/EfiRom.c
+++ b/BaseTools/Source/C/EfiRom/EfiRom.c
@@ -120,7 +120,7 @@ Returns:
for (FList = mOptions.FileList; FList != NULL; FList = FList->Next) {
if (stricmp (mOptions.OutFileName, FList->FileName) == 0) {
Status = STATUS_ERROR;
- Error (NULL, 0, 1002, "Invalid input paramter", "Input and output file names must be different - %s = %s.", FList->FileName, mOptions.OutFileName);
+ Error (NULL, 0, 1002, "Invalid input parameter", "Input and
+ output file names must be different - %s = %s.", FList->FileName,
+ mOptions.OutFileName);
goto BailOut;
}
}
@@ -168,7 +168,7 @@ Returns:
// Check total size
//
if (TotalSize > MAX_OPTION_ROM_SIZE) {
- Error (NULL, 0, 2000, "Invalid paramter", "Option ROM image size exceeds limit of 0x%X bytes.", MAX_OPTION_ROM_SIZE);
+ Error (NULL, 0, 2000, "Invalid parameter", "Option ROM image size
+ exceeds limit of 0x%X bytes.", MAX_OPTION_ROM_SIZE);
Status = STATUS_ERROR;
}
diff --git a/BaseTools/Source/C/GenCrc32/GenCrc32.c b/BaseTools/Source/C/GenCrc32/GenCrc32.c
index ad8cf57..f4d129e 100644
--- a/BaseTools/Source/C/GenCrc32/GenCrc32.c
+++ b/BaseTools/Source/C/GenCrc32/GenCrc32.c
@@ -248,7 +248,7 @@ Returns:
VerboseMsg ("%s tool start.", UTILITY_NAME);
//
- // Check Input paramters
+ // Check Input parameters
//
if (FileAction == CRC32_NULL) {
Error (NULL, 0, 1001, "Missing option", "either the encode or the decode option must be specified!"); diff --git a/BaseTools/Source/C/GenFfs/GenFfs.c b/BaseTools/Source/C/GenFfs/GenFfs.c
index 433b608..9a738cb 100644
--- a/BaseTools/Source/C/GenFfs/GenFfs.c
+++ b/BaseTools/Source/C/GenFfs/GenFfs.c
@@ -739,7 +739,7 @@ Returns:
VerboseMsg ("%s tool start.", UTILITY_NAME);
//
- // Check the complete input paramters.
+ // Check the complete input parameters.
//
if (FfsFiletype == EFI_FV_FILETYPE_ALL) {
Error (NULL, 0, 1001, "Missing option", "filetype"); diff --git a/BaseTools/Source/C/GenFw/GenFw.c b/BaseTools/Source/C/GenFw/GenFw.c
index 03bfaa1..b62756a 100644
--- a/BaseTools/Source/C/GenFw/GenFw.c
+++ b/BaseTools/Source/C/GenFw/GenFw.c
@@ -1093,7 +1093,7 @@ Returns:
EFI_HII_PACKAGE_LIST_HEADER HiiPackageListHeader;
EFI_HII_PACKAGE_HEADER HiiPackageHeader;
EFI_IFR_FORM_SET IfrFormSet;
- UINT8 NumberOfFormPacakge;
+ UINT8 NumberOfFormPackage;
EFI_HII_PACKAGE_HEADER EndPackage;
UINT32 HiiSectionHeaderSize;
UINT8 *HiiSectionHeader;
@@ -1140,7 +1140,7 @@ Returns:
KeepExceptionTableFlag = FALSE;
KeepOptionalHeaderFlag = FALSE;
KeepZeroPendingFlag = FALSE;
- NumberOfFormPacakge = 0;
+ NumberOfFormPackage = 0;
HiiPackageListBuffer = NULL;
HiiPackageDataPointer = NULL;
EndPackage.Length = sizeof (EFI_HII_PACKAGE_HEADER);
@@ -1642,7 +1642,7 @@ Returns:
fread (&IfrFormSet, 1, sizeof (IfrFormSet), fpIn);
memcpy (&HiiPackageListGuid, &IfrFormSet.Guid, sizeof (EFI_GUID));
}
- NumberOfFormPacakge ++;
+ NumberOfFormPackage ++;
}
HiiPackageListHeader.PackageLength += FileLength;
fclose (fpIn);
@@ -1651,7 +1651,7 @@ Returns:
//
// Check whether hii packages are valid
//
- if (NumberOfFormPacakge > 1) {
+ if (NumberOfFormPackage > 1) {
Error (NULL, 0, 3000, "Invalid", "The input hii packages contains more than one hii form package");
goto Finish;
}
diff --git a/BaseTools/Source/C/GenPage/GenPage.c b/BaseTools/Source/C/GenPage/GenPage.c
index fb829e6..ef69823 100644
--- a/BaseTools/Source/C/GenPage/GenPage.c
+++ b/BaseTools/Source/C/GenPage/GenPage.c
@@ -401,7 +401,7 @@ main (
}
//
- // Don't recognize the paramter.
+ // Don't recognize the parameter.
//
InputFile = argv[0];
argc--;
diff --git a/BaseTools/Source/C/GenSec/GenSec.c b/BaseTools/Source/C/GenSec/GenSec.c
index 20b2a10..d2bf102 100644
--- a/BaseTools/Source/C/GenSec/GenSec.c
+++ b/BaseTools/Source/C/GenSec/GenSec.c
@@ -267,10 +267,10 @@ Returns:
STATUS Status;
if (InputFileNum > 1) {
- Error (NULL, 0, 2000, "Invalid paramter", "more than one input file specified");
+ Error (NULL, 0, 2000, "Invalid parameter", "more than one input
+ file specified");
return STATUS_ERROR;
} else if (InputFileNum < 1) {
- Error (NULL, 0, 2000, "Invalid paramter", "no input file specified");
+ Error (NULL, 0, 2000, "Invalid parameter", "no input file
+ specified");
return STATUS_ERROR;
}
//
@@ -296,7 +296,7 @@ Returns:
// Size must fit in 3 bytes
//
//if (TotalLength >= MAX_SECTION_SIZE) {
- // Error (NULL, 0, 2000, "Invalid paramter", "%s file size (0x%X) exceeds section size limit(%uM).", InputFileName[0], (unsigned) TotalLength, MAX_SECTION_SIZE>>20);
+ // Error (NULL, 0, 2000, "Invalid parameter", "%s file size (0x%X)
+ exceeds section size limit(%uM).", InputFileName[0], (unsigned)
+ TotalLength, MAX_SECTION_SIZE>>20);
// goto Done;
//}
HeaderLength = sizeof (EFI_COMMON_SECTION_HEADER); @@ -436,12 +436,12 @@ Returns:
UINT32 HeaderSize;
if (InputFileNum < 1) {
- Error (NULL, 0, 2000, "Invalid paramter", "must specify at least one input file");
+ Error (NULL, 0, 2000, "Invalid parameter", "must specify at least
+ one input file");
return EFI_INVALID_PARAMETER;
}
if (BufferLength == NULL) {
- Error (NULL, 0, 2000, "Invalid paramter", "BufferLength can't be NULL");
+ Error (NULL, 0, 2000, "Invalid parameter", "BufferLength can't be
+ NULL");
return EFI_INVALID_PARAMETER;
}
@@ -698,7 +698,7 @@ Returns:
break;
default:
- Error (NULL, 0, 2000, "Invalid paramter", "unknown compression type");
+ Error (NULL, 0, 2000, "Invalid parameter", "unknown compression
+ type");
free (FileBuffer);
return EFI_ABORTED;
}
@@ -737,7 +737,7 @@ Returns:
"the original section size is %d bytes and the compressed section size is %u bytes", (unsigned) InputLength, (unsigned) CompressedLength);
//if (TotalLength >= MAX_SECTION_SIZE) {
- // Error (NULL, 0, 2000, "Invalid paramter", "The size of all files exceeds section size limit(%uM).", MAX_SECTION_SIZE>>20);
+ // Error (NULL, 0, 2000, "Invalid parameter", "The size of all files
+ exceeds section size limit(%uM).", MAX_SECTION_SIZE>>20);
// if (FileBuffer != NULL) {
// free (FileBuffer);
// }
diff --git a/BaseTools/Source/C/Split/Split.c b/BaseTools/Source/C/Split/Split.c
index c6f547c..d723ed0 100644
--- a/BaseTools/Source/C/Split/Split.c
+++ b/BaseTools/Source/C/Split/Split.c
@@ -323,7 +323,7 @@ Returns:
if (strlen(argv[0]) > 2) {
Status = CountVerboseLevel (&argv[0][2], strlen(argv[0]) - 2, &VerboseLevel);
if (EFI_ERROR (Status)) {
- Error (NULL, 0, 0x1003, NULL, "%s is invaild paramter!", argv[0]);
+ Error (NULL, 0, 0x1003, NULL, "%s is invaild parameter!",
+ argv[0]);
return STATUS_ERROR;
}
}
@@ -344,9 +344,9 @@ Returns:
continue;
}
//
- // Don't recognize the paramter.
+ // Don't recognize the parameter.
//
- Error (NULL, 0, 0x1003, NULL, "%s is invaild paramter!", argv[0]);
+ Error (NULL, 0, 0x1003, NULL, "%s is invaild parameter!", argv[0]);
return STATUS_ERROR;
}
diff --git a/BaseTools/Source/C/TianoCompress/TianoCompress.h b/BaseTools/Source/C/TianoCompress/TianoCompress.h
index accbe2c..2971225 100644
--- a/BaseTools/Source/C/TianoCompress/TianoCompress.h
+++ b/BaseTools/Source/C/TianoCompress/TianoCompress.h
@@ -1,5 +1,5 @@
/** @file
- Internal include file for Tiano Decompress Libary.
+ Internal include file for Tiano Decompress Library.
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials @@ -361,7 +361,7 @@ DecodeP (
/**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
diff --git a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c b/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c
index e726ae3..af07c27 100644
--- a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c
+++ b/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c
@@ -39,7 +39,7 @@ Fix for Borland C++ 4.x & 5.x compiling with ALL warnings enabled #pragma warn -aus /* unused assignment of 'xxx' */ #endif
-int action_no = 0; /* keep track of actions outputed */
+int action_no = 0; /* keep track of actions outputted */
int nfa_allocated = 0; /* keeps track of number of nfa nodes */
nfa_node **nfa_array = NULL;/* root of binary tree that stores nfa array */
nfa_node nfa_model_node; /* model to initialize new nodes */
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 31/33] SourceLevelDebugPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 31/33] SourceLevelDebugPkg: Fix typos in comments Gary Lin
@ 2016-10-19 7:46 ` Wu, Hao A
0 siblings, 0 replies; 79+ messages in thread
From: Wu, Hao A @ 2016-10-19 7:46 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Fan, Jeff
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Best Regards,
Hao Wu
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 3:02 PM
> To: edk2-devel@lists.01.org
> Cc: Fan, Jeff; Wu, Hao A
> Subject: [PATCH 31/33] SourceLevelDebugPkg: Fix typos in comments
>
> - descrption -> description
> - Libary -> Library
> - funciton -> function
> - paramter -> parameter
> - triggerred -> triggered
> - hanlde -> handle
>
> Cc: Jeff Fan <jeff.fan@intel.com>
> Cc: Hao Wu <hao.a.wu@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h
> | 8 ++++----
>
> SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAg
> entLib.c | 6 +++---
>
> SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAg
> entLib.h | 4 ++--
>
> SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCom
> municationLibSerialPort.c | 4 ++--
>
> SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunica
> tionLibUsb.c | 4 ++--
>
> SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunic
> ationLibUsb3Common.c | 6 +++---
> 6 files changed, 16 insertions(+), 16 deletions(-)
>
> diff --git a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h
> b/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h
> index 0c1a7b0..b204284 100644
> --- a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h
> +++ b/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h
> @@ -20,10 +20,10 @@ typedef VOID * DEBUG_PORT_HANDLE;
> /**
> Caller provided function to be invoked at the end of DebugPortInitialize().
>
> - Refer to the descrption for DebugPortInitialize() for more details.
> + Refer to the description for DebugPortInitialize() for more details.
>
> @param[in] Context The first input argument of DebugPortInitialize().
> - @param[in] DebugPortHandle Debug port handle created by Debug
> Communication Libary.
> + @param[in] DebugPortHandle Debug port handle created by Debug
> Communication Library.
>
> **/
> typedef
> @@ -41,9 +41,9 @@ VOID
> stack, this function must work on the mode that doesn't return to the caller,
> then
> the caller needs to wrap up all rest of logic after DebugPortInitialize() into
> one
> function and pass it into DebugPortInitialize(). DebugPortInitialize() is
> - responsible to invoke the passing-in funciton at the end of
> DebugPortInitialize().
> + responsible to invoke the passing-in function at the end of
> DebugPortInitialize().
>
> - If the paramter Function is not NULL, Debug Communication Libary instance
> will
> + If the parameter Function is not NULL, Debug Communication Library
> instance will
> invoke it by passing in the Context to be the first parameter. Debug
> Communication
> Library instance could create one debug port handle to be the second
> parameter
> passing into the Function. Debug Communication Library instance also could
> pass
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.c
> b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.c
> index faec574..128c69f 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.c
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.c
> @@ -343,7 +343,7 @@ DebugAgentCallbackMemoryDiscoveredPpi (
> function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
> responsible to invoke the passing-in function at the end of
> InitializeDebugAgent().
>
> - If the parameter Function is not NULL, Debug Agent Libary instance will
> invoke it by
> + If the parameter Function is not NULL, Debug Agent Library instance will
> invoke it by
> passing in the Context to be its parameter.
>
> If Function() is NULL, Debug Agent Library instance will return after setup
> debug
> @@ -648,10 +648,10 @@ InitializeDebugAgent (
> /**
> Caller provided function to be invoked at the end of DebugPortInitialize().
>
> - Refer to the descrption for DebugPortInitialize() for more details.
> + Refer to the description for DebugPortInitialize() for more details.
>
> @param[in] Context The first input argument of DebugPortInitialize().
> - @param[in] DebugPortHandle Debug port handle created by Debug
> Communication Libary.
> + @param[in] DebugPortHandle Debug port handle created by Debug
> Communication Library.
>
> **/
> VOID
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.h
> b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.h
> index a0687fa..300bc35 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.h
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.h
> @@ -30,10 +30,10 @@ typedef struct {
> /**
> Caller provided function to be invoked at the end of DebugPortInitialize().
>
> - Refer to the descrption for DebugPortInitialize() for more details.
> + Refer to the description for DebugPortInitialize() for more details.
>
> @param[in] Context The first input argument of DebugPortInitialize().
> - @param[in] DebugPortHandle Debug port handle created by Debug
> Communication Libary.
> + @param[in] DebugPortHandle Debug port handle created by Debug
> Communication Library.
>
> **/
> VOID
> diff --git
> a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCo
> mmunicationLibSerialPort.c
> b/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCo
> mmunicationLibSerialPort.c
> index 388286b..6a854ff 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCo
> mmunicationLibSerialPort.c
> +++
> b/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCo
> mmunicationLibSerialPort.c
> @@ -26,9 +26,9 @@
> stack, this function must work on the mode that doesn't return to the caller,
> then
> the caller needs to wrap up all rest of logic after DebugPortInitialize() into
> one
> function and pass it into DebugPortInitialize(). DebugPortInitialize() is
> - responsible to invoke the passing-in funciton at the end of
> DebugPortInitialize().
> + responsible to invoke the passing-in function at the end of
> DebugPortInitialize().
>
> - If the paramter Function is not NULL, Debug Communication Libary instance
> will
> + If the parameter Function is not NULL, Debug Communication Library
> instance will
> invoke it by passing in the Context to be the first parameter. Debug
> Communication
> Library instance could create one debug port handle to be the second
> parameter
> passing into the Function. Debug Communication Library instance also could
> pass
> diff --git
> a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommuni
> cationLibUsb.c
> b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommuni
> cationLibUsb.c
> index a08a260..d7829c2 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommuni
> cationLibUsb.c
> +++
> b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommuni
> cationLibUsb.c
> @@ -511,7 +511,7 @@ UsbDebugPortControlTransfer (
> Check if it needs to re-initialize usb debug port hardware.
>
> During different phases switch, such as SEC to PEI or PEI to DXE or DXE to
> SMM, we should check
> - whether the usb debug port hardware configuration is changed. Such case
> can be triggerred by
> + whether the usb debug port hardware configuration is changed. Such case
> can be triggered by
> Pci bus resource allocation and so on.
>
> @param Handle Debug port handle.
> @@ -1007,7 +1007,7 @@ DebugPortPollBuffer (
> /**
> Initialize the debug port.
>
> - If Function is not NULL, Debug Communication Libary will call this function
> + If Function is not NULL, Debug Communication Library will call this function
> by passing in the Context to be the first parameter. If needed, Debug
> Communication
> Library will create one debug port handle to be the second argument passing
> in
> calling the Function, otherwise it will pass NULL to be the second argument of
> diff --git
> a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommun
> icationLibUsb3Common.c
> b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommun
> icationLibUsb3Common.c
> index 7c62bda..04e25e3 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommun
> icationLibUsb3Common.c
> +++
> b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommun
> icationLibUsb3Common.c
> @@ -300,7 +300,7 @@ Done:
> Check if it needs to re-initialize usb debug port hardware.
>
> During different phases switch, such as SEC to PEI or PEI to DXE or DXE to
> SMM, we should check
> - whether the usb debug port hardware configuration is changed. Such case
> can be triggerred by
> + whether the usb debug port hardware configuration is changed. Such case
> can be triggered by
> Pci bus resource allocation and so on.
>
> @param Handle Debug port handle.
> @@ -989,7 +989,7 @@ DebugPortPollBuffer (
> /**
> Initialize the debug port.
>
> - If Function is not NULL, Debug Communication Libary will call this function
> + If Function is not NULL, Debug Communication Library will call this function
> by passing in the Context to be the first parameter. If needed, Debug
> Communication
> Library will create one debug port handle to be the second argument passing
> in
> calling the Function, otherwise it will pass NULL to be the second argument of
> @@ -997,7 +997,7 @@ DebugPortPollBuffer (
>
> If Function is NULL, and Context is not NULL, the Debug Communication
> Library could
> a) Return the same handle as passed in (as Context parameter).
> - b) Ignore the input Context parameter and create new hanlde to be
> returned.
> + b) Ignore the input Context parameter and create new handle to be
> returned.
>
> If parameter Function is NULL and Context is NULL, Debug Communication
> Library could
> created a new handle if needed and return it, otherwise it will return NULL.
> --
> 2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 06/33] DuetPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 06/33] DuetPkg: " Gary Lin
@ 2016-10-19 7:46 ` Ni, Ruiyu
0 siblings, 0 replies; 79+ messages in thread
From: Ni, Ruiyu @ 2016-10-19 7:46 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Ni, Ruiyu <ruiyu.ni@intel.com>
> Subject: [PATCH 06/33] DuetPkg: Fix typos in comments
>
> - TURE -> TRUE
> - successull -> successfully
> - Libary -> Library
> - Incude -> Include
> - futhure -> future
> - Predfined -> Predefined
> - minimue -> minimum
> - predeined -> predefined
> - excute -> execute
> - dirver -> driver
> - hanlde -> handle
> - boundry -> boundary
>
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> DuetPkg/BiosVideoThunkDxe/BiosVideo.c | 4 ++--
> DuetPkg/DxeIpl/HobGeneration.c | 2 +-
> DuetPkg/EfiLdr/EfiLoader.c | 2 +-
> DuetPkg/EfiLdr/LzmaDecompress.h | 2 +-
> DuetPkg/EfiLdr/TianoDecompress.c | 6 +++---
> DuetPkg/EfiLdr/TianoDecompress.h | 4 ++--
> DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 14 +++++++-------
> DuetPkg/PciBusNoEnumerationDxe/PciBus.h | 2 +-
> 8 files changed, 18 insertions(+), 18 deletions(-)
>
> diff --git a/DuetPkg/BiosVideoThunkDxe/BiosVideo.c
> b/DuetPkg/BiosVideoThunkDxe/BiosVideo.c
> index da2c877..dc367e9 100644
> --- a/DuetPkg/BiosVideoThunkDxe/BiosVideo.c
> +++ b/DuetPkg/BiosVideoThunkDxe/BiosVideo.c
> @@ -94,7 +94,7 @@ VESA_BIOS_EXTENSIONS_EDID_TIMING
> mEstablishedEdidTiming[] = { };
>
> /**
> - Install child hanlde for a detect BiosVideo device and install related protocol
> + Install child handle for a detect BiosVideo device and install
> + related protocol
> into this handle, such as EFI_GRAPHIC_OUTPUT_PROTOCOL.
>
> @param This Instance pointer of EFI_DRIVER_BINDING_PROTOCOL
> @@ -391,7 +391,7 @@ BiosVideoDriverBindingStop ( }
>
> /**
> - Install child hanlde for a detect BiosVideo device and install related protocol
> + Install child handle for a detect BiosVideo device and install
> + related protocol
> into this handle, such as EFI_GRAPHIC_OUTPUT_PROTOCOL.
>
> @param This Instance pointer of EFI_DRIVER_BINDING_PROTOCOL
> diff --git a/DuetPkg/DxeIpl/HobGeneration.c
> b/DuetPkg/DxeIpl/HobGeneration.c index fac74b0..03e44d5 100644
> --- a/DuetPkg/DxeIpl/HobGeneration.c
> +++ b/DuetPkg/DxeIpl/HobGeneration.c
> @@ -727,7 +727,7 @@ PrepareHobBfv (
>
> //
> // Calculate BFV location at top of the memory region.
> - // This is like a RAM Disk. Align to page boundry.
> + // This is like a RAM Disk. Align to page boundary.
> //
> //BfvLengthPageSize = EFI_PAGES_TO_SIZE (EFI_SIZE_TO_PAGES
> (BfvLength));
>
> diff --git a/DuetPkg/EfiLdr/EfiLoader.c b/DuetPkg/EfiLdr/EfiLoader.c index
> b23966e..ac950b5 100644
> --- a/DuetPkg/EfiLdr/EfiLoader.c
> +++ b/DuetPkg/EfiLdr/EfiLoader.c
> @@ -66,7 +66,7 @@ EfiLoader (
>
> //
> // Add all EfiConventionalMemory descriptors to the table. If there are
> partial pages, then
> - // round the start address up to the next page, and round the length down
> to a page boundry.
> + // round the start address up to the next page, and round the length down
> to a page boundary.
> //
> BiosMemoryMap = (BIOS_MEMORY_MAP *) (UINTN)
> BiosMemoryMapBaseAddress;
> NumberOfMemoryMapEntries = 0;
> diff --git a/DuetPkg/EfiLdr/LzmaDecompress.h
> b/DuetPkg/EfiLdr/LzmaDecompress.h index 7d20fda..e244df7 100644
> --- a/DuetPkg/EfiLdr/LzmaDecompress.h
> +++ b/DuetPkg/EfiLdr/LzmaDecompress.h
> @@ -23,7 +23,7 @@
> @param DestinationSize The size of destination buffer.
> @param ScratchSize The size of scratch buffer.
>
> - @retval RETURN_SUCCESS - The size of destination buffer and the size
> of scratch buffer are successull retrieved.
> + @retval RETURN_SUCCESS - The size of destination buffer and the
> size of scratch buffer are successfully retrieved.
> @retval RETURN_INVALID_PARAMETER - The source data is corrupted **/
> RETURN_STATUS diff --git a/DuetPkg/EfiLdr/TianoDecompress.c
> b/DuetPkg/EfiLdr/TianoDecompress.c
> index 6fed7a1..b504e8e 100644
> --- a/DuetPkg/EfiLdr/TianoDecompress.c
> +++ b/DuetPkg/EfiLdr/TianoDecompress.c
> @@ -675,7 +675,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> @@ -844,7 +844,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> @@ -928,7 +928,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> diff --git a/DuetPkg/EfiLdr/TianoDecompress.h
> b/DuetPkg/EfiLdr/TianoDecompress.h
> index 0d85b7b..e9cb016 100644
> --- a/DuetPkg/EfiLdr/TianoDecompress.h
> +++ b/DuetPkg/EfiLdr/TianoDecompress.h
> @@ -1,5 +1,5 @@
> /** @file
> - Internal include file for Base UEFI Decompress Libary.
> + Internal include file for Base UEFI Decompress Library.
>
> Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
> This program and the accompanying materials @@ -47,7 +47,7 @@
> Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
> b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
> index 1875dc9..d85e1fd 100644
> --- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
> +++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
> @@ -383,7 +383,7 @@ PlatformBdsInit (
>
> Routine Description:
>
> - Platform Bds init. Incude the platform firmware vendor, revision
> + Platform Bds init. Include the platform firmware vendor, revision
> and so crc check.
>
> Arguments:
> @@ -644,7 +644,7 @@ GetGopDevicePath (
> }
>
> //
> - // Try to connect this handle, so that GOP dirver could start on this
> + // Try to connect this handle, so that GOP driver could start on this
> // device and create child handles with GraphicsOutput Protocol installed
> // on them, then we get device paths of these child handles and select
> // them as possible console device.
> @@ -676,7 +676,7 @@ GetGopDevicePath (
> // In current implementation, we only enable one of the child handles
> // as console device, i.e. sotre one of the child handle's device
> // path to variable "ConOut"
> - // In futhure, we could select all child handles to be console device
> + // In future, we could select all child handles to be console
> + device
> //
>
> *GopDevicePath = TempDevicePath; @@ -907,7 +907,7 @@ Routine
> Description:
>
> Arguments:
>
> - PlatformConsole - Predfined platform default console device array.
> + PlatformConsole - Predefined platform default console device array.
>
> Returns:
>
> @@ -950,7 +950,7 @@ Returns:
>
> //
> // Have chance to connect the platform default console,
> - // the platform default console is the minimue device group
> + // the platform default console is the minimum device group
> // the platform should support
> //
> for (Index = 0; PlatformConsole[Index].DevicePath != NULL; ++Index)
> { @@ -1001,7 +1001,7 @@ PlatformBdsConnectSequence (
>
> Routine Description:
>
> - Connect with predeined platform connect sequence,
> + Connect with predefined platform connect sequence,
> the OEM/IBV can customize with their own connect sequence.
>
> Arguments:
> @@ -1141,7 +1141,7 @@ PlatformBdsPolicyBehavior (
>
> Routine Description:
>
> - The function will excute with as the platform policy, current policy
> + The function will execute with as the platform policy, current policy
> is driven by boot mode. IBV/OEM can customize this code for their specific
> policy action.
>
> diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
> b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
> index 3ddb5bf..150196c 100644
> --- a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
> +++ b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h
> @@ -137,7 +137,7 @@ typedef struct _PCI_IO_DEVICE {
> LIST_ENTRY ChildList;
>
> //
> - // TURE if the PCI bus driver creates the handle for this PCI device
> + // TRUE if the PCI bus driver creates the handle for this PCI device
> //
> BOOLEAN Registered;
>
> --
> 2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 24/33] Nt32Pkg: Fix typos in comments and variables
2016-10-19 7:01 ` [PATCH 24/33] Nt32Pkg: Fix typos in comments and variables Gary Lin
@ 2016-10-19 7:50 ` Ni, Ruiyu
0 siblings, 0 replies; 79+ messages in thread
From: Ni, Ruiyu @ 2016-10-19 7:50 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Gary Lin
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Ni, Ruiyu <ruiyu.ni@intel.com>
> Subject: [edk2] [PATCH 24/33] Nt32Pkg: Fix typos in comments and variables
>
> - discontiguous -> discontinuous
> - reloaced -> relocated
> - supresses -> suppresses
> - debuging -> debugging
> - suported -> supported
> - availble -> available
> - environmemt -> environment
> - Seperator -> Separator
> - remmeber -> remember
> - interperted -> interpreted
> - the a new -> the new
> - initailized -> initialized
> - attribue -> attribute
> - boundry -> boundary
> - nto -> not
> - permenent -> permanent
> - immediatly -> immediately
> - excuted -> executed
>
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> Nt32Pkg/Include/Ppi/NtAutoscan.h | 2 +-
>
> Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLi
> b.c | 8 ++--
> Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.
> c | 6 +--
> Nt32Pkg/Sec/SecMain.c | 50 ++++++++++----------
> Nt32Pkg/Sec/SecMain.h | 6 +--
> Nt32Pkg/Sec/WinNtThunk.c | 2 +-
> Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c | 2 +-
> 7 files changed, 38 insertions(+), 38 deletions(-)
>
> diff --git a/Nt32Pkg/Include/Ppi/NtAutoscan.h
> b/Nt32Pkg/Include/Ppi/NtAutoscan.h
> index 49c0294..1891bb4 100644
> --- a/Nt32Pkg/Include/Ppi/NtAutoscan.h
> +++ b/Nt32Pkg/Include/Ppi/NtAutoscan.h
> @@ -41,7 +41,7 @@ EFI_STATUS
>
> Routine Description:
> This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
> - It allows discontiguous memory regions to be supported by the emulator.
> + It allows discontinuous memory regions to be supported by the emulator.
> It uses gSystemMemory[] and gSystemMemoryCount that were created by
> parsing the Windows environment variable EFI_MEMORY_SIZE.
> The size comes from the varaible and the address comes from the call to
> diff --git
> a/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraAction
> Lib.c
> b/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActio
> nLib.c
> index 524d6c0..2f62d65 100644
> ---
> a/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraAction
> Lib.c
> +++
> b/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActi
> +++ onLib.c
> @@ -290,7 +290,7 @@ PeCoffLoaderRelocateImageExtraAction (
> // If we load our own PE COFF images the Windows debugger can not
> source
> // level debug our code. If a valid PDB pointer exists usw it to load
> // the *.dll file as a library using Windows* APIs. This allows
> - // source level debug. The image is still loaded and reloaced
> + // source level debug. The image is still loaded and relocated
> // in the Framework memory space like on a real system (by the code
> above),
> // but the entry point points into the DLL loaded by the code bellow.
> //
> @@ -335,11 +335,11 @@ PeCoffLoaderRelocateImageExtraAction (
> if (Library != NULL) {
> //
> // InitializeDriver is the entry point we put in all our EFI DLL's. The
> - // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx()
> supresses the
> + // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx()
> + suppresses the
> // normal DLL entry point of DllMain, and prevents other modules that
> are
> // referenced in side the DllFileName from being loaded. There is no error
> // checking as the we can point to the PE32 image loaded by Tiano. This
> - // step is only needed for source level debuging
> + // step is only needed for source level debugging
> //
> DllEntryPoint = (VOID *) (UINTN) mWinNt->GetProcAddress (Library,
> "InitializeDriver");
>
> @@ -355,7 +355,7 @@ PeCoffLoaderRelocateImageExtraAction (
> DEBUG ((EFI_D_ERROR, "WARNING: DLL already loaded. No source level
> debug %s. \n", DllFileName));
> } else {
> //
> - // This DLL is not already loaded, so source level debugging is suported.
> + // This DLL is not already loaded, so source level debugging is supported.
> //
> ImageContext->EntryPoint = (EFI_PHYSICAL_ADDRESS) (UINTN)
> DllEntryPoint;
> DEBUG ((EFI_D_INFO, "LoadLibraryEx (%s,\n NULL,
> DONT_RESOLVE_DLL_REFERENCES)\n", DllFileName));
> diff --git
> a/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLi
> b.c
> b/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLi
> b.c
> index b05834e..682446a 100644
> ---
> a/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLi
> b.c
> +++
> b/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActi
> +++ onLib.c
> @@ -155,7 +155,7 @@ PeCoffLoaderRelocateImageExtraAction (
> // If we load our own PE COFF images the Windows debugger can not
> source
> // level debug our code. If a valid PDB pointer exists usw it to load
> // the *.dll file as a library using Windows* APIs. This allows
> - // source level debug. The image is still loaded and reloaced
> + // source level debug. The image is still loaded and relocated
> // in the Framework memory space like on a real system (by the code
> above),
> // but the entry point points into the DLL loaded by the code bellow.
> //
> @@ -200,11 +200,11 @@ PeCoffLoaderRelocateImageExtraAction (
> if (Library != NULL) {
> //
> // InitializeDriver is the entry point we put in all our EFI DLL's. The
> - // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx()
> supresses the
> + // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx()
> + suppresses the
> // normal DLL entry point of DllMain, and prevents other modules that
> are
> // referenced in side the DllFileName from being loaded. There is no error
> // checking as the we can point to the PE32 image loaded by Tiano. This
> - // step is only needed for source level debuging
> + // step is only needed for source level debugging
> //
> DllEntryPoint = (VOID *) (UINTN) mWinNt->GetProcAddress (Library,
> "InitializeDriver");
>
> diff --git a/Nt32Pkg/Sec/SecMain.c b/Nt32Pkg/Sec/SecMain.c index
> e9f72df..80539fa 100644
> --- a/Nt32Pkg/Sec/SecMain.c
> +++ b/Nt32Pkg/Sec/SecMain.c
> @@ -22,7 +22,7 @@ Abstract:
> will be, how may FD's will be loaded and also what the boot mode is.
>
> The SEC registers a set of services with the SEC core. gPrivateDispatchTable
> - is a list of PPI's produced by the SEC that are availble for usage in PEI.
> + is a list of PPI's produced by the SEC that are available for usage in PEI.
>
> This code produces 128 K of temporary memory for the PEI stack by directly
> allocate memory space with ReadWrite and Execute attribute.
> @@ -161,7 +161,7 @@ Routine Description:
> Arguments:
> Argc - Number of command line arguments
> Argv - Array of command line argument strings
> - Envp - Array of environmemt variable strings
> + Envp - Array of environment variable strings
>
> Returns:
> 0 - Normal exit
> @@ -228,7 +228,7 @@ Returns:
> //
> // Allocate space for gSystemMemory Array
> //
> - gSystemMemoryCount = CountSeperatorsInString (MemorySizeStr, '!') + 1;
> + gSystemMemoryCount = CountSeparatorsInString (MemorySizeStr, '!') +
> + 1;
> gSystemMemory = calloc (gSystemMemoryCount, sizeof
> (NT_SYSTEM_MEMORY));
> if (gSystemMemory == NULL) {
> SecPrint ("ERROR : Can not allocate memory for %S. Exiting.\n",
> MemorySizeStr); @@ -237,7 +237,7 @@ Returns:
> //
> // Allocate space for gSystemMemory Array
> //
> - gFdInfoCount = CountSeperatorsInString (FirmwareVolumesStr, '!') + 1;
> + gFdInfoCount = CountSeparatorsInString (FirmwareVolumesStr, '!') +
> + 1;
> gFdInfo = calloc (gFdInfoCount, sizeof (NT_FD_INFO));
> if (gFdInfo == NULL) {
> SecPrint ("ERROR : Can not allocate memory for %S. Exiting.\n",
> FirmwareVolumesStr); @@ -291,7 +291,7 @@ Returns:
> }
>
> //
> - // Open the FD and remmeber where it got mapped into our processes
> address space
> + // Open the FD and remember where it got mapped into our processes
> + address space
> //
> Status = WinNtOpenFile (
> FileName,
> @@ -307,7 +307,7 @@ Returns:
>
> SecPrint (" FD loaded from");
> //
> - // printf can't print filenames directly as the \ gets interperted as an
> + // printf can't print filenames directly as the \ gets interpreted
> + as an
> // escape character.
> //
> for (Index2 = 0; FileName[Index2] != '\0'; Index2++) { @@ -385,7 +385,7
> @@ Arguments:
> CreationDisposition - The flags to pass to CreateFile(). Use to create new
> files for
> memory emulation, and exiting files for firmware volume
> emulation
> BaseAddress - The base address of the mapped file in the user address
> space.
> - If passed in as NULL the a new memory region is used.
> + If passed in as NULL the new memory region is used.
> If passed in as non NULL the request memory region is used for
> the mapping of the file into the process space.
> Length - The size of the mapped region in bytes
> @@ -701,7 +701,7 @@ SecWinNtPeiAutoScan (
>
> Routine Description:
> This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
> - It allows discontiguous memory regions to be supported by the emulator.
> + It allows discontinuous memory regions to be supported by the emulator.
> It uses gSystemMemory[] and gSystemMemoryCount that were created by
> parsing PcdWinNtMemorySizeForSecMain value.
> The size comes from the Pcd value and the address comes from the
> memory space @@ -746,7 +746,7 @@ SecWinNtWinNtThunkAddress
> ( Routine Description:
> Since the SEC is the only Windows program in stack it must export
> an interface to do Win API calls. That's what the WinNtThunk address
> - is for. gWinNt is initailized in WinNtThunk.c.
> + is for. gWinNt is initialized in WinNtThunk.c.
>
> Arguments:
> InterfaceSize - sizeof (EFI_WIN_NT_THUNK_PROTOCOL); @@ -799,7 +799,7
> @@ Returns:
> return Status;
> }
> //
> - // Allocate space in NT (not emulator) memory with ReadWrite and
> Execute attribue.
> + // Allocate space in NT (not emulator) memory with ReadWrite and
> Execute attribute.
> // Extra space is for alignment
> //
> ImageContext.ImageAddress = (EFI_PHYSICAL_ADDRESS) (UINTN)
> VirtualAlloc (NULL, (SIZE_T) (ImageContext.ImageSize +
> (ImageContext.SectionAlignment * 2)), MEM_COMMIT,
> PAGE_EXECUTE_READWRITE); @@ -807,7 +807,7 @@ Returns:
> return EFI_OUT_OF_RESOURCES;
> }
> //
> - // Align buffer on section boundry
> + // Align buffer on section boundary
> //
> ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
> ImageContext.ImageAddress &=
> ~((EFI_PHYSICAL_ADDRESS)ImageContext.SectionAlignment - 1); @@ -853,7
> +853,7 @@ Arguments:
>
> Returns:
> EFI_SUCCESS - Return the Base address and size of the FV
> - EFI_UNSUPPORTED - Index does nto map to an FD in the system
> + EFI_UNSUPPORTED - Index does not map to an FD in the system
>
> --*/
> {
> @@ -956,28 +956,28 @@ Returns:
> }
>
> UINTN
> -CountSeperatorsInString (
> +CountSeparatorsInString (
> IN CONST CHAR16 *String,
> - IN CHAR16 Seperator
> + IN CHAR16 Separator
> )
> /*++
>
> Routine Description:
> - Count the number of seperators in String
> + Count the number of separators in String
>
> Arguments:
> String - String to process
> - Seperator - Item to count
> + Separator - Item to count
>
> Returns:
> - Number of Seperator in String
> + Number of Separator in String
>
> --*/
> {
> UINTN Count;
>
> for (Count = 0; *String != '\0'; String++) {
> - if (*String == Seperator) {
> + if (*String == Separator) {
> Count++;
> }
> }
> @@ -1010,7 +1010,7 @@ SecNt32PeCoffRelocateImage (
> // If we load our own PE COFF images the Windows debugger can not
> source
> // level debug our code. If a valid PDB pointer exists usw it to load
> // the *.dll file as a library using Windows* APIs. This allows
> - // source level debug. The image is still loaded and reloaced
> + // source level debug. The image is still loaded and relocated
> // in the Framework memory space like on a real system (by the code
> above),
> // but the entry point points into the DLL loaded by the code bellow.
> //
> @@ -1055,11 +1055,11 @@ SecNt32PeCoffRelocateImage (
> if (Library != NULL) {
> //
> // InitializeDriver is the entry point we put in all our EFI DLL's. The
> - // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx()
> supresses the
> + // DONT_RESOLVE_DLL_REFERENCES argument to LoadLIbraryEx()
> + suppresses the
> // normal DLL entry point of DllMain, and prevents other modules that
> are
> // referenced in side the DllFileName from being loaded. There is no error
> // checking as the we can point to the PE32 image loaded by Tiano. This
> - // step is only needed for source level debuging
> + // step is only needed for source level debugging
> //
> DllEntryPoint = (VOID *) (UINTN) GetProcAddress (Library,
> "InitializeDriver");
>
> @@ -1103,7 +1103,7 @@ SecTemporaryRamSupport (
> )
> {
> //
> - // Migrate the whole temporary memory to permenent memory.
> + // Migrate the whole temporary memory to permanent memory.
> //
> CopyMem (
> (VOID*)(UINTN)PermanentMemoryBase,
> @@ -1113,8 +1113,8 @@ SecTemporaryRamSupport (
>
> //
> // SecSwitchStack function must be invoked after the memory migration
> - // immediatly, also we need fixup the stack change caused by new call into
> - // permenent memory.
> + // immediately, also we need fixup the stack change caused by new
> + call into // permanent memory.
> //
> SecSwitchStack (
> (UINT32) TemporaryMemoryBase,
> @@ -1123,7 +1123,7 @@ SecTemporaryRamSupport (
>
> //
> // We need *not* fix the return address because currently,
> - // The PeiCore is excuted in flash.
> + // The PeiCore is executed in flash.
> //
>
> //
> diff --git a/Nt32Pkg/Sec/SecMain.h b/Nt32Pkg/Sec/SecMain.h index
> 76522e3..8b19878 100644
> --- a/Nt32Pkg/Sec/SecMain.h
> +++ b/Nt32Pkg/Sec/SecMain.h
> @@ -524,9 +524,9 @@ Returns:
> ;
>
> UINTN
> -CountSeperatorsInString (
> +CountSeparatorsInString (
> IN CONST CHAR16 *String,
> - IN CHAR16 Seperator
> + IN CHAR16 Separator
> )
> /*++
>
> @@ -537,7 +537,7 @@ Routine Description:
> Arguments:
>
> String - TODO: add argument description
> - Seperator - TODO: add argument description
> + Separator - TODO: add argument description
>
> Returns:
>
> diff --git a/Nt32Pkg/Sec/WinNtThunk.c b/Nt32Pkg/Sec/WinNtThunk.c index
> 9ab380c..3159ef4 100644
> --- a/Nt32Pkg/Sec/WinNtThunk.c
> +++ b/Nt32Pkg/Sec/WinNtThunk.c
> @@ -42,7 +42,7 @@ Abstract:
> // point could be modified dynamically. The SEC does not do that, so we
> must // disable the warning so we can compile the SEC. The previous
> method was to // asign each element in code. The disadvantage to that
> approach is it's harder -// to tell if all the elements have been initailized
> properly.
> +// to tell if all the elements have been initialized properly.
> //
> #pragma warning(disable : 4232)
> #pragma warning(disable : 4996)
> diff --git a/Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c
> b/Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c
> index 20774ee..8cd9188 100644
> --- a/Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c
> +++ b/Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c
> @@ -48,7 +48,7 @@ Routine Description:
> Perform a call-back into the SEC simulator to get address of the Firmware
> Hub
>
> Arguments:
> - FfsHeader - Ffs Header availible to every PEIM
> + FfsHeader - Ffs Header available to every PEIM
> PeiServices - General purpose services available to every PEIM.
>
> Returns:
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 25/33] OptionRomPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 25/33] OptionRomPkg: Fix typos in comments Gary Lin
@ 2016-10-19 7:51 ` Ni, Ruiyu
0 siblings, 0 replies; 79+ messages in thread
From: Ni, Ruiyu @ 2016-10-19 7:51 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Gary Lin
> Sent: Wednesday, October 19, 2016 3:02 PM
> To: edk2-devel@lists.01.org
> Cc: Ni, Ruiyu <ruiyu.ni@intel.com>
> Subject: [edk2] [PATCH 25/33] OptionRomPkg: Fix typos in comments
>
> - stoping -> stopping
> - Sumbit -> Submit
> - pionter -> pointer
>
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c | 6 +++---
> OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h | 4 ++--
> OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c | 2 +-
> 3 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
> b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
> index 3578a1e..d2431b7 100644
> --- a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
> +++ b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
> @@ -300,7 +300,7 @@ AtapiScsiPassThruDriverBindingStop (
>
> Routine Description:
>
> - Stop this driver on ControllerHandle. Support stoping any child handles
> + Stop this driver on ControllerHandle. Support stopping any child handles
> created by this driver.
>
> Arguments:
> @@ -1885,11 +1885,11 @@ RequestSenseCommand (
>
> Routine Description:
>
> - Sumbit request sense command
> + Submit request sense command
>
> Arguments:
>
> - AtapiScsiPrivate - The pionter of ATAPI_SCSI_PASS_THRU_DEV
> + AtapiScsiPrivate - The pointer of ATAPI_SCSI_PASS_THRU_DEV
> Target - The target ID
> Timeout - The time to complete the command
> SenseData - The buffer to fill in sense data
> diff --git a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h
> b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h
> index e1f1759..8ae6542 100644
> --- a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h
> +++ b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h
> @@ -1119,11 +1119,11 @@ RequestSenseCommand (
>
> Routine Description:
>
> - Sumbit request sense command
> + Submit request sense command
>
> Arguments:
>
> - AtapiScsiPrivate - The pionter of ATAPI_SCSI_PASS_THRU_DEV
> + AtapiScsiPrivate - The pointer of ATAPI_SCSI_PASS_THRU_DEV
> Target - The target ID
> Timeout - The time to complete the command
> SenseData - The buffer to fill in sense data
> diff --git a/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c
> b/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c
> index 0a3dd75..c03606b 100644
> --- a/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c
> +++ b/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c
> @@ -1370,7 +1370,7 @@ GetControlBitsInternal (
> /**
> Resets the USB Serial Device
>
> - This function is the internal method for reseting the device and is called by
> + This function is the internal method for resetting the device and is called by
> SerialReset()
>
> @param UsbSerialDevice[in] A pointer to the USB Serial device
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 30/33] ShellPkg: Fix typos in comments and variables
2016-10-19 7:01 ` [PATCH 30/33] ShellPkg: Fix typos in comments and variables Gary Lin
@ 2016-10-19 7:51 ` Ni, Ruiyu
2016-10-19 20:29 ` Carsey, Jaben
0 siblings, 1 reply; 79+ messages in thread
From: Ni, Ruiyu @ 2016-10-19 7:51 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Carsey, Jaben
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 3:02 PM
> To: edk2-devel@lists.01.org
> Cc: Carsey, Jaben <jaben.carsey@intel.com>; Ni, Ruiyu <ruiyu.ni@intel.com>
> Subject: [PATCH 30/33] ShellPkg: Fix typos in comments and variables
>
> - funciton -> function
> - paramter -> parameter
> - supresses -> suppresses
> - Seperator -> Separator
> - permenant -> permanent
>
> Cc: Jaben Carsey <jaben.carsey@intel.com>
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> ShellPkg/Include/Library/ShellCEntryLib.h | 2 +-
> ShellPkg/Include/Library/ShellCommandLib.h | 2 +-
> ShellPkg/Include/Protocol/EfiShellEnvironment2.h | 2 +-
> ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c | 2 +-
> ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c | 10 +++++-
> ----
>
> ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib
> .c | 2 +-
> ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c | 8
> ++++----
> ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 8
> ++++----
> 8 files changed, 18 insertions(+), 18 deletions(-)
>
> diff --git a/ShellPkg/Include/Library/ShellCEntryLib.h
> b/ShellPkg/Include/Library/ShellCEntryLib.h
> index dfbb16f..e4983f8 100644
> --- a/ShellPkg/Include/Library/ShellCEntryLib.h
> +++ b/ShellPkg/Include/Library/ShellCEntryLib.h
> @@ -1,5 +1,5 @@
> /** @file
> - Provides application point extension for "C" style main funciton.
> + Provides application point extension for "C" style main function.
>
> Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
> This program and the accompanying materials diff --git
> a/ShellPkg/Include/Library/ShellCommandLib.h
> b/ShellPkg/Include/Library/ShellCommandLib.h
> index 3ee8200..5ff1e4f 100644
> --- a/ShellPkg/Include/Library/ShellCommandLib.h
> +++ b/ShellPkg/Include/Library/ShellCommandLib.h
> @@ -2,7 +2,7 @@
> Provides interface to shell internal functions for shell commands.
>
> This library is for use ONLY by shell commands linked into the shell
> application.
> - This library will not funciton if it is used for UEFI Shell 2.0 Applications.
> + This library will not function if it is used for UEFI Shell 2.0 Applications.
>
> Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> diff --
> git a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> index 1aa1b7e..ac6c6a0 100644
> --- a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> +++ b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> @@ -124,7 +124,7 @@ GUID for the shell environment2 extension (main
> GUID above).
> @param[in] ParentImageHandle Handle of the image executing this
> operation.
> @param[in] CommandLine The string command line to execute.
> @param[in] DebugOutput TRUE indicates that errors should be printed
> directly.
> - FALSE supresses error messages.
> + FALSE suppresses error messages.
>
> @retval EFI_SUCCESS The command line executed and completed.
> @retval EFI_ABORTED The operation aborted.
> diff --git a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> index 525c1f1..faed230 100644
> --- a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> +++ b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> @@ -1,5 +1,5 @@
> /** @file
> - Provides application point extension for "C" style main funciton
> + Provides application point extension for "C" style main function
>
> Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
> This program and the accompanying materials diff --git
> a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> index 00a4c10..e07304c 100644
> --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> @@ -130,7 +130,7 @@ IsDriverProt (
>
> @param[in] TheHandle The handles to show info on.
> @param[in] Language Language string per UEFI specification.
> - @param[in] Seperator Separator string between information blocks.
> + @param[in] Separator Separator string between information blocks.
> @param[in] Verbose TRUE for extra info, FALSE otherwise.
> @param[in] ExtraInfo TRUE for extra info, FALSE otherwise.
>
> @@ -141,7 +141,7 @@ CHAR16*
> GetProtocolInfoString(
> IN CONST EFI_HANDLE TheHandle,
> IN CONST CHAR8 *Language,
> - IN CONST CHAR16 *Seperator,
> + IN CONST CHAR16 *Separator,
> IN CONST BOOLEAN Verbose,
> IN CONST BOOLEAN ExtraInfo
> )
> @@ -169,7 +169,7 @@ GetProtocolInfoString(
> if (Temp != NULL) {
> ASSERT((RetVal == NULL && Size == 0) || (RetVal != NULL));
> if (Size != 0) {
> - StrnCatGrow(&RetVal, &Size, Seperator, 0);
> + StrnCatGrow(&RetVal, &Size, Separator, 0);
> }
> StrnCatGrow(&RetVal, &Size, L"%H", 0);
> StrnCatGrow(&RetVal, &Size, Temp, 0); @@ -185,7 +185,7 @@
> GetProtocolInfoString(
> StrnCatGrow(&RetVal, &Size, Temp, 0);
> StrnCatGrow(&RetVal, &Size, L")\r\n", 0);
> } else {
> - StrnCatGrow(&RetVal, &Size, Seperator, 0);
> + StrnCatGrow(&RetVal, &Size, Separator, 0);
> StrnCatGrow(&RetVal, &Size, Temp, 0);
> }
> FreePool(Temp);
> @@ -201,7 +201,7 @@ GetProtocolInfoString(
> }
>
> ASSERT((RetVal == NULL && Size == 0) || (RetVal != NULL));
> - StrnCatGrow(&RetVal, &Size, Seperator, 0);
> + StrnCatGrow(&RetVal, &Size, Separator, 0);
> return (RetVal);
> }
>
> diff --git
> a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Commands
> Lib.c
> b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Commands
> Lib.c
> index 1491ee9..7948e53 100644
> ---
> a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Commands
> Lib.c
> +++
> b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Command
> +++ sLib.c
> @@ -99,7 +99,7 @@ ShellLevel2CommandsLibConstructor (
> ShellCommandRegisterCommandName(L"vol", ShellCommandRunVol ,
> ShellCommandGetManFileNameLevel2, 2, L"", TRUE, gShellLevel2HiiHandle,
> STRING_TOKEN(STR_GET_HELP_VOL) );
>
> //
> - // support for permenant (built in) aliases
> + // support for permanent (built in) aliases
> //
> ShellCommandRegisterAlias(L"rm", L"del");
> ShellCommandRegisterAlias(L"ls", L"dir"); diff --git
> a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> index 38625fe..70d9d9a 100644
> --- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> +++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> @@ -1492,7 +1492,7 @@ ShellCommandRunPing (
> }
>
> //
> - // Parse the paramter of count number.
> + // Parse the parameter of count number.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");
> if (ValueStr != NULL) {
> @@ -1510,7 +1510,7 @@ ShellCommandRunPing (
> SendNumber = DEFAULT_SEND_COUNT;
> }
> //
> - // Parse the paramter of buffer size.
> + // Parse the parameter of buffer size.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");
> if (ValueStr != NULL) {
> @@ -1532,7 +1532,7 @@ ShellCommandRunPing (
> ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));
>
> //
> - // Parse the paramter of source ip address.
> + // Parse the parameter of source ip address.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");
> if (ValueStr == NULL) {
> @@ -1553,7 +1553,7 @@ ShellCommandRunPing (
> }
> }
> //
> - // Parse the paramter of destination ip address.
> + // Parse the parameter of destination ip address.
> //
> NonOptionCount = ShellCommandLineGetCount(ParamPackage);
> if (NonOptionCount < 2) {
> diff --git a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> index 90a2604..265258f 100644
> --- a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> +++ b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> @@ -1177,7 +1177,7 @@ ShellCommandRunPing6 (
> BufferSize = 16;
>
> //
> - // Parse the paramter of count number.
> + // Parse the parameter of count number.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");
> ValueStrPtr = ValueStr;
> @@ -1194,7 +1194,7 @@ ShellCommandRunPing6 (
> }
> }
> //
> - // Parse the paramter of buffer size.
> + // Parse the parameter of buffer size.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");
> ValueStrPtr = ValueStr;
> @@ -1215,7 +1215,7 @@ ShellCommandRunPing6 (
> ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));
>
> //
> - // Parse the paramter of source ip address.
> + // Parse the parameter of source ip address.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");
> ValueStrPtr = ValueStr;
> @@ -1229,7 +1229,7 @@ ShellCommandRunPing6 (
> }
> }
> //
> - // Parse the paramter of destination ip address.
> + // Parse the parameter of destination ip address.
> //
> NonOptionCount = ShellCommandLineGetCount(ParamPackage);
> ValueStr = ShellCommandLineGetRawValue (ParamPackage,
> (UINT32)(NonOptionCount-1));
> --
> 2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 07/33] EdkCompatibilityPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 07/33] EdkCompatibilityPkg: " Gary Lin
@ 2016-10-19 8:19 ` Gao, Liming
0 siblings, 0 replies; 79+ messages in thread
From: Gao, Liming @ 2016-10-19 8:19 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: Liming Gao <liming.gao@intel.com>
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Gary Lin
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Gao, Liming <liming.gao@intel.com>
> Subject: [edk2] [PATCH 07/33] EdkCompatibilityPkg: Fix typos in comments
>
> - excute -> execute
> - Pacakges -> Packages
> - successfull -> successfully
> - outputed -> outputted
> - triggerred -> triggered
> - specifiecd -> specified
> - hexidecimal -> hexadecimal
> - Arrary -> Array
> - Pointion -> Position
> - paramter -> parameter
> - stardard -> standard
> - perodically -> periodically
> - dependecy -> dependency
> - evauated -> evaluated
> - availible -> available
> - boundry -> boundary
> - discontiguous -> discontinuous
>
> Cc: Liming Gao <liming.gao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
>
> EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/Scri
> ptSave.c | 4 ++--
>
> EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabas
> e.h | 4 ++--
> EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package.c
> | 6 +++---
> EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c
> | 2 +-
> EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h
> | 2 +-
>
> EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThu
> nk/MpServicesOnFrameworkMpServicesThunk.c | 2 +-
>
> EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThu
> nk/MpServicesOnFrameworkMpServicesThunk.h | 2 +-
> EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h
> | 2 +-
> EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h
> | 4 ++--
> EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h
> | 4 ++--
> EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h
> | 4 ++--
>
> EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBi
> os.h | 2 +-
>
> EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/Customiz
> edDecompress.c | 2 +-
>
> EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/Customiz
> edDecompress.h | 2 +-
> EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h
> | 2 +-
> EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h
> | 2 +-
>
> EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrFor
> m.c | 2 +-
>
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkII
> GluePrintLib.h | 2 +-
>
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkII
> GlueUefiDecompressLib.h | 2 +-
>
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDeco
> mpressLib/BaseUefiDecompressLib.c | 10 +++++-----
>
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDeco
> mpressLib/BaseUefiDecompressLibInternals.h | 2 +-
>
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuI
> o/DxeCpuIoLibInternal.h | 2 +-
>
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuI
> o/IoLib.c | 2 +-
> EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
> | 6 +++---
> EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.h
> | 2 +-
> EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c
> | 6 +++---
> EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h
> | 4 ++--
>
> EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompre
> ss.h | 2 +-
>
> EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/Customize
> dCompress.c | 2 +-
> EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c
> | 2 +-
> EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c
> | 2 +-
> 31 files changed, 47 insertions(+), 47 deletions(-)
>
> diff --git
> a/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/S
> criptSave.c
> b/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/S
> criptSave.c
> index 0bc2f75..a3503a5 100644
> ---
> a/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/S
> criptSave.c
> +++
> b/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/S
> criptSave.c
> @@ -358,7 +358,7 @@ BootScriptPciCfg2ReadWrite (
> );
> }
> /**
> - Internal function to add smbus excute opcode to the table.
> + Internal function to add smbus execute opcode to the table.
>
> @param Marker The variable argument list to get the opcode
> and associated attributes.
> @@ -913,7 +913,7 @@ InitializeScriptSaveOnS3SaveState (
> ASSERT_EFI_ERROR (Status);
> ImageContext.ImageAddress =
> (PHYSICAL_ADDRESS)(UINTN)MemoryAddress;
> //
> - // Align buffer on section boundry
> + // Align buffer on section boundary
> //
> ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
> ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);
> diff --git
> a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatab
> ase.h
> b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatab
> ase.h
> index d86572a..c736990 100644
> ---
> a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatab
> ase.h
> +++
> b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatab
> ase.h
> @@ -249,7 +249,7 @@ extern BOOLEAN
> mInFrameworkUpdatePakcage;
> @param Packages Pointer of HII packages.
> @param Handle Handle value to be returned.
>
> - @retval EFI_SUCCESS Pacakges has added to HII database successfully.
> + @retval EFI_SUCCESS Packages has added to HII database successfully.
> @retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
>
> **/
> @@ -268,7 +268,7 @@ HiiNewPack (
> @param This Pointer of Frameowk HII protocol instance.
> @param Handle Handle value to be removed.
>
> - @retval EFI_SUCCESS Pacakges has added to HII database successfully.
> + @retval EFI_SUCCESS Packages has added to HII database successfully.
> @retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
>
> **/
> diff --git
> a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package
> .c
> b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package
> .c
> index 2d3031a..caa5cf8 100644
> ---
> a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package
> .c
> +++
> b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package
> .c
> @@ -455,7 +455,7 @@ FindStringPackAndUpdatePackListWithOnlyIfrPack (
> @param Handle On output, a FRAMEWORK_EFI_HII_HANDLE
> number is
> returned.
>
> - @retval EFI_SUCCESS The Package List is registered successfull in
> + @retval EFI_SUCCESS The Package List is registered successfully in
> the database.
> @retval EFI_UNSUPPORTED The number of IFR package in the
> package list
> is greater than 1.
> @@ -644,7 +644,7 @@ Done:
> @param Packages Pointer of HII packages.
> @param Handle Handle value to be returned.
>
> - @retval EFI_SUCCESS Pacakges has added to HII database successfully.
> + @retval EFI_SUCCESS Packages has added to HII database successfully.
> @retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
>
> **/
> @@ -701,7 +701,7 @@ HiiNewPack (
> @param This Pointer of Frameowk HII protocol instance.
> @param Handle Handle value to be removed.
>
> - @retval EFI_SUCCESS Pacakges has added to HII database successfully.
> + @retval EFI_SUCCESS Packages has added to HII database successfully.
> @retval EFI_INVALID_PARAMETER If Handle or Packages is NULL.
>
> **/
> diff --git
> a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c
> b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c
> index d269b8e..93cd710 100644
> ---
> a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c
> +++
> b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c
> @@ -53,7 +53,7 @@ CONST CHAR16 FrameworkReservedVarstoreName[] =
> FRAMEWORK_RESERVED_VARSTORE_NAME;
> @param HandleBuffer On output, an array of EFI_HII_HANDLE
> instances returned.
> The caller is responcible to free this pointer allocated.
>
> - @retval EFI_SUCCESS The matching handles are outputed successfully.
> + @retval EFI_SUCCESS The matching handles are outputted
> successfully.
> HandleBufferLength is updated with the actual length.
> @retval EFI_OUT_OF_RESOURCES Not enough resource to complete the
> operation.
> @retval EFI_NOT_FOUND No matching handle could not be found in
> database.
> diff --git
> a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h
> b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h
> index 4f453f1..551c4bf 100644
> ---
> a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h
> +++
> b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h
> @@ -48,7 +48,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY
> KIND, EITHER EXPRESS OR IMPLIED.
> @param HandleBuffer On output, an array of EFI_HII_HANDLE
> instances returned.
> The caller is responcible to free this pointer allocated.
>
> - @retval EFI_SUCCESS The matching handles are outputed successfully.
> + @retval EFI_SUCCESS The matching handles are outputted
> successfully.
> HandleBufferLength is updated with the actual length.
> @retval EFI_OUT_OF_RESOURCES Not enough resource to complete the
> operation.
> @retval EFI_NOT_FOUND No matching handle could not be found in
> database.
> diff --git
> a/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesT
> hunk/MpServicesOnFrameworkMpServicesThunk.c
> b/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesT
> hunk/MpServicesOnFrameworkMpServicesThunk.c
> index eb281d6..73c89a1 100644
> ---
> a/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesT
> hunk/MpServicesOnFrameworkMpServicesThunk.c
> +++
> b/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesT
> hunk/MpServicesOnFrameworkMpServicesThunk.c
> @@ -747,7 +747,7 @@ WhoAmI (
> /**
> Checks APs' status periodically.
>
> - This function is triggerred by timer perodically to check the
> + This function is triggered by timer periodically to check the
> state of APs for StartupAllAPs() and StartupThisAP() executed
> in non-blocking mode.
>
> diff --git
> a/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesT
> hunk/MpServicesOnFrameworkMpServicesThunk.h
> b/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesT
> hunk/MpServicesOnFrameworkMpServicesThunk.h
> index 7f9d107..1374968 100644
> ---
> a/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesT
> hunk/MpServicesOnFrameworkMpServicesThunk.h
> +++
> b/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesT
> hunk/MpServicesOnFrameworkMpServicesThunk.h
> @@ -340,7 +340,7 @@ WhoAmI (
> /**
> Checks APs' status periodically.
>
> - This function is triggerred by timer perodically to check the
> + This function is triggered by timer periodically to check the
> state of APs for StartupAllAPs() and StartupThisAP() executed
> in non-blocking mode.
>
> diff --git
> a/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h
> b/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h
> index 746b4c0..b0ec374 100644
> --- a/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h
> +++ b/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h
> @@ -187,7 +187,7 @@ EfiCpuid (
>
> /*++
> Routine Description:
> - Get the Cpu info by excute the CPUID instruction
> + Get the Cpu info by execute the CPUID instruction
> Arguments:
> RegisterInEax: -The input value to put into register EAX
> Regs: -The Output value
> diff --git a/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h
> b/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h
> index 026854a..81d3b00 100644
> --- a/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h
> +++ b/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h
> @@ -262,12 +262,12 @@ typedef struct {
> #define EFI_PAGES_TO_SIZE(a) ( (a) << EFI_PAGE_SHIFT)
>
> //
> -// ALIGN_POINTER - aligns a pointer to the lowest boundry
> +// ALIGN_POINTER - aligns a pointer to the lowest boundary
> //
> #define ALIGN_POINTER(p, s) ((VOID *) (p + ((s - ((UINTN) p)) & (s - 1))))
>
> //
> -// ALIGN_VARIABLE - aligns a variable up to the next natural boundry for int
> size of a processor
> +// ALIGN_VARIABLE - aligns a variable up to the next natural boundary for
> int size of a processor
> //
> #define ALIGN_VARIABLE(Value, Adjustment) \
> (UINTN) Adjustment = 0; \
> diff --git
> a/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h
> b/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h
> index b319aae..0db81dd 100644
> ---
> a/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h
> +++
> b/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h
> @@ -201,7 +201,7 @@ EFI_STATUS
> Handle - An array of EFI_HII_HANDLE instances returned.
>
> Returns:
> - EFI_SUCCESS - The matching handles are outputed successfully.
> + EFI_SUCCESS - The matching handles are outputted successfully.
> HandleBufferLength is updated with the actual length.
> EFI_BUFFER_TO_SMALL - The HandleBufferLength parameter indicates
> that
> Handle is too small to support the number of handles.
> @@ -248,7 +248,7 @@ EFI_STATUS
> is too small to support the number of handles.
> HandleBufferLength is updated with a value that will
> enable the data to fit.
> - EFI_NOT_FOUND - The specifiecd Handle could not be found in the
> current
> + EFI_NOT_FOUND - The specified Handle could not be found in the
> current
> database.
> EFI_INVALID_PARAMETER - Handle or Buffer or BufferSize was NULL.
>
> diff --git
> a/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h
> b/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h
> index 41dad65..5a14a13 100644
> --- a/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h
> +++
> b/EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h
> @@ -28,8 +28,8 @@ Abstract:
> // EFI_DEP_BEFORE - If present, it must be the first and only opcode
> // EFI_DEP_AFTER - If present, it must be the first and only opcode
> // EFI_DEP_SOR - If present, it must be the first opcode
> -// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependecy
> expression
> -// to save time. A EFI_DEP_PUSH is evauated one an
> +// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependency
> expression
> +// to save time. A EFI_DEP_PUSH is evaluated one an
> // replaced with EFI_DEP_REPLACE_TRUE
> //
> #define EFI_DEP_BEFORE 0x00
> diff --git
> a/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/Legacy
> Bios.h
> b/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/Legacy
> Bios.h
> index e2bc450..46ed778 100644
> ---
> a/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/Legacy
> Bios.h
> +++
> b/EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/Legacy
> Bios.h
> @@ -433,7 +433,7 @@ EFI_STATUS
> Flags - Indicates if ROM found and if PC-AT.
>
> Returns:
> - EFI_SUCCESS - Legacy Option ROM availible for this device
> + EFI_SUCCESS - Legacy Option ROM available for this device
> EFI_UNSUPPORTED - Legacy Option ROM not supported.
>
> --*/
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/Customi
> zedDecompress.c
> b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/Custom
> izedDecompress.c
> index 03032b9..030dade 100644
> ---
> a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/Customi
> zedDecompress.c
> +++
> b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/Custom
> izedDecompress.c
> @@ -74,7 +74,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
> EFI_UNSUPPORTED - Not supported
>
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/Customi
> zedDecompress.h
> b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/Custom
> izedDecompress.h
> index 701831b..d7ecb23 100644
> ---
> a/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/Customi
> zedDecompress.h
> +++
> b/EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/Custom
> izedDecompress.h
> @@ -47,7 +47,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
> EFI_UNSUPPORTED - Not supported
>
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h
> b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h
> index 3d1089f..1f5201b 100644
> --- a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h
> +++
> b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h
> @@ -182,7 +182,7 @@ EfiCpuid (
>
> Routine Description:
>
> - Get the Cpu info by excute the CPUID instruction.
> + Get the Cpu info by execute the CPUID instruction.
>
> Arguments:
>
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h
> b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h
> index 99d8a62..567bf37 100644
> --- a/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h
> +++
> b/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h
> @@ -184,7 +184,7 @@ EfiCpuid (
>
> Routine Description:
>
> - Get the Cpu info by excute the CPUID instruction.
> + Get the Cpu info by execute the CPUID instruction.
>
> Arguments:
>
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrF
> orm.c
> b/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfr
> Form.c
> index 864a850..366eab8 100644
> ---
> a/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrF
> orm.c
> +++
> b/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfr
> Form.c
> @@ -1641,7 +1641,7 @@ Returns:
> }
>
> //
> - // Retrive formset storage data from Form Browser
> + // Retrieve formset storage data from Form Browser
> //
> ConfigHdr = mFakeConfigHdr;
> HeaderLen = EfiStrLen (ConfigHdr);
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/Edk
> IIGluePrintLib.h
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/Edk
> IIGluePrintLib.h
> index 86bd172..54a870e 100644
> ---
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/Edk
> IIGluePrintLib.h
> +++
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/Edk
> IIGluePrintLib.h
> @@ -25,7 +25,7 @@ Abstract:
>
> ///
> /// Define the maximum number of characters that are required to
> -/// encode a decimal, hexidecimal, GUID, or TIME value with a NULL
> +/// encode a decimal, hexadecimal, GUID, or TIME value with a NULL
> /// terminator.
> ///
> /// Maximum Length Decimal String = 28
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/Edk
> IIGlueUefiDecompressLib.h
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/Edk
> IIGlueUefiDecompressLib.h
> index 01a3bdf..8a0d8e1 100644
> ---
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/Edk
> IIGlueUefiDecompressLib.h
> +++
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/Edk
> IIGlueUefiDecompressLib.h
> @@ -63,7 +63,7 @@ Abstract:
> by Source and SourceSize.
>
> @retval RETURN_SUCCESS The size of destination buffer and the size of
> scratch
> - buffer are successull retrieved.
> + buffer are successfully retrieved.
> @retval RETURN_INVALID_PARAMETER The source data is corrupted
>
> **/
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDe
> compressLib/BaseUefiDecompressLib.c
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDe
> compressLib/BaseUefiDecompressLib.c
> index a57b0b9..819e5f1 100644
> ---
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDe
> compressLib/BaseUefiDecompressLib.c
> +++
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDe
> compressLib/BaseUefiDecompressLib.c
> @@ -321,7 +321,7 @@ GlueDecodeP (
> /**
> Reads code lengths for the Extra Set or the Position Set.
>
> - Read in the Extra Set or Pointion Set Length Arrary, then
> + Read in the Extra Set or Position Set Length Array, then
> generate the Huffman code mapping for them.
>
> @param Sd The global scratch data.
> @@ -544,7 +544,7 @@ GlueDecodeC (
> Sd->mBlockSize = (UINT16) GetBits (Sd, 16);
>
> //
> - // Read in the Extra Set Code Length Arrary,
> + // Read in the Extra Set Code Length Array,
> // Generate the Huffman code mapping table for Extra Set.
> //
> Sd->mBadTableFlag = ReadPTLen (Sd, NT, TBIT, 3);
> @@ -553,13 +553,13 @@ GlueDecodeC (
> }
>
> //
> - // Read in and decode the Char&Len Set Code Length Arrary,
> + // Read in and decode the Char&Len Set Code Length Array,
> // Generate the Huffman code mapping table for Char&Len Set.
> //
> ReadCLen (Sd);
>
> //
> - // Read in the Position Set Code Length Arrary,
> + // Read in the Position Set Code Length Array,
> // Generate the Huffman code mapping table for the Position Set.
> //
> Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1));
> @@ -702,7 +702,7 @@ Done:
> by Source and SourceSize.
>
> @retval RETURN_SUCCESS The size of destination buffer and the size of
> scratch
> - buffer are successull retrieved.
> + buffer are successfully retrieved.
> @retval RETURN_INVALID_PARAMETER The source data is corrupted
>
> **/
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDe
> compressLib/BaseUefiDecompressLibInternals.h
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDe
> compressLib/BaseUefiDecompressLibInternals.h
> index eb7f20b..cbd8883 100644
> ---
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDe
> compressLib/BaseUefiDecompressLibInternals.h
> +++
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDe
> compressLib/BaseUefiDecompressLibInternals.h
> @@ -155,7 +155,7 @@ GlueDecodeP (
> /**
> Reads code lengths for the Extra Set or the Position Set.
>
> - Read in the Extra Set or Pointion Set Length Arrary, then
> + Read in the Extra Set or Position Set Length Array, then
> generate the Huffman code mapping for them.
>
> @param Sd The global scratch data.
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCp
> uIo/DxeCpuIoLibInternal.h
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCp
> uIo/DxeCpuIoLibInternal.h
> index 881942b..4168cec 100644
> ---
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCp
> uIo/DxeCpuIoLibInternal.h
> +++
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCp
> uIo/DxeCpuIoLibInternal.h
> @@ -58,7 +58,7 @@ IoReadWorker (
> @param Width The width of the I/O operation.
> @param Data The value to write to the I/O port.
>
> - @return The paramter of Data.
> + @return The parameter of Data.
>
> **/
> UINT64
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCp
> uIo/IoLib.c
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCp
> uIo/IoLib.c
> index ce8d07b..b002852 100644
> ---
> a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCp
> uIo/IoLib.c
> +++
> b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCp
> uIo/IoLib.c
> @@ -96,7 +96,7 @@ IoReadWorker (
> @param Width The width of the I/O operation.
> @param Data The value to write to the I/O port.
>
> - @return The paramter of Data.
> + @return The parameter of Data.
>
> **/
> UINT64
> diff --git
> a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
> b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
> index 6d09c61..5956919 100644
> --- a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
> +++ b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
> @@ -825,7 +825,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> @@ -994,7 +994,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> @@ -1080,7 +1080,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> diff --git
> a/EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.
> h
> b/EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.
> h
> index 5c20db2..6c659e8 100644
> ---
> a/EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.
> h
> +++
> b/EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.
> h
> @@ -42,7 +42,7 @@ EFI_STATUS
>
> Routine Description:
> This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
> - It allows discontiguous memory regions to be supported by the emulator.
> + It allows discontinuous memory regions to be supported by the emulator.
> It uses gSystemMemory[] and gSystemMemoryCount that were created by
> parsing the Windows environment variable EFI_MEMORY_SIZE.
> The size comes from the varaible and the address comes from the call to
> diff --git
> a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c
> b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c
> index 3f05bda..bdfe500 100644
> --- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c
> +++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c
> @@ -681,7 +681,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> @@ -849,7 +849,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> @@ -933,7 +933,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> diff --git
> a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h
> b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h
> index 50458ef..ca1cd90 100644
> --- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h
> +++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h
> @@ -47,7 +47,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> @@ -111,7 +111,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> diff --git
> a/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompr
> ess.h
> b/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedComp
> ress.h
> index 74cbf06..c75d549 100644
> ---
> a/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompr
> ess.h
> +++
> b/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedComp
> ress.h
> @@ -65,7 +65,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
>
> --*/
> diff --git
> a/EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/Customi
> zedCompress.c
> b/EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/Customi
> zedCompress.c
> index a336178..c0f6fab 100644
> ---
> a/EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/Customi
> zedCompress.c
> +++
> b/EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/Customi
> zedCompress.c
> @@ -66,7 +66,7 @@ Arguments:
>
> Returns:
>
> - EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successull retrieved.
> + EFI_SUCCESS - The size of destination buffer and the size of scratch
> buffer are successfully retrieved.
> EFI_INVALID_PARAMETER - The source data is corrupted
> EFI_UNSUPPORTED - The operation is unsupported.
>
> diff --git
> a/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c
> b/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c
> index 2cfc307..5d7f693 100644
> --- a/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c
> +++ b/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c
> @@ -266,7 +266,7 @@ Routine Description:
> <boolval> ::= true |
> false
>
> - The outputed binary grammer is thus:
> + The outputted binary grammer is thus:
> <depex> ::= sor <dep> |
> before <depinst> <dep> |
> after <depinst> <dep> |
> diff --git
> a/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c
> b/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c
> index 269a5b8..f84f152 100644
> --- a/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c
> +++ b/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c
> @@ -644,7 +644,7 @@ Returns:
>
> } else if (_strcmpi (Type, "LZH") == 0) {
> //
> - // EFI stardard compression (LZH)
> + // EFI standard compression (LZH)
> //
> CompressionType = EFI_STANDARD_COMPRESSION;
> CompressFunction = (COMPRESS_FUNCTION) TianoCompress;
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 18/33] MdeModulePkg/Core: Fix typos in comments
2016-10-19 7:01 ` [PATCH 18/33] MdeModulePkg/Core: " Gary Lin
@ 2016-10-19 8:20 ` Tian, Feng
0 siblings, 0 replies; 79+ messages in thread
From: Tian, Feng @ 2016-10-19 8:20 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Zeng, Star, Tian, Feng
Reviewed-by: Feng Tian <feng.tian@Intel.com>
Thanks
Feng
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Gary Lin
Sent: Wednesday, October 19, 2016 3:01 PM
To: edk2-devel@lists.01.org
Cc: Tian, Feng <feng.tian@intel.com>; Zeng, Star <star.zeng@intel.com>
Subject: [edk2] [PATCH 18/33] MdeModulePkg/Core: Fix typos in comments
- paramters -> parameters
- funciton -> function
- dependecy -> dependency
- evauated -> evaluated
- genric -> generic
- retore -> restore
- Protocl -> Protocol
- availible -> available
- elasped -> elapsed
- sarted -> started
- boundry -> boundary
- permenent -> permanent
- debuging -> debugging
- availble -> available
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
MdeModulePkg/Core/Dxe/DxeMain.h | 20 ++++++++++----------
MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c | 2 +-
MdeModulePkg/Core/Dxe/Event/Timer.c | 2 +-
MdeModulePkg/Core/Dxe/FwVol/FwVol.c | 4 ++--
MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c | 4 ++--
MdeModulePkg/Core/Dxe/Hand/Locate.c | 2 +-
MdeModulePkg/Core/Dxe/Image/Image.c | 4 ++--
MdeModulePkg/Core/Dxe/Mem/Page.c | 2 +-
MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 12 ++++++------
MdeModulePkg/Core/Pei/FwVol/FwVol.c | 2 +-
MdeModulePkg/Core/Pei/Memory/MemoryServices.c | 2 +-
MdeModulePkg/Core/Pei/PeiMain.h | 4 ++--
MdeModulePkg/Core/Pei/PeiMain/PeiMain.c | 4 ++--
MdeModulePkg/Core/PiSmmCore/Dependency.c | 4 ++--
MdeModulePkg/Core/PiSmmCore/Dispatcher.c | 2 +-
MdeModulePkg/Core/PiSmmCore/Locate.c | 2 +-
16 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/MdeModulePkg/Core/Dxe/DxeMain.h b/MdeModulePkg/Core/Dxe/DxeMain.h index aefeeb7..327d23a 100644
--- a/MdeModulePkg/Core/Dxe/DxeMain.h
+++ b/MdeModulePkg/Core/Dxe/DxeMain.h
@@ -109,8 +109,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
///
-/// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependecy expression
-/// to save time. A EFI_DEP_PUSH is evauated one an
+/// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependency expression
+/// to save time. A EFI_DEP_PUSH is evaluated one an
/// replaced with EFI_DEP_REPLACE_TRUE. If PI spec's Vol 2
/// Driver Execution Environment Core Interface use 0xff
/// as new DEPEX opcode. EFI_DEP_REPLACE_TRUE should be
@@ -141,7 +141,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#else
///
-/// For genric EFI machines make the default allocations 4K aligned
+/// For generic EFI machines make the default allocations 4K aligned
///
#define EFI_ACPI_RUNTIME_PAGE_ALLOCATION_ALIGNMENT (EFI_PAGE_SIZE)
#define DEFAULT_PAGE_ALLOCATION (EFI_PAGE_SIZE)
@@ -246,9 +246,9 @@ typedef struct {
UINTN ExitDataSize;
/// Pointer to exit data from started image
VOID *ExitData;
- /// Pointer to pool allocation for context save/retore
+ /// Pointer to pool allocation for context save/restore
VOID *JumpBuffer;
- /// Pointer to buffer for context save/retore
+ /// Pointer to buffer for context save/restore
BASE_LIBRARY_JUMP_BUFFER *JumpContext;
/// Machine type from PE image
UINT16 Machine;
@@ -256,7 +256,7 @@ typedef struct {
EFI_EBC_PROTOCOL *Ebc;
/// Runtime image list
EFI_RUNTIME_IMAGE_ENTRY *RuntimeData;
- /// Pointer to Loaded Image Device Path Protocl
+ /// Pointer to Loaded Image Device Path Protocol
EFI_DEVICE_PATH_PROTOCOL *LoadedImageDevicePath;
/// PeCoffLoader ImageContext
PE_COFF_LOADER_IMAGE_CONTEXT ImageContext; @@ -445,7 +445,7 @@ CoreNotifyOnProtocolInstallation (
/**
- Return TRUE if all AP services are availible.
+ Return TRUE if all AP services are available.
@retval EFI_SUCCESS All AP services are available
@retval EFI_NOT_FOUND At least one AP service is not available @@ -473,7 +473,7 @@ CalculateEfiHdrCrc (
/**
Called by the platform code to process a tick.
- @param Duration The number of 100ns elasped since the last call
+ @param Duration The number of 100ns elapsed since the last call
to TimerTick
**/
@@ -1097,7 +1097,7 @@ CoreLocateDevicePath (
@retval EFI_NOT_FOUND No handles match the search.
@retval EFI_OUT_OF_RESOURCES There is not enough pool memory to store the
matching results.
- @retval EFI_INVALID_PARAMETER One or more paramters are not valid.
+ @retval EFI_INVALID_PARAMETER One or more parameters are not valid.
**/
EFI_STATUS
@@ -1458,7 +1458,7 @@ CoreLoadImage (
unloaded.
@retval EFI_SUCCESS The image has been unloaded.
- @retval EFI_UNSUPPORTED The image has been sarted, and does not support
+ @retval EFI_UNSUPPORTED The image has been started, and does not support
unload.
@retval EFI_INVALID_PARAMPETER ImageHandle is not a valid image handle.
diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c
index 034520c..ea7c610 100644
--- a/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c
+++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c
@@ -76,7 +76,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST GUID_TO_STRING_PROTOCOL_ENTRY mMissingProtoc };
/**
- Return TRUE if all AP services are availible.
+ Return TRUE if all AP services are available.
@retval EFI_SUCCESS All AP services are available
@retval EFI_NOT_FOUND At least one AP service is not available diff --git a/MdeModulePkg/Core/Dxe/Event/Timer.c b/MdeModulePkg/Core/Dxe/Event/Timer.c
index 087e55e..6cd4e6c 100644
--- a/MdeModulePkg/Core/Dxe/Event/Timer.c
+++ b/MdeModulePkg/Core/Dxe/Event/Timer.c
@@ -187,7 +187,7 @@ CoreInitializeTimer (
/**
Called by the platform code to process a tick.
- @param Duration The number of 100ns elasped since the last call
+ @param Duration The number of 100ns elapsed since the last call
to TimerTick
**/
diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
index 0ca765d..fe12d6e 100644
--- a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
+++ b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
@@ -554,7 +554,7 @@ FvCheck (
DEBUG ((EFI_D_ERROR, "Found a FFS3 formatted file: %g in a non-FFS3 formatted FV.\n", &CacheFfsHeader->Name));
FfsHeader = (EFI_FFS_FILE_HEADER *) ((UINT8 *) FfsHeader + FFS_FILE2_SIZE (CacheFfsHeader));
//
- // Adjust pointer to the next 8-byte aligned boundry.
+ // Adjust pointer to the next 8-byte aligned boundary.
//
FfsHeader = (EFI_FFS_FILE_HEADER *) (((UINTN) FfsHeader + 7) & ~0x07);
continue;
@@ -589,7 +589,7 @@ FvCheck (
}
//
- // Adjust pointer to the next 8-byte aligned boundry.
+ // Adjust pointer to the next 8-byte aligned boundary.
//
FfsHeader = (EFI_FFS_FILE_HEADER *)(((UINTN)FfsHeader + 7) & ~0x07);
diff --git a/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c b/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
index fffd821..f031ef1 100644
--- a/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
+++ b/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
@@ -234,7 +234,7 @@ FwVolBlockReadBlock (
if (Offset > FvbDevice->LbaCache[LbaIndex].Length) {
//
- // all exceed boundry, read nothing.
+ // all exceed boundary, read nothing.
//
*NumBytes = 0;
return EFI_BAD_BUFFER_SIZE;
@@ -243,7 +243,7 @@ FwVolBlockReadBlock (
NumOfBytesRead = *NumBytes;
if (Offset + NumOfBytesRead > FvbDevice->LbaCache[LbaIndex].Length) {
//
- // partial exceed boundry, read data from current postion to end.
+ // partial exceed boundary, read data from current postion to end.
//
NumOfBytesRead = FvbDevice->LbaCache[LbaIndex].Length - Offset;
}
diff --git a/MdeModulePkg/Core/Dxe/Hand/Locate.c b/MdeModulePkg/Core/Dxe/Hand/Locate.c
index d2b6da8..80df0d4 100644
--- a/MdeModulePkg/Core/Dxe/Hand/Locate.c
+++ b/MdeModulePkg/Core/Dxe/Hand/Locate.c
@@ -640,7 +640,7 @@ Done:
@retval EFI_NOT_FOUND No handles match the search.
@retval EFI_OUT_OF_RESOURCES There is not enough pool memory to store the
matching results.
- @retval EFI_INVALID_PARAMETER One or more paramters are not valid.
+ @retval EFI_INVALID_PARAMETER One or more parameters are not valid.
**/
EFI_STATUS
diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Image/Image.c
index 351382b..4a8a16d 100644
--- a/MdeModulePkg/Core/Dxe/Image/Image.c
+++ b/MdeModulePkg/Core/Dxe/Image/Image.c
@@ -507,7 +507,7 @@ CoreLoadPeImage (
}
//
- // Allocate memory of the correct memory type aligned on the required image boundry
+ // Allocate memory of the correct memory type aligned on the required
+ image boundary
//
DstBufAlocated = FALSE;
if (DstBuffer == 0) {
@@ -1857,7 +1857,7 @@ Done:
unloaded.
@retval EFI_SUCCESS The image has been unloaded.
- @retval EFI_UNSUPPORTED The image has been sarted, and does not support
+ @retval EFI_UNSUPPORTED The image has been started, and does not support
unload.
@retval EFI_INVALID_PARAMPETER ImageHandle is not a valid image handle.
diff --git a/MdeModulePkg/Core/Dxe/Mem/Page.c b/MdeModulePkg/Core/Dxe/Mem/Page.c
index b02bafb..bda4f63 100644
--- a/MdeModulePkg/Core/Dxe/Mem/Page.c
+++ b/MdeModulePkg/Core/Dxe/Mem/Page.c
@@ -204,7 +204,7 @@ CoreAddRange (
// If we are in EFI 1.10 compatability mode no event groups will be
// found and nothing will happen we we call this function. These events
// will get signaled but since a lock is held around the call to this
- // function the notificaiton events will only be called after this funciton
+ // function the notificaiton events will only be called after this
+ function
// returns and the lock is released.
//
CoreNotifySignalList (&gEfiEventMemoryMapChangeGuid); diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
index 715e9d2..3934ed0 100644
--- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
+++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
@@ -671,8 +671,8 @@ PeiCheckAndSwitchStack (
if (Private->SwitchStackSignal) {
//
- // Before switch stack from temporary memory to permenent memory, calculate the heap and stack
- // usage in temporary memory for debuging.
+ // Before switch stack from temporary memory to permanent memory, calculate the heap and stack
+ // usage in temporary memory for debugging.
//
DEBUG_CODE_BEGIN ();
UINT32 *StackPointer;
@@ -709,10 +709,10 @@ PeiCheckAndSwitchStack (
//
// Reserve the size of new stack at bottom of physical memory
//
- // The size of new stack in permenent memory must be the same size
+ // The size of new stack in permanent memory must be the same size
// or larger than the size of old stack in temporary memory.
// But if new stack is smaller than the size of old stack, we also reserve
- // the size of old stack at bottom of permenent memory.
+ // the size of old stack at bottom of permanent memory.
//
NewStackSize = RShiftU64 (Private->PhysicalMemoryLength, 1);
NewStackSize = ALIGN_VALUE (NewStackSize, EFI_PAGE_SIZE); @@ -789,7 +789,7 @@ PeiCheckAndSwitchStack (
//
// Temporary Ram Support PPI is provided by platform, it will copy
- // temporary memory to permenent memory and do stack switching.
+ // temporary memory to permanent memory and do stack switching.
// After invoking Temporary Ram Support PPI, the following code's
// stack is in permanent memory.
//
@@ -1142,7 +1142,7 @@ PeiDispatcher (
if ((Private->PeiMemoryInstalled) && (Private->Fv[FvCount].PeimState[PeimCount] == PEIM_STATE_REGISITER_FOR_SHADOW) && \
(Private->HobList.HandoffInformationTable->BootMode != BOOT_ON_S3_RESUME || PcdGetBool (PcdShadowPeimOnS3Boot))) {
//
- // If memory is availble we shadow images by default for performance reasons.
+ // If memory is available we shadow images by default for performance reasons.
// We call the entry point a 2nd time so the module knows it's shadowed.
//
//PERF_START (PeiServices, L"PEIM", PeimFileHandle, 0); diff --git a/MdeModulePkg/Core/Pei/FwVol/FwVol.c b/MdeModulePkg/Core/Pei/FwVol/FwVol.c
index 6ca41ee..d2eb0bc 100644
--- a/MdeModulePkg/Core/Pei/FwVol/FwVol.c
+++ b/MdeModulePkg/Core/Pei/FwVol/FwVol.c
@@ -2019,7 +2019,7 @@ FindNextCoreFvHandle (
/**
After PeiCore image is shadowed into permanent memory, all build-in FvPpi should
be re-installed with the instance in permanent memory and all cached FvPpi pointers in
- PrivateData->Fv[] array should be fixed up to be pointed to the one in permenant
+ PrivateData->Fv[] array should be fixed up to be pointed to the one
+ in permanent
memory.
@param PrivateData Pointer to PEI_CORE_INSTANCE.
diff --git a/MdeModulePkg/Core/Pei/Memory/MemoryServices.c b/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
index 2f9b9de..4efe143 100644
--- a/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
+++ b/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
@@ -222,7 +222,7 @@ PeiAllocatePages (
/**
- Pool allocation service. Before permenent memory is discoveried, the pool will
+ Pool allocation service. Before permanent memory is discoveried, the
+ pool will
be allocated the heap in the temporary memory. Genenrally, the size of heap in temporary
memory does not exceed to 64K, so the biggest pool size could be allocated is
64K.
diff --git a/MdeModulePkg/Core/Pei/PeiMain.h b/MdeModulePkg/Core/Pei/PeiMain.h index 2498320..69eea51 100644
--- a/MdeModulePkg/Core/Pei/PeiMain.h
+++ b/MdeModulePkg/Core/Pei/PeiMain.h
@@ -1119,7 +1119,7 @@ PeiRegisterForShadow (
@param OldCoreData Pointer to Old PeiCore's private data.
If NULL, PeiCore is entered at first time, stack/heap in temporary memory.
If not NULL, PeiCore is entered at second time, stack/heap has been moved
- to permenent memory.
+ to permanent memory.
**/
VOID
@@ -1732,7 +1732,7 @@ extern EFI_PEI_PCI_CFG2_PPI gPeiDefaultPciCfg2Ppi;
/**
After PeiCore image is shadowed into permanent memory, all build-in FvPpi should
be re-installed with the instance in permanent memory and all cached FvPpi pointers in
- PrivateData->Fv[] array should be fixed up to be pointed to the one in permenant
+ PrivateData->Fv[] array should be fixed up to be pointed to the one
+ in permanent
memory.
@param PrivateData Pointer to PEI_CORE_INSTANCE.
diff --git a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
index 956200f..fed34f3 100644
--- a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
+++ b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
@@ -218,7 +218,7 @@ PeiCore (
SetPeiServicesTablePointer ((CONST EFI_PEI_SERVICES **)&OldCoreData->Ps);
//
- // Update HandOffHob for new installed permenent memory
+ // Update HandOffHob for new installed permanent memory
//
HandoffInformationTable = OldCoreData->HobList.HandoffInformationTable;
if (OldCoreData->HeapOffsetPositive) { @@ -238,7 +238,7 @@ PeiCore (
//
// After the whole temporary memory is migrated, then we can allocate page in
- // permenent memory.
+ // permanent memory.
//
OldCoreData->PeiMemoryInstalled = TRUE;
diff --git a/MdeModulePkg/Core/PiSmmCore/Dependency.c b/MdeModulePkg/Core/PiSmmCore/Dependency.c
index 44f693a..deaf4b4 100644
--- a/MdeModulePkg/Core/PiSmmCore/Dependency.c
+++ b/MdeModulePkg/Core/PiSmmCore/Dependency.c
@@ -19,8 +19,8 @@
#include "PiSmmCore.h"
///
-/// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependecy expression
-/// to save time. A EFI_DEP_PUSH is evauated one an
+/// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependency expression
+/// to save time. A EFI_DEP_PUSH is evaluated one an
/// replaced with EFI_DEP_REPLACE_TRUE. If PI spec's Vol 2
/// Driver Execution Environment Core Interface use 0xff
/// as new DEPEX opcode. EFI_DEP_REPLACE_TRUE should be
diff --git a/MdeModulePkg/Core/PiSmmCore/Dispatcher.c b/MdeModulePkg/Core/PiSmmCore/Dispatcher.c
index 8b34778..87f4617 100644
--- a/MdeModulePkg/Core/PiSmmCore/Dispatcher.c
+++ b/MdeModulePkg/Core/PiSmmCore/Dispatcher.c
@@ -517,7 +517,7 @@ SmmLoadImage (
ImageContext.ImageAddress = (EFI_PHYSICAL_ADDRESS)DstBuffer;
}
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1)); diff --git a/MdeModulePkg/Core/PiSmmCore/Locate.c b/MdeModulePkg/Core/PiSmmCore/Locate.c
index 705d6d4..a7220ba 100644
--- a/MdeModulePkg/Core/PiSmmCore/Locate.c
+++ b/MdeModulePkg/Core/PiSmmCore/Locate.c
@@ -430,7 +430,7 @@ SmmLocateHandle (
@retval EFI_NOT_FOUND No handles match the search.
@retval EFI_OUT_OF_RESOURCES There is not enough pool memory to store the
matching results.
- @retval EFI_INVALID_PARAMETER One or more paramters are not valid.
+ @retval EFI_INVALID_PARAMETER One or more parameters are not valid.
**/
EFI_STATUS
--
2.10.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 16/33] MdeModulePkg: BootManagerMenuApp: Fix typos in comments
2016-10-19 7:01 ` [PATCH 16/33] MdeModulePkg: BootManagerMenuApp: Fix typos in comments Gary Lin
@ 2016-10-19 8:20 ` Tian, Feng
0 siblings, 0 replies; 79+ messages in thread
From: Tian, Feng @ 2016-10-19 8:20 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Zeng, Star, Tian, Feng
Reviewed-by: Feng Tian <feng.tian@Intel.com>
Thanks
Feng
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Gary Lin
Sent: Wednesday, October 19, 2016 3:01 PM
To: edk2-devel@lists.01.org
Cc: Tian, Feng <feng.tian@intel.com>; Zeng, Star <star.zeng@intel.com>
Subject: [edk2] [PATCH 16/33] MdeModulePkg: BootManagerMenuApp: Fix typos in comments
- chracter -> character
- lanaguag -> language
- proccessed -> processed
- optin -> option
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
| 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
--git a/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c b/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c
index 6481d94..6d493e1 100644
--- a/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c
+++ b/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c
@@ -57,7 +57,7 @@ PrintStringAt (
}
/**
- Prints a chracter to the default console, at
+ Prints a character to the default console, at
the supplied cursor position, using L"%c" format.
@param Column The cursor position to print the string at.
@@ -79,7 +79,7 @@ PrintCharAt (
}
/**
- Count the storage space of a Unicode string which uses current lanaguag to get
+ Count the storage space of a Unicode string which uses current
+ language to get
from input string ID.
@param StringId The input string to be counted.
@@ -147,7 +147,7 @@ GetLineWidth (
/**
This function uses calculate the boot menu location, size and scroll bar information.
- @param BootMenuData The boot menu data to be proccessed.
+ @param BootMenuData The boot menu data to be processed.
@return EFI_SUCCESS calculate boot menu information successful.
@retval EFI_INVALID_PARAMETER Input parameter is invalid
@@ -219,7 +219,7 @@ InitializeBootMenuScreen (
return EFI_SUCCESS;
}
/**
- This funciton uses check boot option is wheher setup application or no
+ This function uses check boot option is wheher setup application or
+ no
@param BootOption Pointer to EFI_BOOT_MANAGER_LOAD_OPTION array.
@@ -248,7 +248,7 @@ IsBootManagerMenu (
@param BootOption Pointer to EFI_BOOT_MANAGER_LOAD_OPTION to check.
- @retval TRUE Ignore the boot optin.
+ @retval TRUE Ignore the boot option.
@retval FALSE Do not ignore the boot option.
**/
BOOLEAN
@@ -286,7 +286,7 @@ IgnoreBootOption (
}
/**
- This funciton uses to initialize boot menu data
+ This function uses to initialize boot menu data
@param BootOption Pointer to EFI_BOOT_MANAGER_LOAD_OPTION array.
@param BootOptionCount Number of boot option.
@@ -345,7 +345,7 @@ InitializeBootMenuData (
and set current selected item in BootMenuData
@param WantSelectItem The user wants to select item.
- @param BootMenuData The boot menu data to be proccessed
+ @param BootMenuData The boot menu data to be processed
@return EFI_SUCCESS Highlight selected item and update current selected
item successful @@ -485,7 +485,7 @@ BootMenuSelectItem ( }
/**
- This funciton uses to draw boot popup menu
+ This function uses to draw boot popup menu
@param BootMenuData The Input BootMenuData to be processed.
@@ -644,7 +644,7 @@ DrawBootPopupMenu (
}
/**
- This funciton uses to boot from selected item
+ This function uses to boot from selected item
@param BootOptions Pointer to EFI_BOOT_MANAGER_LOAD_OPTION array.
@param BootOptionCount Number of boot option.
--
2.10.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 22/33] MdePkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 22/33] MdePkg: " Gary Lin
@ 2016-10-19 8:21 ` Gao, Liming
0 siblings, 0 replies; 79+ messages in thread
From: Gao, Liming @ 2016-10-19 8:21 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Kinney, Michael D
Reviewed-by: Liming Gao <liming.gao@intel.com>
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
> <liming.gao@intel.com>
> Subject: [PATCH 22/33] MdePkg: Fix typos in comments
>
> - Resuts -> Results
> - outputed -> outputted
> - specifiecd -> specified
> - TURE -> TRUE
> - specifed -> specified
> - Pointion -> Position
> - Arrary -> Array
> - elasped -> elapsed
> - paramter -> parameter
> - Sumbit -> Submit
>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h | 6 +++-
> --
> MdePkg/Include/Library/SmmPeriodicSmiLib.h | 4 ++--
> MdePkg/Include/Protocol/HiiConfigKeyword.h | 2 +-
> MdePkg/Include/Protocol/HiiDatabase.h | 4 ++--
> MdePkg/Include/Protocol/Kms.h | 10 +++++-----
> MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c |
> 8 ++++----
>
> MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.
> h | 2 +-
> MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c
> | 2 +-
> MdePkg/Library/DxeIoLibCpuIo2/IoLib.c | 2 +-
> MdePkg/Library/DxeIoLibEsal/IoLib.c | 2 +-
> MdePkg/Library/DxePciLibEsal/PciLib.c | 2 +-
> MdePkg/Library/DxePciSegmentLibEsal/PciLib.c | 2 +-
> MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c |
> 4 ++--
> MdePkg/Library/PeiPciLibPciCfg2/PciLib.c | 2 +-
> MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c | 2 +-
> MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c | 2
> +-
> MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c | 2 +-
> MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c | 2 +-
> MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c | 2 +-
> 19 files changed, 31 insertions(+), 31 deletions(-)
>
> diff --git a/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h
> b/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h
> index 80ae7d3..7a500e2 100644
> --- a/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h
> +++ b/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h
> @@ -41,8 +41,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY
> KIND, EITHER EXPRESS OR IMPLIED.
> #define TCG_PP_RETURN_TPM_OPERATION_RESPONSE_FAILURE
> 1
>
> //
> -// TCG PP definition of return code for Sumbit TPM Request to Pre-OS
> Environment
> -// and Sumbit TPM Request to Pre-OS Environment 2
> +// TCG PP definition of return code for Submit TPM Request to Pre-OS
> Environment
> +// and Submit TPM Request to Pre-OS Environment 2
> //
> #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
> #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED
> 1
> @@ -126,4 +126,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF
> ANY KIND, EITHER EXPRESS OR IMPLIED.
>
> #define TCG2_PHYSICAL_PRESENCE_VENDOR_SPECIFIC_OPERATION
> 128
>
> -#endif
> \ No newline at end of file
> +#endif
> diff --git a/MdePkg/Include/Library/SmmPeriodicSmiLib.h
> b/MdePkg/Include/Library/SmmPeriodicSmiLib.h
> index dfdb5eb..2bad2b7 100644
> --- a/MdePkg/Include/Library/SmmPeriodicSmiLib.h
> +++ b/MdePkg/Include/Library/SmmPeriodicSmiLib.h
> @@ -79,7 +79,7 @@ PeriodicSmiExit (
> If this function is not called from within an enabled periodic SMI handler,
> then 0 is returned.
>
> - @return The actual time in 100ns units elasped since this function was
> + @return The actual time in 100ns units elapsed since this function was
> called. A value of 0 indicates an unknown amount of time.
>
> **/
> @@ -95,7 +95,7 @@ PeriodicSmiYield (
> PeriodicSmiDisable().
>
> @param[in] Context Content registered with PeriodicSmiEnable().
> - @param[in] ElapsedTime The actual time in 100ns units elasped since
> + @param[in] ElapsedTime The actual time in 100ns units elapsed since
> this function was called. A value of 0 indicates
> an unknown amount of time.
>
> diff --git a/MdePkg/Include/Protocol/HiiConfigKeyword.h
> b/MdePkg/Include/Protocol/HiiConfigKeyword.h
> index 69280b8..208336c 100644
> --- a/MdePkg/Include/Protocol/HiiConfigKeyword.h
> +++ b/MdePkg/Include/Protocol/HiiConfigKeyword.h
> @@ -152,7 +152,7 @@ EFI_STATUS
> @retval EFI_SUCCESS The specified action was completed
> successfully.
>
> @retval EFI_INVALID_PARAMETER One or more of the following are TRUE:
> - 1.Progress, ProgressErr, or Resuts is NULL.
> + 1.Progress, ProgressErr, or Results is NULL.
> 2.Parsing of the KeywordString resulted in an error. See
> Progress and ProgressErr for more data.
>
> diff --git a/MdePkg/Include/Protocol/HiiDatabase.h
> b/MdePkg/Include/Protocol/HiiDatabase.h
> index 474d840..5ba50f8 100644
> --- a/MdePkg/Include/Protocol/HiiDatabase.h
> +++ b/MdePkg/Include/Protocol/HiiDatabase.h
> @@ -214,7 +214,7 @@ EFI_STATUS
>
> @param Handle An array of EFI_HII_HANDLE instances returned.
>
> - @retval EFI_SUCCESS The matching handles are outputed successfully.
> + @retval EFI_SUCCESS The matching handles are outputted
> successfully.
> HandleBufferLength is updated with the actual length.
> @retval EFI_BUFFER_TOO_SMALL The HandleBufferLength parameter
> indicates that Handle is too
> @@ -273,7 +273,7 @@ EFI_STATUS
>
> @retval EFI_OUT_OF_RESOURCES BufferSize is too small to hold the
> package.
>
> - @retval EFI_NOT_FOUND The specifiecd Handle could not be found in
> the
> + @retval EFI_NOT_FOUND The specified Handle could not be found in
> the
> current database.
>
> @retval EFI_INVALID_PARAMETER BufferSize was NULL.
> diff --git a/MdePkg/Include/Protocol/Kms.h
> b/MdePkg/Include/Protocol/Kms.h
> index 1a13755..da27096 100644
> --- a/MdePkg/Include/Protocol/Kms.h
> +++ b/MdePkg/Include/Protocol/Kms.h
> @@ -1197,12 +1197,12 @@ struct _EFI_KMS_PROTOCOL {
> ///
> BOOLEAN ServiceAvailable;
> ///
> - /// TURE if and only if the service supports client identifiers. Client
> identifiers may be used
> + /// TRUE if and only if the service supports client identifiers. Client
> identifiers may be used
> /// for auditing, access control or any other purpose specific to the
> implementation.
> ///
> BOOLEAN ClientIdSupported;
> ///
> - /// TURE if and only if the service requires a client identifier in order to
> process key requests.
> + /// TRUE if and only if the service requires a client identifier in order to
> process key requests.
> /// FALSE otherwise.
> ///
> BOOLEAN ClientIdRequired;
> @@ -1218,7 +1218,7 @@ struct _EFI_KMS_PROTOCOL {
> ///
> UINT8 ClientNameStringTypes;
> ///
> - /// TURE if only if the KMS requires a client name to be supplied to the
> service.
> + /// TRUE if only if the KMS requires a client name to be supplied to the
> service.
> /// FALSE otherwise.
> ///
> BOOLEAN ClientNameRequired;
> @@ -1227,7 +1227,7 @@ struct _EFI_KMS_PROTOCOL {
> ///
> UINT16 ClientNameMaxCount;
> ///
> - /// TURE if and only if the service supports arbitrary client data requests.
> The use of client
> + /// TRUE if and only if the service supports arbitrary client data requests.
> The use of client
> /// data requires the caller to have specific knowledge of the individual KMS
> service and
> /// should be used only if absolutely necessary.
> /// FALSE otherwise.
> @@ -1239,7 +1239,7 @@ struct _EFI_KMS_PROTOCOL {
> ///
> UINTN ClientDataMaxSize;
> ///
> - /// TURE if variable length key identifiers are supported.
> + /// TRUE if variable length key identifiers are supported.
> /// FALSE if a fixed length key identifier is supported.
> ///
> BOOLEAN KeyIdVariableLenSupported;
> diff --git
> a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
> b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
> index 4b86f50..e3b2846 100644
> --- a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
> +++ b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
> @@ -308,7 +308,7 @@ DecodeP (
> /**
> Reads code lengths for the Extra Set or the Position Set.
>
> - Read in the Extra Set or Pointion Set Length Arrary, then
> + Read in the Extra Set or Position Set Length Array, then
> generate the Huffman code mapping for them.
>
> @param Sd The global scratch data.
> @@ -508,7 +508,7 @@ DecodeC (
> Sd->mBlockSize = (UINT16) GetBits (Sd, 16);
>
> //
> - // Read in the Extra Set Code Length Arrary,
> + // Read in the Extra Set Code Length Array,
> // Generate the Huffman code mapping table for Extra Set.
> //
> Sd->mBadTableFlag = ReadPTLen (Sd, NT, TBIT, 3);
> @@ -517,13 +517,13 @@ DecodeC (
> }
>
> //
> - // Read in and decode the Char&Len Set Code Length Arrary,
> + // Read in and decode the Char&Len Set Code Length Array,
> // Generate the Huffman code mapping table for Char&Len Set.
> //
> ReadCLen (Sd);
>
> //
> - // Read in the Position Set Code Length Arrary,
> + // Read in the Position Set Code Length Array,
> // Generate the Huffman code mapping table for the Position Set.
> //
> Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1));
> diff --git
> a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternal
> s.h
> b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternal
> s.h
> index aba510c..4e14313 100644
> ---
> a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternal
> s.h
> +++
> b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternal
> s.h
> @@ -146,7 +146,7 @@ DecodeP (
> /**
> Reads code lengths for the Extra Set or the Position Set.
>
> - Read in the Extra Set or Pointion Set Length Arrary, then
> + Read in the Extra Set or Position Set Length Array, then
> generate the Huffman code mapping for them.
>
> @param Sd The global scratch data.
> diff --git
> a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib
> .c
> b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib
> .c
> index 567f091..8b8e528 100644
> ---
> a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib
> .c
> +++
> b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib
> .c
> @@ -179,7 +179,7 @@ ExtractGuidedSectionRegisterHandlers (
> VOID *GuidData;
>
> //
> - // Check input paramter.
> + // Check input parameter.
> //
> ASSERT (SectionGuid != NULL);
> ASSERT (GetInfoHandler != NULL);
> diff --git a/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c
> b/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c
> index 9204757..110f66c 100644
> --- a/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c
> +++ b/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c
> @@ -88,7 +88,7 @@ IoReadWorker (
> @param Width The width of the I/O operation.
> @param Data The value to write to the I/O port.
>
> - @return The paramter of Data.
> + @return The parameter of Data.
>
> **/
> UINT64
> diff --git a/MdePkg/Library/DxeIoLibEsal/IoLib.c
> b/MdePkg/Library/DxeIoLibEsal/IoLib.c
> index 81b28ec..3a58b51 100644
> --- a/MdePkg/Library/DxeIoLibEsal/IoLib.c
> +++ b/MdePkg/Library/DxeIoLibEsal/IoLib.c
> @@ -68,7 +68,7 @@ IoReadWorker (
> @param Width The width of the I/O operation.
> @param Data The value to write to the I/O port.
>
> - @return The paramter of Data.
> + @return The parameter of Data.
>
> **/
> UINT64
> diff --git a/MdePkg/Library/DxePciLibEsal/PciLib.c
> b/MdePkg/Library/DxePciLibEsal/PciLib.c
> index 43fcef1..28b01c9 100644
> --- a/MdePkg/Library/DxePciLibEsal/PciLib.c
> +++ b/MdePkg/Library/DxePciLibEsal/PciLib.c
> @@ -124,7 +124,7 @@ DxePciLibEsalReadWorker (
> This function wraps EsalPciConfigWrite function of Extended SAL PCI
> Services Class.
> It writes the PCI configuration register specified by Address with the
> - value specified by Data. The width of data is specifed by Width.
> + value specified by Data. The width of data is specified by Width.
> Data is returned.
>
> @param Address Address that encodes the PCI Bus, Device, Function and
> diff --git a/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c
> b/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c
> index 07ddd8f..fe0fb8b 100644
> --- a/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c
> +++ b/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c
> @@ -124,7 +124,7 @@ DxePciSegmentLibEsalReadWorker (
> This function wraps EsalPciConfigWrite function of Extended SAL PCI
> Services Class.
> It writes the PCI configuration register specified by Address with the
> - value specified by Data. The width of data is specifed by Width.
> + value specified by Data. The width of data is specified by Width.
> Data is returned.
>
> @param Address Address that encodes the PCI Bus, Device, Function and
> diff --git
> a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c
> b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c
> index c471ae9..d7bc98b 100644
> ---
> a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c
> +++
> b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c
> @@ -198,7 +198,7 @@ ExtractGuidedSectionRegisterHandlers (
> PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo;
>
> //
> - // Check input paramter
> + // Check input parameter
> //
> ASSERT (SectionGuid != NULL);
> ASSERT (GetInfoHandler != NULL);
> @@ -305,7 +305,7 @@ ExtractGuidedSectionGetInfo (
> EFI_GUID *SectionDefinitionGuid;
>
> //
> - // Check input paramter
> + // Check input parameter
> //
> ASSERT (InputSection != NULL);
> ASSERT (OutputBufferSize != NULL);
> diff --git a/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c
> b/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c
> index 689a229..ce9121b 100644
> --- a/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c
> +++ b/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c
> @@ -90,7 +90,7 @@ PeiPciLibPciCfg2ReadWorker (
>
> This function wraps EFI_PEI_PCI_CFG2_PPI.Write() service.
> It writes the PCI configuration register specified by Address with the
> - value specified by Data. The width of data is specifed by Width.
> + value specified by Data. The width of data is specified by Width.
> Data is returned.
>
> @param Address The address that encodes the PCI Bus, Device, Function
> and
> diff --git a/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c
> b/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c
> index 1e55791..7c8a603 100644
> --- a/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c
> +++ b/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c
> @@ -58,7 +58,7 @@ IoReadWorker (
> @param Width The width of the I/O operation.
> @param Data The value to write to the I/O port.
>
> - @return The paramter of Data.
> + @return The parameter of Data.
>
> **/
> UINT64
> diff --git
> a/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
> b/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
> index 30670bf..937165a 100644
> --- a/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
> +++ b/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
> @@ -114,7 +114,7 @@ SmmMemoryAllocationLibDestructor (
>
> @param[in] Buffer The pointer to the buffer to be checked.
>
> - @retval TURE The buffer is in SMRAM ranges.
> + @retval TRUE The buffer is in SMRAM ranges.
> @retval FALSE The buffer is out of SMRAM ranges.
> **/
> BOOLEAN
> diff --git a/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c
> b/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c
> index 0b94aeb..cdd35c1 100644
> --- a/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c
> +++ b/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c
> @@ -112,7 +112,7 @@ SmmPciLibPciRootBridgeIoReadWorker (
>
> This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write()
> service.
> It writes the PCI configuration register specified by Address with the
> - value specified by Data. The width of data is specifed by Width.
> + value specified by Data. The width of data is specified by Width.
> Data is returned.
>
> @param Address The address that encodes the PCI Bus, Device, Function
> and
> diff --git a/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c
> b/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c
> index b6db317..2016af6 100644
> --- a/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c
> +++ b/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c
> @@ -545,7 +545,7 @@ PeriodicSmiExit (
> If this function is not called from within an enabled periodic SMI handler,
> then 0 is returned.
>
> - @return The actual time in 100ns units elasped since this function was
> + @return The actual time in 100ns units elapsed since this function was
> called. A value of 0 indicates an unknown amount of time.
>
> **/
> diff --git a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
> b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
> index 148e12c..a146000 100644
> --- a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
> +++ b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
> @@ -114,7 +114,7 @@ DxePciLibPciRootBridgeIoReadWorker (
>
> This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write()
> service.
> It writes the PCI configuration register specified by Address with the
> - value specified by Data. The width of data is specifed by Width.
> + value specified by Data. The width of data is specified by Width.
> Data is returned.
>
> @param Address The address that encodes the PCI Bus, Device, Function
> and
> --
> 2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 00/33] Fix typos in comments and variables
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
` (33 preceding siblings ...)
2016-10-19 7:28 ` [PATCH 00/33] Fix typos in comments and variables Zeng, Star
@ 2016-10-19 14:50 ` Leif Lindholm
34 siblings, 0 replies; 79+ messages in thread
From: Leif Lindholm @ 2016-10-19 14:50 UTC (permalink / raw)
To: Gary Lin; +Cc: edk2-devel
On Wed, Oct 19, 2016 at 03:01:05PM +0800, Gary Lin wrote:
> When I was reading a header file in CrytoPkg, I found some typos. Out of
> curiosity, I started to search typos in some files and this is what I got.
> The patch set looks huge but there are lots of typos shared across files
> due to copy&paste, so it's actually not so scary. I tried to collect all
> fixes in the same Pkg in one patch. The only exception is MdeModulePkg
> since it affected tons of files. I broke it down to several smaller
> patches and it might be easier for the maintainers to review.
>
> Some patches affect the code, but those patches only change the variable
> name, so there is no functional change in this patch set.
Thanks Gary, much appreciated.
For the ArmPkg/EmbeddedPkg patches:
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
I don't think this series needs to be committed atomically, so unless
someone shouts at me not to, I'll push those two in ~30 minutes.
/
Leif
> Gary Lin (33):
> ArmPkg: Fix typos in comments
> BaseTools: Fix typos in comments and variables
> CorebootPayloadPkg: Fix typos in comments
> CorebootModulePkg: Fix typos in comments
> CryptoPkg: Fix typos in comments
> DuetPkg: Fix typos in comments
> EdkCompatibilityPkg: Fix typos in comments
> EmulatorPkg: Fix typos in comments and variables
> EmbeddedPkg: Fix typos in comments
> IntelFrameworkModulePkg: Fix typos in comments
> IntelFrameworkPkg: Fix typos in comments
> IntelFspPkg: Fix typos in comments
> IntelFspWrapperPkg: Fix typos in comments
> IntelFsp2Pkg: Fix typos in comments
> IntelFsp2WrapperPkg: Fix a typo in the comment
> MdeModulePkg: BootManagerMenuApp: Fix typos in comments
> MdeModulePkg/Bus: Fix typos in comments
> MdeModulePkg/Core: Fix typos in comments
> MdeModulePkg/Include: Fix typos in comments
> MdeModulePkg/Library: Fix typos in comments and variables
> MdeModulePkg/Universal: Fix typos in comments
> MdePkg: Fix typos in comments
> NetworkPkg: Fix typos in comments
> Nt32Pkg: Fix typos in comments and variables
> OptionRomPkg: Fix typos in comments
> OvmfPkg: Fix typos in comments
> QuarkPlatformPkg: Fix typos in comments
> QuarkSocPkg: Fix typos in comments
> SecurityPkg: Fix typos in comments
> ShellPkg: Fix typos in comments and variables
> SourceLevelDebugPkg: Fix typos in comments
> UefiCpuPkg: Fix typos in comments
> Vlv2TbltDevicePkg: Fix typos in comments
>
> ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S | 2 +-
> ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm | 2 +-
> ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c | 4 +-
> BaseTools/Source/C/Common/Decompress.c | 6 +-
> BaseTools/Source/C/Common/Decompress.h | 4 +-
> BaseTools/Source/C/Common/ParseInf.c | 2 +-
> BaseTools/Source/C/EfiRom/EfiRom.c | 4 +-
> BaseTools/Source/C/GenCrc32/GenCrc32.c | 2 +-
> BaseTools/Source/C/GenFfs/GenFfs.c | 2 +-
> BaseTools/Source/C/GenFw/GenFw.c | 8 +--
> BaseTools/Source/C/GenPage/GenPage.c | 2 +-
> BaseTools/Source/C/GenSec/GenSec.c | 14 ++--
> BaseTools/Source/C/Split/Split.c | 6 +-
> BaseTools/Source/C/TianoCompress/TianoCompress.h | 4 +-
> BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c | 2 +-
> CorebootModulePkg/SecCore/FindPeiCore.c | 2 +-
> CorebootModulePkg/SecCore/SecMain.c | 6 +-
> CorebootModulePkg/SecCore/SecMain.h | 4 +-
> CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c | 4 +-
> CryptoPkg/Include/Library/BaseCryptLib.h | 68 ++++++++++----------
> CryptoPkg/Include/OpenSslSupport.h | 14 ++--
> CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c | 8 +--
> CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c | 8 +--
> CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c | 2 +-
> CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthenticodeNull.c | 4 +-
> CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c | 2 +-
> CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNull.c | 2 +-
> CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCryptLib.c | 4 +-
> DuetPkg/BiosVideoThunkDxe/BiosVideo.c | 4 +-
> DuetPkg/DxeIpl/HobGeneration.c | 2 +-
> DuetPkg/EfiLdr/EfiLoader.c | 2 +-
> DuetPkg/EfiLdr/LzmaDecompress.h | 2 +-
> DuetPkg/EfiLdr/TianoDecompress.c | 6 +-
> DuetPkg/EfiLdr/TianoDecompress.h | 4 +-
> DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 14 ++--
> DuetPkg/PciBusNoEnumerationDxe/PciBus.h | 2 +-
> EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/ScriptSave.c | 4 +-
> EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h | 4 +-
> EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Package.c | 6 +-
> EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c | 2 +-
> EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.h | 2 +-
> EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c | 2 +-
> EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.h | 2 +-
> EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/CpuIA32.h | 2 +-
> EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h | 4 +-
> EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiDatabase/HiiDatabase.h | 4 +-
> EdkCompatibilityPkg/Foundation/Framework/Include/EfiDependency.h | 4 +-
> EdkCompatibilityPkg/Foundation/Framework/Protocol/LegacyBios/LegacyBios.h | 2 +-
> EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.c | 2 +-
> EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.h | 2 +-
> EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/CpuFuncs.h | 2 +-
> EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/CpuFuncs.h | 2 +-
> EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c | 2 +-
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePrintLib.h | 2 +-
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueUefiDecompressLib.h | 2 +-
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | 10 +--
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h | 2 +-
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h | 2 +-
> EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/IoLib.c | 2 +-
> EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c | 6 +-
> EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtAutoScan/NtAutoScan.h | 2 +-
> EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.c | 6 +-
> EdkCompatibilityPkg/Sample/Tools/Source/Common/Decompress.h | 4 +-
> EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h | 2 +-
> EdkCompatibilityPkg/Sample/Tools/Source/CustomizedCompress/CustomizedCompress.c | 2 +-
> EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.c | 2 +-
> EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/GenFfsFile.c | 2 +-
> EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c | 2 +-
> EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c | 2 +-
> EmbeddedPkg/GdbStub/GdbStub.c | 2 +-
> EmbeddedPkg/GdbStub/GdbStubInternal.h | 2 +-
> EmbeddedPkg/Include/Library/GdbSerialLib.h | 4 +-
> EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c | 2 +-
> EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c | 4 +-
> EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h | 2 +-
> EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c | 2 +-
> EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c | 4 +-
> EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c | 4 +-
> EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c | 4 +-
> EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c | 2 +-
> EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c | 2 +-
> EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c | 2 +-
> EmulatorPkg/Include/Ppi/EmuThunk.h | 2 +-
> EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c | 8 +--
> EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 4 +-
> EmulatorPkg/Sec/Ia32/TempRam.c | 8 +--
> EmulatorPkg/Unix/Host/Host.c | 24 +++----
> EmulatorPkg/Unix/Host/Host.h | 4 +-
> IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c | 4 +-
> IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c | 4 +-
> IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c | 12 ++--
> IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h | 12 ++--
> IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c | 6 +-
> IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h | 8 +--
> IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c | 12 ++--
> IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h | 12 ++--
> IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c | 6 +-
> IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h | 8 +--
> IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c | 12 ++--
> IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h | 2 +-
> IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c | 14 ++--
> IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h | 62 +++++++++---------
> IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c | 2 +-
> IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c | 46 ++++++-------
> IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c | 2 +-
> IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h | 4 +-
> IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c | 4 +-
> IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h | 4 +-
> IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h | 2 +-
> IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c | 8 +--
> IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h | 4 +-
> IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c | 2 +-
> IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c | 2 +-
> IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c | 2 +-
> IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h | 2 +-
> IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c | 4 +-
> IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c | 2 +-
> IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c | 6 +-
> IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c | 4 +-
> IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h | 2 +-
> IntelFrameworkPkg/Include/Protocol/LegacyBios.h | 2 +-
> IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h | 2 +-
> IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c | 2 +-
> IntelFsp2Pkg/FspSecCore/SecMain.c | 6 +-
> IntelFsp2Pkg/FspSecCore/SecMain.h | 2 +-
> IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h | 2 +-
> IntelFsp2WrapperPkg/FspWrapperNotifyDxe/LoadBelow4G.c | 2 +-
> IntelFspPkg/FspSecCore/SecMain.c | 6 +-
> IntelFspPkg/FspSecCore/SecMain.h | 2 +-
> IntelFspPkg/Include/Library/FspCommonLib.h | 6 +-
> IntelFspPkg/Include/Library/FspSwitchStackLib.h | 2 +-
> IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c | 6 +-
> IntelFspWrapperPkg/FspInitPei/FindPeiCore.c | 2 +-
> IntelFspWrapperPkg/FspInitPei/SecMain.c | 2 +-
> IntelFspWrapperPkg/FspInitPei/SecMain.h | 4 +-
> IntelFspWrapperPkg/FspNotifyDxe/LoadBelow4G.c | 2 +-
> IntelFspWrapperPkg/FspWrapperSecCore/FindPeiCore.c | 2 +-
> IntelFspWrapperPkg/FspWrapperSecCore/SecMain.c | 2 +-
> IntelFspWrapperPkg/FspWrapperSecCore/SecMain.h | 4 +-
> IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecTempRamSupport.c | 4 +-
> MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c | 18 +++---
> MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c | 2 +-
> MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c | 2 +-
> MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c | 4 +-
> MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c | 4 +-
> MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c | 12 ++--
> MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h | 12 ++--
> MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c | 6 +-
> MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h | 8 +--
> MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 2 +-
> MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h | 8 +--
> MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h | 6 +-
> MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c | 6 +-
> MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 14 ++--
> MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 4 +-
> MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c | 2 +-
> MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c | 2 +-
> MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h | 2 +-
> MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c | 2 +-
> MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h | 4 +-
> MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h | 2 +-
> MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c | 4 +-
> MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c | 2 +-
> MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h | 2 +-
> MdeModulePkg/Core/Dxe/DxeMain.h | 20 +++---
> MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c | 2 +-
> MdeModulePkg/Core/Dxe/Event/Timer.c | 2 +-
> MdeModulePkg/Core/Dxe/FwVol/FwVol.c | 4 +-
> MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c | 4 +-
> MdeModulePkg/Core/Dxe/Hand/Locate.c | 2 +-
> MdeModulePkg/Core/Dxe/Image/Image.c | 4 +-
> MdeModulePkg/Core/Dxe/Mem/Page.c | 2 +-
> MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 12 ++--
> MdeModulePkg/Core/Pei/FwVol/FwVol.c | 2 +-
> MdeModulePkg/Core/Pei/Memory/MemoryServices.c | 2 +-
> MdeModulePkg/Core/Pei/PeiMain.h | 4 +-
> MdeModulePkg/Core/Pei/PeiMain/PeiMain.c | 4 +-
> MdeModulePkg/Core/PiSmmCore/Dependency.c | 4 +-
> MdeModulePkg/Core/PiSmmCore/Dispatcher.c | 2 +-
> MdeModulePkg/Core/PiSmmCore/Locate.c | 2 +-
> MdeModulePkg/Include/Library/CustomizedDisplayLib.h | 2 +-
> MdeModulePkg/Include/Library/DebugAgentLib.h | 4 +-
> MdeModulePkg/Include/Library/HiiLib.h | 16 ++---
> MdeModulePkg/Include/Library/NetLib.h | 32 ++++-----
> MdeModulePkg/Include/Ppi/AtaController.h | 2 +-
> MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c | 2 +-
> MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c | 2 +-
> MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.c | 2 +-
> MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.c | 2 +-
> MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/DxeDebugPrintErrorLevelLib.c | 2 +-
> MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 8 +--
> MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | 2 +-
> MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 16 ++---
> MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/PeiCrc32GuidedSectionExtractLib.c | 2 +-
> MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c | 2 +-
> MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryProfileLib.c | 2 +-
> MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c | 2 +-
> MdeModulePkg/Library/SmmMemoryAllocationProfileLib/MemoryAllocationLib.c | 2 +-
> MdeModulePkg/Library/SmmMemoryAllocationProfileLib/SmmMemoryProfileLib.c | 2 +-
> MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c | 2 +-
> MdeModulePkg/Library/UefiHiiLib/HiiLanguage.c | 4 +-
> MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 42 ++++++------
> MdeModulePkg/Library/UefiHiiLib/HiiString.c | 2 +-
> MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c | 2 +-
> MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.c | 2 +-
> MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveState.c | 2 +-
> MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.c | 2 +-
> MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c | 2 +-
> MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h | 2 +-
> MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c | 2 +-
> MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h | 4 +-
> MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c | 2 +-
> MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c | 2 +-
> MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.h | 4 +-
> MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.c | 4 +-
> MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.c | 4 +-
> MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h | 20 +++---
> MdeModulePkg/Universal/HiiDatabaseDxe/String.c | 8 +--
> MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c | 2 +-
> MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.c | 2 +-
> MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c | 2 +-
> MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 2 +-
> MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h | 2 +-
> MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c | 2 +-
> MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.c | 2 +-
> MdeModulePkg/Universal/Network/Tcp4Dxe/SockImpl.h | 2 +-
> MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideDxe.c | 4 +-
> MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c | 8 +--
> MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c | 8 +--
> MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 8 +--
> MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c | 2 +-
> MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h | 4 +-
> MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c | 4 +-
> MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c | 4 +-
> MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c | 2 +-
> MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h | 6 +-
> MdePkg/Include/Library/SmmPeriodicSmiLib.h | 4 +-
> MdePkg/Include/Protocol/HiiConfigKeyword.h | 2 +-
> MdePkg/Include/Protocol/HiiDatabase.h | 4 +-
> MdePkg/Include/Protocol/Kms.h | 10 +--
> MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | 8 +--
> MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals.h | 2 +-
> MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c | 2 +-
> MdePkg/Library/DxeIoLibCpuIo2/IoLib.c | 2 +-
> MdePkg/Library/DxeIoLibEsal/IoLib.c | 2 +-
> MdePkg/Library/DxePciLibEsal/PciLib.c | 2 +-
> MdePkg/Library/DxePciSegmentLibEsal/PciLib.c | 2 +-
> MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c | 4 +-
> MdePkg/Library/PeiPciLibPciCfg2/PciLib.c | 2 +-
> MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c | 2 +-
> MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c | 2 +-
> MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c | 2 +-
> MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c | 2 +-
> MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c | 2 +-
> NetworkPkg/Application/Ping6/Ping6.c | 8 +--
> NetworkPkg/IScsiDxe/IScsiProto.c | 4 +-
> NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 +-
> NetworkPkg/Ip6Dxe/Ip6Option.c | 16 ++---
> NetworkPkg/Ip6Dxe/Ip6Option.h | 10 +--
> NetworkPkg/Ip6Dxe/Ip6Output.c | 8 +--
> NetworkPkg/IpSecDxe/IpSecCryptIo.c | 50 +++++++-------
> NetworkPkg/IpSecDxe/IpSecCryptIo.h | 66 +++++++++----------
> Nt32Pkg/Include/Ppi/NtAutoscan.h | 2 +-
> Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c | 8 +--
> Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c | 6 +-
> Nt32Pkg/Sec/SecMain.c | 50 +++++++-------
> Nt32Pkg/Sec/SecMain.h | 6 +-
> Nt32Pkg/Sec/WinNtThunk.c | 2 +-
> Nt32Pkg/WinNtFirmwareVolumePei/WinntFwh.c | 2 +-
> OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c | 6 +-
> OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h | 4 +-
> OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c | 2 +-
> OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 14 ++--
> OvmfPkg/Sec/SecMain.c | 2 +-
> QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c | 6 +-
> QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c | 2 +-
> QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c | 2 +-
> QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c | 6 +-
> QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c | 2 +-
> QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c | 2 +-
> QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c | 2 +-
> QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c | 4 +-
> QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h | 2 +-
> QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c | 2 +-
> QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h | 2 +-
> QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c | 4 +-
> QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h | 2 +-
> SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c | 2 +-
> SecurityPkg/Include/Library/TcgPpVendorLib.h | 4 +-
> SecurityPkg/Include/Library/TcgStorageOpalLib.h | 2 +-
> SecurityPkg/Include/Library/TrEEPpVendorLib.h | 4 +-
> SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c | 6 +-
> SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c | 2 +-
> SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c | 2 +-
> SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c | 2 +-
> SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 2 +-
> SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c | 2 +-
> SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 2 +-
> SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 2 +-
> SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c | 2 +-
> SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c | 2 +-
> SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h | 2 +-
> ShellPkg/Include/Library/ShellCEntryLib.h | 2 +-
> ShellPkg/Include/Library/ShellCommandLib.h | 2 +-
> ShellPkg/Include/Protocol/EfiShellEnvironment2.h | 2 +-
> ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c | 2 +-
> ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c | 10 +--
> ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c | 2 +-
> ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c | 8 +--
> ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 8 +--
> SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h | 8 +--
> SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c | 6 +-
> SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.h | 4 +-
> SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.c | 4 +-
> SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.c | 4 +-
> SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c | 6 +-
> UefiCpuPkg/Include/Library/MtrrLib.h | 2 +-
> UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 2 +-
> UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +-
> UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2 +-
> UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 10 +--
> Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c | 2 +-
> Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c | 4 +-
> Vlv2TbltDevicePkg/Include/Library/CpuIA32.h | 2 +-
> Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h | 2 +-
> Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 16 ++---
> Vlv2TbltDevicePkg/PlatformDxe/PciBus.h | 14 ++--
> Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c | 4 +-
> Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c | 2 +-
> Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c | 4 +-
> 347 files changed, 913 insertions(+), 913 deletions(-)
>
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 09/33] EmbeddedPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 09/33] EmbeddedPkg: Fix typos in comments Gary Lin
@ 2016-10-19 15:09 ` Ard Biesheuvel
0 siblings, 0 replies; 79+ messages in thread
From: Ard Biesheuvel @ 2016-10-19 15:09 UTC (permalink / raw)
To: Gary Lin; +Cc: edk2-devel-01, Leif Lindholm
On 19 October 2016 at 08:01, Gary Lin <glin@suse.com> wrote:
> - reseting -> resetting
> - stoping -> stopping
> - Libary -> Library
> - paramter -> parameter
> - availible -> available
> - availble -> available
> - proccessed -> processed
>
> Cc: Leif Lindholm <leif.lindholm@linaro.org>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> ---
> EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c | 2 +-
> EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c | 2 +-
> EmbeddedPkg/GdbStub/GdbStub.c | 2 +-
> EmbeddedPkg/GdbStub/GdbStubInternal.h | 2 +-
> EmbeddedPkg/Include/Library/GdbSerialLib.h | 4 ++--
> EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c | 2 +-
> EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c | 4 ++--
> EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h | 2 +-
> EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c | 2 +-
> EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c | 4 ++--
> EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c | 4 ++--
> EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c | 4 ++--
> EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c | 2 +-
> EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c | 2 +-
> 14 files changed, 19 insertions(+), 19 deletions(-)
>
> diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
> index aabaf60..bdc390f 100644
> --- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
> +++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
> @@ -1516,7 +1516,7 @@ SnpReceive (
> }
>
> //
> - // Restart the receiver and the transmitter without reseting the FIFOs
> + // Restart the receiver and the transmitter without resetting the FIFOs
> // as it has been done by SoftReset().
> //
> StartRx (0, Snp);
> diff --git a/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c b/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c
> index 5a5526c..f494655 100644
> --- a/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c
> +++ b/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c
> @@ -490,7 +490,7 @@ CLOSE_PCIIO:
> }
>
> /**
> - Stop this driver on ControllerHandle. Support stoping any child handles
> + Stop this driver on ControllerHandle. Support stopping any child handles
> created by this driver.
>
> @param This Protocol instance pointer.
> diff --git a/EmbeddedPkg/GdbStub/GdbStub.c b/EmbeddedPkg/GdbStub/GdbStub.c
> index 213038a..a75e775 100644
> --- a/EmbeddedPkg/GdbStub/GdbStub.c
> +++ b/EmbeddedPkg/GdbStub/GdbStub.c
> @@ -325,7 +325,7 @@ SendPacket (
> $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
> the packet teminating character '#' and the two digit checksum.
>
> - If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
> + If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
> (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
>
> If an ack '+' is not sent resend the packet
> diff --git a/EmbeddedPkg/GdbStub/GdbStubInternal.h b/EmbeddedPkg/GdbStub/GdbStubInternal.h
> index 521c344..aec39f1 100644
> --- a/EmbeddedPkg/GdbStub/GdbStubInternal.h
> +++ b/EmbeddedPkg/GdbStub/GdbStubInternal.h
> @@ -573,7 +573,7 @@ SendPacket (
> $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
> the packet teminating character '#' and the two digit checksum.
>
> - If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
> + If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
> (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
>
> If an ack '+' is not sent resend the packet
> diff --git a/EmbeddedPkg/Include/Library/GdbSerialLib.h b/EmbeddedPkg/Include/Library/GdbSerialLib.h
> index aa4c3ff..9f26fed 100644
> --- a/EmbeddedPkg/Include/Library/GdbSerialLib.h
> +++ b/EmbeddedPkg/Include/Library/GdbSerialLib.h
> @@ -51,8 +51,8 @@ GdbSerialInit (
> Check to see if a character is available from GDB. Do not read the character as that is
> done via GdbGetChar().
>
> - @return TRUE - Character availible
> - @return FALSE - Character not availible
> + @return TRUE - Character available
> + @return FALSE - Character not available
>
> **/
> BOOLEAN
> diff --git a/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c b/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c
> index 2b353f0..8226c80 100644
> --- a/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c
> +++ b/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c
> @@ -603,7 +603,7 @@ GdbFPutString (
> function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
> responsible to invoke the passing-in function at the end of InitializeDebugAgent().
>
> - If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
> + If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
> passing in the Context to be its parameter.
>
> If Function() is NULL, Debug Agent Library instance will return after setup debug
> diff --git a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c
> index 2e67de6..80aa476 100644
> --- a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c
> +++ b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c
> @@ -93,7 +93,7 @@ gXferObjectReadResponse (
> 1) Length will generally be max remote packet size (big enough)
> 2) First Offset of an XML document read needs to be 0
> 3) This code will return back small chunks of the XML document on every read.
> - Each subseqent call will ask for the next availble part of the document.
> + Each subseqent call will ask for the next available part of the document.
>
> Note: The only variable size element in the XML is:
> " <library name=\"%s\"><segment address=\"%p\"/></library>\n" and it is
> @@ -257,7 +257,7 @@ SendPacket (
> $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
> the packet teminating character '#' and the two digit checksum.
>
> - If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
> + If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
> (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
>
> If an ack '+' is not sent resend the packet
> diff --git a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h
> index dfdc016..7d85481 100644
> --- a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h
> +++ b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h
> @@ -519,7 +519,7 @@ SendPacket (
> $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
> the packet teminating character '#' and the two digit checksum.
>
> - If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
> + If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
> (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
>
> If an ack '+' is not sent resend the packet
> diff --git a/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c b/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c
> index d465b21..f1d7f3f 100644
> --- a/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c
> +++ b/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c
> @@ -922,7 +922,7 @@ RemoveBreakPoint (
> function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
> responsible to invoke the passing-in function at the end of InitializeDebugAgent().
>
> - If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
> + If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
> passing in the Context to be its parameter.
>
> If Function() is NULL, Debug Agent Library instance will return after setup debug
> diff --git a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
> index e3d1b47..ffd8951 100644
> --- a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
> +++ b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
> @@ -94,8 +94,8 @@ GdbSerialInit (
> Check to see if a character is available from GDB. Do not read the character as that is
> done via GdbGetChar().
>
> - @return TRUE - Character availible
> - @return FALSE - Character not availible
> + @return TRUE - Character available
> + @return FALSE - Character not available
>
> **/
> BOOLEAN
> diff --git a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
> index 7ea976f..069d87c 100644
> --- a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
> +++ b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
> @@ -165,8 +165,8 @@ GdbSerialInit (
> Check to see if a character is available from GDB. Do not read the character as that is
> done via GdbGetChar().
>
> - @return TRUE - Character availible
> - @return FALSE - Character not availible
> + @return TRUE - Character available
> + @return FALSE - Character not available
>
> **/
> BOOLEAN
> diff --git a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c
> index ec89cfd..0b1e6b0 100644
> --- a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c
> +++ b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c
> @@ -120,7 +120,7 @@ Returns:
> }
>
> //
> - //Assume that capsules have the same flags on reseting or not.
> + //Assume that capsules have the same flags on resetting or not.
> //
> CapsuleHeader = CapsuleHeaderArray[0];
>
> @@ -253,7 +253,7 @@ Returns:
>
> SupportCapsuleSize(&MaxSizePopulate,&MaxSizeNonPopulate);
> //
> - //Assume that capsules have the same flags on reseting or not.
> + //Assume that capsules have the same flags on resetting or not.
> //
> CapsuleHeader = CapsuleHeaderArray[0];
> if ((CapsuleHeader->Flags & CAPSULE_FLAGS_PERSIST_ACROSS_RESET) != 0) {
> diff --git a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c
> index c35d72c..9e2b2e3 100644
> --- a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c
> +++ b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c
> @@ -584,7 +584,7 @@ libGetWakeupTime (
> UINT8 Century;
>
> //
> - // Check paramters for null pointers
> + // Check parameters for null pointers
> //
> if ((Enabled == NULL) || (Pending == NULL) || (Time == NULL)) {
> return EFI_INVALID_PARAMETER;
> diff --git a/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c b/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c
> index cee15c4..7b08de8 100644
> --- a/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c
> +++ b/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c
> @@ -53,7 +53,7 @@ ExtractGuidedSectionRegisterHandlers (
> PRE_PI_EXTRACT_GUIDED_SECTION_DATA *SavedData;
> UINT32 Index;
> //
> - // Check input paramter.
> + // Check input parameter.
> //
> if (SectionGuid == NULL) {
> return RETURN_INVALID_PARAMETER;
> --
> 2.10.1
>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 01/33] ArmPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 01/33] ArmPkg: Fix typos in comments Gary Lin
@ 2016-10-19 15:09 ` Ard Biesheuvel
2016-10-19 15:15 ` Laszlo Ersek
0 siblings, 1 reply; 79+ messages in thread
From: Ard Biesheuvel @ 2016-10-19 15:09 UTC (permalink / raw)
To: Gary Lin; +Cc: edk2-devel-01, Leif Lindholm
On 19 October 2016 at 08:01, Gary Lin <glin@suse.com> wrote:
> - differnt -> different
> - Libary -> Library
> - intialized -> initialized
>
> Cc: Leif Lindholm <leif.lindholm@linaro.org>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> ---
> ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S | 2 +-
> ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm | 2 +-
> ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c | 4 ++--
> 3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S b/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S
> index 0f2e4b1..2151814 100644
> --- a/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S
> +++ b/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S
> @@ -211,7 +211,7 @@ ASM_PFX(AsmCommonExceptionEntry):
> ldr R5, [SP, #0x58] @ PC is the LR pushed by srsfd
> @ Check to see if we have to adjust for Thumb entry
> sub r4, r0, #1 @ if (ExceptionType == 1 || ExceptionType ==2)) {
> - cmp r4, #1 @ // UND & SVC have differnt LR adjust for Thumb
> + cmp r4, #1 @ // UND & SVC have different LR adjust for Thumb
> bhi NoAdjustNeeded
>
> tst r1, #0x20 @ if ((CPSR & T)) == T) { // Thumb Mode on entry
> diff --git a/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm b/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm
> index b879142..cf59447 100644
> --- a/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm
> +++ b/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm
> @@ -206,7 +206,7 @@ AsmCommonExceptionEntry
> ldr R5, [SP, #0x58] ; PC is the LR pushed by srsfd
> ; Check to see if we have to adjust for Thumb entry
> sub r4, r0, #1 ; if (ExceptionType == 1 || ExceptionType ==2)) {
> - cmp r4, #1 ; // UND & SVC have differnt LR adjust for Thumb
> + cmp r4, #1 ; // UND & SVC have different LR adjust for Thumb
> bhi NoAdjustNeeded
>
> tst r1, #0x20 ; if ((CPSR & T)) == T) { // Thumb Mode on entry
> diff --git a/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c b/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c
> index fe5fd55..9c0cf0d 100644
> --- a/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c
> +++ b/ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c
> @@ -259,7 +259,7 @@ GetImageContext (
> function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
> responsible to invoke the passing-in function at the end of InitializeDebugAgent().
>
> - If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
> + If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
> passing in the Context to be its parameter.
>
> If Function() is NULL, Debug Agent Library instance will return after setup debug
> @@ -289,7 +289,7 @@ InitializeDebugAgent (
> ASSERT (((UINTN)DebugAgentVectorTable & ARM_VECTOR_TABLE_ALIGNMENT) == 0);
> ArmWriteVBar ((UINTN)DebugAgentVectorTable);
>
> - // We use InitFlag to know if DebugAgent has been intialized from
> + // We use InitFlag to know if DebugAgent has been initialized from
> // Sec (DEBUG_AGENT_INIT_PREMEM_SEC) or PrePi (DEBUG_AGENT_INIT_POSTMEM_SEC)
> // modules
> if (InitFlag == DEBUG_AGENT_INIT_PREMEM_SEC) {
> --
> 2.10.1
>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 01/33] ArmPkg: Fix typos in comments
2016-10-19 15:09 ` Ard Biesheuvel
@ 2016-10-19 15:15 ` Laszlo Ersek
2016-10-19 15:33 ` Leif Lindholm
0 siblings, 1 reply; 79+ messages in thread
From: Laszlo Ersek @ 2016-10-19 15:15 UTC (permalink / raw)
To: Ard Biesheuvel, Gary Lin; +Cc: edk2-devel-01, Leif Lindholm
On 10/19/16 17:09, Ard Biesheuvel wrote:
> On 19 October 2016 at 08:01, Gary Lin <glin@suse.com> wrote:
>> - differnt -> different
>> - Libary -> Library
>> - intialized -> initialized
>>
>> Cc: Leif Lindholm <leif.lindholm@linaro.org>
>> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>> Contributed-under: TianoCore Contribution Agreement 1.0
>> Signed-off-by: Gary Lin <glin@suse.com>
>
> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
I think we can commit these patches individually, out of order; there
are no dependencies between the patches. I expect it'll take quite a
while until all the patches are reviewed.
(I do plan to commit the OvmfPkg patch once I've reviewed it.)
Thanks
Laszlo
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 01/33] ArmPkg: Fix typos in comments
2016-10-19 15:15 ` Laszlo Ersek
@ 2016-10-19 15:33 ` Leif Lindholm
0 siblings, 0 replies; 79+ messages in thread
From: Leif Lindholm @ 2016-10-19 15:33 UTC (permalink / raw)
To: Laszlo Ersek; +Cc: Ard Biesheuvel, Gary Lin, edk2-devel-01
On Wed, Oct 19, 2016 at 05:15:53PM +0200, Laszlo Ersek wrote:
> On 10/19/16 17:09, Ard Biesheuvel wrote:
> > On 19 October 2016 at 08:01, Gary Lin <glin@suse.com> wrote:
> >> - differnt -> different
> >> - Libary -> Library
> >> - intialized -> initialized
> >>
> >> Cc: Leif Lindholm <leif.lindholm@linaro.org>
> >> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> >> Contributed-under: TianoCore Contribution Agreement 1.0
> >> Signed-off-by: Gary Lin <glin@suse.com>
> >
> > Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>
> I think we can commit these patches individually, out of order; there
> are no dependencies between the patches. I expect it'll take quite a
> while until all the patches are reviewed.
Agreed, and matching my comment on 0/33 :)
01 and 09 pushed - thanks!
> (I do plan to commit the OvmfPkg patch once I've reviewed it.)
>
> Thanks
> Laszlo
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 30/33] ShellPkg: Fix typos in comments and variables
2016-10-19 7:51 ` Ni, Ruiyu
@ 2016-10-19 20:29 ` Carsey, Jaben
2016-10-20 1:55 ` Gary Lin
0 siblings, 1 reply; 79+ messages in thread
From: Carsey, Jaben @ 2016-10-19 20:29 UTC (permalink / raw)
To: Ni, Ruiyu, Gary Lin, edk2-devel@lists.01.org; +Cc: Carsey, Jaben
Is this required to be a patch series? By that I mean that they need to be committed in order...
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
> -----Original Message-----
> From: Ni, Ruiyu
> Sent: Wednesday, October 19, 2016 12:52 AM
> To: Gary Lin <glin@suse.com>; edk2-devel@lists.01.org
> Cc: Carsey, Jaben <jaben.carsey@intel.com>
> Subject: RE: [PATCH 30/33] ShellPkg: Fix typos in comments and variables
> Importance: High
>
>
>
> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
> > -----Original Message-----
> > From: Gary Lin [mailto:glin@suse.com]
> > Sent: Wednesday, October 19, 2016 3:02 PM
> > To: edk2-devel@lists.01.org
> > Cc: Carsey, Jaben <jaben.carsey@intel.com>; Ni, Ruiyu
> <ruiyu.ni@intel.com>
> > Subject: [PATCH 30/33] ShellPkg: Fix typos in comments and variables
> >
> > - funciton -> function
> > - paramter -> parameter
> > - supresses -> suppresses
> > - Seperator -> Separator
> > - permenant -> permanent
> >
> > Cc: Jaben Carsey <jaben.carsey@intel.com>
> > Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> > Contributed-under: TianoCore Contribution Agreement 1.0
> > Signed-off-by: Gary Lin <glin@suse.com>
> > ---
> > ShellPkg/Include/Library/ShellCEntryLib.h | 2 +-
> > ShellPkg/Include/Library/ShellCommandLib.h | 2 +-
> > ShellPkg/Include/Protocol/EfiShellEnvironment2.h | 2 +-
> > ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c | 2 +-
> > ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c | 10
> +++++-
> > ----
> >
> >
> ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib
> > .c | 2 +-
> > ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c | 8
> > ++++----
> > ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 8
> > ++++----
> > 8 files changed, 18 insertions(+), 18 deletions(-)
> >
> > diff --git a/ShellPkg/Include/Library/ShellCEntryLib.h
> > b/ShellPkg/Include/Library/ShellCEntryLib.h
> > index dfbb16f..e4983f8 100644
> > --- a/ShellPkg/Include/Library/ShellCEntryLib.h
> > +++ b/ShellPkg/Include/Library/ShellCEntryLib.h
> > @@ -1,5 +1,5 @@
> > /** @file
> > - Provides application point extension for "C" style main funciton.
> > + Provides application point extension for "C" style main function.
> >
> > Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
> > This program and the accompanying materials diff --git
> > a/ShellPkg/Include/Library/ShellCommandLib.h
> > b/ShellPkg/Include/Library/ShellCommandLib.h
> > index 3ee8200..5ff1e4f 100644
> > --- a/ShellPkg/Include/Library/ShellCommandLib.h
> > +++ b/ShellPkg/Include/Library/ShellCommandLib.h
> > @@ -2,7 +2,7 @@
> > Provides interface to shell internal functions for shell commands.
> >
> > This library is for use ONLY by shell commands linked into the shell
> > application.
> > - This library will not funciton if it is used for UEFI Shell 2.0 Applications.
> > + This library will not function if it is used for UEFI Shell 2.0 Applications.
> >
> > Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
> > (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> diff -
> -
> > git a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> > b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> > index 1aa1b7e..ac6c6a0 100644
> > --- a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> > +++ b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> > @@ -124,7 +124,7 @@ GUID for the shell environment2 extension (main
> > GUID above).
> > @param[in] ParentImageHandle Handle of the image executing this
> > operation.
> > @param[in] CommandLine The string command line to execute.
> > @param[in] DebugOutput TRUE indicates that errors should be
> printed
> > directly.
> > - FALSE supresses error messages.
> > + FALSE suppresses error messages.
> >
> > @retval EFI_SUCCESS The command line executed and completed.
> > @retval EFI_ABORTED The operation aborted.
> > diff --git a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> > b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> > index 525c1f1..faed230 100644
> > --- a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> > +++ b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> > @@ -1,5 +1,5 @@
> > /** @file
> > - Provides application point extension for "C" style main funciton
> > + Provides application point extension for "C" style main function
> >
> > Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
> > This program and the accompanying materials diff --git
> > a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> > b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> > index 00a4c10..e07304c 100644
> > --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> > +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> > @@ -130,7 +130,7 @@ IsDriverProt (
> >
> > @param[in] TheHandle The handles to show info on.
> > @param[in] Language Language string per UEFI specification.
> > - @param[in] Seperator Separator string between information blocks.
> > + @param[in] Separator Separator string between information blocks.
> > @param[in] Verbose TRUE for extra info, FALSE otherwise.
> > @param[in] ExtraInfo TRUE for extra info, FALSE otherwise.
> >
> > @@ -141,7 +141,7 @@ CHAR16*
> > GetProtocolInfoString(
> > IN CONST EFI_HANDLE TheHandle,
> > IN CONST CHAR8 *Language,
> > - IN CONST CHAR16 *Seperator,
> > + IN CONST CHAR16 *Separator,
> > IN CONST BOOLEAN Verbose,
> > IN CONST BOOLEAN ExtraInfo
> > )
> > @@ -169,7 +169,7 @@ GetProtocolInfoString(
> > if (Temp != NULL) {
> > ASSERT((RetVal == NULL && Size == 0) || (RetVal != NULL));
> > if (Size != 0) {
> > - StrnCatGrow(&RetVal, &Size, Seperator, 0);
> > + StrnCatGrow(&RetVal, &Size, Separator, 0);
> > }
> > StrnCatGrow(&RetVal, &Size, L"%H", 0);
> > StrnCatGrow(&RetVal, &Size, Temp, 0); @@ -185,7 +185,7 @@
> > GetProtocolInfoString(
> > StrnCatGrow(&RetVal, &Size, Temp, 0);
> > StrnCatGrow(&RetVal, &Size, L")\r\n", 0);
> > } else {
> > - StrnCatGrow(&RetVal, &Size, Seperator, 0);
> > + StrnCatGrow(&RetVal, &Size, Separator, 0);
> > StrnCatGrow(&RetVal, &Size, Temp, 0);
> > }
> > FreePool(Temp);
> > @@ -201,7 +201,7 @@ GetProtocolInfoString(
> > }
> >
> > ASSERT((RetVal == NULL && Size == 0) || (RetVal != NULL));
> > - StrnCatGrow(&RetVal, &Size, Seperator, 0);
> > + StrnCatGrow(&RetVal, &Size, Separator, 0);
> > return (RetVal);
> > }
> >
> > diff --git
> >
> a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Commands
> > Lib.c
> >
> b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Commands
> > Lib.c
> > index 1491ee9..7948e53 100644
> > ---
> >
> a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Commands
> > Lib.c
> > +++
> >
> b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Command
> > +++ sLib.c
> > @@ -99,7 +99,7 @@ ShellLevel2CommandsLibConstructor (
> > ShellCommandRegisterCommandName(L"vol", ShellCommandRunVol
> ,
> > ShellCommandGetManFileNameLevel2, 2, L"", TRUE,
> gShellLevel2HiiHandle,
> > STRING_TOKEN(STR_GET_HELP_VOL) );
> >
> > //
> > - // support for permenant (built in) aliases
> > + // support for permanent (built in) aliases
> > //
> > ShellCommandRegisterAlias(L"rm", L"del");
> > ShellCommandRegisterAlias(L"ls", L"dir"); diff --git
> > a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> > b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> > index 38625fe..70d9d9a 100644
> > --- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> > +++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> > @@ -1492,7 +1492,7 @@ ShellCommandRunPing (
> > }
> >
> > //
> > - // Parse the paramter of count number.
> > + // Parse the parameter of count number.
> > //
> > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");
> > if (ValueStr != NULL) {
> > @@ -1510,7 +1510,7 @@ ShellCommandRunPing (
> > SendNumber = DEFAULT_SEND_COUNT;
> > }
> > //
> > - // Parse the paramter of buffer size.
> > + // Parse the parameter of buffer size.
> > //
> > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");
> > if (ValueStr != NULL) {
> > @@ -1532,7 +1532,7 @@ ShellCommandRunPing (
> > ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));
> >
> > //
> > - // Parse the paramter of source ip address.
> > + // Parse the parameter of source ip address.
> > //
> > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");
> > if (ValueStr == NULL) {
> > @@ -1553,7 +1553,7 @@ ShellCommandRunPing (
> > }
> > }
> > //
> > - // Parse the paramter of destination ip address.
> > + // Parse the parameter of destination ip address.
> > //
> > NonOptionCount = ShellCommandLineGetCount(ParamPackage);
> > if (NonOptionCount < 2) {
> > diff --git a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> > b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> > index 90a2604..265258f 100644
> > --- a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> > +++ b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> > @@ -1177,7 +1177,7 @@ ShellCommandRunPing6 (
> > BufferSize = 16;
> >
> > //
> > - // Parse the paramter of count number.
> > + // Parse the parameter of count number.
> > //
> > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");
> > ValueStrPtr = ValueStr;
> > @@ -1194,7 +1194,7 @@ ShellCommandRunPing6 (
> > }
> > }
> > //
> > - // Parse the paramter of buffer size.
> > + // Parse the parameter of buffer size.
> > //
> > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");
> > ValueStrPtr = ValueStr;
> > @@ -1215,7 +1215,7 @@ ShellCommandRunPing6 (
> > ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));
> >
> > //
> > - // Parse the paramter of source ip address.
> > + // Parse the parameter of source ip address.
> > //
> > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");
> > ValueStrPtr = ValueStr;
> > @@ -1229,7 +1229,7 @@ ShellCommandRunPing6 (
> > }
> > }
> > //
> > - // Parse the paramter of destination ip address.
> > + // Parse the parameter of destination ip address.
> > //
> > NonOptionCount = ShellCommandLineGetCount(ParamPackage);
> > ValueStr = ShellCommandLineGetRawValue (ParamPackage,
> > (UINT32)(NonOptionCount-1));
> > --
> > 2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 08/33] EmulatorPkg: Fix typos in comments and variables
2016-10-19 7:01 ` [PATCH 08/33] EmulatorPkg: Fix typos in comments and variables Gary Lin
@ 2016-10-19 20:37 ` Jordan Justen
2016-10-20 8:16 ` Laszlo Ersek
0 siblings, 1 reply; 79+ messages in thread
From: Jordan Justen @ 2016-10-19 20:37 UTC (permalink / raw)
To: Gary Lin, edk2-devel; +Cc: Andrew Fish, Laszlo Ersek
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Pushed EmulatorPkg and OvmfPkg patches.
On 2016-10-19 00:01:13, Gary Lin wrote:
> - Predfined -> Predefined
> - minimue -> minimum
> - predeined -> predefined
> - excute -> execute
> - availible -> available
> - discontiguous -> discontinuous
> - permenent -> permanent
> - immediatly -> immediately
> - environmemt -> environment
> - Seperator -> Separator
> - remmeber -> remember
> - initailized -> initialized
>
> Cc: Jordan Justen <jordan.l.justen@intel.com>
> Cc: Andrew Fish <afish@apple.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c | 2 +-
> EmulatorPkg/Include/Ppi/EmuThunk.h | 2 +-
> EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c | 8 +++----
> EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 4 ++--
> EmulatorPkg/Sec/Ia32/TempRam.c | 8 +++----
> EmulatorPkg/Unix/Host/Host.c | 24 ++++++++++----------
> EmulatorPkg/Unix/Host/Host.h | 4 ++--
> 7 files changed, 26 insertions(+), 26 deletions(-)
>
> diff --git a/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c b/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c
> index 91d1197..a7f548b 100644
> --- a/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c
> +++ b/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c
> @@ -33,7 +33,7 @@ Routine Description:
> Perform a call-back into the SEC simulator to get address of the Firmware Hub
>
> Arguments:
> - FfsHeader - Ffs Header availible to every PEIM
> + FfsHeader - Ffs Header available to every PEIM
> PeiServices - General purpose services available to every PEIM.
>
> Returns:
> diff --git a/EmulatorPkg/Include/Ppi/EmuThunk.h b/EmulatorPkg/Include/Ppi/EmuThunk.h
> index 7788d7b..61e90bf 100644
> --- a/EmulatorPkg/Include/Ppi/EmuThunk.h
> +++ b/EmulatorPkg/Include/Ppi/EmuThunk.h
> @@ -25,7 +25,7 @@
>
> Routine Description:
> This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
> - It allows discontiguous memory regions to be supported by the emulator.
> + It allows discontinuous memory regions to be supported by the emulator.
>
> Arguments:
> Index - Which memory region to use
> diff --git a/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c b/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c
> index 46d2a7e..3580d36 100644
> --- a/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c
> +++ b/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.c
> @@ -92,7 +92,7 @@ Routine Description:
>
> Arguments:
>
> - PlatformConsole - Predfined platform default console device array.
> + PlatformConsole - Predefined platform default console device array.
>
> Returns:
>
> @@ -113,7 +113,7 @@ Returns:
>
> //
> // Have chance to connect the platform default console,
> - // the platform default console is the minimue device group
> + // the platform default console is the minimum device group
> // the platform should support
> //
> while (PlatformConsole[Index].DevicePath != NULL) {
> @@ -149,7 +149,7 @@ PlatformBdsConnectSequence (
>
> Routine Description:
>
> - Connect with predeined platform connect sequence,
> + Connect with predefined platform connect sequence,
> the OEM/IBV can customize with their own connect sequence.
>
> Arguments:
> @@ -288,7 +288,7 @@ PlatformBdsPolicyBehavior (
>
> Routine Description:
>
> - The function will excute with as the platform policy, current policy
> + The function will execute with as the platform policy, current policy
> is driven by boot mode. IBV/OEM can customize this code for their specific
> policy action.
>
> diff --git a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c b/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
> index 2c75f85..a7ea3a4 100644
> --- a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
> +++ b/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
> @@ -126,11 +126,11 @@ PlatfomrSmbiosDriverEntryPoint (
> // Phase 3 - Create tables from scratch
>
> // Create Type 13 record from EFI Variables
> - // Do we need this record for EFI as the info is availible from EFI varaibles
> + // Do we need this record for EFI as the info is available from EFI varaibles
> // Also language types don't always match between EFI and SMBIOS
> // CreateSmbiosLanguageInformation (1, gSmbiosLangToEfiLang);
>
> CreatePlatformSmbiosMemoryRecords ();
>
> return EFI_SUCCESS;
> -}
> \ No newline at end of file
> +}
> diff --git a/EmulatorPkg/Sec/Ia32/TempRam.c b/EmulatorPkg/Sec/Ia32/TempRam.c
> index 525fb95..931e066 100644
> --- a/EmulatorPkg/Sec/Ia32/TempRam.c
> +++ b/EmulatorPkg/Sec/Ia32/TempRam.c
> @@ -36,7 +36,7 @@ SecTemporaryRamSupport (
> )
> {
> //
> - // Migrate the whole temporary memory to permenent memory.
> + // Migrate the whole temporary memory to permanent memory.
> //
> CopyMem (
> (VOID*)(UINTN)PermanentMemoryBase,
> @@ -46,14 +46,14 @@ SecTemporaryRamSupport (
>
> //
> // SecSwitchStack function must be invoked after the memory migration
> - // immediatly, also we need fixup the stack change caused by new call into
> - // permenent memory.
> + // immediately, also we need fixup the stack change caused by new call into
> + // permanent memory.
> //
> SecSwitchStack ((UINT32) TemporaryMemoryBase, (UINT32) PermanentMemoryBase);
>
> //
> // We need *not* fix the return address because currently,
> - // The PeiCore is excuted in flash.
> + // The PeiCore is executed in flash.
> //
>
> //
> diff --git a/EmulatorPkg/Unix/Host/Host.c b/EmulatorPkg/Unix/Host/Host.c
> index 977fe87..f84b22f 100644
> --- a/EmulatorPkg/Unix/Host/Host.c
> +++ b/EmulatorPkg/Unix/Host/Host.c
> @@ -87,7 +87,7 @@ Routine Description:
> Arguments:
> Argc - Number of command line arguments
> Argv - Array of command line argument strings
> - Envp - Array of environmemt variable strings
> + Envp - Array of environment variable strings
>
> Returns:
> 0 - Normal exit
> @@ -175,7 +175,7 @@ main (
> //
> // Allocate space for gSystemMemory Array
> //
> - gSystemMemoryCount = CountSeperatorsInString (MemorySizeStr, '!') + 1;
> + gSystemMemoryCount = CountSeparatorsInString (MemorySizeStr, '!') + 1;
> gSystemMemory = AllocateZeroPool (gSystemMemoryCount * sizeof (EMU_SYSTEM_MEMORY));
> if (gSystemMemory == NULL) {
> printf ("ERROR : Can not allocate memory for system. Exiting.\n");
> @@ -184,7 +184,7 @@ main (
> //
> // Allocate space for gSystemMemory Array
> //
> - gFdInfoCount = CountSeperatorsInString (FirmwareVolumesStr, '!') + 1;
> + gFdInfoCount = CountSeparatorsInString (FirmwareVolumesStr, '!') + 1;
> gFdInfo = AllocateZeroPool (gFdInfoCount * sizeof (EMU_FD_INFO));
> if (gFdInfo == NULL) {
> printf ("ERROR : Can not allocate memory for fd info. Exiting.\n");
> @@ -249,7 +249,7 @@ main (
> );
> } else {
> //
> - // Open the FD and remmeber where it got mapped into our processes address space
> + // Open the FD and remember where it got mapped into our processes address space
> // Maps Read Only
> //
> Status = MapFile (
> @@ -614,7 +614,7 @@ SecLoadFromCore (
>
> Routine Description:
> This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
> - It allows discontiguous memory regions to be supported by the emulator.
> + It allows discontinuous memory regions to be supported by the emulator.
> It uses gSystemMemory[] and gSystemMemoryCount that were created by
> parsing the host environment variable EFI_MEMORY_SIZE.
> The size comes from the varaible and the address comes from the call to
> @@ -703,7 +703,7 @@ EfiSystemMemoryRange (
>
> Routine Description:
> Since the SEC is the only Unix program in stack it must export
> - an interface to do POSIX calls. gUnix is initailized in UnixThunk.c.
> + an interface to do POSIX calls. gUnix is initialized in UnixThunk.c.
>
> Arguments:
> InterfaceSize - sizeof (EFI_WIN_NT_THUNK_PROTOCOL);
> @@ -830,26 +830,26 @@ SecUnixFdAddress (
> /*++
>
> Routine Description:
> - Count the number of seperators in String
> + Count the number of separators in String
>
> Arguments:
> String - String to process
> - Seperator - Item to count
> + Separator - Item to count
>
> Returns:
> - Number of Seperator in String
> + Number of Separator in String
>
> **/
> UINTN
> -CountSeperatorsInString (
> +CountSeparatorsInString (
> IN const CHAR16 *String,
> - IN CHAR16 Seperator
> + IN CHAR16 Separator
> )
> {
> UINTN Count;
>
> for (Count = 0; *String != '\0'; String++) {
> - if (*String == Seperator) {
> + if (*String == Separator) {
> Count++;
> }
> }
> diff --git a/EmulatorPkg/Unix/Host/Host.h b/EmulatorPkg/Unix/Host/Host.h
> index aff7c36..9d6d36e 100644
> --- a/EmulatorPkg/Unix/Host/Host.h
> +++ b/EmulatorPkg/Unix/Host/Host.h
> @@ -255,9 +255,9 @@ AsciiToUnicode (
> );
>
> UINTN
> -CountSeperatorsInString (
> +CountSeparatorsInString (
> IN const CHAR16 *String,
> - IN CHAR16 Seperator
> + IN CHAR16 Separator
> );
>
> EFI_STATUS
> --
> 2.10.1
>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 10/33] IntelFrameworkModulePkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 10/33] IntelFrameworkModulePkg: " Gary Lin
@ 2016-10-20 1:08 ` Fan, Jeff
0 siblings, 0 replies; 79+ messages in thread
From: Fan, Jeff @ 2016-10-20 1:08 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Thanks!
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Gary Lin
Sent: Wednesday, October 19, 2016 3:01 PM
To: edk2-devel@lists.01.org
Cc: Fan, Jeff
Subject: [edk2] [PATCH 10/33] IntelFrameworkModulePkg: Fix typos in comments
- stoping -> stopping
- Pointion -> Position
- Arrary -> Array
- reseting -> resetting
- excute -> execute
- isTRUE -> is TRUE
- connectted -> connected
- Retrive -> Retrieve
- dirvers -> drivers
- funciton -> function
- paramter -> parameter
- availible -> available
- permenent -> permanent
- boundry -> boundary
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c | 4 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c | 4 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c | 6 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h | 8 +--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h | 12 ++--
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c | 6 +-
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h | 8 +--
IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c | 12 ++--
IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h | 2 +-
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c | 14 ++---
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h | 62 ++++++++++----------
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c | 2 +-
IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c | 46 +++++++--------
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c | 2 +-
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h | 4 +-
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c | 4 +-
IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h | 4 +-
IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h | 2 +-
IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c | 8 +--
IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h | 4 +-
IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c | 2 +-
IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c | 2 +-
IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c | 2 +-
IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h | 2 +-
IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c | 4 +-
IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c | 2 +-
IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c | 6 +-
IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c | 4 +-
31 files changed, 137 insertions(+), 137 deletions(-)
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
index 2a20b78..9bde538 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
@@ -1685,9 +1685,9 @@ InitKeyboard (
ConsoleIn->IsSupportPartialKey = FALSE;
//
- // For reseting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
+ // For resetting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
// and to support KB hot plug, we need to let the InitKB succeed no matter whether there is a KB device connected
- // to system. So we only do the real reseting for keyboard when user asks and there is a real KB connected t system,
+ // to system. So we only do the real resetting for keyboard when user asks and there is a real KB connected t system,
// and normally during booting an OS, it's skipped.
//
if (ExtendedVerification && CheckKeyboardConnect (ConsoleIn)) {
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
index c020202..b6a9b70 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
@@ -55,7 +55,7 @@ KbdControllerDriverStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -448,7 +448,7 @@ ErrorExit:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c
index fb4a753..5aa1705 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.c
@@ -540,7 +540,7 @@ PS2MouseRead (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -579,7 +579,7 @@ Out8042Command (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -615,7 +615,7 @@ Out8042Data (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -659,7 +659,7 @@ In8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -740,7 +740,7 @@ Out8042AuxCommand (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value
- @retval EFI_SUCCESS Success to excute I/O work flow.
+ @retval EFI_SUCCESS Success to execute I/O work flow.
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -786,7 +786,7 @@ Out8042AuxData (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
index 59d7b51..560389d 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
@@ -302,7 +302,7 @@ PS2MouseRead (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -317,7 +317,7 @@ Out8042Command (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -332,7 +332,7 @@ In8042Data (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -348,7 +348,7 @@ Out8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -364,7 +364,7 @@ Out8042AuxCommand (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -379,7 +379,7 @@ In8042AuxData (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c
index 7af35bc..bf8adfc 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.c
@@ -402,7 +402,7 @@ ErrorExit:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -498,14 +498,14 @@ PS2MouseAbsolutePointerDriverStop (
}
/**
- Reset the Mouse and do BAT test for it, if ExtendedVerification isTRUE and there is a mouse device connectted to system.
+ Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and there is a mouse device connected to system.
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h
index 17d1847..8f959fd 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointer.h
@@ -151,7 +151,7 @@ PS2MouseAbsolutePointerDriverStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -303,14 +303,14 @@ Ps2MouseAbsolutePointerComponentNameGetControllerName (
);
/**
- Reset the Mouse and do BAT test for it, if ExtendedVerification isTRUE and there is a mouse device connectted to system.
+ Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and there is a mouse device connected to system.
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
@@ -374,7 +374,7 @@ PollMouseAbsolutePointer (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
index 1c763e9..27d378d 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
@@ -539,7 +539,7 @@ PS2MouseRead (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -578,7 +578,7 @@ Out8042Command (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -614,7 +614,7 @@ Out8042Data (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -658,7 +658,7 @@ In8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -739,7 +739,7 @@ Out8042AuxCommand (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -785,7 +785,7 @@ Out8042AuxData (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
index a48ee8c..6c0f8ac 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
@@ -302,7 +302,7 @@ PS2MouseRead (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -317,7 +317,7 @@ Out8042Command (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -332,7 +332,7 @@ In8042Data (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -348,7 +348,7 @@ Out8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -364,7 +364,7 @@ Out8042AuxCommand (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -379,7 +379,7 @@ In8042AuxData (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Buffer holding return value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
index 1623201..43fad21 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
@@ -417,7 +417,7 @@ ErrorExit:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -513,14 +513,14 @@ PS2MouseDriverStop (
}
/**
- Reset the Mouse and do BAT test for it, if ExtendedVerification isTRUE and there is a mouse device connectted to system
+ Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and there is a mouse device connected to system
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
index 1d9f139..078cefa 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
@@ -151,7 +151,7 @@ PS2MouseDriverStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -303,14 +303,14 @@ Ps2MouseComponentNameGetControllerName (
);
/**
- Reset the Mouse and do BAT test for it, if ExtendedVerification isTRUE and there is a mouse device connectted to system
+ Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and there is a mouse device connected to system
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
@@ -374,7 +374,7 @@ PollMouse (
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c b/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c
index 8c7019f..8dcb131 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c
@@ -934,7 +934,7 @@ KeyboardReadKeyStrokeWorker (
}
//
- // Use TimerEvent callback funciton to check whether there's any key pressed
+ // Use TimerEvent callback function to check whether there's any key pressed
//
//
@@ -978,7 +978,7 @@ KeyboardReadKeyStrokeWorker (
@param ExtendedVerification Whether perform the extra validation of keyboard. True: perform; FALSE: skip.
@retval EFI_SUCCESS The command byte is written successfully.
- @retval EFI_DEVICE_ERROR Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR Errors occurred during resetting keyboard.
**/
EFI_STATUS
@@ -1176,8 +1176,8 @@ BiosKeyboardReset (
);
//
- // For reseting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
- // so we only do the real reseting for keyboard when user asks, and normally during booting an OS, it's skipped.
+ // For resetting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
+ // so we only do the real resetting for keyboard when user asks, and normally during booting an OS, it's skipped.
// Call CheckKeyboardConnect() to check whether keyboard is connected, if it is not connected,
// Real reset will not do.
//
@@ -1431,7 +1431,7 @@ BiosKeyboardWaitForKey (
//
gBS->Stall (1000);
//
- // Use TimerEvent callback funciton to check whether there's any key pressed
+ // Use TimerEvent callback function to check whether there's any key pressed
//
BiosKeyboardTimerHandler (NULL, BIOS_KEYBOARD_DEV_FROM_THIS (Context));
@@ -1795,7 +1795,7 @@ BiosKeyboardTimerHandler (
// will be disabled after the thunk call finish, which means if user crazy input during int 9 being disabled, some keystrokes will be lost when
// KB device own hardware buffer overflows. And if the lost keystroke code is CTRL or ALT or SHIFT release code, these function key flags bit
// in BDA will not be updated. So the Int 16 will believe the CTRL or ALT or SHIFT is still pressed, and Int 16 will translate later scancode
- // to wrong ASCII code. We can increase the Thunk frequence to let Int 9 response in time, but this way will much hurt other dirvers
+ // to wrong ASCII code. We can increase the Thunk frequence to let Int 9 response in time, but this way will much hurt other drivers
// performance, like USB.
//
// 1. If CTRL or ALT release code is missed, all later input keys will be translated to wrong ASCII codes which the Tiano cannot support. In
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h b/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h
index a27d2e1..e836086 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h
@@ -447,7 +447,7 @@ BiosKeyboardComponentNameGetControllerName (
@param ExtendedVerification Whether perform the extra validation of keyboard. True: perform; FALSE: skip.
@retval EFI_SUCCESS The command byte is written successfully.
- @retval EFI_DEVICE_ERROR Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR Errors occurred during resetting keyboard.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c
index 7af2ded..a2a7797 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.c
@@ -2148,7 +2148,7 @@ Undi16SimpleNetworkInitialize (
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
@param ExtendedVerification Need extended verfication.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -2229,7 +2229,7 @@ Undi16SimpleNetworkReset (
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -2342,7 +2342,7 @@ Undi16SimpleNetworkShutdown (
@param MCastFilterCnt Count of mutli cast filter for different MAC address
@param MCastFilter Buffer for mustli cast filter for different MAC address.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -2496,10 +2496,10 @@ Undi16SimpleNetworkReceiveFilters (
Set new MAC address.
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
- @param Reset Whether reset station MAC address to permenent address
+ @param Reset Whether reset station MAC address to permanent address
@param New A pointer to New address
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -2554,7 +2554,7 @@ Undi16SimpleNetworkStationAddress (
if (Reset) {
//
- // If we are reseting the Station Address to the permanent address, and the
+ // If we are resetting the Station Address to the permanent address, and the
// Station Address is not programmable, then just return EFI_SUCCESS.
//
if (!SimpleNetworkDevice->SimpleNetworkMode.MacAddressChangeable) {
@@ -2853,7 +2853,7 @@ Undi16SimpleNetworkStatistics (
@param IP A pointer to given Ip address.
@param MAC On return, translated MAC address.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_INVALID_PARAMETER Invalid IP address.
@retval EFI_INVALID_PARAMETER Invalid return buffer for holding MAC address.
@retval EFI_UNSUPPORTED Do not support IPv6
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h
index b29059f..447783c 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h
@@ -236,7 +236,7 @@ Undi16SimpleNetworkInitialize (
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
@param ExtendedVerification Need extended verfication.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -255,7 +255,7 @@ Undi16SimpleNetworkReset (
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -278,7 +278,7 @@ Undi16SimpleNetworkShutdown (
@param MCastFilterCnt Count of mutli cast filter for different MAC address
@param MCastFilter Buffer for mustli cast filter for different MAC address.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -300,10 +300,10 @@ Undi16SimpleNetworkReceiveFilters (
Set new MAC address.
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.
- @param Reset Whether reset station MAC address to permenent address
+ @param Reset Whether reset station MAC address to permanent address
@param New A pointer to New address
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -326,7 +326,7 @@ Undi16SimpleNetworkStationAddress (
@param StatisticsSize The buffer of statistics table.
@param StatisticsTable A pointer to statistics buffer.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_DEVICE_ERROR Network device has not been initialized.
@retval EFI_NOT_STARTED Network device has been stopped.
@retval EFI_DEVICE_ERROR Invalid status for network device
@@ -350,7 +350,7 @@ Undi16SimpleNetworkStatistics (
@param IP A pointer to given Ip address.
@param MAC On return, translated MAC address.
- @retval EFI_INVALID_PARAMETER Invalid This paramter.
+ @retval EFI_INVALID_PARAMETER Invalid This parameter.
@retval EFI_INVALID_PARAMETER Invalid IP address.
@retval EFI_INVALID_PARAMETER Invalid return buffer for holding MAC address.
@retval EFI_UNSUPPORTED Do not support IPv6
@@ -639,7 +639,7 @@ LaunchBaseCode (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -680,7 +680,7 @@ PxeStartUndi (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -713,7 +713,7 @@ PxeUndiStartup (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -759,7 +759,7 @@ PxeUndiCleanup (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance.
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -808,7 +808,7 @@ PxeUndiInitialize (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance.
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@param RxFilter Filter setting mask value for PXE recive .
@@ -843,7 +843,7 @@ PxeUndiResetNic (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -890,7 +890,7 @@ PxeUndiShutdown (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -921,7 +921,7 @@ PxeUndiOpen (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1007,7 +1007,7 @@ PxeUndiClose (
Status: See the PXENV_STATUS_xxx constants
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1041,7 +1041,7 @@ PxeUndiTransmit (
Status: See the PXENV_STATUS_xxx constants
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1076,7 +1076,7 @@ PxeUndiSetMcastAddr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1110,7 +1110,7 @@ PxeUndiSetStationAddr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1169,7 +1169,7 @@ PxeUndiSetPacketFilter (
TxBufCnt: Transmit queue length.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1210,7 +1210,7 @@ PxeUndiGetInformation (
because receive queue was full.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1240,7 +1240,7 @@ PxeUndiGetStatistics (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1271,7 +1271,7 @@ PxeUndiClearStatistics (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1308,7 +1308,7 @@ PxeUndiInitiateDiags (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1342,7 +1342,7 @@ PxeUndiForceInterrupt (
MediaAddr: MAC multicast address.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1408,7 +1408,7 @@ PxeUndiGetMcastAddr (
in the [PnP] and [PCI] specifications
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1457,7 +1457,7 @@ PxeUndiGetNicType (
Reserved: Must be zero.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1515,7 +1515,7 @@ PxeUndiGetNdisInfo (
strategy routine when the UNDI re-enables interrupts.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1550,7 +1550,7 @@ PxeUndiIsr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1598,7 +1598,7 @@ PxeUndiStop (
status of that operation on return.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1623,7 +1623,7 @@ PxeUndiGetState (
@param SimpleNetworkDevice Device instance for simple network
@param Table Point to parameter/retun value table for legacy far call
- @param TableSize The size of paramter/return value table
+ @param TableSize The size of parameter/return value table
@param CallIndex The index of legacy call.
@return EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c
index 243048c..4750b2f 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Misc.c
@@ -823,7 +823,7 @@ LaunchBaseCode (
@param SimpleNetworkDevice Device instance for simple network
@param Table Point to parameter/retun value table for legacy far call
- @param TableSize The size of paramter/return value table
+ @param TableSize The size of parameter/return value table
@param CallIndex The index of legacy call.
@return EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c
index d35fc3f..7063229 100644
--- a/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c
+++ b/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/PxeUndi.c
@@ -57,7 +57,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -105,7 +105,7 @@ PxeStartUndi (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -145,7 +145,7 @@ PxeUndiStartup (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -198,7 +198,7 @@ PxeUndiCleanup (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -254,7 +254,7 @@ PxeUndiInitialize (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance.
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@param RxFilter Filter setting mask value for PXE recive .
@@ -347,7 +347,7 @@ PxeUndiResetNic (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -401,7 +401,7 @@ PxeUndiShutdown (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -439,7 +439,7 @@ PxeUndiOpen (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -532,7 +532,7 @@ PxeUndiClose (
Status: See the PXENV_STATUS_xxx constants
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -586,7 +586,7 @@ PxeUndiTransmit (
Status: See the PXENV_STATUS_xxx constants
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -628,7 +628,7 @@ PxeUndiSetMcastAddr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -669,7 +669,7 @@ PxeUndiSetStationAddr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -735,7 +735,7 @@ PxeUndiSetPacketFilter (
TxBufCnt: Transmit queue length.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -783,7 +783,7 @@ PxeUndiGetInformation (
because receive queue was full.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -820,7 +820,7 @@ PxeUndiGetStatistics (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -858,7 +858,7 @@ PxeUndiClearStatistics (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -902,7 +902,7 @@ PxeUndiInitiateDiags (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -943,7 +943,7 @@ PxeUndiForceInterrupt (
MediaAddr: MAC multicast address.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1016,7 +1016,7 @@ PxeUndiGetMcastAddr (
in the [PnP] and [PCI] specifications
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1072,7 +1072,7 @@ PxeUndiGetNicType (
Reserved: Must be zero.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1137,7 +1137,7 @@ PxeUndiGetNdisInfo (
strategy routine when the UNDI re-enables interrupts.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1179,7 +1179,7 @@ PxeUndiIsr (
Status: See the PXENV_STATUS_xxx constants.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
@@ -1234,7 +1234,7 @@ PxeUndiStop (
status of that operation on return.
@param SimpleNetworkDevice Device instance
- @param PxeUndiTable Point to structure which hold paramter and return value
+ @param PxeUndiTable Point to structure which hold parameter and return value
for option ROM call.
@return Return value of PXE option ROM far call.
diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c
index 8c8f6d3..ee08c86 100644
--- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c
+++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/IpfBootSupport.c
@@ -223,7 +223,7 @@ RelocateImageUnder4GIfNeeded (
}
ImageContext.ImageAddress = (PHYSICAL_ADDRESS)MemoryAddress;
//
- // Align buffer on section boundry
+ // Align buffer on section boundary
//
ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
ImageContext.ImageAddress &= ~((PHYSICAL_ADDRESS)ImageContext.SectionAlignment - 1);
diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h
index bbd074b..069646b 100644
--- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h
+++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h
@@ -826,7 +826,7 @@ LegacyBiosFarCall86 (
@param RomSize Size of ROM Image
@param Flags Indicates if ROM found and if PC-AT.
- @retval EFI_SUCCESS Legacy Option ROM availible for this device
+ @retval EFI_SUCCESS Legacy Option ROM available for this device
@retval EFI_UNSUPPORTED Legacy Option ROM not supported.
**/
@@ -1463,7 +1463,7 @@ LegacyCalculateWriteStandardCmosChecksum (
@param[out] OpromRevision Revision of the PCI Rom
@param[out] ConfigUtilityCodeHeaderPointer of Configuration Utility Code Header
- @return EFI_SUCCESS Legacy Option ROM availible for this device
+ @return EFI_SUCCESS Legacy Option ROM available for this device
@return EFI_ALREADY_STARTED This device is already managed by its Oprom
@return EFI_UNSUPPORTED Legacy Option ROM not supported.
diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c
index 9d84ab0..8f91a7d 100644
--- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c
+++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c
@@ -1812,7 +1812,7 @@ PciShadowRoms (
@param RomSize Size of ROM Image
@param Flags Indicates if ROM found and if PC-AT.
- @retval EFI_SUCCESS Legacy Option ROM availible for this device
+ @retval EFI_SUCCESS Legacy Option ROM available for this device
@retval EFI_UNSUPPORTED Legacy Option ROM not supported.
**/
@@ -1854,7 +1854,7 @@ LegacyBiosCheckPciRom (
@param[out] OpromRevision Revision of the PCI Rom
@param[out] ConfigUtilityCodeHeaderPointer of Configuration Utility Code Header
- @return EFI_SUCCESS Legacy Option ROM availible for this device
+ @return EFI_SUCCESS Legacy Option ROM available for this device
@return EFI_ALREADY_STARTED This device is already managed by its Oprom
@return EFI_UNSUPPORTED Legacy Option ROM not supported.
diff --git a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
index ecd68a0..c338c4d 100644
--- a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
+++ b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
@@ -170,7 +170,7 @@ BdsLibBootViaBootOption (
This function will enumerate all possible boot devices in the system, and
automatically create boot options for Network, Shell, Removable BlockIo,
and Non-BlockIo Simplefile devices.
- It will excute once every boot.
+ It will execute once every boot.
@param BdsBootOptionList The header of the linked list that indexed all
current boot options.
@@ -995,7 +995,7 @@ BdsLibUserIdentify (
/**
This function checks if a Fv file device path is valid, according to a file GUID. If it is invalid,
it tries to return the valid device path.
- FV address maybe changes for memory layout adjust from time to time, use this funciton
+ FV address maybe changes for memory layout adjust from time to time, use this function
could promise the Fv file device path is right.
@param DevicePath On input, the Fv file device path to check. On
diff --git a/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h b/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h
index af237a6..f971e67 100644
--- a/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h
+++ b/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h
@@ -72,7 +72,7 @@ PlatformBdsInit (
);
/**
- The function will excute with as the platform policy, current policy
+ The function will execute with as the platform policy, current policy
is driven by boot mode. IBV/OEM can customize this code for their specific
policy action.
diff --git a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c
index 2e52723..e0ba053 100644
--- a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c
+++ b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c
@@ -298,7 +298,7 @@ DecodeP (
/**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
@@ -503,7 +503,7 @@ DecodeC (
Sd->mBlockSize = (UINT16) GetBits (Sd, 16);
//
- // Read in the Extra Set Code Length Arrary,
+ // Read in the Extra Set Code Length Array,
// Generate the Huffman code mapping table for Extra Set.
//
Sd->mBadTableFlag = ReadPTLen (Sd, NT, TBIT, 3);
@@ -512,13 +512,13 @@ DecodeC (
}
//
- // Read in and decode the Char&Len Set Code Length Arrary,
+ // Read in and decode the Char&Len Set Code Length Array,
// Generate the Huffman code mapping table for Char&Len Set.
//
ReadCLen (Sd);
//
- // Read in the Position Set Code Length Arrary,
+ // Read in the Position Set Code Length Array,
// Generate the Huffman code mapping table for the Position Set.
//
Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1));
diff --git a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h
index 6ba3f43..3992875 100644
--- a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h
+++ b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h
@@ -1,5 +1,5 @@
/** @file
- Internal data structure and interfaces defintions for UEFI and Tiano Decompress Libary.
+ Internal data structure and interfaces defintions for UEFI and Tiano Decompress Library.
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
@@ -155,7 +155,7 @@ DecodeP (
/**
Reads code lengths for the Extra Set or the Position Set.
- Read in the Extra Set or Pointion Set Length Arrary, then
+ Read in the Extra Set or Position Set Length Array, then
generate the Huffman code mapping for them.
@param Sd The global scratch data.
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c
index d4b4475..96f84ec 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c
@@ -739,7 +739,7 @@ BootMaintCallback (
Private = BMM_CALLBACK_DATA_FROM_THIS (This);
//
- // Retrive uncommitted data from Form Browser
+ // Retrieve uncommitted data from Form Browser
//
CurrentFakeNVMap = &Private->BmmFakeNvData;
HiiGetBrowserData (&gBootMaintFormSetGuid, mBootMaintStorageName, sizeof (BMM_FAKE_NV_DATA), (UINT8 *) CurrentFakeNVMap);
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c
index f804984..910edf6 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c
@@ -370,7 +370,7 @@ FileExplorerRouteConfig (
@retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold the variable and its data.
@retval EFI_DEVICE_ERROR The variable could not be saved.
@retval EFI_UNSUPPORTED The specified Action is not supported by the callback.
- @retval EFI_INVALID_PARAMETER If paramter Value or ActionRequest is NULL.
+ @retval EFI_INVALID_PARAMETER If parameter Value or ActionRequest is NULL.
**/
EFI_STATUS
EFIAPI
diff --git a/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c b/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c
index ca13989..2d67279 100644
--- a/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c
+++ b/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c
@@ -714,7 +714,7 @@ ErrorExit:
Starts the device controller.
This function implments EFI_DRIVER_BINDING_PROTOCOL.Stop().
- It stops this driver on Controller. Support stoping any child handles
+ It stops this driver on Controller. Support stopping any child handles
created by this driver.
@param This A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.
diff --git a/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h b/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h
index 5cfa704..8ecd4c0 100644
--- a/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h
+++ b/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.h
@@ -134,7 +134,7 @@ VgaClassDriverBindingStart (
Starts the device controller.
This function implments EFI_DRIVER_BINDING_PROTOCOL.Stop().
- It stops this driver on Controller. Support stoping any child handles
+ It stops this driver on Controller. Support stopping any child handles
created by this driver.
@param This A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.
diff --git a/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c b/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c
index 916586f..9a193d5 100644
--- a/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c
+++ b/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c
@@ -255,7 +255,7 @@ FindFilterDriverByEvent (
/**
Get a previously logged data record and the MonotonicCount for the next
- availible Record. This allows all records or all records later
+ available Record. This allows all records or all records later
than a give MonotonicCount to be returned. If an optional FilterDriverEvent
is passed in with a MonotonicCout of zero return the first record
not yet read by the filter driver. If FilterDriverEvent is NULL and
@@ -264,7 +264,7 @@ FindFilterDriverByEvent (
@param This Pointer to the EFI_DATA_HUB_PROTOCOL instance.
@param MonotonicCount Specifies the Record to return. On input, zero means
return the first record. On output, contains the next
- record to availible. Zero indicates no more records.
+ record to available. Zero indicates no more records.
@param FilterDriverEvent If FilterDriverEvent is not passed in a MonotonicCount
of zero, it means to return the first data record.
If FilterDriverEvent is passed in, then a MonotonicCount
diff --git a/IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c b/IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c
index 48522c0..f64c541 100644
--- a/IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c
+++ b/IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c
@@ -56,7 +56,7 @@ DataHubStdErrEventHandler (
//
// If StdErr is not yet initialized just return a DEBUG print in the BDS
// after consoles are connect will make sure data gets flushed properly
- // when StdErr is availible.
+ // when StdErr is available.
//
if (gST == NULL) {
return ;
diff --git a/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c b/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c
index 2ba09c4..65a292d 100644
--- a/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c
+++ b/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVol.c
@@ -529,7 +529,7 @@ FvCheck (
continue;
}
//
- // double check boundry
+ // double check boundary
//
if (TestLength < sizeof (EFI_FFS_FILE_HEADER)) {
break;
@@ -570,7 +570,7 @@ FvCheck (
DEBUG ((EFI_D_ERROR, "Found a FFS3 formatted file: %g in a non-FFS3 formatted FV.\n", &((EFI_FFS_FILE_HEADER *) Ptr)->Name));
Ptr = Ptr + FFS_FILE2_SIZE (Ptr);
//
- // Adjust Ptr to the next 8-byte aligned boundry.
+ // Adjust Ptr to the next 8-byte aligned boundary.
//
while (((UINTN) Ptr & 0x07) != 0) {
Ptr++;
@@ -609,7 +609,7 @@ FvCheck (
}
//
- // Adjust Ptr to the next 8-byte aligned boundry.
+ // Adjust Ptr to the next 8-byte aligned boundary.
//
while (((UINTN) Ptr & 0x07) != 0) {
Ptr++;
diff --git a/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c b/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c
index 7f23b51..99385e0 100644
--- a/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c
+++ b/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolWrite.c
@@ -782,7 +782,7 @@ FvCreateNewFile (
//
// First find a free space that can hold this image.
- // Check alignment, FFS at least must be aligned at 8-byte boundry
+ // Check alignment, FFS at least must be aligned at 8-byte boundary
//
RequiredAlignment = GetRequiredAlignment (FileAttributes);
@@ -1513,7 +1513,7 @@ FvWriteFile (
for (Index1 = 0; Index1 < NumberOfFiles; Index1++) {
//
- // Making Buffersize QWORD boundry, and add file tail.
+ // Making Buffersize QWORD boundary, and add file tail.
//
HeaderSize = sizeof (EFI_FFS_FILE_HEADER);
ActualSize = FileData[Index1].BufferSize + HeaderSize;
--
2.10.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 11/33] IntelFrameworkPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 11/33] IntelFrameworkPkg: " Gary Lin
@ 2016-10-20 1:08 ` Fan, Jeff
0 siblings, 0 replies; 79+ messages in thread
From: Fan, Jeff @ 2016-10-20 1:08 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Thanks!
-----Original Message-----
From: Gary Lin [mailto:glin@suse.com]
Sent: Wednesday, October 19, 2016 3:01 PM
To: edk2-devel@lists.01.org
Cc: Fan, Jeff
Subject: [PATCH 11/33] IntelFrameworkPkg: Fix typos in comments
- paramter -> parameter
- availible -> available
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h | 2 +-
IntelFrameworkPkg/Include/Protocol/LegacyBios.h | 2 +-
IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h | 2 +-
IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h b/IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h
index e9ea49d..2d769bc 100644
--- a/IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h
+++ b/IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h
@@ -149,7 +149,7 @@ EFI_STATUS
@param Attributes Attributes bit-mask to set for the variable.
Inconsistent with specification here:
Attributes data type has been changed from
- UINT32 * to UINT32, because the input paramter is
+ UINT32 * to UINT32, because the input parameter is
not necessary to use a pointer date type.
@param DataSize The size in bytes of the Buffer. A size of zero causes
the variable to be deleted.
diff --git a/IntelFrameworkPkg/Include/Protocol/LegacyBios.h b/IntelFrameworkPkg/Include/Protocol/LegacyBios.h
index d431ad8..641f101 100644
--- a/IntelFrameworkPkg/Include/Protocol/LegacyBios.h
+++ b/IntelFrameworkPkg/Include/Protocol/LegacyBios.h
@@ -1197,7 +1197,7 @@ BOOLEAN
- 01 = ROM Found.
- 02 = ROM is a valid legacy ROM.
- @retval EFI_SUCCESS The Legacy Option ROM availible for this device
+ @retval EFI_SUCCESS The Legacy Option ROM available for this device
@retval EFI_UNSUPPORTED The Legacy Option ROM is not supported.
**/
diff --git a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h
index a3b6af6..66c73fe 100644
--- a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h
+++ b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h
@@ -64,7 +64,7 @@ IoReadWorker (
@param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
diff --git a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
index eb846e0..c1c48d5 100644
--- a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
+++ b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
@@ -93,7 +93,7 @@ IoReadWorker (
@param Width The width of the I/O operation.
@param Data The value to write to the I/O port.
- @return The paramter of Data.
+ @return The parameter of Data.
**/
UINT64
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 30/33] ShellPkg: Fix typos in comments and variables
2016-10-19 20:29 ` Carsey, Jaben
@ 2016-10-20 1:55 ` Gary Lin
0 siblings, 0 replies; 79+ messages in thread
From: Gary Lin @ 2016-10-20 1:55 UTC (permalink / raw)
To: Carsey, Jaben; +Cc: Ni, Ruiyu, edk2-devel@lists.01.org
On Wed, Oct 19, 2016 at 08:29:02PM +0000, Carsey, Jaben wrote:
> Is this required to be a patch series? By that I mean that they need to be committed in order...
>
Every patch is independent. I made them a series for convenience.
Thanks,
Gary Lin
> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
>
> > -----Original Message-----
> > From: Ni, Ruiyu
> > Sent: Wednesday, October 19, 2016 12:52 AM
> > To: Gary Lin <glin@suse.com>; edk2-devel@lists.01.org
> > Cc: Carsey, Jaben <jaben.carsey@intel.com>
> > Subject: RE: [PATCH 30/33] ShellPkg: Fix typos in comments and variables
> > Importance: High
> >
> >
> >
> > Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
> > > -----Original Message-----
> > > From: Gary Lin [mailto:glin@suse.com]
> > > Sent: Wednesday, October 19, 2016 3:02 PM
> > > To: edk2-devel@lists.01.org
> > > Cc: Carsey, Jaben <jaben.carsey@intel.com>; Ni, Ruiyu
> > <ruiyu.ni@intel.com>
> > > Subject: [PATCH 30/33] ShellPkg: Fix typos in comments and variables
> > >
> > > - funciton -> function
> > > - paramter -> parameter
> > > - supresses -> suppresses
> > > - Seperator -> Separator
> > > - permenant -> permanent
> > >
> > > Cc: Jaben Carsey <jaben.carsey@intel.com>
> > > Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> > > Contributed-under: TianoCore Contribution Agreement 1.0
> > > Signed-off-by: Gary Lin <glin@suse.com>
> > > ---
> > > ShellPkg/Include/Library/ShellCEntryLib.h | 2 +-
> > > ShellPkg/Include/Library/ShellCommandLib.h | 2 +-
> > > ShellPkg/Include/Protocol/EfiShellEnvironment2.h | 2 +-
> > > ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c | 2 +-
> > > ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c | 10
> > +++++-
> > > ----
> > >
> > >
> > ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib
> > > .c | 2 +-
> > > ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c | 8
> > > ++++----
> > > ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 8
> > > ++++----
> > > 8 files changed, 18 insertions(+), 18 deletions(-)
> > >
> > > diff --git a/ShellPkg/Include/Library/ShellCEntryLib.h
> > > b/ShellPkg/Include/Library/ShellCEntryLib.h
> > > index dfbb16f..e4983f8 100644
> > > --- a/ShellPkg/Include/Library/ShellCEntryLib.h
> > > +++ b/ShellPkg/Include/Library/ShellCEntryLib.h
> > > @@ -1,5 +1,5 @@
> > > /** @file
> > > - Provides application point extension for "C" style main funciton.
> > > + Provides application point extension for "C" style main function.
> > >
> > > Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
> > > This program and the accompanying materials diff --git
> > > a/ShellPkg/Include/Library/ShellCommandLib.h
> > > b/ShellPkg/Include/Library/ShellCommandLib.h
> > > index 3ee8200..5ff1e4f 100644
> > > --- a/ShellPkg/Include/Library/ShellCommandLib.h
> > > +++ b/ShellPkg/Include/Library/ShellCommandLib.h
> > > @@ -2,7 +2,7 @@
> > > Provides interface to shell internal functions for shell commands.
> > >
> > > This library is for use ONLY by shell commands linked into the shell
> > > application.
> > > - This library will not funciton if it is used for UEFI Shell 2.0 Applications.
> > > + This library will not function if it is used for UEFI Shell 2.0 Applications.
> > >
> > > Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
> > > (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> diff -
> > -
> > > git a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> > > b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> > > index 1aa1b7e..ac6c6a0 100644
> > > --- a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> > > +++ b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
> > > @@ -124,7 +124,7 @@ GUID for the shell environment2 extension (main
> > > GUID above).
> > > @param[in] ParentImageHandle Handle of the image executing this
> > > operation.
> > > @param[in] CommandLine The string command line to execute.
> > > @param[in] DebugOutput TRUE indicates that errors should be
> > printed
> > > directly.
> > > - FALSE supresses error messages.
> > > + FALSE suppresses error messages.
> > >
> > > @retval EFI_SUCCESS The command line executed and completed.
> > > @retval EFI_ABORTED The operation aborted.
> > > diff --git a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> > > b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> > > index 525c1f1..faed230 100644
> > > --- a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> > > +++ b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
> > > @@ -1,5 +1,5 @@
> > > /** @file
> > > - Provides application point extension for "C" style main funciton
> > > + Provides application point extension for "C" style main function
> > >
> > > Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
> > > This program and the accompanying materials diff --git
> > > a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> > > b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> > > index 00a4c10..e07304c 100644
> > > --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> > > +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
> > > @@ -130,7 +130,7 @@ IsDriverProt (
> > >
> > > @param[in] TheHandle The handles to show info on.
> > > @param[in] Language Language string per UEFI specification.
> > > - @param[in] Seperator Separator string between information blocks.
> > > + @param[in] Separator Separator string between information blocks.
> > > @param[in] Verbose TRUE for extra info, FALSE otherwise.
> > > @param[in] ExtraInfo TRUE for extra info, FALSE otherwise.
> > >
> > > @@ -141,7 +141,7 @@ CHAR16*
> > > GetProtocolInfoString(
> > > IN CONST EFI_HANDLE TheHandle,
> > > IN CONST CHAR8 *Language,
> > > - IN CONST CHAR16 *Seperator,
> > > + IN CONST CHAR16 *Separator,
> > > IN CONST BOOLEAN Verbose,
> > > IN CONST BOOLEAN ExtraInfo
> > > )
> > > @@ -169,7 +169,7 @@ GetProtocolInfoString(
> > > if (Temp != NULL) {
> > > ASSERT((RetVal == NULL && Size == 0) || (RetVal != NULL));
> > > if (Size != 0) {
> > > - StrnCatGrow(&RetVal, &Size, Seperator, 0);
> > > + StrnCatGrow(&RetVal, &Size, Separator, 0);
> > > }
> > > StrnCatGrow(&RetVal, &Size, L"%H", 0);
> > > StrnCatGrow(&RetVal, &Size, Temp, 0); @@ -185,7 +185,7 @@
> > > GetProtocolInfoString(
> > > StrnCatGrow(&RetVal, &Size, Temp, 0);
> > > StrnCatGrow(&RetVal, &Size, L")\r\n", 0);
> > > } else {
> > > - StrnCatGrow(&RetVal, &Size, Seperator, 0);
> > > + StrnCatGrow(&RetVal, &Size, Separator, 0);
> > > StrnCatGrow(&RetVal, &Size, Temp, 0);
> > > }
> > > FreePool(Temp);
> > > @@ -201,7 +201,7 @@ GetProtocolInfoString(
> > > }
> > >
> > > ASSERT((RetVal == NULL && Size == 0) || (RetVal != NULL));
> > > - StrnCatGrow(&RetVal, &Size, Seperator, 0);
> > > + StrnCatGrow(&RetVal, &Size, Separator, 0);
> > > return (RetVal);
> > > }
> > >
> > > diff --git
> > >
> > a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Commands
> > > Lib.c
> > >
> > b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Commands
> > > Lib.c
> > > index 1491ee9..7948e53 100644
> > > ---
> > >
> > a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Commands
> > > Lib.c
> > > +++
> > >
> > b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2Command
> > > +++ sLib.c
> > > @@ -99,7 +99,7 @@ ShellLevel2CommandsLibConstructor (
> > > ShellCommandRegisterCommandName(L"vol", ShellCommandRunVol
> > ,
> > > ShellCommandGetManFileNameLevel2, 2, L"", TRUE,
> > gShellLevel2HiiHandle,
> > > STRING_TOKEN(STR_GET_HELP_VOL) );
> > >
> > > //
> > > - // support for permenant (built in) aliases
> > > + // support for permanent (built in) aliases
> > > //
> > > ShellCommandRegisterAlias(L"rm", L"del");
> > > ShellCommandRegisterAlias(L"ls", L"dir"); diff --git
> > > a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> > > b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> > > index 38625fe..70d9d9a 100644
> > > --- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> > > +++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
> > > @@ -1492,7 +1492,7 @@ ShellCommandRunPing (
> > > }
> > >
> > > //
> > > - // Parse the paramter of count number.
> > > + // Parse the parameter of count number.
> > > //
> > > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");
> > > if (ValueStr != NULL) {
> > > @@ -1510,7 +1510,7 @@ ShellCommandRunPing (
> > > SendNumber = DEFAULT_SEND_COUNT;
> > > }
> > > //
> > > - // Parse the paramter of buffer size.
> > > + // Parse the parameter of buffer size.
> > > //
> > > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");
> > > if (ValueStr != NULL) {
> > > @@ -1532,7 +1532,7 @@ ShellCommandRunPing (
> > > ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));
> > >
> > > //
> > > - // Parse the paramter of source ip address.
> > > + // Parse the parameter of source ip address.
> > > //
> > > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");
> > > if (ValueStr == NULL) {
> > > @@ -1553,7 +1553,7 @@ ShellCommandRunPing (
> > > }
> > > }
> > > //
> > > - // Parse the paramter of destination ip address.
> > > + // Parse the parameter of destination ip address.
> > > //
> > > NonOptionCount = ShellCommandLineGetCount(ParamPackage);
> > > if (NonOptionCount < 2) {
> > > diff --git a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> > > b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> > > index 90a2604..265258f 100644
> > > --- a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> > > +++ b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> > > @@ -1177,7 +1177,7 @@ ShellCommandRunPing6 (
> > > BufferSize = 16;
> > >
> > > //
> > > - // Parse the paramter of count number.
> > > + // Parse the parameter of count number.
> > > //
> > > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");
> > > ValueStrPtr = ValueStr;
> > > @@ -1194,7 +1194,7 @@ ShellCommandRunPing6 (
> > > }
> > > }
> > > //
> > > - // Parse the paramter of buffer size.
> > > + // Parse the parameter of buffer size.
> > > //
> > > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");
> > > ValueStrPtr = ValueStr;
> > > @@ -1215,7 +1215,7 @@ ShellCommandRunPing6 (
> > > ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));
> > >
> > > //
> > > - // Parse the paramter of source ip address.
> > > + // Parse the parameter of source ip address.
> > > //
> > > ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");
> > > ValueStrPtr = ValueStr;
> > > @@ -1229,7 +1229,7 @@ ShellCommandRunPing6 (
> > > }
> > > }
> > > //
> > > - // Parse the paramter of destination ip address.
> > > + // Parse the parameter of destination ip address.
> > > //
> > > NonOptionCount = ShellCommandLineGetCount(ParamPackage);
> > > ValueStr = ShellCommandLineGetRawValue (ParamPackage,
> > > (UINT32)(NonOptionCount-1));
> > > --
> > > 2.10.1
>
>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 32/33] UefiCpuPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 32/33] UefiCpuPkg: " Gary Lin
@ 2016-10-20 1:58 ` Fan, Jeff
2016-10-20 2:08 ` Gary Lin
0 siblings, 1 reply; 79+ messages in thread
From: Fan, Jeff @ 2016-10-20 1:58 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Could you please help to fix typo *ruturn* when you commit the patch.
- @return The ruturn value of this paramter indicates the number of
+ @return The ruturn value of this parameter indicates the number of
Thanks!
-----Original Message-----
From: Gary Lin [mailto:glin@suse.com]
Sent: Wednesday, October 19, 2016 3:02 PM
To: edk2-devel@lists.01.org
Cc: Fan, Jeff
Subject: [PATCH 32/33] UefiCpuPkg: Fix typos in comments
- excute -> execute
- Retrive -> Retrieve
- possilbe -> possible
- CONTINOUS -> CONTINUOUS
- storgage -> storage
- allcated -> allocated
- triggerred -> triggered
- paramter -> parameter
- perodically -> periodically
- retore -> restore
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
UefiCpuPkg/Include/Library/MtrrLib.h | 2 +-
UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 2 +-
UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +-
UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2 +-
UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 10 +++++-----
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/UefiCpuPkg/Include/Library/MtrrLib.h b/UefiCpuPkg/Include/Library/MtrrLib.h
index 36cd2cd..5d62adb 100644
--- a/UefiCpuPkg/Include/Library/MtrrLib.h
+++ b/UefiCpuPkg/Include/Library/MtrrLib.h
@@ -306,7 +306,7 @@ MtrrSetAllMtrrs (
MtrrValidBitsMask & 0xfffffffffffff000ULL
@param[out] VariableMtrr The array to shadow variable MTRRs content
- @return The ruturn value of this paramter indicates the number of
+ @return The ruturn value of this parameter indicates the number of
MTRRs which has been used.
**/
UINT32
diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
index 02d5622..e55709c 100644
--- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
+++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
@@ -65,7 +65,7 @@ CommonExceptionHandlerWorker (
//
if (ReservedVectors[ExceptionType].ApicId == GetApicId ()) {
//
- // Old IDT handler has been executed, then retore CPU exception content to
+ // Old IDT handler has been executed, then restore CPU
+ exception content to
// run new exception handler.
//
ArchRestoreExceptionContext (ExceptionType, SystemContext); diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
index 50b5b27..b399f1c 100644
--- a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
+++ b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
@@ -172,7 +172,7 @@ CheckAndUpdateApsStatus (
/**
Checks APs' status periodically.
- This function is triggerred by timer perodically to check the
+ This function is triggered by timer periodically to check the
state of APs for StartupAllAPs() and StartupThisAP() executed
in non-blocking mode.
diff --git a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
index 5aef772..7783b63 100644
--- a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
+++ b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
@@ -606,7 +606,7 @@ MtrrGetMemoryAttributeInVariableMtrrWorker (
@param[in] MtrrValidAddressMask The valid address mask for MTRR
@param[out] VariableMtrr The array to shadow variable MTRRs content
- @return The return value of this paramter indicates the
+ @return The return value of this parameter indicates the
number of MTRRs which has been used.
**/
diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
index 0ccf3a4..f907b30 100644
--- a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
+++ b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
@@ -1,7 +1,7 @@
/** @file
This module produces the EFI_PEI_S3_RESUME2_PPI.
This module works with StandAloneBootScriptExecutor to S3 resume to OS.
- This module will excute the boot script saved during last boot and after that,
+ This module will execute the boot script saved during last boot and
+ after that,
control is passed to OS waking up handler.
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> @@ -294,7 +294,7 @@ WriteToOsS3PerformanceData (
UINT64 Freq;
//
- // Retrive time stamp count as early as possilbe
+ // Retrieve time stamp count as early as possible
//
Ticker = GetPerformanceCounter ();
@@ -612,12 +612,12 @@ RestoreS3PageTables (
// NOTE: We have to ASSUME the page table generation format, because we do not know whole page table information.
// The whole page table is too large to be saved in SMRAM.
//
- // The assumption is : whole page table is allocated in CONTINOUS memory and CR3 points to TOP page.
+ // The assumption is : whole page table is allocated in CONTINUOUS memory and CR3 points to TOP page.
//
DEBUG ((EFI_D_ERROR, "S3NvsPageTableAddress - %x (%x)\n", (UINTN)S3NvsPageTableAddress, (UINTN)Build4GPageTableOnly));
//
- // By architecture only one PageMapLevel4 exists - so lets allocate storgage for it.
+ // By architecture only one PageMapLevel4 exists - so lets allocate storage for it.
//
PageMap = (PAGE_MAP_AND_DIRECTORY_POINTER *)S3NvsPageTableAddress;
S3NvsPageTableAddress += SIZE_4KB;
@@ -819,7 +819,7 @@ S3ResumeExecuteBootScript (
//
IdtDescriptor = (IA32_DESCRIPTOR *) (UINTN) (AcpiS3Context->IdtrProfile);
//
- // Make sure the newly allcated IDT align with 16-bytes
+ // Make sure the newly allocated IDT align with 16-bytes
//
IdtBuffer = AllocatePages (EFI_SIZE_TO_PAGES((IdtDescriptor->Limit + 1) + 16));
if (IdtBuffer == NULL) {
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 32/33] UefiCpuPkg: Fix typos in comments
2016-10-20 1:58 ` Fan, Jeff
@ 2016-10-20 2:08 ` Gary Lin
2016-10-20 2:45 ` Fan, Jeff
0 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-10-20 2:08 UTC (permalink / raw)
To: Fan, Jeff; +Cc: edk2-devel@lists.01.org
On Thu, Oct 20, 2016 at 01:58:51AM +0000, Fan, Jeff wrote:
> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
>
> Could you please help to fix typo *ruturn* when you commit the patch.
> - @return The ruturn value of this paramter indicates the number of
> + @return The ruturn value of this parameter indicates the number of
>
I don't have the write access to the edk2 git. Should I submit a v2 to
fix this one?
Thanks,
Gary Lin
> Thanks!
>
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 3:02 PM
> To: edk2-devel@lists.01.org
> Cc: Fan, Jeff
> Subject: [PATCH 32/33] UefiCpuPkg: Fix typos in comments
>
> - excute -> execute
> - Retrive -> Retrieve
> - possilbe -> possible
> - CONTINOUS -> CONTINUOUS
> - storgage -> storage
> - allcated -> allocated
> - triggerred -> triggered
> - paramter -> parameter
> - perodically -> periodically
> - retore -> restore
>
> Cc: Jeff Fan <jeff.fan@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> UefiCpuPkg/Include/Library/MtrrLib.h | 2 +-
> UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 2 +-
> UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +-
> UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2 +-
> UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 10 +++++-----
> 5 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/UefiCpuPkg/Include/Library/MtrrLib.h b/UefiCpuPkg/Include/Library/MtrrLib.h
> index 36cd2cd..5d62adb 100644
> --- a/UefiCpuPkg/Include/Library/MtrrLib.h
> +++ b/UefiCpuPkg/Include/Library/MtrrLib.h
> @@ -306,7 +306,7 @@ MtrrSetAllMtrrs (
> MtrrValidBitsMask & 0xfffffffffffff000ULL
> @param[out] VariableMtrr The array to shadow variable MTRRs content
>
> - @return The ruturn value of this paramter indicates the number of
> + @return The ruturn value of this parameter indicates the number of
> MTRRs which has been used.
> **/
> UINT32
> diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
> index 02d5622..e55709c 100644
> --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
> +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
> @@ -65,7 +65,7 @@ CommonExceptionHandlerWorker (
> //
> if (ReservedVectors[ExceptionType].ApicId == GetApicId ()) {
> //
> - // Old IDT handler has been executed, then retore CPU exception content to
> + // Old IDT handler has been executed, then restore CPU
> + exception content to
> // run new exception handler.
> //
> ArchRestoreExceptionContext (ExceptionType, SystemContext); diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
> index 50b5b27..b399f1c 100644
> --- a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
> +++ b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
> @@ -172,7 +172,7 @@ CheckAndUpdateApsStatus (
> /**
> Checks APs' status periodically.
>
> - This function is triggerred by timer perodically to check the
> + This function is triggered by timer periodically to check the
> state of APs for StartupAllAPs() and StartupThisAP() executed
> in non-blocking mode.
>
> diff --git a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
> index 5aef772..7783b63 100644
> --- a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
> +++ b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
> @@ -606,7 +606,7 @@ MtrrGetMemoryAttributeInVariableMtrrWorker (
> @param[in] MtrrValidAddressMask The valid address mask for MTRR
> @param[out] VariableMtrr The array to shadow variable MTRRs content
>
> - @return The return value of this paramter indicates the
> + @return The return value of this parameter indicates the
> number of MTRRs which has been used.
>
> **/
> diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
> index 0ccf3a4..f907b30 100644
> --- a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
> +++ b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
> @@ -1,7 +1,7 @@
> /** @file
> This module produces the EFI_PEI_S3_RESUME2_PPI.
> This module works with StandAloneBootScriptExecutor to S3 resume to OS.
> - This module will excute the boot script saved during last boot and after that,
> + This module will execute the boot script saved during last boot and
> + after that,
> control is passed to OS waking up handler.
>
> Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> @@ -294,7 +294,7 @@ WriteToOsS3PerformanceData (
> UINT64 Freq;
>
> //
> - // Retrive time stamp count as early as possilbe
> + // Retrieve time stamp count as early as possible
> //
> Ticker = GetPerformanceCounter ();
>
> @@ -612,12 +612,12 @@ RestoreS3PageTables (
> // NOTE: We have to ASSUME the page table generation format, because we do not know whole page table information.
> // The whole page table is too large to be saved in SMRAM.
> //
> - // The assumption is : whole page table is allocated in CONTINOUS memory and CR3 points to TOP page.
> + // The assumption is : whole page table is allocated in CONTINUOUS memory and CR3 points to TOP page.
> //
> DEBUG ((EFI_D_ERROR, "S3NvsPageTableAddress - %x (%x)\n", (UINTN)S3NvsPageTableAddress, (UINTN)Build4GPageTableOnly));
>
> //
> - // By architecture only one PageMapLevel4 exists - so lets allocate storgage for it.
> + // By architecture only one PageMapLevel4 exists - so lets allocate storage for it.
> //
> PageMap = (PAGE_MAP_AND_DIRECTORY_POINTER *)S3NvsPageTableAddress;
> S3NvsPageTableAddress += SIZE_4KB;
> @@ -819,7 +819,7 @@ S3ResumeExecuteBootScript (
> //
> IdtDescriptor = (IA32_DESCRIPTOR *) (UINTN) (AcpiS3Context->IdtrProfile);
> //
> - // Make sure the newly allcated IDT align with 16-bytes
> + // Make sure the newly allocated IDT align with 16-bytes
> //
> IdtBuffer = AllocatePages (EFI_SIZE_TO_PAGES((IdtDescriptor->Limit + 1) + 16));
> if (IdtBuffer == NULL) {
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 32/33] UefiCpuPkg: Fix typos in comments
2016-10-20 2:08 ` Gary Lin
@ 2016-10-20 2:45 ` Fan, Jeff
0 siblings, 0 replies; 79+ messages in thread
From: Fan, Jeff @ 2016-10-20 2:45 UTC (permalink / raw)
To: Gary Lin; +Cc: edk2-devel@lists.01.org
Just v2 for this single patch is fine for me. I will help to commit.
Thanks!
Jeff
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Gary Lin
Sent: Thursday, October 20, 2016 10:09 AM
To: Fan, Jeff
Cc: edk2-devel@lists.01.org
Subject: Re: [edk2] [PATCH 32/33] UefiCpuPkg: Fix typos in comments
On Thu, Oct 20, 2016 at 01:58:51AM +0000, Fan, Jeff wrote:
> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
>
> Could you please help to fix typo *ruturn* when you commit the patch.
> - @return The ruturn value of this paramter indicates the number of
> + @return The ruturn value of this parameter indicates the number of
>
I don't have the write access to the edk2 git. Should I submit a v2 to fix this one?
Thanks,
Gary Lin
> Thanks!
>
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 3:02 PM
> To: edk2-devel@lists.01.org
> Cc: Fan, Jeff
> Subject: [PATCH 32/33] UefiCpuPkg: Fix typos in comments
>
> - excute -> execute
> - Retrive -> Retrieve
> - possilbe -> possible
> - CONTINOUS -> CONTINUOUS
> - storgage -> storage
> - allcated -> allocated
> - triggerred -> triggered
> - paramter -> parameter
> - perodically -> periodically
> - retore -> restore
>
> Cc: Jeff Fan <jeff.fan@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> UefiCpuPkg/Include/Library/MtrrLib.h | 2 +-
> UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 2 +-
> UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +-
> UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2 +-
> UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 10 +++++-----
> 5 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/UefiCpuPkg/Include/Library/MtrrLib.h
> b/UefiCpuPkg/Include/Library/MtrrLib.h
> index 36cd2cd..5d62adb 100644
> --- a/UefiCpuPkg/Include/Library/MtrrLib.h
> +++ b/UefiCpuPkg/Include/Library/MtrrLib.h
> @@ -306,7 +306,7 @@ MtrrSetAllMtrrs (
> MtrrValidBitsMask & 0xfffffffffffff000ULL
> @param[out] VariableMtrr The array to shadow variable MTRRs content
>
> - @return The ruturn value of this paramter indicates the number of
> + @return The ruturn value of this parameter indicates the number of
> MTRRs which has been used.
> **/
> UINT32
> diff --git
> a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
> b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
> index 02d5622..e55709c 100644
> ---
> a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c
> +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.
> +++ c
> @@ -65,7 +65,7 @@ CommonExceptionHandlerWorker (
> //
> if (ReservedVectors[ExceptionType].ApicId == GetApicId ()) {
> //
> - // Old IDT handler has been executed, then retore CPU exception content to
> + // Old IDT handler has been executed, then restore CPU
> + exception content to
> // run new exception handler.
> //
> ArchRestoreExceptionContext (ExceptionType, SystemContext);
> diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
> b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
> index 50b5b27..b399f1c 100644
> --- a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
> +++ b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
> @@ -172,7 +172,7 @@ CheckAndUpdateApsStatus (
> /**
> Checks APs' status periodically.
>
> - This function is triggerred by timer perodically to check the
> + This function is triggered by timer periodically to check the
> state of APs for StartupAllAPs() and StartupThisAP() executed
> in non-blocking mode.
>
> diff --git a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
> b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
> index 5aef772..7783b63 100644
> --- a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
> +++ b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
> @@ -606,7 +606,7 @@ MtrrGetMemoryAttributeInVariableMtrrWorker (
> @param[in] MtrrValidAddressMask The valid address mask for MTRR
> @param[out] VariableMtrr The array to shadow variable MTRRs content
>
> - @return The return value of this paramter indicates the
> + @return The return value of this parameter indicates the
> number of MTRRs which has been used.
>
> **/
> diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
> b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
> index 0ccf3a4..f907b30 100644
> --- a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
> +++ b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
> @@ -1,7 +1,7 @@
> /** @file
> This module produces the EFI_PEI_S3_RESUME2_PPI.
> This module works with StandAloneBootScriptExecutor to S3 resume to OS.
> - This module will excute the boot script saved during last boot and
> after that,
> + This module will execute the boot script saved during last boot and
> + after that,
> control is passed to OS waking up handler.
>
> Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> @@ -294,7 +294,7 @@ WriteToOsS3PerformanceData (
> UINT64 Freq;
>
> //
> - // Retrive time stamp count as early as possilbe
> + // Retrieve time stamp count as early as possible
> //
> Ticker = GetPerformanceCounter ();
>
> @@ -612,12 +612,12 @@ RestoreS3PageTables (
> // NOTE: We have to ASSUME the page table generation format, because we do not know whole page table information.
> // The whole page table is too large to be saved in SMRAM.
> //
> - // The assumption is : whole page table is allocated in CONTINOUS memory and CR3 points to TOP page.
> + // The assumption is : whole page table is allocated in CONTINUOUS memory and CR3 points to TOP page.
> //
> DEBUG ((EFI_D_ERROR, "S3NvsPageTableAddress - %x (%x)\n",
> (UINTN)S3NvsPageTableAddress, (UINTN)Build4GPageTableOnly));
>
> //
> - // By architecture only one PageMapLevel4 exists - so lets allocate storgage for it.
> + // By architecture only one PageMapLevel4 exists - so lets allocate storage for it.
> //
> PageMap = (PAGE_MAP_AND_DIRECTORY_POINTER *)S3NvsPageTableAddress;
> S3NvsPageTableAddress += SIZE_4KB; @@ -819,7 +819,7 @@
> S3ResumeExecuteBootScript (
> //
> IdtDescriptor = (IA32_DESCRIPTOR *) (UINTN) (AcpiS3Context->IdtrProfile);
> //
> - // Make sure the newly allcated IDT align with 16-bytes
> + // Make sure the newly allocated IDT align with 16-bytes
> //
> IdtBuffer = AllocatePages (EFI_SIZE_TO_PAGES((IdtDescriptor->Limit + 1) + 16));
> if (IdtBuffer == NULL) {
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
>
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 08/33] EmulatorPkg: Fix typos in comments and variables
2016-10-19 20:37 ` Jordan Justen
@ 2016-10-20 8:16 ` Laszlo Ersek
0 siblings, 0 replies; 79+ messages in thread
From: Laszlo Ersek @ 2016-10-20 8:16 UTC (permalink / raw)
To: Jordan Justen; +Cc: Gary Lin, edk2-devel, Andrew Fish
On 10/19/16 22:37, Jordan Justen wrote:
> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
>
> Pushed EmulatorPkg and OvmfPkg patches.
Thank you, Jordan, for handling the OvmfPkg one!
Laszlo
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 33/33] Vlv2TbltDevicePkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 33/33] Vlv2TbltDevicePkg: " Gary Lin
@ 2016-10-24 1:33 ` Wei, David
0 siblings, 0 replies; 79+ messages in thread
From: Wei, David @ 2016-10-24 1:33 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Wei, David
Reviewed-by: David Wei <david.wei@intel.com>
Thanks,
David Wei
-----Original Message-----
From: Gary Lin [mailto:glin@suse.com]
Sent: Wednesday, October 19, 2016 3:02 PM
To: edk2-devel@lists.01.org
Cc: Wei, David <david.wei@intel.com>
Subject: [PATCH 33/33] Vlv2TbltDevicePkg: Fix typos in comments
- TURE -> TRUE
- stardard -> standard
- aligments -> alignments
- a a -> a
- stoping -> stopping
- defalut -> default
- excute -> execute
- Incude -> Include
- futhure -> future
- Predfined -> Predefined
- minimue -> minimum
- predeined -> predefined
- dirver -> driver
- paramter -> parameter
- funciton -> function
- immediatly -> immediately
Cc: David Wei <david.wei@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c | 2 +-
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c | 4 ++--
Vlv2TbltDevicePkg/Include/Library/CpuIA32.h | 2 +-
Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h | 2 +-
Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 16 ++++++++--------
Vlv2TbltDevicePkg/PlatformDxe/PciBus.h | 14 +++++++-------
Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c | 4 ++--
Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c | 2 +-
Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c | 4 ++--
9 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c b/Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c
index 55f758c..af7b968 100644
--- a/Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c
+++ b/Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c
@@ -251,7 +251,7 @@ BootScriptPciCfg2ReadWrite (
}
/**
- Internal function to add smbus excute opcode to the table.
+ Internal function to add smbus execute opcode to the table.
@param Marker The variable argument list to get the opcode
and associated attributes.
diff --git a/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c b/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c
index e505d71..72488f8 100644
--- a/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c
+++ b/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c
@@ -140,8 +140,8 @@ SecTemporaryRamSupport (
//
// SecSwitchStack function must be invoked after the memory migration
- // immediatly, also we need fixup the stack change caused by new call into
- // permenent memory.
+ // immediately, also we need fixup the stack change caused by new call into
+ // permanent memory.
//
SecSwitchStack (
(UINT32) (UINTN) OldStack,
diff --git a/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h b/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h
index b8c53c9..7615781 100644
--- a/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h
+++ b/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h
@@ -180,7 +180,7 @@ EfiInvd (
);
/**
- Get the Cpu info by excute the CPUID instruction
+ Get the Cpu info by execute the CPUID instruction
@param[in] RegisterInEax The input value to put into register EAX
@param[in] Regs The Output value
diff --git a/Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h b/Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h
index 8f9948c..e4cbd4a 100644
--- a/Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h
+++ b/Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h
@@ -216,7 +216,7 @@ typedef struct {
UINT8 TpmEnable; // 121 TPM Enable
UINT8 MorData; // 122 Memory Overwrite Request Data
- UINT8 TcgParamter; // 123 Used for save the Mor and/or physical presence paramter
+ UINT8 TcgParamter; // 123 Used for save the Mor and/or physical presence parameter
UINT32 PPResponse; // 124 Physical Presence request operation response
UINT8 PPRequest; // 128 Physical Presence request operation
UINT8 LastPPRequest; // 129 Last Physical Presence request operation
diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
index e1f3524..135ed21 100644
--- a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
+++ b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
@@ -214,7 +214,7 @@ ShellImageCallback (
// BDS Platform Functions
//
/**
- Platform Bds init. Incude the platform firmware vendor, revision
+ Platform Bds init. Include the platform firmware vendor, revision
and so crc check.
@param VOID
@@ -310,7 +310,7 @@ GetGopDevicePath (
}
//
- // Try to connect this handle, so that GOP dirver could start on this
+ // Try to connect this handle, so that GOP driver could start on this
// device and create child handles with GraphicsOutput Protocol installed
// on them, then we get device paths of these child handles and select
// them as possible console device.
@@ -427,7 +427,7 @@ GetGopDevicePath (
// In current implementation, we only enable one of the child handles
// as console device, i.e. sotre one of the child handle's device
// path to variable "ConOut"
- // In futhure, we could select all child handles to be console device
+ // In future, we could select all child handles to be console device
//
*GopDevicePath = TempDevicePath;
}
@@ -780,7 +780,7 @@ UpdateConsoleResolution(
Connect the predefined platform default console device. Always try to find
and enable the vga device if have.
- @param PlatformConsole Predfined platform default console device array.
+ @param PlatformConsole Predefined platform default console device array.
@retval EFI_SUCCESS Success connect at least one ConIn and ConOut
device, there must have one ConOut device is
@@ -819,7 +819,7 @@ PlatformBdsConnectConsole (
if (VarConout == NULL || VarConin == NULL) {
//
// Have chance to connect the platform default console,
- // the platform default console is the minimue device group
+ // the platform default console is the minimum device group
// the platform should support
//
while (PlatformConsole[Index].DevicePath != NULL) {
@@ -866,7 +866,7 @@ PlatformBdsConnectConsole (
}
/**
- Connect with predeined platform connect sequence,
+ Connect with predefined platform connect sequence,
the OEM/IBV can customize with their own connect sequence.
@param None.
@@ -1568,7 +1568,7 @@ PlatformBdsLibEnumerateAllBootOption (
/**
- The function will excute with as the platform policy, current policy
+ The function will execute with as the platform policy, current policy
is driven by boot mode. IBV/OEM can customize this code for their specific
policy action.
@@ -2839,7 +2839,7 @@ PlatformBdsConnectSimpleConsole (
if (VarConout == NULL || VarConin == NULL) {
//
// Have chance to connect the platform default console,
- // the platform default console is the minimue device group
+ // the platform default console is the minimum device group
// the platform should support
//
while (PlatformConsole[Index].DevicePath != NULL) {
diff --git a/Vlv2TbltDevicePkg/PlatformDxe/PciBus.h b/Vlv2TbltDevicePkg/PlatformDxe/PciBus.h
index 89e31d2..412e9f1 100644
--- a/Vlv2TbltDevicePkg/PlatformDxe/PciBus.h
+++ b/Vlv2TbltDevicePkg/PlatformDxe/PciBus.h
@@ -187,7 +187,7 @@ struct _PCI_IO_DEVICE {
LIST_ENTRY ChildList;
//
- // TURE if the PCI bus driver creates the handle for this PCI device
+ // TRUE if the PCI bus driver creates the handle for this PCI device
//
BOOLEAN Registered;
@@ -266,7 +266,7 @@ struct _PCI_IO_DEVICE {
//
// Per PCI to PCI Bridge spec, I/O window is 4K aligned,
- // but some chipsets support non-stardard I/O window aligments less than 4K.
+ // but some chipsets support non-standard I/O window alignments less than 4K.
// This field is used to support this case.
//
UINT16 BridgeIoAlignment;
@@ -308,8 +308,8 @@ extern BOOLEAN mReserveVgaAliases;
@param _p Specified device.
- @retval TRUE Device is a a GFX device.
- @retval FALSE Device is not a a GFX device.
+ @retval TRUE Device is a GFX device.
+ @retval FALSE Device is not a GFX device.
**/
#define IS_PCI_GFX(_p) IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER)
@@ -320,7 +320,7 @@ extern BOOLEAN mReserveVgaAliases;
@param This Protocol instance pointer.
@param Controller Handle of device to test.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver supports this device.
@@ -342,7 +342,7 @@ PciBusDriverBindingSupported (
@param This Protocol instance pointer.
@param Controller Handle of device to bind driver to.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver is added to ControllerHandle.
@@ -359,7 +359,7 @@ PciBusDriverBindingStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c b/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
index 3ad6b57..035f7b5 100644
--- a/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
+++ b/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
@@ -33,7 +33,7 @@ PLATFORM_GOP_POLICY_PROTOCOL mPlatformGOPPolicy;
//
/**
- The function will excute with as the platform policy, and gives
+ The function will execute with as the platform policy, and gives
the Platform Lid Status. IBV/OEM can customize this code for their specific
policy action.
@@ -54,7 +54,7 @@ GetPlatformLidStatus (
}
/**
- The function will excute and gives the Video Bios Table Size and Address.
+ The function will execute and gives the Video Bios Table Size and Address.
@param VbtAddress Gives the Physical Address of Video BIOS Table
diff --git a/Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c b/Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c
index 48d69a3..f6bb826 100644
--- a/Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c
+++ b/Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c
@@ -79,7 +79,7 @@ CheckOsSelection (
SystemConfiguration->ReservedO = OsSelectionHob->OsSelection;
//
- // Load LPSS and SCC defalut configurations
+ // Load LPSS and SCC default configurations
//
OsSelectionHob->LpssData.LpsseMMCEnabled = FALSE;
OsSelectionHob->LpssData.LpssSdioEnabled = TRUE;
diff --git a/Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c b/Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c
index de7830f..47ede35 100644
--- a/Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c
+++ b/Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c
@@ -126,7 +126,7 @@ LoadLpssDefaultValues (
)
{
//
- // Load LPSS and SCC defalut configurations for Android
+ // Load LPSS and SCC default configurations for Android
//
Private->FakeNvData.LpsseMMCEnabled = FALSE;
Private->FakeNvData.LpssSdioEnabled = TRUE;
@@ -780,7 +780,7 @@ SystemConfigCallback (
/**
- The driver Entry Point. The funciton will export a disk device class formset and
+ The driver Entry Point. The function will export a disk device class formset and
its callback function to hii database.
@param ImageHandle The firmware allocated handle for the EFI image.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 27/33] QuarkPlatformPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 27/33] QuarkPlatformPkg: " Gary Lin
@ 2016-10-25 20:53 ` Kinney, Michael D
0 siblings, 0 replies; 79+ messages in thread
From: Kinney, Michael D @ 2016-10-25 20:53 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org, Kinney, Michael D
Gary,
Thanks for these updates. I made sure the Copyright year was updated
to 2016. With that change:
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
It has been committed at:
commit 65aec00829912662cbfe842ab747d7608fc90553
Mike
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 12:02 AM
> To: edk2-devel@lists.01.org
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Steele, Kelly
> <kelly.steele@intel.com>
> Subject: [PATCH 27/33] QuarkPlatformPkg: Fix typos in comments
>
> - TURE -> TRUE
> - reseting -> resetting
> - retore -> restore
> - boundry -> boundary
> - tempory -> temporary
>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Kelly Steele <kelly.steele@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c | 6 +++---
> QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c | 2 +-
> QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c | 2 +-
> QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c | 6 +++---
> 4 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c
> b/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c
> index 96af046..28d7016 100644
> --- a/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c
> +++ b/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c
> @@ -87,7 +87,7 @@ SdtGetInteger (
> @param OpCode Expected OpCode
> @param SubOpCode Expected SubOpCode
>
> - @retval TURE This handle has expected opcode
> + @retval TRUE This handle has expected opcode
> @retval FALSE This handle does not have expected opcode
> **/
> BOOLEAN
> @@ -127,7 +127,7 @@ SdtIsThisTypeObject (
> @param Name Expected name
> @param Value Expected name value
>
> - @retval TURE This handle has expected name and name value.
> + @retval TRUE This handle has expected name and name value.
> @retval FALSE This handle does not have expected name and name value.
> **/
> BOOLEAN
> @@ -176,7 +176,7 @@ SdtIsNameIntegerValueEqual (
> @param Name Expected name
> @param Value Expected name value
>
> - @retval TURE This handle's children has expected name and name value.
> + @retval TRUE This handle's children has expected name and name value.
> @retval FALSE This handle's children does not have expected name and name value.
> **/
> BOOLEAN
> diff --git a/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c
> b/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c
> index a1a18c9..63f8ae5 100644
> --- a/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c
> +++ b/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c
> @@ -225,7 +225,7 @@ BootScriptExecutorEntryPoint (
> }
> ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;
> //
> - // Align buffer on section boundry
> + // Align buffer on section boundary
> //
> ImageContext.ImageAddress += ImageContext.SectionAlignment - 1;
> ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1);
> diff --git a/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c
> b/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c
> index 321cf62..7df7459 100644
> --- a/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c
> +++ b/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c
> @@ -501,7 +501,7 @@ RestoreQncS3SwCallback (
> /*++
>
> Routine Description:
> - SMI handler to retore QncS3 code & context for S3 path
> + SMI handler to restore QncS3 code & context for S3 path
> This will be only triggered when BootScript got executed during resume
>
> Arguments:
> diff --git a/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c
> b/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c
> index 0f71b1f..88b50c1 100644
> --- a/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c
> +++ b/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c
> @@ -142,7 +142,7 @@ SetLanControllerMacAddr (
> SaveBarReg = PciRead32 (DevPcieAddr + R_IOH_MAC_MEMBAR);
>
> //
> - // Use predefined tempory memory resource
> + // Use predefined temporary memory resource
> //
> PciWrite32 ( DevPcieAddr + R_IOH_MAC_MEMBAR, Bar0);
> PciWrite8 ( DevPcieAddr + PCI_COMMAND_OFFSET, EFI_PCI_COMMAND_MEMORY_SPACE);
> @@ -800,7 +800,7 @@ CheckForResetDueToErrors (
>
> //
> // Check if RMU reset system due to access violations.
> - // RMU updates a SOC Unit register before reseting the system.
> + // RMU updates a SOC Unit register before resetting the system.
> //
> RegValue = QNCAltPortRead (QUARK_SCSS_SOC_UNIT_SB_PORT_ID,
> QUARK_SCSS_SOC_UNIT_CFG_STICKY_RW);
> if ((RegValue & B_CFG_STICKY_RW_VIOLATION) != 0) {
> @@ -1048,7 +1048,7 @@ EarlyPlatformGpioCtrlerInitAndManipulation (
> SaveBarReg = PciRead32 (DevPcieAddr + PcdGet8 (PcdIohGpioBarRegister));
>
> //
> - // Use predefined tempory memory resource.
> + // Use predefined temporary memory resource.
> //
> PciWrite32 ( DevPcieAddr + PcdGet8 (PcdIohGpioBarRegister), IohGpioBase);
> PciWrite8 ( DevPcieAddr + PCI_COMMAND_OFFSET, EFI_PCI_COMMAND_MEMORY_SPACE);
> --
> 2.10.1
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 28/33] QuarkSocPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 28/33] QuarkSocPkg: " Gary Lin
@ 2016-10-25 21:00 ` Kinney, Michael D
0 siblings, 0 replies; 79+ messages in thread
From: Kinney, Michael D @ 2016-10-25 21:00 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org, Kinney, Michael D
Gary,
Thanks for these updates. I made sure the Copyright year was updated
to 2016. With that change:
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
It has been committed at:
commit 74c6a1031d36430f99ca7799520f960b4a66e7fe
Mike
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Gary Lin
> Sent: Wednesday, October 19, 2016 12:02 AM
> To: edk2-devel@lists.01.org
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>
> Subject: [edk2] [PATCH 28/33] QuarkSocPkg: Fix typos in comments
>
> - paramter -> parameter
> - reseting -> resetting
> - stoping -> stopping
> - hanlder -> handler
> - boundry -> boundary
> - tempory -> temporary
>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Kelly Steele <kelly.steele@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c | 2 +-
> QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c | 2 +-
> QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c | 2 +-
> QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c | 4 ++--
> QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h | 2 +-
> QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c | 2 +-
> QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h | 2 +-
> QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c | 4 ++--
> QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h | 2 +-
> 9 files changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c
> b/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c
> index 9d04a29..1cdf6cb 100644
> --- a/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c
> +++ b/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c
> @@ -582,7 +582,7 @@ MtrrGetMemoryAttributeInVariableMtrrWorker (
> @param[in] MtrrValidAddressMask The valid address mask for MTRR
> @param[out] VariableMtrr The array to shadow variable MTRRs content
>
> - @return The return value of this paramter indicates the
> + @return The return value of this parameter indicates the
> number of MTRRs which has been used.
>
> **/
> diff --git a/QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c
> b/QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c
> index 9290311..6e67635 100644
> --- a/QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c
> +++ b/QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.c
> @@ -312,7 +312,7 @@ Returns:
> Status = PcdSet64S (PcdQncS3CodeInLockBoxSize, (UINT64)mQncS3ImageSize);
> ASSERT_EFI_ERROR (Status);
> //
> - // Align buffer on section boundry
> + // Align buffer on section boundary
> //
> ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer;
> if (ImageContext.SectionAlignment != 0) {
> diff --git a/QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c
> b/QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c
> index a48a2a4..67b9249 100644
> --- a/QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c
> +++ b/QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.c
> @@ -87,7 +87,7 @@ ReadIohGpioValues (
>
> DEBUG ((EFI_D_INFO, "SC GPIO temporary enable at %08X\n", TempBarAddr));
>
> - // Use predefined tempory memory resource.
> + // Use predefined temporary memory resource.
> PciWrite32 ( GipAddr + PcdGet8 (PcdIohGpioBarRegister), TempBarAddr);
> PciWrite8 ( GipAddr + PCI_COMMAND_OFFSET, EFI_PCI_COMMAND_MEMORY_SPACE);
>
> diff --git a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c
> b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c
> index 96c8774..808b00b 100644
> --- a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c
> +++ b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.c
> @@ -1156,7 +1156,7 @@ ResetSDHost (
>
> //
> // To improve SD stability, we zero the MMIO_CLKCTL register and
> - // stall for 50 microseconds before reseting the controller. We
> + // stall for 50 microseconds before resetting the controller. We
> // restore the register setting following the reset operation.
> //
> PciIo->Mem.Read (
> @@ -1713,7 +1713,7 @@ Exit:
>
>
> /**
> - Stop this driver on ControllerHandle. Support stoping any child handles
> + Stop this driver on ControllerHandle. Support stopping any child handles
> created by this driver.
>
> @param This Protocol instance pointer.
> diff --git a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h
> b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h
> index d5302ba..5b0e1db 100644
> --- a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h
> +++ b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController.h
> @@ -117,7 +117,7 @@ SDControllerStart (
> );
>
> /**
> - Stop this driver on ControllerHandle. Support stoping any child handles
> + Stop this driver on ControllerHandle. Support stopping any child handles
> created by this driver.
>
> @param This Protocol instance pointer.
> diff --git a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c
> b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c
> index 1a0682c..21090be 100644
> --- a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c
> +++ b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.c
> @@ -247,7 +247,7 @@ Exit:
>
>
> /**
> - Stop this driver on ControllerHandle. Support stoping any child handles
> + Stop this driver on ControllerHandle. Support stopping any child handles
> created by this driver.
>
> @param This Protocol instance pointer.
> diff --git a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h
> b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h
> index 1550429..f7c8b86 100644
> --- a/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h
> +++ b/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDevice.h
> @@ -155,7 +155,7 @@ SDMediaDeviceStart (
> );
>
> /**
> - Stop this driver on ControllerHandle. Support stoping any child handles
> + Stop this driver on ControllerHandle. Support stopping any child handles
> created by this driver.
>
> @param This Protocol instance pointer.
> diff --git a/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c
> b/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c
> index e19d4d8..930f597 100644
> --- a/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c
> +++ b/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.c
> @@ -2203,7 +2203,7 @@ OhciCleanDevUp (
> One notified function to stop the Host Controller when gBS->ExitBootServices()
> called.
>
> @param Event Pointer to this event
> - @param Context Event hanlder private data
> + @param Context Event handler private data
> **/
> VOID
> EFIAPI
> @@ -2429,7 +2429,7 @@ CLOSE_PCIIO:
> }
>
> /**
> - Stop this driver on ControllerHandle. Support stoping any child handles
> + Stop this driver on ControllerHandle. Support stopping any child handles
> created by this driver.
>
> @param This Protocol instance pointer.
> diff --git a/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h
> b/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h
> index 1bfe4a8..56a1cdb 100644
> --- a/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h
> +++ b/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/Ohci.h
> @@ -645,7 +645,7 @@ OHCIDriverBindingStart (
> );
>
> /**
> - Stop this driver on ControllerHandle. Support stoping any child handles
> + Stop this driver on ControllerHandle. Support stopping any child handles
> created by this driver.
>
> @param This Protocol instance pointer.
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 23/33] NetworkPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 23/33] NetworkPkg: " Gary Lin
2016-10-19 7:21 ` Fu, Siyuan
@ 2016-10-26 0:53 ` Fu, Siyuan
1 sibling, 0 replies; 79+ messages in thread
From: Fu, Siyuan @ 2016-10-26 0:53 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Wu, Jiaxin
NetworkPkg patch committed d1c85a17fa8623e3fe60a6fe398f01e46d427a96
BestRegards
Fu Siyuan
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Gary Lin
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Fu, Siyuan <siyuan.fu@intel.com>; Wu, Jiaxin <jiaxin.wu@intel.com>
> Subject: [edk2] [PATCH 23/33] NetworkPkg: Fix typos in comments
>
> - assocated -> associated
> - malformated -> malformatted
> - mal-formated -> mal-formatted
> - formated -> formatted
> - octects -> octets
> - responsiblity -> responsibility
> - enought -> enough
> - immediatly -> immediately
> - integar -> integer
> - Alogrithem -> Algorithm
> - Initializeion -> Initialization
> - primelenght -> primelength
> - Vlaue -> Value
> - perfoms -> performs
> - randome -> random
> - verifed -> verified
> - finallization -> finalization
> - Intializes -> Initializes
> - specifed -> specified
> - if -> If
> - Decrption -> Decryption
> - Autahentication -> Authentication
> - informatino -> information
> - alogrithm -> algorithm
> - Authenticaion -> Authentication
> - Alogrithem -> Algorithm
> - containning -> containing
> - paramter -> parameter
>
> Cc: Siyuan Fu <siyuan.fu@intel.com>
> Cc: Jiaxin Wu <jiaxin.wu@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> NetworkPkg/Application/Ping6/Ping6.c | 8 +--
> NetworkPkg/IScsiDxe/IScsiProto.c | 4 +-
> NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 +-
> NetworkPkg/Ip6Dxe/Ip6Option.c | 16 ++---
> NetworkPkg/Ip6Dxe/Ip6Option.h | 10 +--
> NetworkPkg/Ip6Dxe/Ip6Output.c | 8 +--
> NetworkPkg/IpSecDxe/IpSecCryptIo.c | 50 +++++++--------
> NetworkPkg/IpSecDxe/IpSecCryptIo.h | 66 ++++++++++----------
> 8 files changed, 82 insertions(+), 82 deletions(-)
>
> diff --git a/NetworkPkg/Application/Ping6/Ping6.c
> b/NetworkPkg/Application/Ping6/Ping6.c
> index 55314e5..66daac2 100644
> --- a/NetworkPkg/Application/Ping6/Ping6.c
> +++ b/NetworkPkg/Application/Ping6/Ping6.c
> @@ -1103,7 +1103,7 @@ InitializePing6 (
> BufferSize = 16;
>
> //
> - // Parse the paramter of count number.
> + // Parse the parameter of count number.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");
> ValueStrPtr = ValueStr;
> @@ -1120,7 +1120,7 @@ InitializePing6 (
> }
> }
> //
> - // Parse the paramter of buffer size.
> + // Parse the parameter of buffer size.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");
> ValueStrPtr = ValueStr;
> @@ -1141,7 +1141,7 @@ InitializePing6 (
> ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));
>
> //
> - // Parse the paramter of source ip address.
> + // Parse the parameter of source ip address.
> //
> ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");
> ValueStrPtr = ValueStr;
> @@ -1155,7 +1155,7 @@ InitializePing6 (
> }
> }
> //
> - // Parse the paramter of destination ip address.
> + // Parse the parameter of destination ip address.
> //
> NonOptionCount = ShellCommandLineGetCount(ParamPackage);
> ValueStr = ShellCommandLineGetRawValue (ParamPackage,
> (UINT32)(NonOptionCount-1));
> diff --git a/NetworkPkg/IScsiDxe/IScsiProto.c
> b/NetworkPkg/IScsiDxe/IScsiProto.c
> index 88d9bdd..eb77d75 100644
> --- a/NetworkPkg/IScsiDxe/IScsiProto.c
> +++ b/NetworkPkg/IScsiDxe/IScsiProto.c
> @@ -786,7 +786,7 @@ IScsiPrepareLoginReq (
>
> case ISCSI_LOGIN_OPERATIONAL_NEGOTIATION:
> //
> - // Only negotiate the paramter once.
> + // Only negotiate the parameter once.
> //
> if (!Conn->ParamNegotiated) {
> IScsiFillOpParams (Conn, Nbuf);
> @@ -2117,7 +2117,7 @@ IScsiNewDataSegment (
>
> @param[in] Packet The EXT SCSI PASS THRU request packet containing the
> SCSI command.
> @param[in] Lun The LUN.
> - @param[in] Tcb The tcb assocated with this SCSI command.
> + @param[in] Tcb The tcb associated with this SCSI command.
>
> @return The created iSCSI SCSI command PDU.
> @retval NULL Other errors as indicated.
> diff --git a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
> b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
> index 75ecec1..9b6a62e 100644
> --- a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
> +++ b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
> @@ -121,7 +121,7 @@ Ip6ConfigOnPolicyChanged (
>
> if (NewPolicy == Ip6ConfigPolicyAutomatic) {
> //
> - // Set paramters to trigger router solicitation sending in timer
> handler.
> + // Set parameters to trigger router solicitation sending in timer
> handler.
> //
> IpSb->RouterAdvertiseReceived = FALSE;
> IpSb->SolicitTimer = IP6_MAX_RTR_SOLICITATIONS;
> diff --git a/NetworkPkg/Ip6Dxe/Ip6Option.c b/NetworkPkg/Ip6Dxe/Ip6Option.c
> index 9a91fd7..21d28b6 100644
> --- a/NetworkPkg/Ip6Dxe/Ip6Option.c
> +++ b/NetworkPkg/Ip6Dxe/Ip6Option.c
> @@ -18,7 +18,7 @@
> /**
> Validate the IP6 option format for both the packets we received
> and that we will transmit. It will compute the ICMPv6 error message
> fields
> - if the option is malformated.
> + if the option is malformatted.
>
> @param[in] IpSb The IP6 service data.
> @param[in] Packet The to be validated packet.
> @@ -29,7 +29,7 @@
>
>
> @retval TRUE The option is properly formatted.
> - @retval FALSE The option is malformated.
> + @retval FALSE The option is malformatted.
>
> **/
> BOOLEAN
> @@ -126,7 +126,7 @@ Ip6IsOptionValid (
> @param[in] OptionLen The length of the whole option.
>
> @retval TRUE The option is properly formatted.
> - @retval FALSE The option is malformated.
> + @retval FALSE The option is malformatted.
>
> **/
> BOOLEAN
> @@ -231,7 +231,7 @@ Ip6IsValidProtocol (
> /**
> Validate the IP6 extension header format for both the packets we
> received
> and that we will transmit. It will compute the ICMPv6 error message
> fields
> - if the option is mal-formated.
> + if the option is mal-formatted.
>
> @param[in] IpSb The IP6 service instance. This is an optional
> parameter.
> @param[in] Packet The data of the packet. Ignored if NULL.
> @@ -252,8 +252,8 @@ Ip6IsValidProtocol (
> @param[out] Fragmented Indicate whether the packet is fragmented.
> This is an optional parameter that may be
> NULL.
>
> - @retval TRUE The option is properly formated.
> - @retval FALSE The option is malformated.
> + @retval TRUE The option is properly formatted.
> + @retval FALSE The option is malformatted.
>
> **/
> BOOLEAN
> @@ -436,7 +436,7 @@ Ip6IsExtsValid (
>
> //
> // RFC2460, ICMP Parameter Problem message with code 0 should be
> sent
> - // if the length of a fragment is not a multiple of 8 octects and
> the M
> + // if the length of a fragment is not a multiple of 8 octets and
> the M
> // flag of that fragment is 1, pointing to the Payload length field
> of the
> // fragment packet.
> //
> @@ -606,7 +606,7 @@ Ip6FillHopByHop (
> @param[in] ExtHdrsLen The length of the extension headers.
> @param[in] FragmentOffset The fragment offset of the data following
> the header.
> @param[out] UpdatedExtHdrs The updated ExtHdrs with Fragment header
> inserted.
> - It's caller's responsiblity to free this
> buffer.
> + It's caller's responsibility to free this
> buffer.
>
> @retval EFI_OUT_OF_RESOURCES Failed to finish the operation due to lake
> of
> resource.
> diff --git a/NetworkPkg/Ip6Dxe/Ip6Option.h b/NetworkPkg/Ip6Dxe/Ip6Option.h
> index b62a042..242ec51 100644
> --- a/NetworkPkg/Ip6Dxe/Ip6Option.h
> +++ b/NetworkPkg/Ip6Dxe/Ip6Option.h
> @@ -51,7 +51,7 @@ typedef enum {
> /**
> Validate the IP6 extension header format for both the packets we
> received
> and that we will transmit. It will compute the ICMPv6 error message
> fields
> - if the option is mal-formated.
> + if the option is mal-formatted.
>
> @param[in] IpSb The IP6 service instance. This is an optional
> parameter.
> @param[in] Packet The data of the packet. Ignored if NULL.
> @@ -72,8 +72,8 @@ typedef enum {
> @param[out] Fragmented Indicate whether the packet is fragmented.
> This is an optional parameter that may be
> NULL.
>
> - @retval TRUE The option is properly formated.
> - @retval FALSE The option is malformated.
> + @retval TRUE The option is properly formatted.
> + @retval FALSE The option is malformatted.
>
> **/
> BOOLEAN
> @@ -122,7 +122,7 @@ Ip6FillHopByHop (
> @param[in] ExtHdrsLen The length of the extension headers.
> @param[in] FragmentOffset The fragment offset of the data following
> the header.
> @param[out] UpdatedExtHdrs The updated ExtHdrs with Fragment header
> inserted.
> - It's caller's responsiblity to free this
> buffer.
> + It's caller's responsibility to free this
> buffer.
>
> @retval EFI_OUT_OF_RESOURCES Failed to finish the operation due to lake
> of
> resource.
> @@ -179,7 +179,7 @@ Ip6CopyExts (
> @param[in] OptionLen The length of the whole option.
>
> @retval TRUE The option is properly formatted.
> - @retval FALSE The option is malformated.
> + @retval FALSE The option is malformatted.
>
> **/
> BOOLEAN
> diff --git a/NetworkPkg/Ip6Dxe/Ip6Output.c b/NetworkPkg/Ip6Dxe/Ip6Output.c
> index fe642d3..8330e37 100644
> --- a/NetworkPkg/Ip6Dxe/Ip6Output.c
> +++ b/NetworkPkg/Ip6Dxe/Ip6Output.c
> @@ -23,7 +23,7 @@ UINT32 mIp6Id;
>
> @param[in] IpSb Points to an IP6 service binding
> instance.
> @param[out] SourceList The list entry head of all source
> addresses.
> - It is the caller's responsiblity to
> free the
> + It is the caller's responsibility to
> free the
> resources.
> @param[out] SourceCount The number of source addresses.
>
> @@ -364,7 +364,7 @@ Ip6SysPacketSent (
> @param[in] LastHeader The pointer of next header of last
> extension header.
> @param[in] HeadLen The length of the unfragmented part of the
> IP6 header.
>
> - @retval EFI_BAD_BUFFER_SIZE There is no enought room in the head space
> of
> + @retval EFI_BAD_BUFFER_SIZE There is no enough room in the head space
> of
> Packet.
> @retval EFI_SUCCESS The operation performed successfully.
>
> @@ -726,7 +726,7 @@ Ip6Output (
> }
>
> //
> - // Send out multicast neighbor solicitation for address resolution
> immediatly.
> + // Send out multicast neighbor solicitation for address resolution
> immediately.
> //
> Ip6CreateSNMulticastAddr (&NeighborCache->Neighbor, &Destination);
> Status = Ip6SelectSourceAddress (IpSb, &NeighborCache->Neighbor,
> &Source);
> @@ -809,7 +809,7 @@ Ip6Output (
> //
> // OK, selected the source and route, fragment the packet then send
> // them. Tag each fragment other than the first one as spawn from it.
> - // Each extension header is an integar multiple of 8 octets long, in
> + // Each extension header is an integer multiple of 8 octets long, in
> // order to retain 8-octet alignment for subsequent headers.
> //
> Mtu = IpSb->MaxPacketSize + sizeof (EFI_IP6_HEADER);
> diff --git a/NetworkPkg/IpSecDxe/IpSecCryptIo.c
> b/NetworkPkg/IpSecDxe/IpSecCryptIo.c
> index dca4423..31fa4fb 100644
> --- a/NetworkPkg/IpSecDxe/IpSecCryptIo.c
> +++ b/NetworkPkg/IpSecDxe/IpSecCryptIo.c
> @@ -45,7 +45,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED HASH_ALGORITHM
> mIpsecHashAlgorithmList[IPSEC_HASH_
> BOOLEAN mInitialRandomSeed = FALSE;
>
> /**
> - Get the block size of specified encryption alogrithm.
> + Get the block size of specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -69,7 +69,7 @@ IpSecGetEncryptBlockSize (
> }
>
> /**
> - Get the key length of the specified encryption alogrithm.
> + Get the key length of the specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -93,7 +93,7 @@ IpSecGetEncryptKeyLength (
> }
>
> /**
> - Get the IV size of the specified encryption alogrithm.
> + Get the IV size of the specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -144,7 +144,7 @@ IpSecGetHmacDigestLength (
> }
>
> /**
> - Get the ICV size of the specified Authenticaion alogrithm.
> + Get the ICV size of the specified Authenticaion algorithm.
>
> @param[in] AlgorithmId The Authentication algorithm ID.
>
> @@ -191,7 +191,7 @@ IpSecGenerateIv (
> }
>
> /**
> - Get index of the specified encryption alogrithm from the
> mIpsecEncryptAlgorithemList.
> + Get index of the specified encryption algorithm from the
> mIpsecEncryptAlgorithmList.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -215,7 +215,7 @@ IpSecGetIndexFromEncList (
> }
>
> /**
> - Get index of the specified encryption alogrithm from the
> mIpsecAuthAlgorithemList.
> + Get index of the specified encryption algorithm from the
> mIpsecAuthAlgorithmList.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -245,14 +245,14 @@ IpSecGetIndexFromAuthList (
> Encrypt the buffer.
>
> This function calls relevant encryption interface from CryptoLib
> according to
> - the input alogrithm ID. The InData should be multiple of block size.
> This function
> + the input algorithm ID. The InData should be multiple of block size.
> This function
> doesn't perform the padding. If it has the Ivec data, the length of it
> should be
> same with the block size. The block size is different from the
> different algorithm.
>
> - @param[in] AlgorithmId The Alogrithem identification defined
> in RFC.
> + @param[in] AlgorithmId The Algorithm identification defined in
> RFC.
> @param[in] Key Pointer to the buffer containing
> encrypting key.
> @param[in] KeyBits The length of the key in bits.
> - @param[in] Ivec Point to the buffer containning the
> Initializeion
> + @param[in] Ivec Point to the buffer containing the
> Initialization
> Vector (IV) data.
> @param[in] InData Point to the buffer containing the data
> to be
> encrypted.
> @@ -331,14 +331,14 @@ IpSecCryptoIoEncrypt (
> Decrypts the buffer.
>
> This function calls relevant Decryption interface from CryptoLib
> according to
> - the input alogrithm ID. The InData should be multiple of block size.
> This function
> + the input algorithm ID. The InData should be multiple of block size.
> This function
> doesn't perform the padding. If it has the Ivec data, the length of it
> should be
> same with the block size. The block size is different from the
> different algorithm.
>
> - @param[in] AlgorithmId The Alogrithem identification defined
> in RFC.
> + @param[in] AlgorithmId The Algorithm identification defined in
> RFC.
> @param[in] Key Pointer to the buffer containing
> encrypting key.
> @param[in] KeyBits The length of the key in bits.
> - @param[in] Ivec Point to the buffer containning the
> Initializeion
> + @param[in] Ivec Point to the buffer containing the
> Initialization
> Vector (IV) data.
> @param[in] InData Point to the buffer containing the data
> to be
> decrypted.
> @@ -417,9 +417,9 @@ IpSecCryptoIoDecrypt (
> Digests the Payload with key and store the result into the OutData.
>
> This function calls relevant Hmac interface from CryptoLib according to
> - the input alogrithm ID. It computes all datas from InDataFragment and
> output
> + the input algorithm ID. It computes all datas from InDataFragment and
> output
> the result into the OutData buffer. If the OutDataSize is larger than
> the related
> - HMAC alogrithm output size, return EFI_INVALID_PARAMETER.
> + HMAC algorithm output size, return EFI_INVALID_PARAMETER.
>
> @param[in] AlgorithmId The authentication Identification.
> @param[in] Key Pointer of the authentication key.
> @@ -540,9 +540,9 @@ Exit:
> Digests the Payload and store the result into the OutData.
>
> This function calls relevant Hash interface from CryptoLib according to
> - the input alogrithm ID. It computes all datas from InDataFragment and
> output
> + the input algorithm ID. It computes all datas from InDataFragment and
> output
> the result into the OutData buffer. If the OutDataSize is larger than
> the related
> - Hash alogrithm output size, return EFI_INVALID_PARAMETER.
> + Hash algorithm output size, return EFI_INVALID_PARAMETER.
>
> @param[in] AlgorithmId The authentication Identification.
> @param[in] InDataFragment A list contains all data to be
> authenticated.
> @@ -657,14 +657,14 @@ Exit:
> Generates the Diffie-Hellman public key.
>
> This function first initiate a DHContext, then call the DhSetParameter()
> to set
> - the prime and primelenght, at end call the DhGenerateKey() to generates
> random
> + the prime and primelength, at end call the DhGenerateKey() to generates
> random
> secret exponent, and computes the public key. The output returned via
> parameter
> PublicKey and PublicKeySize. DH context is updated accordingly. If the
> PublicKey
> buffer is too small to hold the public key, EFI_INVALID_PARAMETER is
> returned
> and PublicKeySize is set to the required buffer size to obtain the
> public key.
>
> @param[in, out] DhContext Pointer to the DH context.
> - @param[in] Generator Vlaue of generator.
> + @param[in] Generator Value of generator.
> @param[in] PrimeLength Length in bits of prime to be generated.
> @param[in] Prime Pointer to the buffer to receive the
> generated
> prime number.
> @@ -673,7 +673,7 @@ Exit:
> For out, the size of data returned in
> PublicKey
> buffer in bytes.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -725,7 +725,7 @@ Exit:
> For out, the size of data returned in
> Key
> buffer in bytes.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -750,7 +750,7 @@ IpSecCryptoIoDhComputeKey (
>
> @param[in, out] DhContext Pointer to the DH context to be
> freed.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval EFI_INVALID_PARAMETER The DhContext is NULL.
>
> **/
> @@ -773,9 +773,9 @@ IpSecCryptoIoFreeDh (
> If the Random Generator wasn't initiated, initiate it first, then call
> RandomBytes.
>
> @param[out] OutBuffer Pointer to buffer to receive random value.
> - @param[in] Bytes Size of randome bytes to generate.
> + @param[in] Bytes Size of random bytes to generate.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -869,9 +869,9 @@ IpSecCryptoIoAuthDataWithCertificate (
> @param[in] CertLen The size of Certificate in bytes.
> @param[in] InCa Pointer to the CA certificate
> @param[in] CaLen The size of CA certificate in bytes.
> - @param[in] InData Pointer to octect message hash to be
> checked.
> + @param[in] InData Pointer to octet message hash to be
> checked.
> @param[in] InDataSize Size of the message hash in bytes.
> - @param[in] Singnature The pointer to the RSA PKCS1-V1_5
> signature to be verifed.
> + @param[in] Singnature The pointer to the RSA PKCS1-V1_5
> signature to be verified.
> @param[in] SigSize Size of signature in bytes.
>
> @retval TRUE Valid signature encoded in PKCS1-v1_5.
> diff --git a/NetworkPkg/IpSecDxe/IpSecCryptIo.h
> b/NetworkPkg/IpSecDxe/IpSecCryptIo.h
> index 0e106af..0ef83eb 100644
> --- a/NetworkPkg/IpSecDxe/IpSecCryptIo.h
> +++ b/NetworkPkg/IpSecDxe/IpSecCryptIo.h
> @@ -104,7 +104,7 @@ BOOLEAN
> );
>
> /**
> - Prototype of HMAC finallization.
> + Prototype of HMAC finalization.
> Terminate a HMAC message digest operation and output the message digest.
>
> If Context is NULL, then ASSERT().
> @@ -139,7 +139,7 @@ UINTN
>
> /**
> Prototype of Block Cipher initiation.
> - Intializes the user-supplied key as the specifed context (key materials)
> for both
> + Initializes the user-supplied key as the specified context (key
> materials) for both
> encryption and decryption operations.
>
> If Context is NULL, then ASSERT().
> @@ -165,7 +165,7 @@ BOOLEAN
> Encrypts plaintext message with the specified cipher.
>
> If Context is NULL, then ASSERT().
> - if InData is NULL, then ASSERT().
> + If InData is NULL, then ASSERT().
> If Size of input data is not multiple of Cipher algorithm related block
> size,
> then ASSERT().
>
> @@ -193,7 +193,7 @@ BOOLEAN
> Decrypts cipher message with specified cipher.
>
> If Context is NULL, then ASSERT().
> - if InData is NULL, then ASSERT().
> + If InData is NULL, then ASSERT().
> If Size of input data is not a multiple of a certaion block size , then
> ASSERT().
>
> @param[in] Context The specified Context.
> @@ -256,7 +256,7 @@ BOOLEAN
>
> This function performs digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - Context should be already correctly intialized by HashInit(), and
> should not be finalized
> + Context should be already correctly initialized by HashInit(), and
> should not be finalized
> by HashFinal(). Behavior with invalid context is undefined.
>
> If Context is NULL, then ASSERT().
> @@ -285,7 +285,7 @@ BOOLEAN
> This function completes hash computation and retrieves the digest value
> into
> the specified memory. After this function has been called, the context
> cannot
> be used again.
> - context should be already correctly intialized by HashInit(), and
> should not be
> + context should be already correctly initialized by HashInit(), and
> should not be
> finalized by HashFinal(). Behavior with invalid context is undefined.
>
> If Context is NULL, then ASSERT().
> @@ -339,13 +339,13 @@ typedef struct _ENCRYPT_ALGORITHM {
> //
> CRYPTO_CIPHER_ENCRYPT CipherEncrypt;
> //
> - // The Function pointer of Cipher Decrption.
> + // The Function pointer of Cipher Decryption.
> //
> CRYPTO_CIPHER_DECRYPT CipherDecrypt;
> } ENCRYPT_ALGORITHM;
>
> //
> -// The struct used to store the information and operation of
> Autahentication algorithm.
> +// The struct used to store the information and operation of
> Authentication algorithm.
> //
> typedef struct _AUTH_ALGORITHM {
> //
> @@ -383,7 +383,7 @@ typedef struct _AUTH_ALGORITHM {
> } AUTH_ALGORITHM;
>
> //
> -// The struct used to store the informatino and operation of Hash
> algorithm.
> +// The struct used to store the information and operation of Hash
> algorithm.
> //
> typedef struct _HASH_ALGORITHM {
> //
> @@ -421,7 +421,7 @@ typedef struct _HASH_ALGORITHM {
> } HASH_ALGORITHM;
>
> /**
> - Get the IV size of specified encryption alogrithm.
> + Get the IV size of specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -434,7 +434,7 @@ IpSecGetEncryptIvLength (
> );
>
> /**
> - Get the block size of specified encryption alogrithm.
> + Get the block size of specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -447,7 +447,7 @@ IpSecGetEncryptBlockSize (
> );
>
> /**
> - Get the required key length of the specified encryption alogrithm.
> + Get the required key length of the specified encryption algorithm.
>
> @param[in] AlgorithmId The encryption algorithm ID.
>
> @@ -460,7 +460,7 @@ IpSecGetEncryptKeyLength (
> );
>
> /**
> - Get the ICV size of the specified Authenticaion alogrithm.
> + Get the ICV size of the specified Authentication algorithm.
>
> @param[in] AlgorithmId The Authentication algorithm ID.
>
> @@ -475,7 +475,7 @@ IpSecGetIcvLength (
> /**
> Get the HMAC digest length by the specified Algorithm ID.
>
> - @param[in] AlgorithmId The specified Alogrithm ID.
> + @param[in] AlgorithmId The specified Algorithm ID.
>
> @return The digest length of the specified Authentication Algorithm ID.
>
> @@ -505,14 +505,14 @@ IpSecGenerateIv (
> Encrypt the buffer.
>
> This function calls relevant encryption interface from CryptoLib
> according to
> - the input alogrithm ID. The InData should be multiple of block size.
> This function
> + the input algorithm ID. The InData should be multiple of block size.
> This function
> doesn't perform the padding. If it has the Ivec data, the length of it
> should be
> same with the block size. The block size is different from the
> different algorithm.
>
> - @param[in] AlgorithmId The Alogrithem identification defined
> in RFC.
> + @param[in] AlgorithmId The Algorithm identification defined in
> RFC.
> @param[in] Key Pointer to the buffer containing
> encrypting key.
> @param[in] KeyBits The length of the key in bits.
> - @param[in] Ivec Point to the buffer containning the
> Initializeion
> + @param[in] Ivec Point to the buffer containing the
> Initialization
> Vector (IV) data.
> @param[in] InData Point to the buffer containing the data
> to be
> encrypted.
> @@ -540,14 +540,14 @@ IpSecCryptoIoEncrypt (
> Decrypts the buffer.
>
> This function calls relevant Decryption interface from CryptoLib
> according to
> - the input alogrithm ID. The InData should be multiple of block size.
> This function
> + the input algorithm ID. The InData should be multiple of block size.
> This function
> doesn't perform the padding. If it has the Ivec data, the length of it
> should be
> same with the block size. The block size is different from the
> different algorithm.
>
> - @param[in] AlgorithmId The Alogrithem identification defined
> in RFC.
> + @param[in] AlgorithmId The Algorithm identification defined in
> RFC.
> @param[in] Key Pointer to the buffer containing
> encrypting key.
> @param[in] KeyBits The length of the key in bits.
> - @param[in] Ivec Point to the buffer containning the
> Initializeion
> + @param[in] Ivec Point to the buffer containing the
> Initialization
> Vector (IV) data.
> @param[in] InData Point to the buffer containing the data
> to be
> decrypted.
> @@ -575,9 +575,9 @@ IpSecCryptoIoDecrypt (
> Digests the Payload with key and store the result into the OutData.
>
> This function calls relevant Hmac interface from CryptoLib according to
> - the input alogrithm ID. It computes all datas from InDataFragment and
> output
> + the input algorithm ID. It computes all datas from InDataFragment and
> output
> the result into the OutData buffer. If the OutDataSize is larger than
> the related
> - HMAC alogrithm output size, return EFI_INVALID_PARAMETER.
> + HMAC algorithm output size, return EFI_INVALID_PARAMETER.
>
> @param[in] AlgorithmId The authentication Identification.
> @param[in] Key Pointer of the authentication key.
> @@ -609,9 +609,9 @@ IpSecCryptoIoHmac (
> Digests the Payload and store the result into the OutData.
>
> This function calls relevant Hash interface from CryptoLib according to
> - the input alogrithm ID. It computes all datas from InDataFragment and
> output
> + the input algorithm ID. It computes all datas from InDataFragment and
> output
> the result into the OutData buffer. If the OutDataSize is larger than
> the related
> - Hash alogrithm output size, return EFI_INVALID_PARAMETER.
> + Hash algorithm output size, return EFI_INVALID_PARAMETER.
>
> @param[in] AlgorithmId The authentication Identification.
> @param[in] InDataFragment A list contains all data to be
> authenticated.
> @@ -640,14 +640,14 @@ IpSecCryptoIoHash (
> Generates the Diffie-Hellman public key.
>
> This function first initiate a DHContext, then call the DhSetParameter()
> to set
> - the prime and primelenght, at end call the DhGenerateKey() to generates
> random
> + the prime and primelength, at end call the DhGenerateKey() to generates
> random
> secret exponent, and computes the public key. The output returned via
> parameter
> PublicKey and PublicKeySize. DH context is updated accordingly. If the
> PublicKey
> buffer is too small to hold the public key, EFI_INVALID_PARAMETER is
> returned
> and PublicKeySize is set to the required buffer size to obtain the
> public key.
>
> @param[in, out] DhContext Pointer to the DH context.
> - @param[in] Generator Vlaue of generator.
> + @param[in] Generator Value of generator.
> @param[in] PrimeLength Length in bits of prime to be generated.
> @param[in] Prime Pointer to the buffer to receive the
> generated
> prime number.
> @@ -656,7 +656,7 @@ IpSecCryptoIoHash (
> For out, the size of data returned in
> PublicKey
> buffer in bytes.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -684,7 +684,7 @@ IpSecCryptoIoDhGetPublicKey (
> For out, the size of data returned in
> Key
> buffer in bytes.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -702,7 +702,7 @@ IpSecCryptoIoDhComputeKey (
>
> @param[in, out] DhContext Pointer to the DH context to be
> freed.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval EFI_INVALID_PARAMETER The DhContext is NULL.
>
> **/
> @@ -717,9 +717,9 @@ IpSecCryptoIoFreeDh (
> If the Random Generator wasn't initiated, initiate it first, then call
> RandomBytes.
>
> @param[out] OutBuffer Pointer to buffer to receive random value.
> - @param[in] Bytes Size of randome bytes to generate.
> + @param[in] Bytes Size of random bytes to generate.
>
> - @retval EFI_SUCCESS The operation perfoms successfully.
> + @retval EFI_SUCCESS The operation performs successfully.
> @retval Otherwise The operation is failed.
>
> **/
> @@ -762,9 +762,9 @@ IpSecCryptoIoAuthDataWithCertificate (
> @param[in] CertLen The size of Certificate in bytes.
> @param[in] InCa Pointer to the CA certificate
> @param[in] CaLen The size of CA certificate in bytes.
> - @param[in] InData Pointer to octect message hash to be
> checked.
> + @param[in] InData Pointer to octet message hash to be
> checked.
> @param[in] InDataSize Size of the message hash in bytes.
> - @param[in] Singnature The pointer to the RSA PKCS1-V1_5
> signature to be verifed.
> + @param[in] Singnature The pointer to the RSA PKCS1-V1_5
> signature to be verified.
> @param[in] SigSize Size of signature in bytes.
>
> @retval TRUE Valid signature encoded in PKCS1-v1_5.
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 05/33] CryptoPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 05/33] CryptoPkg: " Gary Lin
@ 2016-10-26 3:00 ` Long, Qin
0 siblings, 0 replies; 79+ messages in thread
From: Long, Qin @ 2016-10-26 3:00 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Ye, Ting
Thanks.
Reviewed-by: Qin Long <qin.long@intel.com> to CryptoPkg fixes.
Best Regards & Thanks,
LONG, Qin
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Gary Lin
> Sent: Wednesday, October 19, 2016 3:01 PM
> To: edk2-devel@lists.01.org
> Cc: Ye, Ting <ting.ye@intel.com>; Long, Qin <qin.long@intel.com>
> Subject: [edk2] [PATCH 05/33] CryptoPkg: Fix typos in comments
>
> - intialized -> initialized
> - componenet -> component
> - compoents -> components
> - FAlSE -> FALSE
> - responsiblity -> responsibility
> - validility -> validity
> - procudure -> procedure
> - pamameter -> parameter
> - randome -> random
> - buiild -> build
>
> Cc: Ting Ye <ting.ye@intel.com>
> Cc: Qin Long <qin.long@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> CryptoPkg/Include/Library/BaseCryptLib.h | 68
> ++++++++++----------
> CryptoPkg/Include/OpenSslSupport.h | 14 ++--
> CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c | 8 +--
> CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c | 4
> +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c | 8 +--
> CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c | 4 +-
> CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c | 2 +-
> CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c | 2 +-
>
> CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthenticod
> eNull.c | 4 +-
> CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7Verify
> Null.c | 2 +-
>
> CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNull.
> c | 2 +-
>
> CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCryptL
> ib.c | 4 +-
> 26 files changed, 84 insertions(+), 84 deletions(-)
>
> diff --git a/CryptoPkg/Include/Library/BaseCryptLib.h
> b/CryptoPkg/Include/Library/BaseCryptLib.h
> index 0371d73..fc8c703 100644
> --- a/CryptoPkg/Include/Library/BaseCryptLib.h
> +++ b/CryptoPkg/Include/Library/BaseCryptLib.h
> @@ -140,7 +140,7 @@ Md4Duplicate (
>
> This function performs MD4 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - MD4 context should be already correctly intialized by Md4Init(), and should
> not be finalized
> + MD4 context should be already correctly initialized by Md4Init(), and
> + should not be finalized
> by Md4Final(). Behavior with invalid context is undefined.
>
> If Md4Context is NULL, then return FALSE.
> @@ -169,7 +169,7 @@ Md4Update (
> This function completes MD4 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the MD4 context
> cannot
> be used again.
> - MD4 context should be already correctly intialized by Md4Init(), and should
> not be
> + MD4 context should be already correctly initialized by Md4Init(), and
> + should not be
> finalized by Md4Final(). Behavior with invalid MD4 context is undefined.
>
> If Md4Context is NULL, then return FALSE.
> @@ -254,7 +254,7 @@ Md5Duplicate (
>
> This function performs MD5 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - MD5 context should be already correctly intialized by Md5Init(), and should
> not be finalized
> + MD5 context should be already correctly initialized by Md5Init(), and
> + should not be finalized
> by Md5Final(). Behavior with invalid context is undefined.
>
> If Md5Context is NULL, then return FALSE.
> @@ -283,7 +283,7 @@ Md5Update (
> This function completes MD5 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the MD5 context
> cannot
> be used again.
> - MD5 context should be already correctly intialized by Md5Init(), and should
> not be
> + MD5 context should be already correctly initialized by Md5Init(), and
> + should not be
> finalized by Md5Final(). Behavior with invalid MD5 context is undefined.
>
> If Md5Context is NULL, then return FALSE.
> @@ -368,7 +368,7 @@ Sha1Duplicate (
>
> This function performs SHA-1 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - SHA-1 context should be already correctly intialized by Sha1Init(), and
> should not be finalized
> + SHA-1 context should be already correctly initialized by Sha1Init(),
> + and should not be finalized
> by Sha1Final(). Behavior with invalid context is undefined.
>
> If Sha1Context is NULL, then return FALSE.
> @@ -397,7 +397,7 @@ Sha1Update (
> This function completes SHA-1 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the SHA-1
> context cannot
> be used again.
> - SHA-1 context should be already correctly intialized by Sha1Init(), and
> should not be
> + SHA-1 context should be already correctly initialized by Sha1Init(),
> + and should not be
> finalized by Sha1Final(). Behavior with invalid SHA-1 context is undefined.
>
> If Sha1Context is NULL, then return FALSE.
> @@ -477,7 +477,7 @@ Sha256Duplicate (
>
> This function performs SHA-256 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - SHA-256 context should be already correctly intialized by Sha256Init(), and
> should not be finalized
> + SHA-256 context should be already correctly initialized by
> + Sha256Init(), and should not be finalized
> by Sha256Final(). Behavior with invalid context is undefined.
>
> If Sha256Context is NULL, then return FALSE.
> @@ -504,7 +504,7 @@ Sha256Update (
> This function completes SHA-256 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the SHA-256
> context cannot
> be used again.
> - SHA-256 context should be already correctly intialized by Sha256Init(), and
> should not be
> + SHA-256 context should be already correctly initialized by
> + Sha256Init(), and should not be
> finalized by Sha256Final(). Behavior with invalid SHA-256 context is
> undefined.
>
> If Sha256Context is NULL, then return FALSE.
> @@ -582,7 +582,7 @@ Sha384Duplicate (
>
> This function performs SHA-384 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - SHA-384 context should be already correctly intialized by Sha384Init(), and
> should not be finalized
> + SHA-384 context should be already correctly initialized by
> + Sha384Init(), and should not be finalized
> by Sha384Final(). Behavior with invalid context is undefined.
>
> If Sha384Context is NULL, then return FALSE.
> @@ -609,7 +609,7 @@ Sha384Update (
> This function completes SHA-384 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the SHA-384
> context cannot
> be used again.
> - SHA-384 context should be already correctly intialized by Sha384Init(), and
> should not be
> + SHA-384 context should be already correctly initialized by
> + Sha384Init(), and should not be
> finalized by Sha384Final(). Behavior with invalid SHA-384 context is
> undefined.
>
> If Sha384Context is NULL, then return FALSE.
> @@ -687,7 +687,7 @@ Sha512Duplicate (
>
> This function performs SHA-512 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - SHA-512 context should be already correctly intialized by Sha512Init(), and
> should not be finalized
> + SHA-512 context should be already correctly initialized by
> + Sha512Init(), and should not be finalized
> by Sha512Final(). Behavior with invalid context is undefined.
>
> If Sha512Context is NULL, then return FALSE.
> @@ -714,7 +714,7 @@ Sha512Update (
> This function completes SHA-512 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the SHA-512
> context cannot
> be used again.
> - SHA-512 context should be already correctly intialized by Sha512Init(), and
> should not be
> + SHA-512 context should be already correctly initialized by
> + Sha512Init(), and should not be
> finalized by Sha512Final(). Behavior with invalid SHA-512 context is
> undefined.
>
> If Sha512Context is NULL, then return FALSE.
> @@ -805,7 +805,7 @@ HmacMd5Duplicate (
>
> This function performs HMAC-MD5 digest on a data buffer of the specified
> size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - HMAC-MD5 context should be already correctly intialized by
> HmacMd5Init(), and should not be
> + HMAC-MD5 context should be already correctly initialized by
> + HmacMd5Init(), and should not be
> finalized by HmacMd5Final(). Behavior with invalid context is undefined.
>
> If HmacMd5Context is NULL, then return FALSE.
> @@ -834,7 +834,7 @@ HmacMd5Update (
> This function completes HMAC-MD5 hash computation and retrieves the
> digest value into
> the specified memory. After this function has been called, the HMAC-MD5
> context cannot
> be used again.
> - HMAC-MD5 context should be already correctly intialized by
> HmacMd5Init(), and should not be
> + HMAC-MD5 context should be already correctly initialized by
> + HmacMd5Init(), and should not be
> finalized by HmacMd5Final(). Behavior with invalid HMAC-MD5 context is
> undefined.
>
> If HmacMd5Context is NULL, then return FALSE.
> @@ -923,7 +923,7 @@ HmacSha1Duplicate (
>
> This function performs HMAC-SHA1 digest on a data buffer of the specified
> size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - HMAC-SHA1 context should be already correctly intialized by
> HmacSha1Init(), and should not
> + HMAC-SHA1 context should be already correctly initialized by
> + HmacSha1Init(), and should not
> be finalized by HmacSha1Final(). Behavior with invalid context is undefined.
>
> If HmacSha1Context is NULL, then return FALSE.
> @@ -952,7 +952,7 @@ HmacSha1Update (
> This function completes HMAC-SHA1 hash computation and retrieves the
> digest value into
> the specified memory. After this function has been called, the HMAC-SHA1
> context cannot
> be used again.
> - HMAC-SHA1 context should be already correctly intialized by
> HmacSha1Init(), and should
> + HMAC-SHA1 context should be already correctly initialized by
> + HmacSha1Init(), and should
> not be finalized by HmacSha1Final(). Behavior with invalid HMAC-SHA1
> context is undefined.
>
> If HmacSha1Context is NULL, then return FALSE.
> @@ -1537,14 +1537,14 @@ RsaFree (
> This function sets the tag-designated RSA key component into the
> established
> RSA context from the user-specified non-negative integer (octet string
> format
> represented in RSA PKCS#1).
> - If BigNumber is NULL, then the specified key componenet in RSA context is
> cleared.
> + If BigNumber is NULL, then the specified key component in RSA context is
> cleared.
>
> If RsaContext is NULL, then return FALSE.
>
> @param[in, out] RsaContext Pointer to RSA context being set.
> @param[in] KeyTag Tag of RSA key component being set.
> @param[in] BigNumber Pointer to octet integer buffer.
> - If NULL, then the specified key componenet in RSA
> + If NULL, then the specified key
> + component in RSA
> context is cleared.
> @param[in] BnSize Size of big number buffer in bytes.
> If BigNumber is NULL, then it is ignored.
> @@ -1636,7 +1636,7 @@ RsaGenerateKey (
> NOTE: This function performs integrity checks on all the RSA key material,
> so
> the RSA key structure must contain all the private key data.
>
> - This function validates key compoents of RSA context in following aspects:
> + This function validates key components of RSA context in following aspects:
> - Whether p is a prime
> - Whether q is a prime
> - Whether n = p * q
> @@ -1942,16 +1942,16 @@ X509GetTBSCert (
> in a ContentInfo structure.
>
> If P7Data, CertStack, StackLength, TrustedCert or CertLength is NULL, then
> - return FALSE. If P7Length overflow, then return FAlSE.
> + return FALSE. If P7Length overflow, then return FALSE.
> If this interface is not supported, then return FALSE.
>
> @param[in] P7Data Pointer to the PKCS#7 message to verify.
> @param[in] P7Length Length of the PKCS#7 message in bytes.
> @param[out] CertStack Pointer to Signer's certificates retrieved from
> P7Data.
> - It's caller's responsiblity to free the buffer.
> + It's caller's responsibility to free the buffer.
> @param[out] StackLength Length of signer's certificates in bytes.
> @param[out] TrustedCert Pointer to a trusted certificate from Signer's
> certificates.
> - It's caller's responsiblity to free the buffer.
> + It's caller's responsibility to free the buffer.
> @param[out] CertLength Length of the trusted certificate in bytes.
>
> @retval TRUE The operation is finished successfully.
> @@ -1993,10 +1993,10 @@ Pkcs7FreeSigners (
> @param[in] P7Data Pointer to the PKCS#7 message.
> @param[in] P7Length Length of the PKCS#7 message in bytes.
> @param[out] SignerChainCerts Pointer to the certificates list chained to
> signer's
> - certificate. It's caller's responsiblity to free the buffer.
> + certificate. It's caller's responsibility to free the buffer.
> @param[out] ChainLength Length of the chained certificates list buffer
> in bytes.
> @param[out] UnchainCerts Pointer to the unchained certificates lists. It's
> caller's
> - responsiblity to free the buffer.
> + responsibility to free the buffer.
> @param[out] UnchainLength Length of the unchained certificates list
> buffer in bytes.
>
> @retval TRUE The operation is finished successfully.
> @@ -2055,12 +2055,12 @@ Pkcs7Sign (
> );
>
> /**
> - Verifies the validility of a PKCS#7 signed data as described in "PKCS #7:
> + Verifies the validity of a PKCS#7 signed data as described in "PKCS #7:
> Cryptographic Message Syntax Standard". The input signed data could be
> wrapped
> in a ContentInfo structure.
>
> If P7Data, TrustedCert or InData is NULL, then return FALSE.
> - If P7Length, CertLength or DataLength overflow, then return FAlSE.
> + If P7Length, CertLength or DataLength overflow, then return FALSE.
> If this interface is not supported, then return FALSE.
>
> @param[in] P7Data Pointer to the PKCS#7 message to verify.
> @@ -2092,7 +2092,7 @@ Pkcs7Verify (
> data could be wrapped in a ContentInfo structure.
>
> If P7Data, Content, or ContentSize is NULL, then return FALSE. If P7Length
> overflow,
> - then return FAlSE. If the P7Data is not correctly formatted, then return
> FALSE.
> + then return FALSE. If the P7Data is not correctly formatted, then return
> FALSE.
>
> Caution: This function may receive untrusted input. So this function will do
> basic check for PKCS#7 data structure.
> @@ -2100,7 +2100,7 @@ Pkcs7Verify (
> @param[in] P7Data Pointer to the PKCS#7 signed data to process.
> @param[in] P7Length Length of the PKCS#7 signed data in bytes.
> @param[out] Content Pointer to the extracted content from the PKCS#7
> signedData.
> - It's caller's responsiblity to free the buffer.
> + It's caller's responsibility to free the buffer.
> @param[out] ContentSize The size of the extracted content in bytes.
>
> @retval TRUE The P7Data was correctly formatted for processing.
> @@ -2117,7 +2117,7 @@ Pkcs7GetAttachedContent (
> );
>
> /**
> - Verifies the validility of a PE/COFF Authenticode Signature as described in
> "Windows
> + Verifies the validity of a PE/COFF Authenticode Signature as
> + described in "Windows
> Authenticode Portable Executable Signature Format".
>
> If AuthData is NULL, then return FALSE.
> @@ -2130,7 +2130,7 @@ Pkcs7GetAttachedContent (
> @param[in] TrustedCert Pointer to a trusted/root certificate encoded in
> DER, which
> is used for certificate chain verification.
> @param[in] CertSize Size of the trusted certificate in bytes.
> - @param[in] ImageHash Pointer to the original image file hash value. The
> procudure
> + @param[in] ImageHash Pointer to the original image file hash value. The
> procedure
> for calculating the image hash value is described in
> Authenticode
> specification.
> @param[in] HashSize Size of Image hash value in bytes.
> @@ -2152,7 +2152,7 @@ AuthenticodeVerify (
> );
>
> /**
> - Verifies the validility of a RFC3161 Timestamp CounterSignature embedded
> in PE/COFF Authenticode
> + Verifies the validity of a RFC3161 Timestamp CounterSignature
> + embedded in PE/COFF Authenticode
> signature.
>
> If AuthData is NULL, then return FALSE.
> @@ -2231,7 +2231,7 @@ DhFree (
> @param[in] PrimeLength Length in bits of prime to be generated.
> @param[out] Prime Pointer to the buffer to receive the generated
> prime number.
>
> - @retval TRUE DH pamameter generation succeeded.
> + @retval TRUE DH parameter generation succeeded.
> @retval FALSE Value of Generator is not supported.
> @retval FALSE PRNG fails to generate random prime number with
> PrimeLength.
> @retval FALSE This interface is not supported.
> @@ -2261,7 +2261,7 @@ DhGenerateParameter (
> @param[in] PrimeLength Length in bits of prime to be generated.
> @param[in] Prime Pointer to the prime number.
>
> - @retval TRUE DH pamameter setting succeeded.
> + @retval TRUE DH parameter setting succeeded.
> @retval FALSE Value of Generator is not supported.
> @retval FALSE Value of Generator is not suitable for the Prime.
> @retval FALSE Value of Prime is not a prime number.
> @@ -2382,7 +2382,7 @@ RandomSeed (
> If this interface is not supported, then return FALSE.
>
> @param[out] Output Pointer to buffer to receive random value.
> - @param[in] Size Size of randome bytes to generate.
> + @param[in] Size Size of random bytes to generate.
>
> @retval TRUE Pseudorandom byte stream generated successfully.
> @retval FALSE Pseudorandom number generator fails to generate due to
> lack of entropy.
> diff --git a/CryptoPkg/Include/OpenSslSupport.h
> b/CryptoPkg/Include/OpenSslSupport.h
> index 239ae8b..dad40e4 100644
> --- a/CryptoPkg/Include/OpenSslSupport.h
> +++ b/CryptoPkg/Include/OpenSslSupport.h
> @@ -69,7 +69,7 @@ typedef VOID *FILE;
> #endif
>
> //
> -// #defines from EFI Application Toolkit required to buiild Open SSL
> +// #defines from EFI Application Toolkit required to build Open SSL
> //
> #define ENOMEM 12 /* Cannot allocate memory */
> #define EINVAL 22 /* Invalid argument */
> @@ -92,7 +92,7 @@ typedef VOID *FILE;
> #define LOG_CONS 0x02 /* log on the console if errors in sending */
>
> //
> -// Macros from EFI Application Toolkit required to buiild Open SSL
> +// Macros from EFI Application Toolkit required to build Open SSL
> //
> /* The offsetof() macro calculates the offset of a structure member
> in its structure. Unfortunately this cannot be written down @@ -102,7
> +102,7 @@ typedef VOID *FILE; #define offsetof(type, member)
> OFFSET_OF (type, member)
>
> //
> -// Basic types from EFI Application Toolkit required to buiild Open SSL
> +// Basic types from EFI Application Toolkit required to build Open SSL
> //
> typedef UINTN size_t;
> typedef INTN ssize_t;
> @@ -120,7 +120,7 @@ typedef void *DIR;
> typedef void __sighandler_t (int);
>
> //
> -// Structures from EFI Application Toolkit required to buiild Open SSL
> +// Structures from EFI Application Toolkit required to build Open SSL
> //
> struct tm {
> int tm_sec; /* seconds after the minute [0-60] */
> @@ -173,12 +173,12 @@ struct stat {
> };
>
> //
> -// Externs from EFI Application Toolkit required to buiild Open SSL
> +// Externs from EFI Application Toolkit required to build Open SSL
> //
> extern int errno;
>
> //
> -// Function prototypes from EFI Application Toolkit required to buiild Open
> SSL
> +// Function prototypes from EFI Application Toolkit required to build
> +Open SSL
> //
> void *malloc (size_t);
> void *realloc (void *, size_t);
> @@ -247,7 +247,7 @@ void abort (void);
> __sighandler_t *signal (int, __sighandler_t *);
>
> //
> -// Global variables from EFI Application Toolkit required to buiild Open SSL
> +// Global variables from EFI Application Toolkit required to build Open
> +SSL
> //
> extern FILE *stderr;
> extern FILE *stdin;
> diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c
> b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c
> index 633d343..148d0a9 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c
> @@ -101,7 +101,7 @@ Md4Duplicate (
>
> This function performs MD4 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - MD4 context should be already correctly intialized by Md4Init(), and should
> not be finalized
> + MD4 context should be already correctly initialized by Md4Init(), and
> + should not be finalized
> by Md4Final(). Behavior with invalid context is undefined.
>
> If Md4Context is NULL, then return FALSE.
> @@ -148,7 +148,7 @@ Md4Update (
> This function completes MD4 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the MD4 context
> cannot
> be used again.
> - MD4 context should be already correctly intialized by Md4Init(), and should
> not be
> + MD4 context should be already correctly initialized by Md4Init(), and
> + should not be
> finalized by Md4Final(). Behavior with invalid MD4 context is undefined.
>
> If Md4Context is NULL, then return FALSE.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
> b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
> index e1c10e3..809f06f 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
> @@ -103,7 +103,7 @@ Md5Duplicate (
>
> This function performs MD5 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - MD5 context should be already correctly intialized by Md5Init(), and should
> not be finalized
> + MD5 context should be already correctly initialized by Md5Init(), and
> + should not be finalized
> by Md5Final(). Behavior with invalid context is undefined.
>
> If Md5Context is NULL, then return FALSE.
> @@ -150,7 +150,7 @@ Md5Update (
> This function completes MD5 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the MD5 context
> cannot
> be used again.
> - MD5 context should be already correctly intialized by Md5Init(), and should
> not be
> + MD5 context should be already correctly initialized by Md5Init(), and
> + should not be
> finalized by Md5Final(). Behavior with invalid MD5 context is undefined.
>
> If Md5Context is NULL, then return FALSE.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c
> b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c
> index 78c29c1..1a8ac6c 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c
> @@ -102,7 +102,7 @@ Sha1Duplicate (
>
> This function performs SHA-1 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - SHA-1 context should be already correctly intialized by Sha1Init(), and
> should not be finalized
> + SHA-1 context should be already correctly initialized by Sha1Init(),
> + and should not be finalized
> by Sha1Final(). Behavior with invalid context is undefined.
>
> If Sha1Context is NULL, then return FALSE.
> @@ -149,7 +149,7 @@ Sha1Update (
> This function completes SHA-1 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the SHA-1
> context cannot
> be used again.
> - SHA-1 context should be already correctly intialized by Sha1Init(), and
> should not be
> + SHA-1 context should be already correctly initialized by Sha1Init(),
> + and should not be
> finalized by Sha1Final(). Behavior with invalid SHA-1 context is undefined.
>
> If Sha1Context is NULL, then return FALSE.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c
> b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c
> index 56894ac..ec45d6a 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256.c
> @@ -101,7 +101,7 @@ Sha256Duplicate (
>
> This function performs SHA-256 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - SHA-256 context should be already correctly intialized by Sha256Init(), and
> should not be finalized
> + SHA-256 context should be already correctly initialized by
> + Sha256Init(), and should not be finalized
> by Sha256Final(). Behavior with invalid context is undefined.
>
> If Sha256Context is NULL, then return FALSE.
> @@ -148,7 +148,7 @@ Sha256Update (
> This function completes SHA-256 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the SHA-256
> context cannot
> be used again.
> - SHA-256 context should be already correctly intialized by Sha256Init(), and
> should not be
> + SHA-256 context should be already correctly initialized by
> + Sha256Init(), and should not be
> finalized by Sha256Final(). Behavior with invalid SHA-256 context is
> undefined.
>
> If Sha256Context is NULL, then return FALSE.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c
> b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c
> index 491f45d..e68a4bf 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c
> @@ -103,7 +103,7 @@ Sha384Duplicate (
>
> This function performs SHA-384 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - SHA-384 context should be already correctly intialized by Sha384Init(), and
> should not be finalized
> + SHA-384 context should be already correctly initialized by
> + Sha384Init(), and should not be finalized
> by Sha384Final(). Behavior with invalid context is undefined.
>
> If Sha384Context is NULL, then return FALSE.
> @@ -150,7 +150,7 @@ Sha384Update (
> This function completes SHA-384 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the SHA-384
> context cannot
> be used again.
> - SHA-384 context should be already correctly intialized by Sha384Init(), and
> should not be
> + SHA-384 context should be already correctly initialized by
> + Sha384Init(), and should not be
> finalized by Sha384Final(). Behavior with invalid SHA-384 context is
> undefined.
>
> If Sha384Context is NULL, then return FALSE.
> @@ -272,7 +272,7 @@ Sha512Duplicate (
>
> This function performs SHA-512 digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - SHA-512 context should be already correctly intialized by Sha512Init(), and
> should not be finalized
> + SHA-512 context should be already correctly initialized by
> + Sha512Init(), and should not be finalized
> by Sha512Final(). Behavior with invalid context is undefined.
>
> If Sha512Context is NULL, then return FALSE.
> @@ -319,7 +319,7 @@ Sha512Update (
> This function completes SHA-512 hash computation and retrieves the digest
> value into
> the specified memory. After this function has been called, the SHA-512
> context cannot
> be used again.
> - SHA-512 context should be already correctly intialized by Sha512Init(), and
> should not be
> + SHA-512 context should be already correctly initialized by
> + Sha512Init(), and should not be
> finalized by Sha512Final(). Behavior with invalid SHA-512 context is
> undefined.
>
> If Sha512Context is NULL, then return FALSE.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c
> b/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c
> index 693cd32..6175061 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c
> @@ -108,7 +108,7 @@ HmacMd5Duplicate (
>
> This function performs HMAC-MD5 digest on a data buffer of the specified
> size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - HMAC-MD5 context should be already correctly intialized by
> HmacMd5Init(), and should not be
> + HMAC-MD5 context should be already correctly initialized by
> + HmacMd5Init(), and should not be
> finalized by HmacMd5Final(). Behavior with invalid context is undefined.
>
> If HmacMd5Context is NULL, then return FALSE.
> @@ -157,7 +157,7 @@ HmacMd5Update (
> This function completes HMAC-MD5 digest computation and retrieves the
> digest value into
> the specified memory. After this function has been called, the HMAC-MD5
> context cannot
> be used again.
> - HMAC-MD5 context should be already correctly intialized by
> HmacMd5Init(), and should not be
> + HMAC-MD5 context should be already correctly initialized by
> + HmacMd5Init(), and should not be
> finalized by HmacMd5Final(). Behavior with invalid HMAC-MD5 context is
> undefined.
>
> If HmacMd5Context is NULL, then return FALSE.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c
> b/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c
> index 881d26c..e660258 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c
> @@ -108,7 +108,7 @@ HmacSha1Duplicate (
>
> This function performs HMAC-SHA1 digest on a data buffer of the specified
> size.
> It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> - HMAC-SHA1 context should be already correctly intialized by
> HmacSha1Init(), and should not
> + HMAC-SHA1 context should be already correctly initialized by
> + HmacSha1Init(), and should not
> be finalized by HmacSha1Final(). Behavior with invalid context is undefined.
>
> If HmacSha1Context is NULL, then return FALSE.
> @@ -157,7 +157,7 @@ HmacSha1Update (
> This function completes HMAC-SHA1 digest computation and retrieves the
> digest value into
> the specified memory. After this function has been called, the HMAC-SHA1
> context cannot
> be used again.
> - HMAC-SHA1 context should be already correctly intialized by
> HmacSha1Init(), and should
> + HMAC-SHA1 context should be already correctly initialized by
> + HmacSha1Init(), and should
> not be finalized by HmacSha1Final(). Behavior with invalid HMAC-SHA1
> context is undefined.
>
> If HmacSha1Context is NULL, then return FALSE.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c
> b/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c
> index 857281d..74e50a2 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c
> @@ -34,7 +34,7 @@ UINT8 mSpcIndirectOidValue[] = {
> };
>
> /**
> - Verifies the validility of a PE/COFF Authenticode Signature as described in
> "Windows
> + Verifies the validity of a PE/COFF Authenticode Signature as
> + described in "Windows
> Authenticode Portable Executable Signature Format".
>
> If AuthData is NULL, then return FALSE.
> @@ -50,7 +50,7 @@ UINT8 mSpcIndirectOidValue[] = {
> @param[in] TrustedCert Pointer to a trusted/root certificate encoded in
> DER, which
> is used for certificate chain verification.
> @param[in] CertSize Size of the trusted certificate in bytes.
> - @param[in] ImageHash Pointer to the original image file hash value. The
> procudure
> + @param[in] ImageHash Pointer to the original image file hash value. The
> procedure
> for calculating the image hash value is described in
> Authenticode
> specification.
> @param[in] HashSize Size of Image hash value in bytes.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c
> b/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c
> index 5554486..afec025 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticodeNull.c
> @@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY
> KIND, EITHER EXPRESS OR IMPLIED.
> #include "InternalCryptLib.h"
>
> /**
> - Verifies the validility of a PE/COFF Authenticode Signature as described in
> "Windows
> + Verifies the validity of a PE/COFF Authenticode Signature as
> + described in "Windows
> Authenticode Portable Executable Signature Format".
>
> Return FALSE to indicate this interface is not supported.
> @@ -27,7 +27,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY
> KIND, EITHER EXPRESS OR IMPLIED.
> @param[in] TrustedCert Pointer to a trusted/root certificate encoded in
> DER, which
> is used for certificate chain verification.
> @param[in] CertSize Size of the trusted certificate in bytes.
> - @param[in] ImageHash Pointer to the original image file hash value. The
> procudure
> + @param[in] ImageHash Pointer to the original image file hash value. The
> procedure
> for calculating the image hash value is described in
> Authenticode
> specification.
> @param[in] HashSize Size of Image hash value in bytes.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c
> b/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c
> index 5e0447b..a5d6e49 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c
> @@ -73,7 +73,7 @@ DhFree (
> @param[in] PrimeLength Length in bits of prime to be generated.
> @param[out] Prime Pointer to the buffer to receive the generated
> prime number.
>
> - @retval TRUE DH pamameter generation succeeded.
> + @retval TRUE DH parameter generation succeeded.
> @retval FALSE Value of Generator is not supported.
> @retval FALSE PRNG fails to generate random prime number with
> PrimeLength.
>
> @@ -124,7 +124,7 @@ DhGenerateParameter (
> @param[in] PrimeLength Length in bits of prime to be generated.
> @param[in] Prime Pointer to the prime number.
>
> - @retval TRUE DH pamameter setting succeeded.
> + @retval TRUE DH parameter setting succeeded.
> @retval FALSE Value of Generator is not supported.
> @retval FALSE Value of Generator is not suitable for the Prime.
> @retval FALSE Value of Prime is not a prime number.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
> b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
> index 4dd1625..dcaba43 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
> @@ -229,7 +229,7 @@ _Exit:
> in a ContentInfo structure.
>
> If P7Data, CertStack, StackLength, TrustedCert or CertLength is NULL, then
> - return FALSE. If P7Length overflow, then return FAlSE.
> + return FALSE. If P7Length overflow, then return FALSE.
>
> Caution: This function may receive untrusted input.
> UEFI Authenticated Variable is external input, so this function will do basic
> @@ -718,12 +718,12 @@ _Error:
> }
>
> /**
> - Verifies the validility of a PKCS#7 signed data as described in "PKCS #7:
> + Verifies the validity of a PKCS#7 signed data as described in "PKCS #7:
> Cryptographic Message Syntax Standard". The input signed data could be
> wrapped
> in a ContentInfo structure.
>
> If P7Data, TrustedCert or InData is NULL, then return FALSE.
> - If P7Length, CertLength or DataLength overflow, then return FAlSE.
> + If P7Length, CertLength or DataLength overflow, then return FALSE.
>
> Caution: This function may receive untrusted input.
> UEFI Authenticated Variable is external input, so this function will do basic
> @@ -897,7 +897,7 @@ _Exit:
> data could be wrapped in a ContentInfo structure.
>
> If P7Data, Content, or ContentSize is NULL, then return FALSE. If P7Length
> overflow,
> - then return FAlSE. If the P7Data is not correctly formatted, then return
> FALSE.
> + then return FALSE. If the P7Data is not correctly formatted, then return
> FALSE.
>
> Caution: This function may receive untrusted input. So this function will do
> basic check for PKCS#7 data structure.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
> b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
> index d09fd54..06602ec 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
> @@ -101,7 +101,7 @@ Pkcs7GetCertificatesList ( }
>
> /**
> - Verifies the validility of a PKCS#7 signed data as described in "PKCS #7:
> + Verifies the validity of a PKCS#7 signed data as described in "PKCS #7:
> Cryptographic Message Syntax Standard". The input signed data could be
> wrapped
> in a ContentInfo structure.
>
> diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c
> b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c
> index e49db51..e68dd02 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c
> @@ -67,14 +67,14 @@ RsaFree (
> This function sets the tag-designated RSA key component into the
> established
> RSA context from the user-specified non-negative integer (octet string
> format
> represented in RSA PKCS#1).
> - If BigNumber is NULL, then the specified key componenet in RSA context is
> cleared.
> + If BigNumber is NULL, then the specified key component in RSA context is
> cleared.
>
> If RsaContext is NULL, then return FALSE.
>
> @param[in, out] RsaContext Pointer to RSA context being set.
> @param[in] KeyTag Tag of RSA key component being set.
> @param[in] BigNumber Pointer to octet integer buffer.
> - If NULL, then the specified key componenet in RSA
> + If NULL, then the specified key
> + component in RSA
> context is cleared.
> @param[in] BnSize Size of big number buffer in bytes.
> If BigNumber is NULL, then it is ignored.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c
> b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c
> index b941d6f..30552e4 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c
> @@ -248,7 +248,7 @@ _Exit:
> NOTE: This function performs integrity checks on all the RSA key material,
> so
> the RSA key structure must contain all the private key data.
>
> - This function validates key compoents of RSA context in following aspects:
> + This function validates key components of RSA context in following aspects:
> - Whether p is a prime
> - Whether q is a prime
> - Whether n = p * q
> diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
> b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
> index d495812..1b78472 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
> @@ -323,7 +323,7 @@ _Exit:
> }
>
> /**
> - Verifies the validility of a TimeStamp Token as described in RFC 3161
> ("Internet
> + Verifies the validity of a TimeStamp Token as described in RFC 3161
> + ("Internet
> X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)").
>
> If TSToken is NULL, then return FALSE.
> @@ -497,7 +497,7 @@ _Exit:
> }
>
> /**
> - Verifies the validility of a RFC3161 Timestamp CounterSignature embedded
> in PE/COFF Authenticode
> + Verifies the validity of a RFC3161 Timestamp CounterSignature
> + embedded in PE/COFF Authenticode
> signature.
>
> If AuthData is NULL, then return FALSE.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c
> b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c
> index eb32aaf..a43f733 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c
> @@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY
> KIND, EITHER EXPRESS OR IMPLIED.
> #include "InternalCryptLib.h"
>
> /**
> - Verifies the validility of a RFC3161 Timestamp CounterSignature embedded
> in PE/COFF Authenticode
> + Verifies the validity of a RFC3161 Timestamp CounterSignature
> + embedded in PE/COFF Authenticode
> signature.
>
> Return FALSE to indicate this interface is not supported.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c
> b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c
> index 895ce83..fd3c6d4 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c
> @@ -79,7 +79,7 @@ RandomSeed (
> If Output is NULL, then return FALSE.
>
> @param[out] Output Pointer to buffer to receive random value.
> - @param[in] Size Size of randome bytes to generate.
> + @param[in] Size Size of random bytes to generate.
>
> @retval TRUE Pseudorandom byte stream generated successfully.
> @retval FALSE Pseudorandom number generator fails to generate due to
> lack of entropy.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c
> b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c
> index 9f87087..3db5157 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c
> @@ -87,7 +87,7 @@ RandomSeed (
> If Output is NULL, then return FALSE.
>
> @param[out] Output Pointer to buffer to receive random value.
> - @param[in] Size Size of randome bytes to generate.
> + @param[in] Size Size of random bytes to generate.
>
> @retval TRUE Pseudorandom byte stream generated successfully.
> @retval FALSE Pseudorandom number generator fails to generate due to
> lack of entropy.
> diff --git a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c
> b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c
> index 8838e22..c292a23 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandNull.c
> @@ -46,7 +46,7 @@ RandomSeed (
> Return FALSE to indicate this interface is not supported.
>
> @param[out] Output Pointer to buffer to receive random value.
> - @param[in] Size Size of randome bytes to generate.
> + @param[in] Size Size of random bytes to generate.
>
> @retval FALSE This interface is not supported.
>
> diff --git a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c
> b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c
> index 9bd349d..15f0b3f 100644
> --- a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c
> +++ b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c
> @@ -87,7 +87,7 @@ RandomSeed (
> If Output is NULL, then return FALSE.
>
> @param[out] Output Pointer to buffer to receive random value.
> - @param[in] Size Size of randome bytes to generate.
> + @param[in] Size Size of random bytes to generate.
>
> @retval TRUE Pseudorandom byte stream generated successfully.
> @retval FALSE Pseudorandom number generator fails to generate due to
> lack of entropy.
> diff --git
> a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthentic
> odeNull.c
> b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthentic
> odeNull.c
> index 5554486..afec025 100644
> ---
> a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthentic
> odeNull.c
> +++
> b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptAuthent
> +++ icodeNull.c
> @@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY
> KIND, EITHER EXPRESS OR IMPLIED.
> #include "InternalCryptLib.h"
>
> /**
> - Verifies the validility of a PE/COFF Authenticode Signature as described in
> "Windows
> + Verifies the validity of a PE/COFF Authenticode Signature as
> + described in "Windows
> Authenticode Portable Executable Signature Format".
>
> Return FALSE to indicate this interface is not supported.
> @@ -27,7 +27,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY
> KIND, EITHER EXPRESS OR IMPLIED.
> @param[in] TrustedCert Pointer to a trusted/root certificate encoded in
> DER, which
> is used for certificate chain verification.
> @param[in] CertSize Size of the trusted certificate in bytes.
> - @param[in] ImageHash Pointer to the original image file hash value. The
> procudure
> + @param[in] ImageHash Pointer to the original image file hash value. The
> procedure
> for calculating the image hash value is described in
> Authenticode
> specification.
> @param[in] HashSize Size of Image hash value in bytes.
> diff --git
> a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7Verif
> yNull.c
> b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7Verif
> yNull.c
> index d09fd54..06602ec 100644
> ---
> a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7Verif
> yNull.c
> +++
> b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7Ve
> +++ rifyNull.c
> @@ -101,7 +101,7 @@ Pkcs7GetCertificatesList ( }
>
> /**
> - Verifies the validility of a PKCS#7 signed data as described in "PKCS #7:
> + Verifies the validity of a PKCS#7 signed data as described in "PKCS #7:
> Cryptographic Message Syntax Standard". The input signed data could be
> wrapped
> in a ContentInfo structure.
>
> diff --git
> a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNu
> ll.c
> b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNu
> ll.c
> index 8838e22..c292a23 100644
> ---
> a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNu
> ll.c
> +++
> b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandN
> +++ ull.c
> @@ -46,7 +46,7 @@ RandomSeed (
> Return FALSE to indicate this interface is not supported.
>
> @param[out] Output Pointer to buffer to receive random value.
> - @param[in] Size Size of randome bytes to generate.
> + @param[in] Size Size of random bytes to generate.
>
> @retval FALSE This interface is not supported.
>
> diff --git
> a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCry
> ptLib.c
> b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCry
> ptLib.c
> index cd40d16..9babc7e 100644
> ---
> a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCry
> ptLib.c
> +++
> b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/RuntimeDxeIpfCr
> +++ yptLib.c
> @@ -344,14 +344,14 @@ RsaFree (
> This function sets the tag-designated RSA key component into the
> established
> RSA context from the user-specified non-negative integer (octet string
> format
> represented in RSA PKCS#1).
> - If BigNumber is NULL, then the specified key componenet in RSA context is
> cleared.
> + If BigNumber is NULL, then the specified key component in RSA context is
> cleared.
>
> If RsaContext is NULL, then return FALSE.
>
> @param[in, out] RsaContext Pointer to RSA context being set.
> @param[in] KeyTag Tag of RSA key component being set.
> @param[in] BigNumber Pointer to octet integer buffer.
> - If NULL, then the specified key componenet in RSA
> + If NULL, then the specified key
> + component in RSA
> context is cleared.
> @param[in] BnSize Size of big number buffer in bytes.
> If BigNumber is NULL, then it is ignored.
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 04/33] CorebootModulePkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 04/33] CorebootModulePkg: " Gary Lin
@ 2016-10-26 18:41 ` Ma, Maurice
0 siblings, 0 replies; 79+ messages in thread
From: Ma, Maurice @ 2016-10-26 18:41 UTC (permalink / raw)
To: Gary Lin; +Cc: Agyeman, Prince, edk2-devel@lists.01.org
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
-----Original Message-----
From: Gary Lin [mailto:glin@suse.com]
Sent: Wednesday, October 19, 2016 12:01 AM
To: edk2-devel@lists.01.org
Cc: Ma, Maurice; Agyeman, Prince
Subject: [PATCH 04/33] CorebootModulePkg: Fix typos in comments
- inforamtion -> information
- tempory -> temporary
- immediatly -> immediately
- permenent -> permanent
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
CorebootModulePkg/SecCore/FindPeiCore.c | 2 +-
CorebootModulePkg/SecCore/SecMain.c | 6 +++---
CorebootModulePkg/SecCore/SecMain.h | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/CorebootModulePkg/SecCore/FindPeiCore.c b/CorebootModulePkg/SecCore/FindPeiCore.c
index 4ce032e..1d49168 100644
--- a/CorebootModulePkg/SecCore/FindPeiCore.c
+++ b/CorebootModulePkg/SecCore/FindPeiCore.c
@@ -146,7 +146,7 @@ FindImageBase (
/**
Find and return Pei Core entry point.
- It also find SEC and PEI Core file debug inforamtion. It will report them if
+ It also find SEC and PEI Core file debug information. It will report
+ them if
remote debug is enabled.
@param BootFirmwareVolumePtr Point to the boot firmware volume.
diff --git a/CorebootModulePkg/SecCore/SecMain.c b/CorebootModulePkg/SecCore/SecMain.c
index 7ce0463..4fa5f21 100644
--- a/CorebootModulePkg/SecCore/SecMain.c
+++ b/CorebootModulePkg/SecCore/SecMain.c
@@ -57,7 +57,7 @@ SecStartupPhase2(
@param SizeOfRam Size of the temporary memory available for use.
- @param TempRamBase Base address of tempory ram
+ @param TempRamBase Base address of temporary ram
@param BootFirmwareVolume Base address of the Boot Firmware Volume.
**/
VOID
@@ -276,8 +276,8 @@ SecTemporaryRamSupport (
//
// SecSwitchStack function must be invoked after the memory migration
- // immediatly, also we need fixup the stack change caused by new call into
- // permenent memory.
+ // immediately, also we need fixup the stack change caused by new
+ call into // permanent memory.
//
SecSwitchStack (
(UINT32) (UINTN) OldStack,
diff --git a/CorebootModulePkg/SecCore/SecMain.h b/CorebootModulePkg/SecCore/SecMain.h
index 7bc991a..77036b2 100644
--- a/CorebootModulePkg/SecCore/SecMain.h
+++ b/CorebootModulePkg/SecCore/SecMain.h
@@ -91,7 +91,7 @@ SecTemporaryRamSupport (
the control is transferred to this function.
@param SizeOfRam Size of the temporary memory available for use.
- @param TempRamBase Base address of tempory ram
+ @param TempRamBase Base address of temporary ram
@param BootFirmwareVolume Base address of the Boot Firmware Volume.
**/
VOID
@@ -105,7 +105,7 @@ SecStartup (
/**
Find and return Pei Core entry point.
- It also find SEC and PEI Core file debug inforamtion. It will report them if
+ It also find SEC and PEI Core file debug information. It will report
+ them if
remote debug is enabled.
@param BootFirmwareVolumePtr Point to the boot firmware volume.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 03/33] CorebootPayloadPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 03/33] CorebootPayloadPkg: Fix typos in comments Gary Lin
@ 2016-10-26 18:50 ` Ma, Maurice
0 siblings, 0 replies; 79+ messages in thread
From: Ma, Maurice @ 2016-10-26 18:50 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org; +Cc: Agyeman, Prince
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
-----Original Message-----
From: Gary Lin [mailto:glin@suse.com]
Sent: Wednesday, October 19, 2016 12:01 AM
To: edk2-devel@lists.01.org
Cc: Ma, Maurice; Agyeman, Prince
Subject: [PATCH 03/33] CorebootPayloadPkg: Fix typos in comments
- dirver -> driver
- futhure -> future
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c
index 16a146f..4786170 100644
--- a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c
+++ b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c
@@ -201,7 +201,7 @@ GetGopDevicePath (
}
//
- // Try to connect this handle, so that GOP dirver could start on this
+ // Try to connect this handle, so that GOP driver could start on this
// device and create child handles with GraphicsOutput Protocol installed
// on them, then we get device paths of these child handles and select
// them as possible console device.
@@ -243,7 +243,7 @@ GetGopDevicePath (
// In current implementation, we only enable one of the child handles
// as console device, i.e. sotre one of the child handle's device
// path to variable "ConOut"
- // In futhure, we could select all child handles to be console device
+ // In future, we could select all child handles to be console device
//
*GopDevicePath = TempDevicePath;
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 29/33] SecurityPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 29/33] SecurityPkg: " Gary Lin
@ 2016-10-27 1:29 ` Zhang, Chao B
2016-11-14 3:12 ` Zhang, Chao B
1 sibling, 0 replies; 79+ messages in thread
From: Zhang, Chao B @ 2016-10-27 1:29 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Thanks & Best regards
Chao Zhang
-----Original Message-----
From: Gary Lin [mailto:glin@suse.com]
Sent: Wednesday, October 19, 2016 3:02 PM
To: edk2-devel@lists.01.org
Cc: Zhang, Chao B
Subject: [PATCH 29/33] SecurityPkg: Fix typos in comments
- intialized -> initialized
- TURE -> TRUE
- successull -> successfully
- hanlder -> handler
- funciton -> function
- Seperator -> Separator
- Sumbit -> Submit
Cc: Chao Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c | 2 +-
SecurityPkg/Include/Library/TcgPpVendorLib.h | 4 ++--
SecurityPkg/Include/Library/TcgStorageOpalLib.h | 2 +-
SecurityPkg/Include/Library/TrEEPpVendorLib.h | 4 ++--
SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c | 6 +++---
| 2 +-
| 2 +-
SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c | 2 +-
SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 2 +-
SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c | 2 +-
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 2 +-
SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 2 +-
SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c | 2 +-
SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c | 2 +-
SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h | 2 +-
15 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
index ab34de7..93e3273 100644
--- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
+++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
@@ -64,7 +64,7 @@ BOOLEAN
This function performs Hash digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- Hash context should be already correctly intialized by HashInit(), and should not be finalized
+ Hash context should be already correctly initialized by HashInit(), and should not be finalized
by HashFinal(). Behavior with invalid context is undefined.
If HashContext is NULL, then return FALSE.
diff --git a/SecurityPkg/Include/Library/TcgPpVendorLib.h b/SecurityPkg/Include/Library/TcgPpVendorLib.h
index 08b3690..284aa9e 100644
--- a/SecurityPkg/Include/Library/TcgPpVendorLib.h
+++ b/SecurityPkg/Include/Library/TcgPpVendorLib.h
@@ -42,8 +42,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define TCG_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
//
-// The return code for Sumbit TPM Request to Pre-OS Environment
-// and Sumbit TPM Request to Pre-OS Environment 2
+// The return code for Submit TPM Request to Pre-OS Environment
+// and Submit TPM Request to Pre-OS Environment 2
//
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1
diff --git a/SecurityPkg/Include/Library/TcgStorageOpalLib.h b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
index 108affc..9b64a8e 100644
--- a/SecurityPkg/Include/Library/TcgStorageOpalLib.h
+++ b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
@@ -290,7 +290,7 @@ OpalGlobalLockingRangeGenKey(
/**
The function updates the ReadLocked and WriteLocked columns of the Global Locking Range.
- This funciton is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
+ This function is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
(not ReadLockEnabled and WriteLockEnabled columns).
@param[in] LockingSpSession OPAL_SESSION with OPAL_UID_LOCKING_SP to generate key
diff --git a/SecurityPkg/Include/Library/TrEEPpVendorLib.h b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
index d3a0767..f0dcfd9 100644
--- a/SecurityPkg/Include/Library/TrEEPpVendorLib.h
+++ b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
@@ -45,8 +45,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define TREE_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
//
-// The return code for Sumbit TPM Request to Pre-OS Environment
-// and Sumbit TPM Request to Pre-OS Environment 2
+// The return code for Submit TPM Request to Pre-OS Environment
+// and Submit TPM Request to Pre-OS Environment 2
//
#define TREE_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
#define TREE_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1
diff --git a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
index 142b546..02a87f9 100644
--- a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
+++ b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
@@ -469,7 +469,7 @@ Done:
@param[in] DevicePath Points to device path.
@param[in] AccessType The type of user access control.
- @retval TURE The DevicePath is in the specified List.
+ @retval TRUE The DevicePath is in the specified List.
@retval FALSE The DevicePath is not in the specified List.
**/
@@ -512,7 +512,7 @@ IsDevicePathInList (
@param[in] DevicePath Points to device path
- @retval TURE The image pointed by DevicePath is permitted to load.
+ @retval TRUE The image pointed by DevicePath is permitted to load.
@retval FALSE The image pointed by DevicePath is forbidden to load.
**/
@@ -545,7 +545,7 @@ VerifyDevicePath (
@param[in] DevicePath Points to device path.
- @retval TURE The image pointed by DevicePath is a boot option.
+ @retval TRUE The image pointed by DevicePath is a boot option.
@retval FALSE The image pointed by DevicePath is not a boot option.
**/
--git a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
index 5f5d242..39768fb 100644
--- a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
+++ b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
@@ -59,7 +59,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
@param SectionAttribute The attribute of the input guided section.
@retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and
- the attribute of the input section are successull retrieved.
+ the attribute of the input section are successfully retrieved.
@retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.
**/
--git a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
index 4733703..ba1c700 100644
--- a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
+++ b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
@@ -57,7 +57,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
@param SectionAttribute The attribute of the input guided section.
@retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and
- the attribute of the input section are successull retrieved.
+ the attribute of the input section are successfully retrieved.
@retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.
**/
diff --git a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
index 30808cd..286f5b6 100644
--- a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
+++ b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
@@ -881,7 +881,7 @@ TcgIsProtocolSupported(
@param Discovery
- @retval TURE if lock, FALSE if not lock.
+ @retval TRUE if lock, FALSE if not lock.
**/
BOOLEAN
EFIAPI
diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
index a0eac33..90cc51a 100644
--- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
+++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
@@ -1055,7 +1055,7 @@ OpalGlobalLockingRangeGenKey(
/**
The function updates the ReadLocked and WriteLocked columns of the Global Locking Range.
- This funciton is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
+ This function is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
(not ReadLockEnabled and WriteLockEnabled columns).
@param[in] LockingSpSession OPAL_SESSION with OPAL_UID_LOCKING_SP to generate key
diff --git a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
index 9bf1ced..bd12d5a 100644
--- a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
+++ b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
@@ -406,7 +406,7 @@ OpalDriverGetDeviceList(
ReadyToBoot callback to send BlockSid command.
@param Event Pointer to this event
- @param Context Event hanlder private Data
+ @param Context Event handler private Data
**/
VOID
diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
index db8d662..804929e 100644
--- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
+++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
@@ -2073,7 +2073,7 @@ OnReadyToBoot (
for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
Status = MeasureSeparatorEvent (PcrIndex);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
+ DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
}
}
diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
index 0d7e32a..3e6d87b 100644
--- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
+++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
@@ -1160,7 +1160,7 @@ OnReadyToBoot (
for (PcrIndex = 0; PcrIndex < 8; PcrIndex++) {
Status = MeasureSeparatorEvent (PcrIndex);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
+ DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
}
}
diff --git a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
index fb69fa1..fa51b64 100644
--- a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
+++ b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
@@ -1500,7 +1500,7 @@ OnReadyToBoot (
for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
Status = MeasureSeparatorEvent (PcrIndex);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
+ DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
}
}
diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
index 9f157f8..8382744 100644
--- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
+++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
@@ -409,7 +409,7 @@ CheckNewIdentityPolicy (
/**
Save the identity policy and update UI with it.
- This funciton will verify the new identity policy, in current implementation,
+ This function will verify the new identity policy, in current implementation,
the identity policy can be: T, P & P & P & ..., P | P | P | ...
Here, "T" means "True", "P" means "Credential Provider", "&" means "and", "|" means "or".
Other identity policies are not supported.
diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
index afa420e..6491dc2 100644
--- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
+++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
@@ -254,7 +254,7 @@ AddIdentityPolicyItem (
/**
Save the identity policy and update UI with it.
- This funciton will verify the new identity policy, in current implementation,
+ This function will verify the new identity policy, in current implementation,
the identity policy can be: T, P & P & P & ..., P | P | P | ...
Here, "T" means "True", "P" means "Credential Provider", "&" means "and", "|" means "or".
Other identity policies are not supported.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 29/33] SecurityPkg: Fix typos in comments
2016-10-19 7:01 ` [PATCH 29/33] SecurityPkg: " Gary Lin
2016-10-27 1:29 ` Zhang, Chao B
@ 2016-11-14 3:12 ` Zhang, Chao B
2016-11-14 4:03 ` Gary Lin
1 sibling, 1 reply; 79+ messages in thread
From: Zhang, Chao B @ 2016-11-14 3:12 UTC (permalink / raw)
To: Gary Lin, edk2-devel@lists.01.org
Hi Gary:
I see some warnings while running PatchChecy.py with this patch.
Please help to update the patch, run PatchCheck.py(BaseTools/Scripts) & re-send the patch.
Thanks & Best regards
Chao Zhang
-----Original Message-----
From: Gary Lin [mailto:glin@suse.com]
Sent: Wednesday, October 19, 2016 3:02 PM
To: edk2-devel@lists.01.org
Cc: Zhang, Chao B
Subject: [PATCH 29/33] SecurityPkg: Fix typos in comments
- intialized -> initialized
- TURE -> TRUE
- successull -> successfully
- hanlder -> handler
- funciton -> function
- Seperator -> Separator
- Sumbit -> Submit
Cc: Chao Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
---
SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c | 2 +-
SecurityPkg/Include/Library/TcgPpVendorLib.h | 4 ++--
SecurityPkg/Include/Library/TcgStorageOpalLib.h | 2 +-
SecurityPkg/Include/Library/TrEEPpVendorLib.h | 4 ++--
SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c | 6 +++---
| 2 +-
| 2 +-
SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c | 2 +-
SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 2 +-
SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c | 2 +-
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 2 +-
SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 2 +-
SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c | 2 +-
SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c | 2 +-
SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h | 2 +-
15 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
index ab34de7..93e3273 100644
--- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
+++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
@@ -64,7 +64,7 @@ BOOLEAN
This function performs Hash digest on a data buffer of the specified size.
It can be called multiple times to compute the digest of long or discontinuous data streams.
- Hash context should be already correctly intialized by HashInit(), and should not be finalized
+ Hash context should be already correctly initialized by HashInit(), and should not be finalized
by HashFinal(). Behavior with invalid context is undefined.
If HashContext is NULL, then return FALSE.
diff --git a/SecurityPkg/Include/Library/TcgPpVendorLib.h b/SecurityPkg/Include/Library/TcgPpVendorLib.h
index 08b3690..284aa9e 100644
--- a/SecurityPkg/Include/Library/TcgPpVendorLib.h
+++ b/SecurityPkg/Include/Library/TcgPpVendorLib.h
@@ -42,8 +42,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define TCG_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
//
-// The return code for Sumbit TPM Request to Pre-OS Environment
-// and Sumbit TPM Request to Pre-OS Environment 2
+// The return code for Submit TPM Request to Pre-OS Environment
+// and Submit TPM Request to Pre-OS Environment 2
//
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1
diff --git a/SecurityPkg/Include/Library/TcgStorageOpalLib.h b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
index 108affc..9b64a8e 100644
--- a/SecurityPkg/Include/Library/TcgStorageOpalLib.h
+++ b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
@@ -290,7 +290,7 @@ OpalGlobalLockingRangeGenKey(
/**
The function updates the ReadLocked and WriteLocked columns of the Global Locking Range.
- This funciton is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
+ This function is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
(not ReadLockEnabled and WriteLockEnabled columns).
@param[in] LockingSpSession OPAL_SESSION with OPAL_UID_LOCKING_SP to generate key
diff --git a/SecurityPkg/Include/Library/TrEEPpVendorLib.h b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
index d3a0767..f0dcfd9 100644
--- a/SecurityPkg/Include/Library/TrEEPpVendorLib.h
+++ b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
@@ -45,8 +45,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define TREE_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
//
-// The return code for Sumbit TPM Request to Pre-OS Environment
-// and Sumbit TPM Request to Pre-OS Environment 2
+// The return code for Submit TPM Request to Pre-OS Environment
+// and Submit TPM Request to Pre-OS Environment 2
//
#define TREE_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
#define TREE_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1
diff --git a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
index 142b546..02a87f9 100644
--- a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
+++ b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
@@ -469,7 +469,7 @@ Done:
@param[in] DevicePath Points to device path.
@param[in] AccessType The type of user access control.
- @retval TURE The DevicePath is in the specified List.
+ @retval TRUE The DevicePath is in the specified List.
@retval FALSE The DevicePath is not in the specified List.
**/
@@ -512,7 +512,7 @@ IsDevicePathInList (
@param[in] DevicePath Points to device path
- @retval TURE The image pointed by DevicePath is permitted to load.
+ @retval TRUE The image pointed by DevicePath is permitted to load.
@retval FALSE The image pointed by DevicePath is forbidden to load.
**/
@@ -545,7 +545,7 @@ VerifyDevicePath (
@param[in] DevicePath Points to device path.
- @retval TURE The image pointed by DevicePath is a boot option.
+ @retval TRUE The image pointed by DevicePath is a boot option.
@retval FALSE The image pointed by DevicePath is not a boot option.
**/
--git a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
index 5f5d242..39768fb 100644
--- a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
+++ b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
@@ -59,7 +59,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
@param SectionAttribute The attribute of the input guided section.
@retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and
- the attribute of the input section are successull retrieved.
+ the attribute of the input section are successfully retrieved.
@retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.
**/
--git a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
index 4733703..ba1c700 100644
--- a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
+++ b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
@@ -57,7 +57,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
@param SectionAttribute The attribute of the input guided section.
@retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and
- the attribute of the input section are successull retrieved.
+ the attribute of the input section are successfully retrieved.
@retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.
**/
diff --git a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
index 30808cd..286f5b6 100644
--- a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
+++ b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
@@ -881,7 +881,7 @@ TcgIsProtocolSupported(
@param Discovery
- @retval TURE if lock, FALSE if not lock.
+ @retval TRUE if lock, FALSE if not lock.
**/
BOOLEAN
EFIAPI
diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
index a0eac33..90cc51a 100644
--- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
+++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
@@ -1055,7 +1055,7 @@ OpalGlobalLockingRangeGenKey(
/**
The function updates the ReadLocked and WriteLocked columns of the Global Locking Range.
- This funciton is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
+ This function is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
(not ReadLockEnabled and WriteLockEnabled columns).
@param[in] LockingSpSession OPAL_SESSION with OPAL_UID_LOCKING_SP to generate key
diff --git a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
index 9bf1ced..bd12d5a 100644
--- a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
+++ b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
@@ -406,7 +406,7 @@ OpalDriverGetDeviceList(
ReadyToBoot callback to send BlockSid command.
@param Event Pointer to this event
- @param Context Event hanlder private Data
+ @param Context Event handler private Data
**/
VOID
diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
index db8d662..804929e 100644
--- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
+++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
@@ -2073,7 +2073,7 @@ OnReadyToBoot (
for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
Status = MeasureSeparatorEvent (PcrIndex);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
+ DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
}
}
diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
index 0d7e32a..3e6d87b 100644
--- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
+++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
@@ -1160,7 +1160,7 @@ OnReadyToBoot (
for (PcrIndex = 0; PcrIndex < 8; PcrIndex++) {
Status = MeasureSeparatorEvent (PcrIndex);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
+ DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
}
}
diff --git a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
index fb69fa1..fa51b64 100644
--- a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
+++ b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
@@ -1500,7 +1500,7 @@ OnReadyToBoot (
for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
Status = MeasureSeparatorEvent (PcrIndex);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
+ DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
}
}
diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
index 9f157f8..8382744 100644
--- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
+++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
@@ -409,7 +409,7 @@ CheckNewIdentityPolicy (
/**
Save the identity policy and update UI with it.
- This funciton will verify the new identity policy, in current implementation,
+ This function will verify the new identity policy, in current implementation,
the identity policy can be: T, P & P & P & ..., P | P | P | ...
Here, "T" means "True", "P" means "Credential Provider", "&" means "and", "|" means "or".
Other identity policies are not supported.
diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
index afa420e..6491dc2 100644
--- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
+++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
@@ -254,7 +254,7 @@ AddIdentityPolicyItem (
/**
Save the identity policy and update UI with it.
- This funciton will verify the new identity policy, in current implementation,
+ This function will verify the new identity policy, in current implementation,
the identity policy can be: T, P & P & P & ..., P | P | P | ...
Here, "T" means "True", "P" means "Credential Provider", "&" means "and", "|" means "or".
Other identity policies are not supported.
--
2.10.1
^ permalink raw reply related [flat|nested] 79+ messages in thread
* Re: [PATCH 29/33] SecurityPkg: Fix typos in comments
2016-11-14 3:12 ` Zhang, Chao B
@ 2016-11-14 4:03 ` Gary Lin
2016-11-14 6:24 ` Gao, Liming
0 siblings, 1 reply; 79+ messages in thread
From: Gary Lin @ 2016-11-14 4:03 UTC (permalink / raw)
To: Zhang, Chao B; +Cc: edk2-devel@lists.01.org
On Mon, Nov 14, 2016 at 03:12:16AM +0000, Zhang, Chao B wrote:
> Hi Gary:
> I see some warnings while running PatchChecy.py with this patch.
> Please help to update the patch, run PatchCheck.py(BaseTools/Scripts) & re-send the patch.
>
Hi Chao,
PatchCheck.py showed this:
The commit message format passed all checks.
Code format is not valid:
* EFI_D_ERROR was used, but DEBUG_ERROR is now recommended
File: SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
Line: DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
* EFI_D_ERROR was used, but DEBUG_ERROR is now recommended
File: SecurityPkg/Tcg/TcgDxe/TcgDxe.c
Line: DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
* EFI_D_ERROR was used, but DEBUG_ERROR is now recommended
File: SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
Line: DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
My patch only fixes typos (Seperator -> Separator) and I tried to avoid any
functional change. I found that EFI_D_ERROR is widely used in SecurityPkg and
it'd be better to convert all EFI_D_ERROR into DEBUG_ERROR in another patch.
What do you think?
Cheers,
Gary Lin
>
>
>
>
> Thanks & Best regards
> Chao Zhang
>
>
> -----Original Message-----
> From: Gary Lin [mailto:glin@suse.com]
> Sent: Wednesday, October 19, 2016 3:02 PM
> To: edk2-devel@lists.01.org
> Cc: Zhang, Chao B
> Subject: [PATCH 29/33] SecurityPkg: Fix typos in comments
>
> - intialized -> initialized
> - TURE -> TRUE
> - successull -> successfully
> - hanlder -> handler
> - funciton -> function
> - Seperator -> Separator
> - Sumbit -> Submit
>
> Cc: Chao Zhang <chao.b.zhang@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>
> ---
> SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c | 2 +-
> SecurityPkg/Include/Library/TcgPpVendorLib.h | 4 ++--
> SecurityPkg/Include/Library/TcgStorageOpalLib.h | 2 +-
> SecurityPkg/Include/Library/TrEEPpVendorLib.h | 4 ++--
> SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c | 6 +++---
> SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c | 2 +-
> SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c | 2 +-
> SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c | 2 +-
> SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 2 +-
> SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c | 2 +-
> SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 2 +-
> SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 2 +-
> SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c | 2 +-
> SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c | 2 +-
> SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h | 2 +-
> 15 files changed, 19 insertions(+), 19 deletions(-)
>
> diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> index ab34de7..93e3273 100644
> --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> @@ -64,7 +64,7 @@ BOOLEAN
>
> This function performs Hash digest on a data buffer of the specified size.
> It can be called multiple times to compute the digest of long or discontinuous data streams.
> - Hash context should be already correctly intialized by HashInit(), and should not be finalized
> + Hash context should be already correctly initialized by HashInit(), and should not be finalized
> by HashFinal(). Behavior with invalid context is undefined.
>
> If HashContext is NULL, then return FALSE.
> diff --git a/SecurityPkg/Include/Library/TcgPpVendorLib.h b/SecurityPkg/Include/Library/TcgPpVendorLib.h
> index 08b3690..284aa9e 100644
> --- a/SecurityPkg/Include/Library/TcgPpVendorLib.h
> +++ b/SecurityPkg/Include/Library/TcgPpVendorLib.h
> @@ -42,8 +42,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
> #define TCG_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
>
> //
> -// The return code for Sumbit TPM Request to Pre-OS Environment
> -// and Sumbit TPM Request to Pre-OS Environment 2
> +// The return code for Submit TPM Request to Pre-OS Environment
> +// and Submit TPM Request to Pre-OS Environment 2
> //
> #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
> #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1
> diff --git a/SecurityPkg/Include/Library/TcgStorageOpalLib.h b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
> index 108affc..9b64a8e 100644
> --- a/SecurityPkg/Include/Library/TcgStorageOpalLib.h
> +++ b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
> @@ -290,7 +290,7 @@ OpalGlobalLockingRangeGenKey(
> /**
>
> The function updates the ReadLocked and WriteLocked columns of the Global Locking Range.
> - This funciton is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
> + This function is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
> (not ReadLockEnabled and WriteLockEnabled columns).
>
> @param[in] LockingSpSession OPAL_SESSION with OPAL_UID_LOCKING_SP to generate key
> diff --git a/SecurityPkg/Include/Library/TrEEPpVendorLib.h b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
> index d3a0767..f0dcfd9 100644
> --- a/SecurityPkg/Include/Library/TrEEPpVendorLib.h
> +++ b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
> @@ -45,8 +45,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
> #define TREE_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
>
> //
> -// The return code for Sumbit TPM Request to Pre-OS Environment
> -// and Sumbit TPM Request to Pre-OS Environment 2
> +// The return code for Submit TPM Request to Pre-OS Environment
> +// and Submit TPM Request to Pre-OS Environment 2
> //
> #define TREE_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
> #define TREE_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1
> diff --git a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> index 142b546..02a87f9 100644
> --- a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> +++ b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> @@ -469,7 +469,7 @@ Done:
> @param[in] DevicePath Points to device path.
> @param[in] AccessType The type of user access control.
>
> - @retval TURE The DevicePath is in the specified List.
> + @retval TRUE The DevicePath is in the specified List.
> @retval FALSE The DevicePath is not in the specified List.
>
> **/
> @@ -512,7 +512,7 @@ IsDevicePathInList (
>
> @param[in] DevicePath Points to device path
>
> - @retval TURE The image pointed by DevicePath is permitted to load.
> + @retval TRUE The image pointed by DevicePath is permitted to load.
> @retval FALSE The image pointed by DevicePath is forbidden to load.
>
> **/
> @@ -545,7 +545,7 @@ VerifyDevicePath (
>
> @param[in] DevicePath Points to device path.
>
> - @retval TURE The image pointed by DevicePath is a boot option.
> + @retval TRUE The image pointed by DevicePath is a boot option.
> @retval FALSE The image pointed by DevicePath is not a boot option.
>
> **/
> diff --git a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
> index 5f5d242..39768fb 100644
> --- a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
> +++ b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c
> @@ -59,7 +59,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
> @param SectionAttribute The attribute of the input guided section.
>
> @retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and
> - the attribute of the input section are successull retrieved.
> + the attribute of the input section are successfully retrieved.
> @retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.
>
> **/
> diff --git a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
> index 4733703..ba1c700 100644
> --- a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
> +++ b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
> @@ -57,7 +57,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
> @param SectionAttribute The attribute of the input guided section.
>
> @retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and
> - the attribute of the input section are successull retrieved.
> + the attribute of the input section are successfully retrieved.
> @retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.
>
> **/
> diff --git a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> index 30808cd..286f5b6 100644
> --- a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> +++ b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> @@ -881,7 +881,7 @@ TcgIsProtocolSupported(
>
> @param Discovery
>
> - @retval TURE if lock, FALSE if not lock.
> + @retval TRUE if lock, FALSE if not lock.
> **/
> BOOLEAN
> EFIAPI
> diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> index a0eac33..90cc51a 100644
> --- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> +++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> @@ -1055,7 +1055,7 @@ OpalGlobalLockingRangeGenKey(
> /**
>
> The function updates the ReadLocked and WriteLocked columns of the Global Locking Range.
> - This funciton is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
> + This function is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns
> (not ReadLockEnabled and WriteLockEnabled columns).
>
> @param[in] LockingSpSession OPAL_SESSION with OPAL_UID_LOCKING_SP to generate key
> diff --git a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> index 9bf1ced..bd12d5a 100644
> --- a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> +++ b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> @@ -406,7 +406,7 @@ OpalDriverGetDeviceList(
> ReadyToBoot callback to send BlockSid command.
>
> @param Event Pointer to this event
> - @param Context Event hanlder private Data
> + @param Context Event handler private Data
>
> **/
> VOID
> diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> index db8d662..804929e 100644
> --- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> +++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> @@ -2073,7 +2073,7 @@ OnReadyToBoot (
> for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
> Status = MeasureSeparatorEvent (PcrIndex);
> if (EFI_ERROR (Status)) {
> - DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
> + DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
> }
> }
>
> diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> index 0d7e32a..3e6d87b 100644
> --- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> +++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> @@ -1160,7 +1160,7 @@ OnReadyToBoot (
> for (PcrIndex = 0; PcrIndex < 8; PcrIndex++) {
> Status = MeasureSeparatorEvent (PcrIndex);
> if (EFI_ERROR (Status)) {
> - DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
> + DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
> }
> }
>
> diff --git a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> index fb69fa1..fa51b64 100644
> --- a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> +++ b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> @@ -1500,7 +1500,7 @@ OnReadyToBoot (
> for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
> Status = MeasureSeparatorEvent (PcrIndex);
> if (EFI_ERROR (Status)) {
> - DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
> + DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
> }
> }
>
> diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
> index 9f157f8..8382744 100644
> --- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
> +++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolicy.c
> @@ -409,7 +409,7 @@ CheckNewIdentityPolicy (
> /**
> Save the identity policy and update UI with it.
>
> - This funciton will verify the new identity policy, in current implementation,
> + This function will verify the new identity policy, in current implementation,
> the identity policy can be: T, P & P & P & ..., P | P | P | ...
> Here, "T" means "True", "P" means "Credential Provider", "&" means "and", "|" means "or".
> Other identity policies are not supported.
> diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
> index afa420e..6491dc2 100644
> --- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
> +++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.h
> @@ -254,7 +254,7 @@ AddIdentityPolicyItem (
> /**
> Save the identity policy and update UI with it.
>
> - This funciton will verify the new identity policy, in current implementation,
> + This function will verify the new identity policy, in current implementation,
> the identity policy can be: T, P & P & P & ..., P | P | P | ...
> Here, "T" means "True", "P" means "Credential Provider", "&" means "and", "|" means "or".
> Other identity policies are not supported.
> --
> 2.10.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
>
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 29/33] SecurityPkg: Fix typos in comments
2016-11-14 4:03 ` Gary Lin
@ 2016-11-14 6:24 ` Gao, Liming
2016-11-14 8:30 ` Gary Lin
0 siblings, 1 reply; 79+ messages in thread
From: Gao, Liming @ 2016-11-14 6:24 UTC (permalink / raw)
To: Gary Lin, Zhang, Chao B; +Cc: edk2-devel@lists.01.org
Lin:
We don't plan to clean up all existing codes with EDKII DEBUG_ macros. We expect DEBUG_ macro will be applied with other change together. So, I propose to add this check in PatchCheck.py script. You only need to update your changed lines.
Thanks
Liming
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Gary Lin
> Sent: Monday, November 14, 2016 12:04 PM
> To: Zhang, Chao B <chao.b.zhang@intel.com>
> Cc: edk2-devel@lists.01.org
> Subject: Re: [edk2] [PATCH 29/33] SecurityPkg: Fix typos in comments
>
> On Mon, Nov 14, 2016 at 03:12:16AM +0000, Zhang, Chao B wrote:
> > Hi Gary:
> > I see some warnings while running PatchChecy.py with this patch.
> > Please help to update the patch, run PatchCheck.py(BaseTools/Scripts) &
> re-send the patch.
> >
>
> Hi Chao,
>
> PatchCheck.py showed this:
>
> The commit message format passed all checks.
> Code format is not valid:
> * EFI_D_ERROR was used, but DEBUG_ERROR is now recommended
> File: SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> Line: DEBUG ((EFI_D_ERROR, "Separator Event not Measured.
> Error!\n"));
> * EFI_D_ERROR was used, but DEBUG_ERROR is now recommended
> File: SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> Line: DEBUG ((EFI_D_ERROR, "Separator Event not Measured.
> Error!\n"));
> * EFI_D_ERROR was used, but DEBUG_ERROR is now recommended
> File: SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> Line: DEBUG ((EFI_D_ERROR, "Separator Event not Measured.
> Error!\n"));
>
> My patch only fixes typos (Seperator -> Separator) and I tried to avoid any
> functional change. I found that EFI_D_ERROR is widely used in SecurityPkg
> and
> it'd be better to convert all EFI_D_ERROR into DEBUG_ERROR in another
> patch.
> What do you think?
>
> Cheers,
>
> Gary Lin
>
> >
> >
> >
> >
> > Thanks & Best regards
> > Chao Zhang
> >
> >
> > -----Original Message-----
> > From: Gary Lin [mailto:glin@suse.com]
> > Sent: Wednesday, October 19, 2016 3:02 PM
> > To: edk2-devel@lists.01.org
> > Cc: Zhang, Chao B
> > Subject: [PATCH 29/33] SecurityPkg: Fix typos in comments
> >
> > - intialized -> initialized
> > - TURE -> TRUE
> > - successull -> successfully
> > - hanlder -> handler
> > - funciton -> function
> > - Seperator -> Separator
> > - Sumbit -> Submit
> >
> > Cc: Chao Zhang <chao.b.zhang@intel.com>
> > Contributed-under: TianoCore Contribution Agreement 1.0
> > Signed-off-by: Gary Lin <glin@suse.com>
> > ---
> > SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> | 2 +-
> > SecurityPkg/Include/Library/TcgPpVendorLib.h
> | 4 ++--
> > SecurityPkg/Include/Library/TcgStorageOpalLib.h
> | 2 +-
> > SecurityPkg/Include/Library/TrEEPpVendorLib.h
> | 4 ++--
> > SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> | 6 +++---
> >
> SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048
> Sha256GuidedSectionExtractLib.c | 2 +-
> >
> SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048S
> ha256GuidedSectionExtractLib.c | 2 +-
> > SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> | 2 +-
> > SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> | 2 +-
> > SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> | 2 +-
> > SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 2
> +-
> > SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 2 +-
> > SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c | 2
> +-
> >
> SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolic
> y.c | 2 +-
> >
> SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManage
> r.h | 2 +-
> > 15 files changed, 19 insertions(+), 19 deletions(-)
> >
> > diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> > index ab34de7..93e3273 100644
> > --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> > +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> > @@ -64,7 +64,7 @@ BOOLEAN
> >
> > This function performs Hash digest on a data buffer of the specified size.
> > It can be called multiple times to compute the digest of long or
> discontinuous data streams.
> > - Hash context should be already correctly intialized by HashInit(), and
> should not be finalized
> > + Hash context should be already correctly initialized by HashInit(), and
> should not be finalized
> > by HashFinal(). Behavior with invalid context is undefined.
> >
> > If HashContext is NULL, then return FALSE.
> > diff --git a/SecurityPkg/Include/Library/TcgPpVendorLib.h
> b/SecurityPkg/Include/Library/TcgPpVendorLib.h
> > index 08b3690..284aa9e 100644
> > --- a/SecurityPkg/Include/Library/TcgPpVendorLib.h
> > +++ b/SecurityPkg/Include/Library/TcgPpVendorLib.h
> > @@ -42,8 +42,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF
> ANY KIND, EITHER EXPRESS OR IMPLIED.
> > #define TCG_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
> >
> > //
> > -// The return code for Sumbit TPM Request to Pre-OS Environment
> > -// and Sumbit TPM Request to Pre-OS Environment 2
> > +// The return code for Submit TPM Request to Pre-OS Environment
> > +// and Submit TPM Request to Pre-OS Environment 2
> > //
> > #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS
> 0
> > #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED
> 1
> > diff --git a/SecurityPkg/Include/Library/TcgStorageOpalLib.h
> b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
> > index 108affc..9b64a8e 100644
> > --- a/SecurityPkg/Include/Library/TcgStorageOpalLib.h
> > +++ b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
> > @@ -290,7 +290,7 @@ OpalGlobalLockingRangeGenKey(
> > /**
> >
> > The function updates the ReadLocked and WriteLocked columns of the
> Global Locking Range.
> > - This funciton is required for a user1 authority, since a user1 authority shall
> only have access to ReadLocked and WriteLocked columns
> > + This function is required for a user1 authority, since a user1 authority
> shall only have access to ReadLocked and WriteLocked columns
> > (not ReadLockEnabled and WriteLockEnabled columns).
> >
> > @param[in] LockingSpSession OPAL_SESSION with
> OPAL_UID_LOCKING_SP to generate key
> > diff --git a/SecurityPkg/Include/Library/TrEEPpVendorLib.h
> b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
> > index d3a0767..f0dcfd9 100644
> > --- a/SecurityPkg/Include/Library/TrEEPpVendorLib.h
> > +++ b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
> > @@ -45,8 +45,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF
> ANY KIND, EITHER EXPRESS OR IMPLIED.
> > #define TREE_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
> >
> > //
> > -// The return code for Sumbit TPM Request to Pre-OS Environment
> > -// and Sumbit TPM Request to Pre-OS Environment 2
> > +// The return code for Submit TPM Request to Pre-OS Environment
> > +// and Submit TPM Request to Pre-OS Environment 2
> > //
> > #define TREE_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS
> 0
> > #define TREE_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED
> 1
> > diff --git
> a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> > index 142b546..02a87f9 100644
> > --- a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> > +++
> b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> > @@ -469,7 +469,7 @@ Done:
> > @param[in] DevicePath Points to device path.
> > @param[in] AccessType The type of user access control.
> >
> > - @retval TURE The DevicePath is in the specified List.
> > + @retval TRUE The DevicePath is in the specified List.
> > @retval FALSE The DevicePath is not in the specified List.
> >
> > **/
> > @@ -512,7 +512,7 @@ IsDevicePathInList (
> >
> > @param[in] DevicePath Points to device path
> >
> > - @retval TURE The image pointed by DevicePath is permitted to load.
> > + @retval TRUE The image pointed by DevicePath is permitted to load.
> > @retval FALSE The image pointed by DevicePath is forbidden to load.
> >
> > **/
> > @@ -545,7 +545,7 @@ VerifyDevicePath (
> >
> > @param[in] DevicePath Points to device path.
> >
> > - @retval TURE The image pointed by DevicePath is a boot option.
> > + @retval TRUE The image pointed by DevicePath is a boot option.
> > @retval FALSE The image pointed by DevicePath is not a boot option.
> >
> > **/
> > diff --git
> a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa20
> 48Sha256GuidedSectionExtractLib.c
> b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa20
> 48Sha256GuidedSectionExtractLib.c
> > index 5f5d242..39768fb 100644
> > ---
> a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa20
> 48Sha256GuidedSectionExtractLib.c
> > +++
> b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa20
> 48Sha256GuidedSectionExtractLib.c
> > @@ -59,7 +59,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
> > @param SectionAttribute The attribute of the input guided section.
> >
> > @retval EFI_SUCCESS The size of destination buffer, the size of
> scratch buffer and
> > - the attribute of the input section are successull retrieved.
> > + the attribute of the input section are successfully
> retrieved.
> > @retval EFI_INVALID_PARAMETER The GUID in InputSection does not
> match this instance guid.
> >
> > **/
> > diff --git
> a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa204
> 8Sha256GuidedSectionExtractLib.c
> b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa204
> 8Sha256GuidedSectionExtractLib.c
> > index 4733703..ba1c700 100644
> > ---
> a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa204
> 8Sha256GuidedSectionExtractLib.c
> > +++
> b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa204
> 8Sha256GuidedSectionExtractLib.c
> > @@ -57,7 +57,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
> > @param SectionAttribute The attribute of the input guided section.
> >
> > @retval EFI_SUCCESS The size of destination buffer, the size of
> scratch buffer and
> > - the attribute of the input section are successull retrieved.
> > + the attribute of the input section are successfully
> retrieved.
> > @retval EFI_INVALID_PARAMETER The GUID in InputSection does not
> match this instance guid.
> >
> > **/
> > diff --git a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> > index 30808cd..286f5b6 100644
> > --- a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> > +++ b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> > @@ -881,7 +881,7 @@ TcgIsProtocolSupported(
> >
> > @param Discovery
> >
> > - @retval TURE if lock, FALSE if not lock.
> > + @retval TRUE if lock, FALSE if not lock.
> > **/
> > BOOLEAN
> > EFIAPI
> > diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> > index a0eac33..90cc51a 100644
> > --- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> > +++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> > @@ -1055,7 +1055,7 @@ OpalGlobalLockingRangeGenKey(
> > /**
> >
> > The function updates the ReadLocked and WriteLocked columns of the
> Global Locking Range.
> > - This funciton is required for a user1 authority, since a user1 authority shall
> only have access to ReadLocked and WriteLocked columns
> > + This function is required for a user1 authority, since a user1 authority
> shall only have access to ReadLocked and WriteLocked columns
> > (not ReadLockEnabled and WriteLockEnabled columns).
> >
> > @param[in] LockingSpSession OPAL_SESSION with
> OPAL_UID_LOCKING_SP to generate key
> > diff --git a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> > index 9bf1ced..bd12d5a 100644
> > --- a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> > +++ b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> > @@ -406,7 +406,7 @@ OpalDriverGetDeviceList(
> > ReadyToBoot callback to send BlockSid command.
> >
> > @param Event Pointer to this event
> > - @param Context Event hanlder private Data
> > + @param Context Event handler private Data
> >
> > **/
> > VOID
> > diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> > index db8d662..804929e 100644
> > --- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> > +++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> > @@ -2073,7 +2073,7 @@ OnReadyToBoot (
> > for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
> > Status = MeasureSeparatorEvent (PcrIndex);
> > if (EFI_ERROR (Status)) {
> > - DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
> > + DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
> > }
> > }
> >
> > diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> > index 0d7e32a..3e6d87b 100644
> > --- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> > +++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> > @@ -1160,7 +1160,7 @@ OnReadyToBoot (
> > for (PcrIndex = 0; PcrIndex < 8; PcrIndex++) {
> > Status = MeasureSeparatorEvent (PcrIndex);
> > if (EFI_ERROR (Status)) {
> > - DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
> > + DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
> > }
> > }
> >
> > diff --git a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> > index fb69fa1..fa51b64 100644
> > --- a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> > +++ b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> > @@ -1500,7 +1500,7 @@ OnReadyToBoot (
> > for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
> > Status = MeasureSeparatorEvent (PcrIndex);
> > if (EFI_ERROR (Status)) {
> > - DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
> > + DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
> > }
> > }
> >
> > diff --git
> a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPo
> licy.c
> b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPo
> licy.c
> > index 9f157f8..8382744 100644
> > ---
> a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPo
> licy.c
> > +++
> b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPo
> licy.c
> > @@ -409,7 +409,7 @@ CheckNewIdentityPolicy (
> > /**
> > Save the identity policy and update UI with it.
> >
> > - This funciton will verify the new identity policy, in current implementation,
> > + This function will verify the new identity policy, in current
> implementation,
> > the identity policy can be: T, P & P & P & ..., P | P | P | ...
> > Here, "T" means "True", "P" means "Credential Provider", "&" means
> "and", "|" means "or".
> > Other identity policies are not supported.
> > diff --git
> a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileMana
> ger.h
> b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileMana
> ger.h
> > index afa420e..6491dc2 100644
> > ---
> a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileMana
> ger.h
> > +++
> b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileMana
> ger.h
> > @@ -254,7 +254,7 @@ AddIdentityPolicyItem (
> > /**
> > Save the identity policy and update UI with it.
> >
> > - This funciton will verify the new identity policy, in current implementation,
> > + This function will verify the new identity policy, in current
> implementation,
> > the identity policy can be: T, P & P & P & ..., P | P | P | ...
> > Here, "T" means "True", "P" means "Credential Provider", "&" means
> "and", "|" means "or".
> > Other identity policies are not supported.
> > --
> > 2.10.1
> >
> > _______________________________________________
> > edk2-devel mailing list
> > edk2-devel@lists.01.org
> > https://lists.01.org/mailman/listinfo/edk2-devel
> >
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 79+ messages in thread
* Re: [PATCH 29/33] SecurityPkg: Fix typos in comments
2016-11-14 6:24 ` Gao, Liming
@ 2016-11-14 8:30 ` Gary Lin
0 siblings, 0 replies; 79+ messages in thread
From: Gary Lin @ 2016-11-14 8:30 UTC (permalink / raw)
To: Gao, Liming; +Cc: Zhang, Chao B, edk2-devel@lists.01.org
On Mon, Nov 14, 2016 at 06:24:50AM +0000, Gao, Liming wrote:
> Lin:
> We don't plan to clean up all existing codes with EDKII DEBUG_ macros. We expect DEBUG_ macro will be applied with other change together. So, I propose to add this check in PatchCheck.py script. You only need to update your changed lines.
>
Ok, sounds like you plan to convert the macro gradually.
I will send a V2 patch.
Thanks,
Gary Lin
> Thanks
> Liming
> > -----Original Message-----
> > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> > Gary Lin
> > Sent: Monday, November 14, 2016 12:04 PM
> > To: Zhang, Chao B <chao.b.zhang@intel.com>
> > Cc: edk2-devel@lists.01.org
> > Subject: Re: [edk2] [PATCH 29/33] SecurityPkg: Fix typos in comments
> >
> > On Mon, Nov 14, 2016 at 03:12:16AM +0000, Zhang, Chao B wrote:
> > > Hi Gary:
> > > I see some warnings while running PatchChecy.py with this patch.
> > > Please help to update the patch, run PatchCheck.py(BaseTools/Scripts) &
> > re-send the patch.
> > >
> >
> > Hi Chao,
> >
> > PatchCheck.py showed this:
> >
> > The commit message format passed all checks.
> > Code format is not valid:
> > * EFI_D_ERROR was used, but DEBUG_ERROR is now recommended
> > File: SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> > Line: DEBUG ((EFI_D_ERROR, "Separator Event not Measured.
> > Error!\n"));
> > * EFI_D_ERROR was used, but DEBUG_ERROR is now recommended
> > File: SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> > Line: DEBUG ((EFI_D_ERROR, "Separator Event not Measured.
> > Error!\n"));
> > * EFI_D_ERROR was used, but DEBUG_ERROR is now recommended
> > File: SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> > Line: DEBUG ((EFI_D_ERROR, "Separator Event not Measured.
> > Error!\n"));
> >
> > My patch only fixes typos (Seperator -> Separator) and I tried to avoid any
> > functional change. I found that EFI_D_ERROR is widely used in SecurityPkg
> > and
> > it'd be better to convert all EFI_D_ERROR into DEBUG_ERROR in another
> > patch.
> > What do you think?
> >
> > Cheers,
> >
> > Gary Lin
> >
> > >
> > >
> > >
> > >
> > > Thanks & Best regards
> > > Chao Zhang
> > >
> > >
> > > -----Original Message-----
> > > From: Gary Lin [mailto:glin@suse.com]
> > > Sent: Wednesday, October 19, 2016 3:02 PM
> > > To: edk2-devel@lists.01.org
> > > Cc: Zhang, Chao B
> > > Subject: [PATCH 29/33] SecurityPkg: Fix typos in comments
> > >
> > > - intialized -> initialized
> > > - TURE -> TRUE
> > > - successull -> successfully
> > > - hanlder -> handler
> > > - funciton -> function
> > > - Seperator -> Separator
> > > - Sumbit -> Submit
> > >
> > > Cc: Chao Zhang <chao.b.zhang@intel.com>
> > > Contributed-under: TianoCore Contribution Agreement 1.0
> > > Signed-off-by: Gary Lin <glin@suse.com>
> > > ---
> > > SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> > | 2 +-
> > > SecurityPkg/Include/Library/TcgPpVendorLib.h
> > | 4 ++--
> > > SecurityPkg/Include/Library/TcgStorageOpalLib.h
> > | 2 +-
> > > SecurityPkg/Include/Library/TrEEPpVendorLib.h
> > | 4 ++--
> > > SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> > | 6 +++---
> > >
> > SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048
> > Sha256GuidedSectionExtractLib.c | 2 +-
> > >
> > SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048S
> > ha256GuidedSectionExtractLib.c | 2 +-
> > > SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> > | 2 +-
> > > SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> > | 2 +-
> > > SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> > | 2 +-
> > > SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 2
> > +-
> > > SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 2 +-
> > > SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c | 2
> > +-
> > >
> > SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPolic
> > y.c | 2 +-
> > >
> > SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManage
> > r.h | 2 +-
> > > 15 files changed, 19 insertions(+), 19 deletions(-)
> > >
> > > diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> > b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> > > index ab34de7..93e3273 100644
> > > --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> > > +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> > > @@ -64,7 +64,7 @@ BOOLEAN
> > >
> > > This function performs Hash digest on a data buffer of the specified size.
> > > It can be called multiple times to compute the digest of long or
> > discontinuous data streams.
> > > - Hash context should be already correctly intialized by HashInit(), and
> > should not be finalized
> > > + Hash context should be already correctly initialized by HashInit(), and
> > should not be finalized
> > > by HashFinal(). Behavior with invalid context is undefined.
> > >
> > > If HashContext is NULL, then return FALSE.
> > > diff --git a/SecurityPkg/Include/Library/TcgPpVendorLib.h
> > b/SecurityPkg/Include/Library/TcgPpVendorLib.h
> > > index 08b3690..284aa9e 100644
> > > --- a/SecurityPkg/Include/Library/TcgPpVendorLib.h
> > > +++ b/SecurityPkg/Include/Library/TcgPpVendorLib.h
> > > @@ -42,8 +42,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF
> > ANY KIND, EITHER EXPRESS OR IMPLIED.
> > > #define TCG_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
> > >
> > > //
> > > -// The return code for Sumbit TPM Request to Pre-OS Environment
> > > -// and Sumbit TPM Request to Pre-OS Environment 2
> > > +// The return code for Submit TPM Request to Pre-OS Environment
> > > +// and Submit TPM Request to Pre-OS Environment 2
> > > //
> > > #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS
> > 0
> > > #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED
> > 1
> > > diff --git a/SecurityPkg/Include/Library/TcgStorageOpalLib.h
> > b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
> > > index 108affc..9b64a8e 100644
> > > --- a/SecurityPkg/Include/Library/TcgStorageOpalLib.h
> > > +++ b/SecurityPkg/Include/Library/TcgStorageOpalLib.h
> > > @@ -290,7 +290,7 @@ OpalGlobalLockingRangeGenKey(
> > > /**
> > >
> > > The function updates the ReadLocked and WriteLocked columns of the
> > Global Locking Range.
> > > - This funciton is required for a user1 authority, since a user1 authority shall
> > only have access to ReadLocked and WriteLocked columns
> > > + This function is required for a user1 authority, since a user1 authority
> > shall only have access to ReadLocked and WriteLocked columns
> > > (not ReadLockEnabled and WriteLockEnabled columns).
> > >
> > > @param[in] LockingSpSession OPAL_SESSION with
> > OPAL_UID_LOCKING_SP to generate key
> > > diff --git a/SecurityPkg/Include/Library/TrEEPpVendorLib.h
> > b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
> > > index d3a0767..f0dcfd9 100644
> > > --- a/SecurityPkg/Include/Library/TrEEPpVendorLib.h
> > > +++ b/SecurityPkg/Include/Library/TrEEPpVendorLib.h
> > > @@ -45,8 +45,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF
> > ANY KIND, EITHER EXPRESS OR IMPLIED.
> > > #define TREE_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
> > >
> > > //
> > > -// The return code for Sumbit TPM Request to Pre-OS Environment
> > > -// and Sumbit TPM Request to Pre-OS Environment 2
> > > +// The return code for Submit TPM Request to Pre-OS Environment
> > > +// and Submit TPM Request to Pre-OS Environment 2
> > > //
> > > #define TREE_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS
> > 0
> > > #define TREE_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED
> > 1
> > > diff --git
> > a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> > b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> > > index 142b546..02a87f9 100644
> > > --- a/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> > > +++
> > b/SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.c
> > > @@ -469,7 +469,7 @@ Done:
> > > @param[in] DevicePath Points to device path.
> > > @param[in] AccessType The type of user access control.
> > >
> > > - @retval TURE The DevicePath is in the specified List.
> > > + @retval TRUE The DevicePath is in the specified List.
> > > @retval FALSE The DevicePath is not in the specified List.
> > >
> > > **/
> > > @@ -512,7 +512,7 @@ IsDevicePathInList (
> > >
> > > @param[in] DevicePath Points to device path
> > >
> > > - @retval TURE The image pointed by DevicePath is permitted to load.
> > > + @retval TRUE The image pointed by DevicePath is permitted to load.
> > > @retval FALSE The image pointed by DevicePath is forbidden to load.
> > >
> > > **/
> > > @@ -545,7 +545,7 @@ VerifyDevicePath (
> > >
> > > @param[in] DevicePath Points to device path.
> > >
> > > - @retval TURE The image pointed by DevicePath is a boot option.
> > > + @retval TRUE The image pointed by DevicePath is a boot option.
> > > @retval FALSE The image pointed by DevicePath is not a boot option.
> > >
> > > **/
> > > diff --git
> > a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa20
> > 48Sha256GuidedSectionExtractLib.c
> > b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa20
> > 48Sha256GuidedSectionExtractLib.c
> > > index 5f5d242..39768fb 100644
> > > ---
> > a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa20
> > 48Sha256GuidedSectionExtractLib.c
> > > +++
> > b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa20
> > 48Sha256GuidedSectionExtractLib.c
> > > @@ -59,7 +59,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
> > > @param SectionAttribute The attribute of the input guided section.
> > >
> > > @retval EFI_SUCCESS The size of destination buffer, the size of
> > scratch buffer and
> > > - the attribute of the input section are successull retrieved.
> > > + the attribute of the input section are successfully
> > retrieved.
> > > @retval EFI_INVALID_PARAMETER The GUID in InputSection does not
> > match this instance guid.
> > >
> > > **/
> > > diff --git
> > a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa204
> > 8Sha256GuidedSectionExtractLib.c
> > b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa204
> > 8Sha256GuidedSectionExtractLib.c
> > > index 4733703..ba1c700 100644
> > > ---
> > a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa204
> > 8Sha256GuidedSectionExtractLib.c
> > > +++
> > b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa204
> > 8Sha256GuidedSectionExtractLib.c
> > > @@ -57,7 +57,7 @@ CONST UINT8 mRsaE[] = { 0x01, 0x00, 0x01 };
> > > @param SectionAttribute The attribute of the input guided section.
> > >
> > > @retval EFI_SUCCESS The size of destination buffer, the size of
> > scratch buffer and
> > > - the attribute of the input section are successull retrieved.
> > > + the attribute of the input section are successfully
> > retrieved.
> > > @retval EFI_INVALID_PARAMETER The GUID in InputSection does not
> > match this instance guid.
> > >
> > > **/
> > > diff --git a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> > b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> > > index 30808cd..286f5b6 100644
> > > --- a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> > > +++ b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c
> > > @@ -881,7 +881,7 @@ TcgIsProtocolSupported(
> > >
> > > @param Discovery
> > >
> > > - @retval TURE if lock, FALSE if not lock.
> > > + @retval TRUE if lock, FALSE if not lock.
> > > **/
> > > BOOLEAN
> > > EFIAPI
> > > diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> > b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> > > index a0eac33..90cc51a 100644
> > > --- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> > > +++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
> > > @@ -1055,7 +1055,7 @@ OpalGlobalLockingRangeGenKey(
> > > /**
> > >
> > > The function updates the ReadLocked and WriteLocked columns of the
> > Global Locking Range.
> > > - This funciton is required for a user1 authority, since a user1 authority shall
> > only have access to ReadLocked and WriteLocked columns
> > > + This function is required for a user1 authority, since a user1 authority
> > shall only have access to ReadLocked and WriteLocked columns
> > > (not ReadLockEnabled and WriteLockEnabled columns).
> > >
> > > @param[in] LockingSpSession OPAL_SESSION with
> > OPAL_UID_LOCKING_SP to generate key
> > > diff --git a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> > b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> > > index 9bf1ced..bd12d5a 100644
> > > --- a/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> > > +++ b/SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalDriver.c
> > > @@ -406,7 +406,7 @@ OpalDriverGetDeviceList(
> > > ReadyToBoot callback to send BlockSid command.
> > >
> > > @param Event Pointer to this event
> > > - @param Context Event hanlder private Data
> > > + @param Context Event handler private Data
> > >
> > > **/
> > > VOID
> > > diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> > b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> > > index db8d662..804929e 100644
> > > --- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> > > +++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> > > @@ -2073,7 +2073,7 @@ OnReadyToBoot (
> > > for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
> > > Status = MeasureSeparatorEvent (PcrIndex);
> > > if (EFI_ERROR (Status)) {
> > > - DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
> > > + DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
> > > }
> > > }
> > >
> > > diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> > b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> > > index 0d7e32a..3e6d87b 100644
> > > --- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> > > +++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
> > > @@ -1160,7 +1160,7 @@ OnReadyToBoot (
> > > for (PcrIndex = 0; PcrIndex < 8; PcrIndex++) {
> > > Status = MeasureSeparatorEvent (PcrIndex);
> > > if (EFI_ERROR (Status)) {
> > > - DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
> > > + DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
> > > }
> > > }
> > >
> > > diff --git a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> > b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> > > index fb69fa1..fa51b64 100644
> > > --- a/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> > > +++ b/SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c
> > > @@ -1500,7 +1500,7 @@ OnReadyToBoot (
> > > for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {
> > > Status = MeasureSeparatorEvent (PcrIndex);
> > > if (EFI_ERROR (Status)) {
> > > - DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));
> > > + DEBUG ((EFI_D_ERROR, "Separator Event not Measured. Error!\n"));
> > > }
> > > }
> > >
> > > diff --git
> > a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPo
> > licy.c
> > b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPo
> > licy.c
> > > index 9f157f8..8382744 100644
> > > ---
> > a/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPo
> > licy.c
> > > +++
> > b/SecurityPkg/UserIdentification/UserProfileManagerDxe/ModifyIdentityPo
> > licy.c
> > > @@ -409,7 +409,7 @@ CheckNewIdentityPolicy (
> > > /**
> > > Save the identity policy and update UI with it.
> > >
> > > - This funciton will verify the new identity policy, in current implementation,
> > > + This function will verify the new identity policy, in current
> > implementation,
> > > the identity policy can be: T, P & P & P & ..., P | P | P | ...
> > > Here, "T" means "True", "P" means "Credential Provider", "&" means
> > "and", "|" means "or".
> > > Other identity policies are not supported.
> > > diff --git
> > a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileMana
> > ger.h
> > b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileMana
> > ger.h
> > > index afa420e..6491dc2 100644
> > > ---
> > a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileMana
> > ger.h
> > > +++
> > b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileMana
> > ger.h
> > > @@ -254,7 +254,7 @@ AddIdentityPolicyItem (
> > > /**
> > > Save the identity policy and update UI with it.
> > >
> > > - This funciton will verify the new identity policy, in current implementation,
> > > + This function will verify the new identity policy, in current
> > implementation,
> > > the identity policy can be: T, P & P & P & ..., P | P | P | ...
> > > Here, "T" means "True", "P" means "Credential Provider", "&" means
> > "and", "|" means "or".
> > > Other identity policies are not supported.
> > > --
> > > 2.10.1
> > >
> > > _______________________________________________
> > > edk2-devel mailing list
> > > edk2-devel@lists.01.org
> > > https://lists.01.org/mailman/listinfo/edk2-devel
> > >
> > _______________________________________________
> > edk2-devel mailing list
> > edk2-devel@lists.01.org
> > https://lists.01.org/mailman/listinfo/edk2-devel
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
>
^ permalink raw reply [flat|nested] 79+ messages in thread
end of thread, other threads:[~2016-11-14 8:31 UTC | newest]
Thread overview: 79+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-19 7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
2016-10-19 7:01 ` [PATCH 01/33] ArmPkg: Fix typos in comments Gary Lin
2016-10-19 15:09 ` Ard Biesheuvel
2016-10-19 15:15 ` Laszlo Ersek
2016-10-19 15:33 ` Leif Lindholm
2016-10-19 7:01 ` [PATCH 02/33] BaseTools: Fix typos in comments and variables Gary Lin
2016-10-19 7:30 ` Gao, Liming
2016-10-19 7:36 ` Zhu, Yonghong
2016-10-19 7:01 ` [PATCH 03/33] CorebootPayloadPkg: Fix typos in comments Gary Lin
2016-10-26 18:50 ` Ma, Maurice
2016-10-19 7:01 ` [PATCH 04/33] CorebootModulePkg: " Gary Lin
2016-10-26 18:41 ` Ma, Maurice
2016-10-19 7:01 ` [PATCH 05/33] CryptoPkg: " Gary Lin
2016-10-26 3:00 ` Long, Qin
2016-10-19 7:01 ` [PATCH 06/33] DuetPkg: " Gary Lin
2016-10-19 7:46 ` Ni, Ruiyu
2016-10-19 7:01 ` [PATCH 07/33] EdkCompatibilityPkg: " Gary Lin
2016-10-19 8:19 ` Gao, Liming
2016-10-19 7:01 ` [PATCH 08/33] EmulatorPkg: Fix typos in comments and variables Gary Lin
2016-10-19 20:37 ` Jordan Justen
2016-10-20 8:16 ` Laszlo Ersek
2016-10-19 7:01 ` [PATCH 09/33] EmbeddedPkg: Fix typos in comments Gary Lin
2016-10-19 15:09 ` Ard Biesheuvel
2016-10-19 7:01 ` [PATCH 10/33] IntelFrameworkModulePkg: " Gary Lin
2016-10-20 1:08 ` Fan, Jeff
2016-10-19 7:01 ` [PATCH 11/33] IntelFrameworkPkg: " Gary Lin
2016-10-20 1:08 ` Fan, Jeff
2016-10-19 7:01 ` [PATCH 12/33] IntelFspPkg: " Gary Lin
2016-10-19 7:06 ` Yao, Jiewen
2016-10-19 7:01 ` [PATCH 13/33] IntelFspWrapperPkg: " Gary Lin
2016-10-19 7:08 ` Yao, Jiewen
2016-10-19 7:01 ` [PATCH 14/33] IntelFsp2Pkg: " Gary Lin
2016-10-19 7:06 ` Yao, Jiewen
2016-10-19 7:12 ` Mudusuru, Giri P
2016-10-19 7:01 ` [PATCH 15/33] IntelFsp2WrapperPkg: Fix a typo in the comment Gary Lin
2016-10-19 7:07 ` Yao, Jiewen
2016-10-19 7:11 ` Mudusuru, Giri P
2016-10-19 7:01 ` [PATCH 16/33] MdeModulePkg: BootManagerMenuApp: Fix typos in comments Gary Lin
2016-10-19 8:20 ` Tian, Feng
2016-10-19 7:01 ` [PATCH 17/33] MdeModulePkg/Bus: " Gary Lin
2016-10-19 7:01 ` [PATCH 18/33] MdeModulePkg/Core: " Gary Lin
2016-10-19 8:20 ` Tian, Feng
2016-10-19 7:01 ` [PATCH 19/33] MdeModulePkg/Include: " Gary Lin
2016-10-19 7:01 ` [PATCH 20/33] MdeModulePkg/Library: Fix typos in comments and variables Gary Lin
2016-10-19 7:01 ` [PATCH 21/33] MdeModulePkg/Universal: Fix typos in comments Gary Lin
2016-10-19 7:01 ` [PATCH 22/33] MdePkg: " Gary Lin
2016-10-19 8:21 ` Gao, Liming
2016-10-19 7:01 ` [PATCH 23/33] NetworkPkg: " Gary Lin
2016-10-19 7:21 ` Fu, Siyuan
2016-10-26 0:53 ` Fu, Siyuan
2016-10-19 7:01 ` [PATCH 24/33] Nt32Pkg: Fix typos in comments and variables Gary Lin
2016-10-19 7:50 ` Ni, Ruiyu
2016-10-19 7:01 ` [PATCH 25/33] OptionRomPkg: Fix typos in comments Gary Lin
2016-10-19 7:51 ` Ni, Ruiyu
2016-10-19 7:01 ` [PATCH 26/33] OvmfPkg: " Gary Lin
2016-10-19 7:01 ` [PATCH 27/33] QuarkPlatformPkg: " Gary Lin
2016-10-25 20:53 ` Kinney, Michael D
2016-10-19 7:01 ` [PATCH 28/33] QuarkSocPkg: " Gary Lin
2016-10-25 21:00 ` Kinney, Michael D
2016-10-19 7:01 ` [PATCH 29/33] SecurityPkg: " Gary Lin
2016-10-27 1:29 ` Zhang, Chao B
2016-11-14 3:12 ` Zhang, Chao B
2016-11-14 4:03 ` Gary Lin
2016-11-14 6:24 ` Gao, Liming
2016-11-14 8:30 ` Gary Lin
2016-10-19 7:01 ` [PATCH 30/33] ShellPkg: Fix typos in comments and variables Gary Lin
2016-10-19 7:51 ` Ni, Ruiyu
2016-10-19 20:29 ` Carsey, Jaben
2016-10-20 1:55 ` Gary Lin
2016-10-19 7:01 ` [PATCH 31/33] SourceLevelDebugPkg: Fix typos in comments Gary Lin
2016-10-19 7:46 ` Wu, Hao A
2016-10-19 7:01 ` [PATCH 32/33] UefiCpuPkg: " Gary Lin
2016-10-20 1:58 ` Fan, Jeff
2016-10-20 2:08 ` Gary Lin
2016-10-20 2:45 ` Fan, Jeff
2016-10-19 7:01 ` [PATCH 33/33] Vlv2TbltDevicePkg: " Gary Lin
2016-10-24 1:33 ` Wei, David
2016-10-19 7:28 ` [PATCH 00/33] Fix typos in comments and variables Zeng, Star
2016-10-19 14:50 ` Leif Lindholm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox