]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix some typo.
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 2 Apr 2009 05:34:26 +0000 (05:34 +0000)
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 2 Apr 2009 05:34:26 +0000 (05:34 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8008 6f19259b-4bc3-4df7-8a09-765794883524

15 files changed:
MdePkg/Include/Library/SerialPortLib.h
MdePkg/Include/Library/UefiApplicationEntryPoint.h
MdePkg/Include/Library/UefiDecompressLib.h
MdePkg/Include/Library/UefiLib.h
MdePkg/Include/Library/UefiRuntimeLib.h
MdePkg/Include/Library/UefiUsbLib.h
MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c
MdePkg/Library/UefiLib/UefiDriverModel.c
MdePkg/Library/UefiLib/UefiLib.c
MdePkg/Library/UefiLib/UefiLibPrint.c
MdePkg/Library/UefiRuntimeLib/RuntimeService.c
MdePkg/Library/UefiUsbLib/Hid.c
MdePkg/Library/UefiUsbLib/UsbDxeLib.c

index 30b8aa9ccf5e5b2f44d83159a9e8ee69fcd64965..6fee2892428382fc4f80f20c7b74a5e52ac492d8 100644 (file)
@@ -19,11 +19,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   Initialize the serial device hardware.\r
   \r
   If no initialization is required, then return RETURN_SUCCESS.\r
-  If the serial device was successfuly initialized, then return RETURN_SUCCESS.\r
+  If the serial device was successfully initialized, then return RETURN_SUCCESS.\r
   If the serial device could not be initialized, then return RETURN_DEVICE_ERROR.\r
   \r
   @retval RETURN_SUCCESS        The serial device was initialized.\r
-  @retval RETURN_DEVICE_ERROR   The serail device could not be initialized.\r
+  @retval RETURN_DEVICE_ERROR   The serial device could not be initialized.\r
 \r
 **/\r
 RETURN_STATUS\r
@@ -70,7 +70,7 @@ SerialPortWrite (
   @param  NumberOfBytes    Number of bytes which will be read.\r
 \r
   @retval 0                Read data failed, No data is to be read.\r
-  @retval >0               Aactual number of bytes read from serial device.\r
+  @retval >0               Actual number of bytes read from serial device.\r
 \r
 **/\r
 UINTN\r
@@ -83,7 +83,7 @@ SerialPortRead (
 /**\r
   Polls a serial device to see if there is any data waiting to be read.\r
 \r
-  Polls aserial device to see if there is any data waiting to be read.\r
+  Polls a serial device to see if there is any data waiting to be read.\r
   If there is data waiting to be read from the serial device, then TRUE is returned.\r
   If there is no data waiting to be read from the serial device, then FALSE is returned.\r
 \r
index 5fe4be2a8f6694009e5467cbe623019fdbb86be9..89d6d2d9d2a41c5abe22c35895ae34c2e3b10a05 100644 (file)
@@ -22,7 +22,7 @@ extern CONST UINT32        _gUefiDriverRevision;
 \r
 \r
 /**\r
-  Enrty point to UEFI Application.\r
+  Entry point to UEFI Application.\r
 \r
   This function is the entry point for a UEFI Application. This function must call\r
   ProcessLibraryConstructorList(), ProcessModuleEntryPointList(), and ProcessLibraryDestructorList().\r
index 42af591780ebe594d223a1da962d4cbf80e64f12..c0357da97986c58bdcf99b266f82eb4a3fbb6ee3 100644 (file)
@@ -74,9 +74,9 @@ UefiDecompressGetInfo (
   Extracts decompressed data to its original form.\r
   This function is designed so that the decompression algorithm can be implemented\r
   without using any memory services.  As a result, this function is not allowed to\r
-  call any memory allocation services in its implementation.  It is the caller's r\r
-  esponsibility to allocate and free the Destination and Scratch buffers.\r
-  If the compressed source data specified by Source is sucessfully decompressed \r
+  call any memory allocation services in its implementation.  It is the caller's \r
+  responsibility to allocate and free the Destination and Scratch buffers.\r
+  If the compressed source data specified by Source is successfully decompressed \r
   into Destination, then RETURN_SUCCESS is returned.  If the compressed source data \r
   specified by Source is not in a valid compressed data format,\r
   then RETURN_INVALID_PARAMETER is returned.\r
index 0f97d6a11dc20d8bed77076ae427c62e6e5a5a8e..1853f810a243ee4484689b8c11130999b03430d4 100644 (file)
@@ -62,7 +62,7 @@ typedef struct {
   Macro that returns the number of 100 ns units for a specified number of microseconds.\r
   Useful for managing EFI timer events.\r
 \r
-  @param  Microseconds           Number of microseonds.\r
+  @param  Microseconds           Number of microseconds.\r
 \r
   @return The number of 100 ns units equivalent to the number of microseconds specified\r
           by Microseconds.\r
@@ -71,7 +71,7 @@ typedef struct {
 #define EFI_TIMER_PERIOD_MICROSECONDS(Microseconds) MultU64x32((UINT64)(Microseconds), 10)\r
 \r
 /**\r
-  Macro that returns the number of 100 ns units for a specified number of milliseoconds.\r
+  Macro that returns the number of 100 ns units for a specified number of milliseconds.\r
   Useful for managing EFI timer events.\r
 \r
   @param  Milliseconds           Number of milliseconds.\r
@@ -83,7 +83,7 @@ typedef struct {
 #define EFI_TIMER_PERIOD_MILLISECONDS(Milliseconds) MultU64x32((UINT64)(Milliseconds), 10000)\r
 \r
 /**\r
-  Macro that returns the number of 100 ns units for a specified number of seoconds.\r
+  Macro that returns the number of 100 ns units for a specified number of seconds.\r
   Useful for managing EFI timer events.\r
 \r
   @param  Seconds                Number of seconds.\r
@@ -378,9 +378,9 @@ EfiReleaseLock (
                                function.\r
 \r
   @retval EFI_SUCCESS          ControllerHandle is managed by the driver\r
-                               specifed by DriverBindingHandle.\r
+                               specified by DriverBindingHandle.\r
   @retval EFI_UNSUPPORTED      ControllerHandle is not managed by the driver\r
-                               specifed by DriverBindingHandle.\r
+                               specified by DriverBindingHandle.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -436,7 +436,7 @@ EfiTestChildHandle (
 \r
   @retval EFI_SUCCESS             The Unicode string that matches the language \r
                                   specified by Language was found\r
-                                  in the table of Unicoide strings UnicodeStringTable, \r
+                                  in the table of Unicode strings UnicodeStringTable, \r
                                   and it was returned in UnicodeString.\r
   @retval EFI_INVALID_PARAMETER   Language is NULL.\r
   @retval EFI_INVALID_PARAMETER   UnicodeString is NULL.\r
@@ -468,7 +468,7 @@ LookupUnicodeString (
                                RFC 4646 language code for the Unicode string to look up and\r
                                return. If Iso639Language is TRUE, then this ASCII string is\r
                                not assumed to be Null-terminated, and only the first three\r
-                               chacters are used. If Iso639Language is FALSE, then this ASCII\r
+                               characters are used. If Iso639Language is FALSE, then this ASCII\r
                                string must be Null-terminated. \r
   @param  SupportedLanguages   A pointer to a Null-terminated ASCII string that contains a\r
                                set of ISO 639-2 or RFC 4646 language codes that the Unicode\r
@@ -1064,7 +1064,7 @@ AsciiErrorPrint (
 \r
   @param  X            X coordinate to print the string.\r
   @param  Y            Y coordinate to print the string.\r
-  @param  ForeGround   The forground color of the string being printed.  This is\r
+  @param  ForeGround   The foreground color of the string being printed.  This is\r
                        an optional parameter that may be NULL.  If it is NULL,\r
                        then the foreground color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
@@ -1112,7 +1112,7 @@ PrintXY (
 \r
   @param  X            X coordinate to print the string.\r
   @param  Y            Y coordinate to print the string.\r
-  @param  ForeGround   The forground color of the string being printed.  This is\r
+  @param  ForeGround   The foreground color of the string being printed.  This is\r
                        an optional parameter that may be NULL.  If it is NULL,\r
                        then the foreground color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
@@ -1262,7 +1262,7 @@ EfiLibInstallDriverBindingComponentName2 (
   @param  ImageHandle           The image handle of the driver.\r
   @param  SystemTable           The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding         A Driver Binding Protocol instance that this driver is producing.\r
-  @param  DriverBindingHandle   The handle that DriverBinding is to be installe onto.  If this\r
+  @param  DriverBindingHandle   The handle that DriverBinding is to be installed onto.  If this\r
                                 parameter is NULL, then a new handle is created.\r
   @param  ComponentName         A Component Name Protocol instance that this driver is producing.\r
   @param  ComponentName2        A Component Name 2 Protocol instance that this driver is producing.\r
index 6c3783113957759dcfc72c58ca5429f6bc850011..1ea66945198dd4c24b31d6f638e6fe67359d4d52 100644 (file)
@@ -180,7 +180,7 @@ EfiSetWakeupTime (
   @param  VendorGuid   Unify identifier for vendor.\r
   @param  Attributes   Point to memory location to return the attributes of variable. If the point\r
                        is NULL, the parameter would be ignored.\r
-  @param  DataSize     As input, point to the maxinum size of return Data-Buffer.\r
+  @param  DataSize     As input, point to the maximum size of return Data-Buffer.\r
                        As output, point to the actual size of the returned Data-Buffer.\r
   @param  Data         Point to return Data-Buffer.\r
 \r
@@ -214,8 +214,8 @@ EfiGetVariable (
   variable name data. When the entire variable list has been returned, the error EFI_NOT_FOUND\r
   is returned.\r
 \r
-  @param  VariableNameSize As input, point to maxinum size of variable name.\r
-                           As output, point to actual size of varaible name.\r
+  @param  VariableNameSize As input, point to maximum size of variable name.\r
+                           As output, point to actual size of variable name.\r
   @param  VariableName     As input, supplies the last VariableName that was returned by\r
                            GetNextVariableName().\r
                            As output, returns the name of variable. The name\r
@@ -317,7 +317,7 @@ EfiGetNextHighMonotonicCount (
   Calling this interface with ResetType of EfiResetShutdown causes the system to enter a power state equivalent to the\r
   ACPI G2/S5 or G3 states. If the system does not support this reset type, then when the system is rebooted, it should\r
   exhibit the EfiResetCold attributes.\r
-  The platform may optionally log the parmeters from any non-normal reset that occurs.\r
+  The platform may optionally log the parameters from any non-normal reset that occurs.\r
   The ResetSystem() function does not return.\r
 \r
   @param  ResetType   The type of reset to perform.\r
index 0920187f42454981aec555c5ffab0ee454c0c878..31b441e6620ac3e7519e9c05ad94448b342c6e73 100644 (file)
@@ -230,7 +230,7 @@ UsbSetReportRequest (
 \r
   @retval  EFI_SUCCESS           The request executed successfully.\r
   @retval  EFI_OUT_OF_RESOURCES  The request could not be completed because the\r
-                                 buffer specifed by ReportLength and Report is not\r
+                                 buffer specified by ReportLength and Report is not\r
                                  large enough to hold the result of the request.\r
   @retval  EFI_TIMEOUT           A timeout occurred executing the request.\r
   @retval  EFI_DEVICE_ERROR      The request failed due to a device error.\r
@@ -266,7 +266,7 @@ UsbGetReportRequest (
 \r
   @retval EFI_SUCCESS           The request executed successfully.\r
   @retval EFI_OUT_OF_RESOURCES  The request could not be completed because the\r
-                                buffer specifed by DescriptorLength and Descriptor\r
+                                buffer specified by DescriptorLength and Descriptor\r
                                 is not large enough to hold the result of the request.\r
   @retval EFI_TIMEOUT           A timeout occurred executing the request.\r
   @retval EFI_DEVICE_ERROR      The request failed due to a device error. The transfer\r
index fef62abe6118f99b7fb3d6d64087f6c095b0f037..e4542d00cef05a5be4c7091f5f28fc16d799c10d 100644 (file)
   Initialize the serial device hardware.\r
   \r
   If no initialization is required, then return RETURN_SUCCESS.\r
-  If the serial device was successfuly initialized, then return RETURN_SUCCESS.\r
+  If the serial device was successfully initialized, then return RETURN_SUCCESS.\r
   If the serial device could not be initialized, then return RETURN_DEVICE_ERROR.\r
   \r
   @retval RETURN_SUCCESS        The serial device was initialized.\r
-  @retval RETURN_DEVICE_ERROR   The serail device could not be initialized.\r
+  @retval RETURN_DEVICE_ERROR   The serial device could not be initialized.\r
 \r
 **/\r
 RETURN_STATUS\r
@@ -95,7 +95,7 @@ SerialPortRead (
 /**\r
   Polls a serial device to see if there is any data waiting to be read.\r
 \r
-  Polls aserial device to see if there is any data waiting to be read.\r
+  Polls a serial device to see if there is any data waiting to be read.\r
   If there is data waiting to be read from the serial device, then TRUE is returned.\r
   If there is no data waiting to be read from the serial device, then FALSE is returned.\r
 \r
index 6dc1b84b874b9118d312371dd0e976a79ec8718b..e3c5d0c45e2ea6543e009e47d3db0963c26c0975 100644 (file)
@@ -707,9 +707,9 @@ UefiDecompressGetInfo (
   Extracts decompressed data to its original form.\r
   This function is designed so that the decompression algorithm can be implemented\r
   without using any memory services.  As a result, this function is not allowed to\r
-  call any memory allocation services in its implementation.  It is the caller's r\r
-  esponsibility to allocate and free the Destination and Scratch buffers.\r
-  If the compressed source data specified by Source is sucessfully decompressed \r
+  call any memory allocation services in its implementation.  It is the caller's \r
+  responsibility to allocate and free the Destination and Scratch buffers.\r
+  If the compressed source data specified by Source is successfully decompressed \r
   into Destination, then RETURN_SUCCESS is returned.  If the compressed source data \r
   specified by Source is not in a valid compressed data format,\r
   then RETURN_INVALID_PARAMETER is returned.\r
index 18b75a4a08d9770805d03314eae3306764a8251b..25e87c40ec3cb755737e44d7943162a1dd3cd059 100644 (file)
@@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 \r
 /**\r
-  Enrty point to UEFI Application.\r
+  Entry point to UEFI Application.\r
 \r
   This function is the entry point for a UEFI Application. This function must call\r
   ProcessLibraryConstructorList(), ProcessModuleEntryPointList(), and ProcessLibraryDestructorList().\r
index 7d07dacb971ee69e44a440e8c6b18731e29855a9..f964e953896c8c0b1051608c94669f311966b629 100644 (file)
@@ -306,7 +306,7 @@ EfiLibInstallDriverBindingComponentName2 (
   @param  ImageHandle           The image handle of the driver.\r
   @param  SystemTable           The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding         A Driver Binding Protocol instance that this driver is producing.\r
-  @param  DriverBindingHandle   The handle that DriverBinding is to be installe onto.  If this\r
+  @param  DriverBindingHandle   The handle that DriverBinding is to be installed onto.  If this\r
                                 parameter is NULL, then a new handle is created.\r
   @param  ComponentName         A Component Name Protocol instance that this driver is producing.\r
   @param  ComponentName2        A Component Name 2 Protocol instance that this driver is producing.\r
index e646f86dd827aab16b601c26a4618d751cb72009..dd7cd53197b0a4f07aec207cf2530e47250f354e 100644 (file)
@@ -456,9 +456,9 @@ EfiReleaseLock (
                                function.\r
 \r
   @retval EFI_SUCCESS          ControllerHandle is managed by the driver\r
-                               specifed by DriverBindingHandle.\r
+                               specified by DriverBindingHandle.\r
   @retval EFI_UNSUPPORTED      ControllerHandle is not managed by the driver\r
-                               specifed by DriverBindingHandle.\r
+                               specified by DriverBindingHandle.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -581,7 +581,7 @@ EfiTestChildHandle (
 \r
   @retval EFI_SUCCESS             The Unicode string that matches the language \r
                                   specified by Language was found\r
-                                  in the table of Unicoide strings UnicodeStringTable, \r
+                                  in the table of Unicode strings UnicodeStringTable, \r
                                   and it was returned in UnicodeString.\r
   @retval EFI_INVALID_PARAMETER   Language is NULL.\r
   @retval EFI_INVALID_PARAMETER   UnicodeString is NULL.\r
@@ -661,7 +661,7 @@ LookupUnicodeString (
                                RFC 4646 language code for the Unicode string to look up and\r
                                return. If Iso639Language is TRUE, then this ASCII string is\r
                                not assumed to be Null-terminated, and only the first three\r
-                               chacters are used. If Iso639Language is FALSE, then this ASCII\r
+                               characters are used. If Iso639Language is FALSE, then this ASCII\r
                                string must be Null-terminated. \r
   @param  SupportedLanguages   A pointer to a Null-terminated ASCII string that contains a\r
                                set of ISO 639-2 or RFC 4646 language codes that the Unicode\r
@@ -1191,19 +1191,20 @@ FreeUnicodeStringTable (
 }\r
 \r
 /**\r
-Returns a pointer to an allocated buffer that contains the contents of a \r
-variable retrieved through the UEFI Runtime Service GetVariable().  The \r
-returned buffer is allocated using AllocatePool().  The caller is responsible\r
-for freeing tis buffer with FreePool().\r
+  Returns a pointer to an allocated buffer that contains the contents of a \r
+  variable retrieved through the UEFI Runtime Service GetVariable().  The \r
+  returned buffer is allocated using AllocatePool().  The caller is responsible\r
+  for freeing this buffer with FreePool().\r
 \r
-If Name is NULL, then ASSERT().\r
-If Guid is NULL, then ASSERT().\r
+  If Name is NULL, then ASSERT().\r
+  If Guid is NULL, then ASSERT().\r
 \r
-@param[in]  Name  Pointer to a Null-terminated Unicode string.\r
-@param[in]  Guid  Pointer to an EFI_GUID structure\r
+  @param[in]  Name  Pointer to a Null-terminated Unicode string.\r
+  @param[in]  Guid  Pointer to an EFI_GUID structure\r
 \r
-@retval NULL   The variable could not be retrieved.\r
-@retval Other  A pointer to allocated buffer containing the variable contents\r
+  @retval NULL   The variable could not be retrieved.\r
+  @retval NULL   There are not enough resources available for the variable contents.\r
+  @retval Other  A pointer to allocated buffer containing the variable contents.\r
 \r
 **/\r
 VOID *\r
index 897e086808ed2a3d7edf1e42c44f8e6c04d1ff9f..66fabdc923b9cf617f62d80485574d2a8f2c888c 100644 (file)
@@ -85,22 +85,22 @@ InternalPrint (
   return Return;\r
 }\r
 \r
-/**\r
-  Prints a formatted Unicode string to the console output device specified by\r
+/** \r
+  Prints a formatted Unicode string to the console output device specified by \r
   ConOut defined in the EFI_SYSTEM_TABLE.\r
 \r
-  This function prints a formatted Unicode string to the console output device\r
-  specified by ConOut in EFI_SYSTEM_TABLE and returns the number of Unicode\r
-  characters that printed to ConOut.  If the length of the formatted Unicode\r
-  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
+  This function prints a formatted Unicode string to the console output device \r
+  specified by ConOut in EFI_SYSTEM_TABLE and returns the number of Unicode \r
+  characters that printed to ConOut.  If the length of the formatted Unicode \r
+  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
   PcdUefiLibMaxPrintBufferSize characters are sent to ConOut.\r
   If Format is NULL, then ASSERT().\r
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param Format   Null-terminated Unicode format string.\r
-  @param ...      Variable argument list whose contents are accessed based\r
+  @param ...      Variable argument list whose contents are accessed based \r
                   on the format string specified by Format.\r
-\r
+  \r
   @return Number of Unicode characters printed to ConOut.\r
 \r
 **/\r
@@ -123,22 +123,22 @@ Print (
   return Return;\r
 }\r
 \r
-/**\r
-  Prints a formatted Unicode string to the console output device specified by\r
+/** \r
+  Prints a formatted Unicode string to the console output device specified by \r
   StdErr defined in the EFI_SYSTEM_TABLE.\r
 \r
-  This function prints a formatted Unicode string to the console output device\r
-  specified by StdErr in EFI_SYSTEM_TABLE and returns the number of Unicode\r
-  characters that printed to StdErr.  If the length of the formatted Unicode\r
-  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
+  This function prints a formatted Unicode string to the console output device \r
+  specified by StdErr in EFI_SYSTEM_TABLE and returns the number of Unicode \r
+  characters that printed to StdErr.  If the length of the formatted Unicode \r
+  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
   PcdUefiLibMaxPrintBufferSize characters are sent to StdErr.\r
   If Format is NULL, then ASSERT().\r
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param Format   Null-terminated Unicode format string.\r
-  @param ...      Variable argument list whose contents are accessed based\r
+  @param ...      Variable argument list whose contents are accessed based \r
                   on the format string specified by Format.\r
-\r
+  \r
   @return Number of Unicode characters printed to StdErr.\r
 \r
 **/\r
@@ -213,21 +213,21 @@ AsciiInternalPrint (
   return Return;\r
 }\r
 \r
-/**\r
-  Prints a formatted ASCII string to the console output device specified by\r
+/** \r
+  Prints a formatted ASCII string to the console output device specified by \r
   ConOut defined in the EFI_SYSTEM_TABLE.\r
 \r
-  This function prints a formatted ASCII string to the console output device\r
-  specified by ConOut in EFI_SYSTEM_TABLE and returns the number of ASCII\r
-  characters that printed to ConOut.  If the length of the formatted ASCII\r
-  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
+  This function prints a formatted ASCII string to the console output device \r
+  specified by ConOut in EFI_SYSTEM_TABLE and returns the number of ASCII \r
+  characters that printed to ConOut.  If the length of the formatted ASCII \r
+  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
   PcdUefiLibMaxPrintBufferSize characters are sent to ConOut.\r
   If Format is NULL, then ASSERT().\r
 \r
   @param Format   Null-terminated ASCII format string.\r
-  @param ...      Variable argument list whose contents are accessed based\r
+  @param ...      Variable argument list whose contents are accessed based \r
                   on the format string specified by Format.\r
-\r
+  \r
   @return Number of ASCII characters printed to ConOut.\r
 \r
 **/\r
@@ -251,21 +251,21 @@ AsciiPrint (
   return Return;\r
 }\r
 \r
-/**\r
-  Prints a formatted ASCII string to the console output device specified by\r
+/** \r
+  Prints a formatted ASCII string to the console output device specified by \r
   StdErr defined in the EFI_SYSTEM_TABLE.\r
 \r
-  This function prints a formatted ASCII string to the console output device\r
-  specified by StdErr in EFI_SYSTEM_TABLE and returns the number of ASCII\r
-  characters that printed to StdErr.  If the length of the formatted ASCII\r
-  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
+  This function prints a formatted ASCII string to the console output device \r
+  specified by StdErr in EFI_SYSTEM_TABLE and returns the number of ASCII \r
+  characters that printed to StdErr.  If the length of the formatted ASCII \r
+  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
   PcdUefiLibMaxPrintBufferSize characters are sent to StdErr.\r
   If Format is NULL, then ASSERT().\r
 \r
   @param Format   Null-terminated ASCII format string.\r
-  @param ...      Variable argument list whose contents are accessed based\r
+  @param ...      Variable argument list whose contents are accessed based \r
                   on the format string specified by Format.\r
-\r
+  \r
   @return Number of ASCII characters printed to ConErr.\r
 \r
 **/\r
@@ -530,39 +530,39 @@ Error:
 }\r
 \r
 /**\r
-  Prints a formatted Unicode string to a graphics console device specified by\r
+  Prints a formatted Unicode string to a graphics console device specified by \r
   ConsoleOutputHandle defined in the EFI_SYSTEM_TABLE at the given (X,Y) coordinates.\r
 \r
-  This function prints a formatted Unicode string to the graphics console device\r
-  specified by ConsoleOutputHandle in EFI_SYSTEM_TABLE and returns the number of\r
+  This function prints a formatted Unicode string to the graphics console device \r
+  specified by ConsoleOutputHandle in EFI_SYSTEM_TABLE and returns the number of \r
   Unicode characters printed.  If the length of the formatted Unicode string is\r
-  greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
+  greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
   PcdUefiLibMaxPrintBufferSize characters are printed.  The EFI_HII_FONT_PROTOCOL\r
-  is used to convert the string to a bitmap using the glyphs registered with the\r
+  is used to convert the string to a bitmap using the glyphs registered with the \r
   HII database.  No wrapping is performed, so any portions of the string the fall\r
   outside the active display region will not be displayed.\r
 \r
-  If a graphics console device is not associated with the ConsoleOutputHandle\r
+  If a graphics console device is not associated with the ConsoleOutputHandle \r
   defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.\r
-  If the EFI_HII_FONT_PROTOCOL is not present in the handle database, then no\r
+  If the EFI_HII_FONT_PROTOCOL is not present in the handle database, then no \r
   string is printed, and 0 is returned.\r
   If Format is NULL, then ASSERT().\r
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param  X            X coordinate to print the string.\r
   @param  Y            Y coordinate to print the string.\r
-  @param  ForeGround   The forground color of the string being printed.  This is\r
+  @param  ForeGround   The foreground color of the string being printed.  This is\r
                        an optional parameter that may be NULL.  If it is NULL,\r
                        then the foreground color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
   @param  BackGround   The background color of the string being printed.  This is\r
-                       an optional parameter that may be NULL.  If it is NULL,\r
+                       an optional parameter that may be NULL.  If it is NULL, \r
                        then the background color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
-  @param  Format       Null-terminated Unicode format string.  See Print Library\r
+  @param  Format       Null-terminated Unicode format string.  See Print Library \r
                        for the supported format string syntax.\r
-  @param  ...          Variable argument list whose contents are accessed based on\r
-                       the format string specified by Format.\r
+  @param  ...          Variable argument list whose contents are accessed based on \r
+                       the format string specified by Format.         \r
 \r
   @return  The number of Unicode characters printed.\r
 \r
@@ -604,38 +604,38 @@ PrintXY (
 }\r
 \r
 /**\r
-  Prints a formatted ASCII string to a graphics console device specified by\r
+  Prints a formatted ASCII string to a graphics console device specified by \r
   ConsoleOutputHandle defined in the EFI_SYSTEM_TABLE at the given (X,Y) coordinates.\r
 \r
-  This function prints a formatted ASCII string to the graphics console device\r
-  specified by ConsoleOutputHandle in EFI_SYSTEM_TABLE and returns the number of\r
+  This function prints a formatted ASCII string to the graphics console device \r
+  specified by ConsoleOutputHandle in EFI_SYSTEM_TABLE and returns the number of \r
   ASCII characters printed.  If the length of the formatted ASCII string is\r
-  greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
+  greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
   PcdUefiLibMaxPrintBufferSize characters are printed.  The EFI_HII_FONT_PROTOCOL\r
-  is used to convert the string to a bitmap using the glyphs registered with the\r
+  is used to convert the string to a bitmap using the glyphs registered with the \r
   HII database.  No wrapping is performed, so any portions of the string the fall\r
   outside the active display region will not be displayed.\r
 \r
-  If a graphics console device is not associated with the ConsoleOutputHandle\r
+  If a graphics console device is not associated with the ConsoleOutputHandle \r
   defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.\r
-  If the EFI_HII_FONT_PROTOCOL is not present in the handle database, then no\r
+  If the EFI_HII_FONT_PROTOCOL is not present in the handle database, then no \r
   string is printed, and 0 is returned.\r
   If Format is NULL, then ASSERT().\r
 \r
   @param  X            X coordinate to print the string.\r
   @param  Y            Y coordinate to print the string.\r
-  @param  ForeGround   The forground color of the string being printed.  This is\r
+  @param  ForeGround   The foreground color of the string being printed.  This is\r
                        an optional parameter that may be NULL.  If it is NULL,\r
                        then the foreground color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
   @param  BackGround   The background color of the string being printed.  This is\r
-                       an optional parameter that may be NULL.  If it is NULL,\r
+                       an optional parameter that may be NULL.  If it is NULL, \r
                        then the background color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
-  @param  Format       Null-terminated ASCII format string.  See Print Library\r
+  @param  Format       Null-terminated ASCII format string.  See Print Library \r
                        for the supported format string syntax.\r
-  @param  ...          Variable argument list whose contents are accessed based on\r
-                       the format string specified by Format.\r
+  @param  ...          Variable argument list whose contents are accessed based on \r
+                       the format string specified by Format.         \r
 \r
   @return  The number of ASCII characters printed.\r
 \r
index 67b0237604371800764593d106bd5d2a4dcb2e8d..0502257768c0fe996675726bcbd5ea25f9f1b904 100644 (file)
@@ -33,7 +33,7 @@
   Calling this interface with ResetType of EfiResetShutdown causes the system to enter a power state equivalent to the\r
   ACPI G2/S5 or G3 states. If the system does not support this reset type, then when the system is rebooted, it should\r
   exhibit the EfiResetCold attributes.\r
-  The platform may optionally log the parmeters from any non-normal reset that occurs.\r
+  The platform may optionally log the parameters from any non-normal reset that occurs.\r
   The ResetSystem() function does not return.\r
 \r
   @param  ResetType   The type of reset to perform.\r
@@ -208,7 +208,7 @@ EfiSetWakeupTime (
   @param  VendorGuid   Unify identifier for vendor.\r
   @param  Attributes   Point to memory location to return the attributes of variable. If the point\r
                        is NULL, the parameter would be ignored.\r
-  @param  DataSize     As input, point to the maxinum size of return Data-Buffer.\r
+  @param  DataSize     As input, point to the maximum size of return Data-Buffer.\r
                        As output, point to the actual size of the returned Data-Buffer.\r
   @param  Data         Point to return Data-Buffer.\r
 \r
@@ -246,8 +246,8 @@ EfiGetVariable (
   variable name data. When the entire variable list has been returned, the error EFI_NOT_FOUND\r
   is returned.\r
 \r
-  @param  VariableNameSize As input, point to maxinum size of variable name.\r
-                           As output, point to actual size of varaible name.\r
+  @param  VariableNameSize As input, point to maximum size of variable name.\r
+                           As output, point to actual size of variable name.\r
   @param  VariableName     As input, supplies the last VariableName that was returned by\r
                            GetNextVariableName().\r
                            As output, returns the name of variable. The name\r
index 153c03b7b0c720229f78cd0df0b9697a950e3e07..c14f982184f55da6da6d807adb64036a169285df 100644 (file)
@@ -163,8 +163,8 @@ UsbGetReportDescriptor (
 EFI_STATUS\r
 EFIAPI\r
 UsbGetProtocolRequest (\r
-  IN  EFI_USB_IO_PROTOCOL     *UsbIo,\r
-  IN  UINT8                   Interface,\r
+  IN EFI_USB_IO_PROTOCOL     *UsbIo,\r
+  IN UINT8                   Interface,\r
   OUT UINT8                   *Protocol\r
   )\r
 {\r
@@ -441,7 +441,7 @@ UsbSetReportRequest (
 \r
   @retval  EFI_SUCCESS           The request executed successfully.\r
   @retval  EFI_OUT_OF_RESOURCES  The request could not be completed because the\r
-                                 buffer specifed by ReportLength and Report is not\r
+                                 buffer specified by ReportLength and Report is not\r
                                  large enough to hold the result of the request.\r
   @retval  EFI_TIMEOUT           A timeout occurred executing the request.\r
   @retval  EFI_DEVICE_ERROR      The request failed due to a device error.\r
index af450510554d5677c7e7dc6ae3ac60606e7e559b..a535c1f58dc18df24124be2be021f012f9108527 100644 (file)
@@ -37,7 +37,7 @@
 \r
   @retval EFI_SUCCESS           The request executed successfully.\r
   @retval EFI_OUT_OF_RESOURCES  The request could not be completed because the\r
-                                buffer specifed by DescriptorLength and Descriptor\r
+                                buffer specified by DescriptorLength and Descriptor\r
                                 is not large enough to hold the result of the request.\r
   @retval EFI_TIMEOUT           A timeout occurred executing the request.\r
   @retval EFI_DEVICE_ERROR      The request failed due to a device error. The transfer\r