summaryrefslogtreecommitdiffstats
path: root/DuetPkg
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2016-10-19 15:01:11 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-11-15 11:05:33 +0800
commit34f5c23452b3bbc43ebfe8aaa8f2fdcd35669dc3 (patch)
treec8070e8c8b5113792f70252129220c358d002fb7 /DuetPkg
parent94e4bcbb5efaf86440e89293d80b0a73781fff12 (diff)
downloadedk2-34f5c23452b3bbc43ebfe8aaa8f2fdcd35669dc3.tar.gz
edk2-34f5c23452b3bbc43ebfe8aaa8f2fdcd35669dc3.tar.bz2
edk2-34f5c23452b3bbc43ebfe8aaa8f2fdcd35669dc3.zip
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>
Diffstat (limited to 'DuetPkg')
-rw-r--r--DuetPkg/BiosVideoThunkDxe/BiosVideo.c4
-rw-r--r--DuetPkg/DxeIpl/HobGeneration.c2
-rw-r--r--DuetPkg/EfiLdr/EfiLoader.c2
-rw-r--r--DuetPkg/EfiLdr/LzmaDecompress.h2
-rw-r--r--DuetPkg/EfiLdr/TianoDecompress.c6
-rw-r--r--DuetPkg/EfiLdr/TianoDecompress.h4
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.c14
-rw-r--r--DuetPkg/PciBusNoEnumerationDxe/PciBus.h2
8 files changed, 18 insertions, 18 deletions
diff --git a/DuetPkg/BiosVideoThunkDxe/BiosVideo.c b/DuetPkg/BiosVideoThunkDxe/BiosVideo.c
index da2c877d35..dc367e9983 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 fac74b08fd..03e44d594d 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 b23966e5ee..ac950b55fa 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 7d20fdace4..e244df7aaa 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 6fed7a1591..b504e8e1d4 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 0d85b7bd0f..e9cb016acf 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 a4b2aa9473..c0dc493379 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 3ddb5bfb85..150196cfd6 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;