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

Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
This commit is contained in:
Gary Lin 2016-10-19 15:01:11 +08:00 committed by Ruiyu Ni
parent 94e4bcbb5e
commit 34f5c23452
8 changed files with 18 additions and 18 deletions

View File

@ -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. into this handle, such as EFI_GRAPHIC_OUTPUT_PROTOCOL.
@param This Instance pointer of EFI_DRIVER_BINDING_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. into this handle, such as EFI_GRAPHIC_OUTPUT_PROTOCOL.
@param This Instance pointer of EFI_DRIVER_BINDING_PROTOCOL @param This Instance pointer of EFI_DRIVER_BINDING_PROTOCOL

View File

@ -727,7 +727,7 @@ PrepareHobBfv (
// //
// Calculate BFV location at top of the memory region. // 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)); //BfvLengthPageSize = EFI_PAGES_TO_SIZE (EFI_SIZE_TO_PAGES (BfvLength));

View File

@ -66,7 +66,7 @@ EfiLoader (
// //
// Add all EfiConventionalMemory descriptors to the table. If there are partial pages, then // 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; BiosMemoryMap = (BIOS_MEMORY_MAP *) (UINTN) BiosMemoryMapBaseAddress;
NumberOfMemoryMapEntries = 0; NumberOfMemoryMapEntries = 0;

View File

@ -23,7 +23,7 @@
@param DestinationSize The size of destination buffer. @param DestinationSize The size of destination buffer.
@param ScratchSize The size of scratch 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 @retval RETURN_INVALID_PARAMETER - The source data is corrupted
**/ **/
RETURN_STATUS RETURN_STATUS

View File

@ -675,7 +675,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/
@ -844,7 +844,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/
@ -928,7 +928,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/

View File

@ -1,5 +1,5 @@
/** @file /** @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> Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials This program and the accompanying materials
@ -47,7 +47,7 @@ Arguments:
Returns: 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_INVALID_PARAMETER - The source data is corrupted
--*/ --*/

View File

@ -383,7 +383,7 @@ PlatformBdsInit (
Routine Description: Routine Description:
Platform Bds init. Incude the platform firmware vendor, revision Platform Bds init. Include the platform firmware vendor, revision
and so crc check. and so crc check.
Arguments: 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 // device and create child handles with GraphicsOutput Protocol installed
// on them, then we get device paths of these child handles and select // on them, then we get device paths of these child handles and select
// them as possible console device. // them as possible console device.
@ -676,7 +676,7 @@ GetGopDevicePath (
// In current implementation, we only enable one of the child handles // In current implementation, we only enable one of the child handles
// as console device, i.e. sotre one of the child handle's device // as console device, i.e. sotre one of the child handle's device
// path to variable "ConOut" // 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; *GopDevicePath = TempDevicePath;
@ -907,7 +907,7 @@ Routine Description:
Arguments: Arguments:
PlatformConsole - Predfined platform default console device array. PlatformConsole - Predefined platform default console device array.
Returns: Returns:
@ -950,7 +950,7 @@ Returns:
// //
// Have chance to connect the platform default console, // 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 // the platform should support
// //
for (Index = 0; PlatformConsole[Index].DevicePath != NULL; ++Index) { for (Index = 0; PlatformConsole[Index].DevicePath != NULL; ++Index) {
@ -1001,7 +1001,7 @@ PlatformBdsConnectSequence (
Routine Description: Routine Description:
Connect with predeined platform connect sequence, Connect with predefined platform connect sequence,
the OEM/IBV can customize with their own connect sequence. the OEM/IBV can customize with their own connect sequence.
Arguments: Arguments:
@ -1141,7 +1141,7 @@ PlatformBdsPolicyBehavior (
Routine Description: 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 is driven by boot mode. IBV/OEM can customize this code for their specific
policy action. policy action.

View File

@ -137,7 +137,7 @@ typedef struct _PCI_IO_DEVICE {
LIST_ENTRY ChildList; 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; BOOLEAN Registered;