]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix some typo.
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 31 Dec 2008 06:06:57 +0000 (06:06 +0000)
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 31 Dec 2008 06:06:57 +0000 (06:06 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7160 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c
MdeModulePkg/Library/GenericBdsLib/BdsBoot.c
MdeModulePkg/Library/GenericBdsLib/BdsConnect.c
MdeModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c
MdeModulePkg/Universal/PCD/Dxe/Service.c
MdeModulePkg/Universal/PCD/Dxe/Service.h
MdeModulePkg/Universal/PCD/Pei/Pcd.c

index 30e5883d7ce3984ccb9adbe6665b22ab71b110e8..1859f026c854605afc6ccf876011f867d5fc004a 100644 (file)
@@ -80,7 +80,7 @@ FreeMappingDatabase (
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  Create the mappging database according to variable.\r
+  Create the mapping database according to variable.\r
 \r
   Read the environment variable(s) that contain the override mappings from Controller Device Path to\r
   a set of Driver Device Paths, and create the mapping database in memory with those variable info.\r
 \r
   Read the environment variable(s) that contain the override mappings from Controller Device Path to\r
   a set of Driver Device Paths, and create the mapping database in memory with those variable info.\r
index 8f9d92881a6263f257c99a6fbac195344a559a51..f170daab95b96058b50331df8a5d69f6ddffcd0b 100644 (file)
@@ -50,7 +50,7 @@ BdsLibDoLegacyBoot (
     return EFI_UNSUPPORTED;\r
   }\r
   //\r
     return EFI_UNSUPPORTED;\r
   }\r
   //\r
-  // Notes: if we seperate the int 19, then we don't need to refresh BBS\r
+  // Notes: if we separate the int 19, then we don't need to refresh BBS\r
   //\r
   BdsRefreshBbsTableForBoot (Option);\r
 \r
   //\r
   BdsRefreshBbsTableForBoot (Option);\r
 \r
@@ -77,7 +77,7 @@ BdsLibDoLegacyBoot (
 \r
   @param  Option                 The boot option need to be processed\r
   @param  DevicePath             The device path which describe where to load the\r
 \r
   @param  Option                 The boot option need to be processed\r
   @param  DevicePath             The device path which describe where to load the\r
-                                 boot image or the legcy BBS device path to boot\r
+                                 boot image or the legacy BBS device path to boot\r
                                  the legacy OS\r
   @param  ExitDataSize           The size of exit data.\r
   @param  ExitData               Data returned when Boot image failed.\r
                                  the legacy OS\r
   @param  ExitDataSize           The size of exit data.\r
   @param  ExitData               Data returned when Boot image failed.\r
@@ -175,6 +175,7 @@ BdsLibBootViaBootOption (
       FreePool(Option->DevicePath);\r
     }\r
     Option->DevicePath  = AllocateZeroPool (GetDevicePathSize (DevicePath));\r
       FreePool(Option->DevicePath);\r
     }\r
     Option->DevicePath  = AllocateZeroPool (GetDevicePathSize (DevicePath));\r
+    ASSERT(Option->DevicePath != NULL);\r
     CopyMem (Option->DevicePath, DevicePath, GetDevicePathSize (DevicePath));\r
     //\r
     // Update the shell boot option\r
     CopyMem (Option->DevicePath, DevicePath, GetDevicePathSize (DevicePath));\r
     //\r
     // Update the shell boot option\r
@@ -286,7 +287,7 @@ Done:
 /**\r
   Expand a device path that starts with a hard drive media device path node to be a\r
   full device path that includes the full hardware path to the device. We need\r
 /**\r
   Expand a device path that starts with a hard drive media device path node to be a\r
   full device path that includes the full hardware path to the device. We need\r
-  to do this so it can be booted. As an optimizaiton the front match (the part point\r
+  to do this so it can be booted. As an optimization the front match (the part point\r
   to the partition node. E.g. ACPI() /PCI()/ATA()/Partition() ) is saved in a variable\r
   so a connect all is not required on every boot. All successful history device path\r
   which point to partition node (the front part) will be saved.\r
   to the partition node. E.g. ACPI() /PCI()/ATA()/Partition() ) is saved in a variable\r
   so a connect all is not required on every boot. All successful history device path\r
   which point to partition node (the front part) will be saved.\r
@@ -338,8 +339,8 @@ BdsExpandPartitionPartialDevicePathToFull (
     do {\r
       //\r
       // Check every instance of the variable\r
     do {\r
       //\r
       // Check every instance of the variable\r
-      // First, check wheather the instance contain the partition node, which is needed for distinguishing  multi\r
-      // partial partition boot option. Second, check wheather the instance could be connected.\r
+      // First, check whether the instance contain the partition node, which is needed for distinguishing  multi\r
+      // partial partition boot option. Second, check whether the instance could be connected.\r
       //\r
       Instance  = GetNextDevicePathInstance (&TempNewDevicePath, &Size);\r
       if (MatchPartitionDevicePathNode (Instance, HardDriveDevicePath)) {\r
       //\r
       Instance  = GetNextDevicePathInstance (&TempNewDevicePath, &Size);\r
       if (MatchPartitionDevicePathNode (Instance, HardDriveDevicePath)) {\r
@@ -363,13 +364,13 @@ BdsExpandPartitionPartialDevicePathToFull (
     if (DeviceExist) {\r
       //\r
       // Find the matched device path.\r
     if (DeviceExist) {\r
       //\r
       // Find the matched device path.\r
-      // Append the file path infomration from the boot option and return the fully expanded device path.\r
+      // Append the file path information from the boot option and return the fully expanded device path.\r
       //\r
       DevicePath     = NextDevicePathNode ((EFI_DEVICE_PATH_PROTOCOL *) HardDriveDevicePath);\r
       FullDevicePath = AppendDevicePath (Instance, DevicePath);\r
 \r
       //\r
       //\r
       DevicePath     = NextDevicePathNode ((EFI_DEVICE_PATH_PROTOCOL *) HardDriveDevicePath);\r
       FullDevicePath = AppendDevicePath (Instance, DevicePath);\r
 \r
       //\r
-      // Adjust the 'HDDP' instances sequense if the matched one is not first one.\r
+      // Adjust the 'HDDP' instances sequence if the matched one is not first one.\r
       //\r
       if (NeedAdjust) {\r
         //\r
       //\r
       if (NeedAdjust) {\r
         //\r
@@ -380,7 +381,7 @@ BdsExpandPartitionPartialDevicePathToFull (
         FreePool (TempNewDevicePath);\r
         \r
         //\r
         FreePool (TempNewDevicePath);\r
         \r
         //\r
-        // Second, append the remaining parth after the matched instance\r
+        // Second, append the remaining path after the matched instance\r
         //\r
         TempNewDevicePath = CachedDevicePath;\r
         CachedDevicePath = AppendDevicePathInstance (Instance, CachedDevicePath );\r
         //\r
         TempNewDevicePath = CachedDevicePath;\r
         CachedDevicePath = AppendDevicePathInstance (Instance, CachedDevicePath );\r
@@ -405,7 +406,7 @@ BdsExpandPartitionPartialDevicePathToFull (
 \r
   //\r
   // If we get here we fail to find or 'HDDP' not exist, and now we need\r
 \r
   //\r
   // If we get here we fail to find or 'HDDP' not exist, and now we need\r
-  // to seach all devices in the system for a matched partition\r
+  // to search all devices in the system for a matched partition\r
   //\r
   BdsLibConnectAllDriversToAllControllers ();\r
   Status = gBS->LocateHandleBuffer (ByProtocol, &gEfiBlockIoProtocolGuid, NULL, &BlockIoHandleCount, &BlockIoBuffer);\r
   //\r
   BdsLibConnectAllDriversToAllControllers ();\r
   Status = gBS->LocateHandleBuffer (ByProtocol, &gEfiBlockIoProtocolGuid, NULL, &BlockIoHandleCount, &BlockIoBuffer);\r
@@ -434,11 +435,11 @@ BdsExpandPartitionPartialDevicePathToFull (
       FullDevicePath = AppendDevicePath (BlockIoDevicePath, DevicePath);\r
 \r
       //\r
       FullDevicePath = AppendDevicePath (BlockIoDevicePath, DevicePath);\r
 \r
       //\r
-      // Save the matched patition device path in 'HDDP' variable\r
+      // Save the matched partition device path in 'HDDP' variable\r
       //\r
       if (CachedDevicePath != NULL) {\r
         //\r
       //\r
       if (CachedDevicePath != NULL) {\r
         //\r
-        // Save the matched patition device path as first instance of 'HDDP' variable\r
+        // Save the matched partition device path as first instance of 'HDDP' variable\r
         //\r
         if (BdsLibMatchDevicePaths (CachedDevicePath, BlockIoDevicePath)) {\r
           TempNewDevicePath = CachedDevicePath;\r
         //\r
         if (BdsLibMatchDevicePaths (CachedDevicePath, BlockIoDevicePath)) {\r
           TempNewDevicePath = CachedDevicePath;\r
@@ -455,7 +456,7 @@ BdsExpandPartitionPartialDevicePathToFull (
         }\r
         //\r
         // Here limit the device path instance number to 12, which is max number for a system support 3 IDE controller\r
         }\r
         //\r
         // Here limit the device path instance number to 12, which is max number for a system support 3 IDE controller\r
-        // If the user try to boot many OS in different HDs or partitions, in theary, the 'HDDP' variable maybe become larger and larger.\r
+        // If the user try to boot many OS in different HDs or partitions, in theory, the 'HDDP' variable maybe become larger and larger.\r
         //\r
         InstanceNum = 0;\r
         TempNewDevicePath = CachedDevicePath;\r
         //\r
         InstanceNum = 0;\r
         TempNewDevicePath = CachedDevicePath;\r
@@ -806,7 +807,7 @@ BdsDeleteAllInvalidEfiBootOption (
 \r
 /**\r
   This function will enumerate all possible boot device in the system,\r
 \r
 /**\r
   This function will enumerate all possible boot device in the system,\r
-  it will only excute once of every boot.\r
+  it will only execute once of every boot.\r
 \r
   @param  BdsBootOptionList      The header of the link list which indexed all\r
                                  current boot options\r
 \r
   @param  BdsBootOptionList      The header of the link list which indexed all\r
                                  current boot options\r
@@ -1286,7 +1287,7 @@ BdsLibGetBootableHandle (
     }\r
   } else {\r
     //\r
     }\r
   } else {\r
     //\r
-    // Get BlockIo protocal and check removable attribute\r
+    // Get BlockIo protocol and check removable attribute\r
     //\r
     Status = gBS->HandleProtocol (Handle, &gEfiBlockIoProtocolGuid, (VOID **)&BlockIo);\r
     //\r
     //\r
     Status = gBS->HandleProtocol (Handle, &gEfiBlockIoProtocolGuid, (VOID **)&BlockIo);\r
     //\r
@@ -1315,7 +1316,7 @@ BdsLibGetBootableHandle (
 \r
   //\r
   // If fail to get bootable handle specified by a USB boot option, the BDS should try to find other bootable device in the same USB bus\r
 \r
   //\r
   // If fail to get bootable handle specified by a USB boot option, the BDS should try to find other bootable device in the same USB bus\r
-  // Try to locate the USB node device path first, if fail then use its previour PCI node to search\r
+  // Try to locate the USB node device path first, if fail then use its previous PCI node to search\r
   //\r
   DupDevicePath = DuplicateDevicePath (DevicePath);\r
   ASSERT (DupDevicePath != NULL);\r
   //\r
   DupDevicePath = DuplicateDevicePath (DevicePath);\r
   ASSERT (DupDevicePath != NULL);\r
@@ -1464,23 +1465,23 @@ BdsLibNetworkBootWithMediaPresent (
 \r
   @param  DevicePath                      The bootable device Path to check\r
 \r
 \r
   @param  DevicePath                      The bootable device Path to check\r
 \r
-  @retval BDS_EFI_MEDIA_HD_BOOT           If the device path contains any media deviec path node, it is media boot type\r
+  @retval BDS_EFI_MEDIA_HD_BOOT           If the device path contains any media device path node, it is media boot type\r
                                           For the floppy node, handle it as media node\r
                                           For the floppy node, handle it as media node\r
-  @retval BDS_EFI_MEDIA_CDROM_BOOT        If the device path contains any media deviec path node, it is media boot type\r
+  @retval BDS_EFI_MEDIA_CDROM_BOOT        If the device path contains any media device path node, it is media boot type\r
                                           For the floppy node, handle it as media node\r
                                           For the floppy node, handle it as media node\r
-  @retval BDS_EFI_ACPI_FLOPPY_BOOT        If the device path contains any media deviec path node, it is media boot type\r
+  @retval BDS_EFI_ACPI_FLOPPY_BOOT        If the device path contains any media device path node, it is media boot type\r
                                           For the floppy node, handle it as media node\r
                                           For the floppy node, handle it as media node\r
-  @retval BDS_EFI_MESSAGE_ATAPI_BOOT      If the device path not contains any media deviec path node,  and\r
+  @retval BDS_EFI_MESSAGE_ATAPI_BOOT      If the device path not contains any media device path node,  and\r
                                           its last device path node point to a message device path node, it is\r
   \r
                                           its last device path node point to a message device path node, it is\r
   \r
-  @retval BDS_EFI_MESSAGE_SCSI_BOOT       If the device path not contains any media deviec path node,  and\r
+  @retval BDS_EFI_MESSAGE_SCSI_BOOT       If the device path not contains any media device path node,  and\r
                                           its last device path node point to a message device path node, it is\r
                                           its last device path node point to a message device path node, it is\r
-  @retval BDS_EFI_MESSAGE_USB_DEVICE_BOOT If the device path not contains any media deviec path node,  and\r
+  @retval BDS_EFI_MESSAGE_USB_DEVICE_BOOT If the device path not contains any media device path node,  and\r
                                           its last device path node point to a message device path node, it is\r
                                           its last device path node point to a message device path node, it is\r
-  @retval BDS_EFI_MESSAGE_MISC_BOOT       If the device path not contains any media deviec path node,  and\r
+  @retval BDS_EFI_MESSAGE_MISC_BOOT       If the device path not contains any media device path node,  and\r
                                           its last device path node point to a message device path node, it is\r
   @retval BDS_LEGACY_BBS_BOOT             Legacy boot type\r
                                           its last device path node point to a message device path node, it is\r
   @retval BDS_LEGACY_BBS_BOOT             Legacy boot type\r
-  @retval BDS_EFI_UNSUPPORT               An EFI Removable BlockIO device path not point to a media and message devie,   \r
+  @retval BDS_EFI_UNSUPPORT               An EFI Removable BlockIO device path not point to a media and message device,   \r
 \r
 **/\r
 UINT32\r
 \r
 **/\r
 UINT32\r
@@ -1554,14 +1555,14 @@ BdsGetBootTypeFromDevicePath (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Check whether the Device path in a boot option point to a valide bootable device,\r
+  Check whether the Device path in a boot option point to a valid bootable device,\r
   And if CheckMedia is true, check the device is ready to boot now.\r
 \r
   @param  DevPath     the Device path in a boot option\r
   @param  CheckMedia  if true, check the device is ready to boot now.\r
 \r
   And if CheckMedia is true, check the device is ready to boot now.\r
 \r
   @param  DevPath     the Device path in a boot option\r
   @param  CheckMedia  if true, check the device is ready to boot now.\r
 \r
-  @retval TRUE        the Device path  is valide\r
-  @retval FALSE       the Device path  is invalide .\r
+  @retval TRUE        the Device path  is valid\r
+  @retval FALSE       the Device path  is invalid .\r
 \r
 **/\r
 BOOLEAN\r
 \r
 **/\r
 BOOLEAN\r
@@ -1707,7 +1708,7 @@ BdsLibIsValidEFIBootOptDevicePath (
 /**\r
   According to a file guild, check a Fv file device path is valid. If it is invalid,\r
   try to return the valid device path.\r
 /**\r
   According to a file guild, check a Fv file device path is valid. If it is invalid,\r
   try to return the valid device path.\r
-  FV address maybe changes for memory layout adjust from time to time, use this funciton\r
+  FV address maybe changes for memory layout adjust from time to time, use this function\r
   could promise the Fv file device path is right.\r
 \r
   @param  DevicePath             on input, the Fv file device path need to check on\r
   could promise the Fv file device path is right.\r
 \r
   @param  DevicePath             on input, the Fv file device path need to check on\r
index 4c721e07db5e9c26fb01f0d24033b69af7145398..edbc3688405ab48275841d824aaa7f1e1c63766f 100644 (file)
@@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 /**\r
   This function will connect all the system driver to controller\r
   first, and then special connect the default console, this make\r
 /**\r
   This function will connect all the system driver to controller\r
   first, and then special connect the default console, this make\r
-  sure all the system controller avialbe and the platform default\r
+  sure all the system controller available and the platform default\r
   console connected.\r
 \r
 **/\r
   console connected.\r
 \r
 **/\r
@@ -49,7 +49,7 @@ BdsLibConnectAll (
 /**\r
   This function will connect all the system drivers to all controllers\r
   first, and then connect all the console devices the system current\r
 /**\r
   This function will connect all the system drivers to all controllers\r
   first, and then connect all the console devices the system current\r
-  have. After this we should get all the device work and console avariable\r
+  have. After this we should get all the device work and console available\r
   if the system have console device.\r
 \r
 **/\r
   if the system have console device.\r
 \r
 **/\r
@@ -320,8 +320,8 @@ BdsLibConnectAllDriversToAllControllers (
   @return EFI_INVALID_PARAMETER  RemainingDevicePath is NULL pointer.\r
                                  RemainingDevicePath is not a USB device path.\r
                                  Invalid HostControllerPI type.\r
   @return EFI_INVALID_PARAMETER  RemainingDevicePath is NULL pointer.\r
                                  RemainingDevicePath is not a USB device path.\r
                                  Invalid HostControllerPI type.\r
-  @return EFI_SUCCESS            Sucess to connect USB device\r
-  @return EFI_NOT_FOUND          Fail to find hanlde for USB controller to connect.\r
+  @return EFI_SUCCESS            Success to connect USB device\r
+  @return EFI_NOT_FOUND          Fail to find handle for USB controller to connect.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
index c6cfce79bf1bddbce01f2ed673237c93ff17b09e..f202c9778aebc41fbd0e8e03063a32b3c83e4ab4 100644 (file)
@@ -37,7 +37,7 @@ PlatformBdsInit (
   Connect the predefined platform default console device. Always try to find\r
   and enable the vga device if have.\r
 \r
   Connect the predefined platform default console device. Always try to find\r
   and enable the vga device if have.\r
 \r
-  @param PlatformConsole          Predfined platform default console device array.\r
+  @param PlatformConsole          Predefined platform default console device array.\r
 \r
   @retval EFI_SUCCESS             Success connect at least one ConIn and ConOut\r
                                   device, there must have one ConOut device is\r
 \r
   @retval EFI_SUCCESS             Success connect at least one ConIn and ConOut\r
                                   device, there must have one ConOut device is\r
@@ -54,7 +54,7 @@ PlatformBdsConnectConsole (
 }\r
 \r
 /**\r
 }\r
 \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
 VOID\r
   the OEM/IBV can customize with their own connect sequence.\r
 **/\r
 VOID\r
@@ -82,7 +82,7 @@ PlatformBdsGetDriverOption (
 \r
 /**\r
   Perform the platform diagnostic, such like test memory. OEM/IBV also\r
 \r
 /**\r
   Perform the platform diagnostic, such like test memory. OEM/IBV also\r
-  can customize this fuction to support specific platform diagnostic.\r
+  can customize this function to support specific platform diagnostic.\r
 \r
   @param MemoryTestLevel  The memory test intensive level\r
   @param QuietBoot        Indicate if need to enable the quiet boot\r
 \r
   @param MemoryTestLevel  The memory test intensive level\r
   @param QuietBoot        Indicate if need to enable the quiet boot\r
@@ -98,7 +98,7 @@ PlatformBdsDiagnostics (
 }\r
 \r
 /**\r
 }\r
 \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
   is driven by boot mode. IBV/OEM can customize this code for their specific\r
   policy action.\r
 \r
@@ -122,7 +122,7 @@ PlatformBdsPolicyBehavior (
   Hook point after a boot attempt succeeds. We don't expect a boot option to\r
   return, so the UEFI 2.0 specification defines that you will default to an\r
   interactive mode and stop processing the BootOrder list in this case. This\r
   Hook point after a boot attempt succeeds. We don't expect a boot option to\r
   return, so the UEFI 2.0 specification defines that you will default to an\r
   interactive mode and stop processing the BootOrder list in this case. This\r
-  is alos a platform implementation and can be customized by IBV/OEM.\r
+  is also a platform implementation and can be customized by IBV/OEM.\r
 \r
   @param  Option                  Pointer to Boot Option that succeeded to boot.\r
 \r
 \r
   @param  Option                  Pointer to Boot Option that succeeded to boot.\r
 \r
index 42177917d83b49b31ad857319a93a14928f5c3d9..a1f966c71741bf98bfa420b1c4f64c3b5934a6c0 100644 (file)
@@ -443,6 +443,7 @@ BuildPcdDxeDataBase (
   //\r
 \r
   mCallbackFnTable = AllocateZeroPool (PCD_TOTAL_TOKEN_NUMBER * sizeof (LIST_ENTRY));\r
   //\r
 \r
   mCallbackFnTable = AllocateZeroPool (PCD_TOTAL_TOKEN_NUMBER * sizeof (LIST_ENTRY));\r
+  ASSERT(mCallbackFnTable != NULL);\r
   \r
   // EBC compiler is very choosy. It may report warning about comparison\r
   // between UINTN and 0 . So we add 1 in each size of the \r
   \r
   // EBC compiler is very choosy. It may report warning about comparison\r
   // between UINTN and 0 . So we add 1 in each size of the \r
@@ -856,7 +857,7 @@ SetWorker (
   Wrapper function for get PCD value for dynamic-ex PCD.\r
 \r
   @param Guid            Token space guid for dynamic-ex PCD.\r
   Wrapper function for get PCD value for dynamic-ex PCD.\r
 \r
   @param Guid            Token space guid for dynamic-ex PCD.\r
-  @param ExTokenNumber   Token number for dyanmic-ex PCD.\r
+  @param ExTokenNumber   Token number for dynamic-ex PCD.\r
   @param GetSize         The size of dynamic-ex PCD value.\r
 \r
   @return PCD entry in PCD database.\r
   @param GetSize         The size of dynamic-ex PCD value.\r
 \r
   @return PCD entry in PCD database.\r
@@ -1079,7 +1080,7 @@ GetExPcdTokenNumber (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Get SKU ID tabble from PCD database.\r
+  Get SKU ID table from PCD database.\r
 \r
   @param LocalTokenNumberTableIdx Index of local token number in token number table.\r
   @param IsPeiPcd                 If TRUE, \r
 \r
   @param LocalTokenNumberTableIdx Index of local token number in token number table.\r
   @param IsPeiPcd                 If TRUE, \r
@@ -1290,7 +1291,7 @@ GetPtrTypeSize (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Set size of POINTER type PCD value. The size should not exceed the maxmium size\r
+  Set size of POINTER type PCD value. The size should not exceed the maximum size\r
   of this PCD value.\r
 \r
   @param LocalTokenNumberTableIdx Index of local token number in local token number table.\r
   of this PCD value.\r
 \r
   @param LocalTokenNumberTableIdx Index of local token number in local token number table.\r
index 7a9113b138ada355877d20e79a2e8bc5691247e1..d0e94af57a9e25aacf7631e6b8fe86fb8680cb54 100644 (file)
@@ -32,7 +32,7 @@ Module Name: Service.h
 #include <Library/UefiRuntimeServicesTableLib.h>\r
 \r
 //\r
 #include <Library/UefiRuntimeServicesTableLib.h>\r
 \r
 //\r
-// Please make sure the PCD Serivce PEIM Version is consistent with\r
+// Please make sure the PCD Service PEIM Version is consistent with\r
 // the version of PCD Database generation tool\r
 //\r
 #define PCD_SERVICE_DXE_DRIVER_VERSION      2\r
 // the version of PCD Database generation tool\r
 //\r
 #define PCD_SERVICE_DXE_DRIVER_VERSION      2\r
@@ -153,7 +153,7 @@ DxePcdGet64 (
 \r
   @param[in]  TokenNumber The PCD token number. \r
 \r
 \r
   @param[in]  TokenNumber The PCD token number. \r
 \r
-  @return The pointer to the buffer to be retrived.\r
+  @return The pointer to the buffer to be retrieved.\r
   \r
 **/\r
 VOID *\r
   \r
 **/\r
 VOID *\r
@@ -293,7 +293,7 @@ DxePcdGet64Ex (
   @param[in]  Guid The token space for the token number.\r
   @param[in]  TokenNumber The PCD token number. \r
 \r
   @param[in]  Guid The token space for the token number.\r
   @param[in]  TokenNumber The PCD token number. \r
 \r
-  @return The pointer to the buffer to be retrived.\r
+  @return The pointer to the buffer to be retrieved.\r
   \r
 **/\r
 VOID *\r
   \r
 **/\r
 VOID *\r
@@ -862,7 +862,7 @@ GetWorker (
   Wrapper function for get PCD value for dynamic-ex PCD.\r
 \r
   @param Guid            Token space guid for dynamic-ex PCD.\r
   Wrapper function for get PCD value for dynamic-ex PCD.\r
 \r
   @param Guid            Token space guid for dynamic-ex PCD.\r
-  @param ExTokenNumber   Token number for dyanmic-ex PCD.\r
+  @param ExTokenNumber   Token number for dynamic-ex PCD.\r
   @param GetSize         The size of dynamic-ex PCD value.\r
 \r
   @return PCD entry in PCD database.\r
   @param GetSize         The size of dynamic-ex PCD value.\r
 \r
   @return PCD entry in PCD database.\r
@@ -1047,7 +1047,7 @@ ExGetNextTokeNumber (
   Get size of POINTER type PCD value.\r
 \r
   @param LocalTokenNumberTableIdx Index of local token number in local token number table.\r
   Get size of POINTER type PCD value.\r
 \r
   @param LocalTokenNumberTableIdx Index of local token number in local token number table.\r
-  @param MaxSize                  Maxmium size of POINTER type PCD value.\r
+  @param MaxSize                  Maximum size of POINTER type PCD value.\r
 \r
   @return size of POINTER type PCD value.\r
 \r
 \r
   @return size of POINTER type PCD value.\r
 \r
@@ -1059,7 +1059,7 @@ GetPtrTypeSize (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Set size of POINTER type PCD value. The size should not exceed the maxmium size\r
+  Set size of POINTER type PCD value. The size should not exceed the maximum size\r
   of this PCD value.\r
 \r
   @param LocalTokenNumberTableIdx Index of local token number in local token number table.\r
   of this PCD value.\r
 \r
   @param LocalTokenNumberTableIdx Index of local token number in local token number table.\r
index 0516bc8ab6f4b92c53d7ab2ac564a63e4dca178d..f98b26ff45dc9f80f5f5ba80bb606adb49acd8b5 100644 (file)
@@ -205,7 +205,7 @@ PeiPcdGet64 (
 \r
   @param[in]  TokenNumber The PCD token number. \r
 \r
 \r
   @param[in]  TokenNumber The PCD token number. \r
 \r
-  @return The pointer to the buffer to be retrived.\r
+  @return The pointer to the buffer to be retrieved.\r
   \r
 **/\r
 VOID *\r
   \r
 **/\r
 VOID *\r
@@ -402,7 +402,7 @@ PeiPcdGet64Ex (
   @param[in]  Guid          The token space for the token number.\r
   @param[in]  ExTokenNumber The PCD token number. \r
 \r
   @param[in]  Guid          The token space for the token number.\r
   @param[in]  ExTokenNumber The PCD token number. \r
 \r
-  @return The pointer to the buffer to be retrived.\r
+  @return The pointer to the buffer to be retrieved.\r
   \r
 **/\r
 VOID *\r
   \r
 **/\r
 VOID *\r
@@ -1091,7 +1091,7 @@ PeiPcdGetNextTokenSpace (
   The max size of this PCD's value is described in PCD's definition in DEC file.\r
 \r
   @param LocalTokenNumberTableIdx Index of PCD token number in PCD token table\r
   The max size of this PCD's value is described in PCD's definition in DEC file.\r
 \r
   @param LocalTokenNumberTableIdx Index of PCD token number in PCD token table\r
-  @param MaxSize                  Maxmium size of PCD's value\r
+  @param MaxSize                  Maximum size of PCD's value\r
   @param Database                 Pcd database in PEI phase.\r
 \r
   @return PCD value's size for POINTER type PCD.\r
   @param Database                 Pcd database in PEI phase.\r
 \r
   @return PCD value's size for POINTER type PCD.\r
@@ -1162,11 +1162,11 @@ GetPtrTypeSize (
   The max size of this PCD's value is described in PCD's definition in DEC file.\r
 \r
   @param LocalTokenNumberTableIdx Index of PCD token number in PCD token table\r
   The max size of this PCD's value is described in PCD's definition in DEC file.\r
 \r
   @param LocalTokenNumberTableIdx Index of PCD token number in PCD token table\r
-  @param CurrentSize              Maxmium size of PCD's value\r
+  @param CurrentSize              Maximum size of PCD's value\r
   @param Database                 Pcd database in PEI phase.\r
 \r
   @param Database                 Pcd database in PEI phase.\r
 \r
-  @retval TRUE  Success to set PCD's value size, which is not exceed maxmium size\r
-  @retval FALSE Fail to set PCD's value size, which maybe exceed maxmium size\r
+  @retval TRUE  Success to set PCD's value size, which is not exceed maximum size\r
+  @retval FALSE Fail to set PCD's value size, which maybe exceed maximum size\r
 \r
 **/\r
 BOOLEAN\r
 \r
 **/\r
 BOOLEAN\r