]> git.proxmox.com Git - mirror_edk2.git/commitdiff
DuetPkg: Fix typos in comments
authorGary Lin <glin@suse.com>
Wed, 19 Oct 2016 07:01:11 +0000 (15:01 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Tue, 15 Nov 2016 03:05:33 +0000 (11:05 +0800)
- 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>
DuetPkg/BiosVideoThunkDxe/BiosVideo.c
DuetPkg/DxeIpl/HobGeneration.c
DuetPkg/EfiLdr/EfiLoader.c
DuetPkg/EfiLdr/LzmaDecompress.h
DuetPkg/EfiLdr/TianoDecompress.c
DuetPkg/EfiLdr/TianoDecompress.h
DuetPkg/Library/DuetBdsLib/BdsPlatform.c
DuetPkg/PciBusNoEnumerationDxe/PciBus.h

index da2c877d3553d10e4c33c3f78f86d404bfee264e..dc367e9983b3aac5aa331ea83d16b797986c0d3e 100644 (file)
@@ -94,7 +94,7 @@ VESA_BIOS_EXTENSIONS_EDID_TIMING mEstablishedEdidTiming[] = {
 };\r
 \r
 /**\r
-  Install child hanlde for a detect BiosVideo device and install related protocol\r
+  Install child handle for a detect BiosVideo device and install related protocol\r
   into this handle, such as EFI_GRAPHIC_OUTPUT_PROTOCOL.\r
 \r
   @param This                Instance pointer of EFI_DRIVER_BINDING_PROTOCOL\r
@@ -391,7 +391,7 @@ BiosVideoDriverBindingStop (
 }\r
 \r
 /**\r
-  Install child hanlde for a detect BiosVideo device and install related protocol\r
+  Install child handle for a detect BiosVideo device and install related protocol\r
   into this handle, such as EFI_GRAPHIC_OUTPUT_PROTOCOL.\r
 \r
   @param This                Instance pointer of EFI_DRIVER_BINDING_PROTOCOL\r
index fac74b08fd98d47fdd0d69f23b05ea4c2009de78..03e44d594d73c6442e6100c6c8d7cb491600317d 100644 (file)
@@ -727,7 +727,7 @@ PrepareHobBfv (
 \r
   //\r
   // Calculate BFV location at top of the memory region.\r
-  // This is like a RAM Disk. Align to page boundry.\r
+  // This is like a RAM Disk. Align to page boundary.\r
   //\r
   //BfvLengthPageSize = EFI_PAGES_TO_SIZE (EFI_SIZE_TO_PAGES (BfvLength));\r
  \r
index b23966e5ee1a473edc220761f888a010f1e8487d..ac950b55fa6d70cf83a5354ee2226e18d74b93ab 100644 (file)
@@ -66,7 +66,7 @@ EfiLoader (
 \r
   //\r
   // Add all EfiConventionalMemory descriptors to the table.  If there are partial pages, then\r
-  // round the start address up to the next page, and round the length down to a page boundry.\r
+  // round the start address up to the next page, and round the length down to a page boundary.\r
   //\r
   BiosMemoryMap = (BIOS_MEMORY_MAP *) (UINTN) BiosMemoryMapBaseAddress;\r
   NumberOfMemoryMapEntries = 0;\r
index 7d20fdace483a84f593d388abf751da5bb64b2e2..e244df7aaa5f1d64a16b40b914d34b4f25f2e3b7 100644 (file)
@@ -23,7 +23,7 @@
   @param DestinationSize  The size of destination buffer.\r
   @param ScratchSize      The size of scratch buffer.\r
 \r
-  @retval RETURN_SUCCESS           - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+  @retval RETURN_SUCCESS           - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
   @retval RETURN_INVALID_PARAMETER - The source data is corrupted\r
 **/\r
 RETURN_STATUS\r
index 6fed7a15917057edcfd8f0aaae7d54c2057ae96f..b504e8e1d4dcd12248bd2a77aff90b4087bfecae 100644 (file)
@@ -675,7 +675,7 @@ Arguments:
 \r
 Returns:\r
 \r
-  EFI_SUCCESS           - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+  EFI_SUCCESS           - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
   EFI_INVALID_PARAMETER - The source data is corrupted\r
 \r
 --*/\r
@@ -844,7 +844,7 @@ Arguments:
 \r
 Returns:\r
 \r
-  EFI_SUCCESS           - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+  EFI_SUCCESS           - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
   EFI_INVALID_PARAMETER - The source data is corrupted\r
 \r
 --*/\r
@@ -928,7 +928,7 @@ Arguments:
 \r
 Returns:\r
 \r
-  EFI_SUCCESS           - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+  EFI_SUCCESS           - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
   EFI_INVALID_PARAMETER - The source data is corrupted\r
 \r
 --*/\r
index 0d85b7bd0fb9ca060823aee67e99ca7bf24482c5..e9cb016acf89da39db52f38879bb993f60f54823 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Internal include file for Base UEFI Decompress Libary.\r
+  Internal include file for Base UEFI Decompress Library.\r
 \r
   Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
@@ -47,7 +47,7 @@ Arguments:
 \r
 Returns:\r
 \r
-  EFI_SUCCESS           - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
+  EFI_SUCCESS           - The size of destination buffer and the size of scratch buffer are successfully retrieved.\r
   EFI_INVALID_PARAMETER - The source data is corrupted\r
 \r
 --*/\r
index a4b2aa947322a0e185657c0ab8991fd7376b8b16..c0dc49337911dcffaab2123597a43b586b278556 100644 (file)
@@ -383,7 +383,7 @@ PlatformBdsInit (
 \r
 Routine Description:\r
 \r
-  Platform Bds init. Incude the platform firmware vendor, revision\r
+  Platform Bds init. Include the platform firmware vendor, revision\r
   and so crc check.\r
 \r
 Arguments:\r
@@ -644,7 +644,7 @@ GetGopDevicePath (
   }\r
 \r
   //\r
-  // Try to connect this handle, so that GOP dirver could start on this \r
+  // Try to connect this handle, so that GOP driver could start on this \r
   // device and create child handles with GraphicsOutput Protocol installed\r
   // on them, then we get device paths of these child handles and select \r
   // them as possible console device.\r
@@ -676,7 +676,7 @@ GetGopDevicePath (
         // In current implementation, we only enable one of the child handles\r
         // as console device, i.e. sotre one of the child handle's device\r
         // path to variable "ConOut"\r
-        // In futhure, we could select all child handles to be console device\r
+        // In future, we could select all child handles to be console device\r
         //       \r
 \r
         *GopDevicePath = TempDevicePath;\r
@@ -907,7 +907,7 @@ Routine Description:
 \r
 Arguments:\r
 \r
-  PlatformConsole         - Predfined platform default console device array.\r
+  PlatformConsole         - Predefined platform default console device array.\r
  \r
 Returns:\r
 \r
@@ -950,7 +950,7 @@ Returns:
 \r
     //\r
     // Have chance to connect the platform default console,\r
-    // the platform default console is the minimue device group\r
+    // the platform default console is the minimum device group\r
     // the platform should support\r
     //\r
     for (Index = 0; PlatformConsole[Index].DevicePath != NULL; ++Index) {\r
@@ -1001,7 +1001,7 @@ PlatformBdsConnectSequence (
 \r
 Routine Description:\r
 \r
-  Connect with predeined platform connect sequence, \r
+  Connect with predefined platform connect sequence,\r
   the OEM/IBV can customize with their own connect sequence.\r
   \r
 Arguments:\r
@@ -1141,7 +1141,7 @@ PlatformBdsPolicyBehavior (
 \r
 Routine Description:\r
 \r
-  The function will excute with as the platform policy, current policy\r
+  The function will execute with as the platform policy, current policy\r
   is driven by boot mode. IBV/OEM can customize this code for their specific\r
   policy action.\r
   \r
index 3ddb5bfb854941ce448ec5aeddb593bf4da5e90a..150196cfd67a1e32d1124f2be123f92f2f2e40c1 100644 (file)
@@ -137,7 +137,7 @@ typedef struct _PCI_IO_DEVICE {
   LIST_ENTRY                            ChildList;\r
 \r
   //\r
-  // TURE if the PCI bus driver creates the handle for this PCI device\r
+  // TRUE if the PCI bus driver creates the handle for this PCI device\r
   //\r
   BOOLEAN                                   Registered;\r
 \r