]> git.proxmox.com Git - mirror_edk2.git/commitdiff
PcAtChipsetPkg: Fix typing errors
authorThomas Huth <thuth@redhat.com>
Wed, 18 Jan 2017 13:40:15 +0000 (21:40 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 20 Jan 2017 00:50:09 +0000 (08:50 +0800)
Correct the reported by the codespell utility in some files
of PcAtChipsetPkg.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
PcAtChipsetPkg/8254TimerDxe/Timer.c
PcAtChipsetPkg/8254TimerDxe/Timer.h
PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c
PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c
PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c
PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c
PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h
PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c

index fd8b2ecf6e008152b4006882b0ea977e14e2322e..2cd888a12715b856a052160955aec905ee1015b7 100644 (file)
@@ -71,8 +71,8 @@ SetPitCount (
 /**\r
   8254 Timer #0 Interrupt Handler.\r
 \r
 /**\r
   8254 Timer #0 Interrupt Handler.\r
 \r
-  @param InterruptType    The type of interrupt that occured\r
-  @param SystemContext    A pointer to the system context when the interrupt occured\r
+  @param InterruptType    The type of interrupt that occurred\r
+  @param SystemContext    A pointer to the system context when the interrupt occurred\r
 **/\r
 VOID\r
 EFIAPI\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -332,7 +332,7 @@ TimerDriverGenerateSoftInterrupt (
 \r
   @retval EFI_SUCCESS            Timer Architectural Protocol created\r
   @retval EFI_OUT_OF_RESOURCES   Not enough resources available to initialize driver.\r
 \r
   @retval EFI_SUCCESS            Timer Architectural Protocol created\r
   @retval EFI_OUT_OF_RESOURCES   Not enough resources available to initialize driver.\r
-  @retval EFI_DEVICE_ERROR       A device error occured attempting to initialize the driver.\r
+  @retval EFI_DEVICE_ERROR       A device error occurred attempting to initialize the driver.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
index c2c29bb9cdc3b11ba9b05cd6780c5fb1c6833652..b2c8afb60672c0a96f5d883d2101e764d06a52b7 100644 (file)
@@ -57,7 +57,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
   @retval EFI_SUCCESS            Timer Architectural Protocol created\r
   @retval EFI_OUT_OF_RESOURCES   Not enough resources available to initialize driver.\r
 \r
   @retval EFI_SUCCESS            Timer Architectural Protocol created\r
   @retval EFI_OUT_OF_RESOURCES   Not enough resources available to initialize driver.\r
-  @retval EFI_DEVICE_ERROR       A device error occured attempting to initialize the driver.\r
+  @retval EFI_DEVICE_ERROR       A device error occurred attempting to initialize the driver.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
index e73a1007a2df69483f35b596d6f4ec9dc8f2e9f0..7d8265dbd1da59885114e7e5cad49e5ede5f6bdf 100644 (file)
@@ -139,7 +139,7 @@ Interrupt8259SetVectorBase (
 \r
     //\r
     // Preserve interrtup mask register before initialization sequence\r
 \r
     //\r
     // Preserve interrtup mask register before initialization sequence\r
-    // because it will be cleared during intialization\r
+    // because it will be cleared during initialization\r
     //\r
     Mask = IoRead8 (LEGACY_8259_MASK_REGISTER_SLAVE);\r
 \r
     //\r
     Mask = IoRead8 (LEGACY_8259_MASK_REGISTER_SLAVE);\r
 \r
@@ -181,7 +181,7 @@ Interrupt8259SetVectorBase (
 \r
     //\r
     // Preserve interrtup mask register before initialization sequence\r
 \r
     //\r
     // Preserve interrtup mask register before initialization sequence\r
-    // because it will be cleared during intialization\r
+    // because it will be cleared during initialization\r
     //\r
     Mask = IoRead8 (LEGACY_8259_MASK_REGISTER_MASTER);\r
 \r
     //\r
     Mask = IoRead8 (LEGACY_8259_MASK_REGISTER_MASTER);\r
 \r
index 21b8e26297b85f4d3d289d8cbf749d3ac9e939dc..ebe28e93acc6b6e8c5c32b2f9dd6dc5c432064d9 100644 (file)
@@ -110,7 +110,7 @@ InitializeIdeControllerDriver (
                                 driver but used by bus driver\r
 \r
   @retval EFI_SUCCESS           Driver loaded.\r
                                 driver but used by bus driver\r
 \r
   @retval EFI_SUCCESS           Driver loaded.\r
-  @retval !EFI_SUCESS           Driver not loaded.\r
+  @retval !EFI_SUCCESS          Driver not loaded.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -249,7 +249,7 @@ IdeControllerStart (
   @param NumberOfChildren   Not used\r
   @param ChildHandleBuffer  Not used\r
 \r
   @param NumberOfChildren   Not used\r
   @param ChildHandleBuffer  Not used\r
 \r
-  @retval EFI_SUCESS        This driver is removed DeviceHandle\r
+  @retval EFI_SUCCESS       This driver is removed DeviceHandle\r
   @retval !EFI_SUCCESS      This driver was not removed from this device\r
 **/\r
 EFI_STATUS\r
   @retval !EFI_SUCCESS      This driver was not removed from this device\r
 **/\r
 EFI_STATUS\r
index 3ecde081e28230d1028afb06cd9f081041c01005..a994b9d792a05351bd2802244a9757be41e063c7 100644 (file)
@@ -59,7 +59,7 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gIdeControllerComponentName2;
                                 driver but used by bus driver\r
 \r
   @retval EFI_SUCCESS           Driver loaded.\r
                                 driver but used by bus driver\r
 \r
   @retval EFI_SUCCESS           Driver loaded.\r
-  @retval !EFI_SUCESS           Driver not loaded.\r
+  @retval !EFI_SUCCESS          Driver not loaded.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -100,7 +100,7 @@ IdeControllerStart (
   @param NumberOfChildren   Not used\r
   @param ChildHandleBuffer  Not used\r
 \r
   @param NumberOfChildren   Not used\r
   @param ChildHandleBuffer  Not used\r
 \r
-  @retval EFI_SUCESS        This driver is removed DeviceHandle\r
+  @retval EFI_SUCCESS       This driver is removed DeviceHandle\r
   @retval !EFI_SUCCESS      This driver was not removed from this device\r
 **/\r
 EFI_STATUS\r
   @retval !EFI_SUCCESS      This driver was not removed from this device\r
 **/\r
 EFI_STATUS\r
index c62c3a9b2b98d23dd6f30f1bf291201af85fa2f2..23afbfaa656b6d3e2ee7d8e2e440d11788b00906 100644 (file)
@@ -288,8 +288,8 @@ HpetEnable (
   HPET interrupt is passed to that notification function in 100 ns units.  The HPET\r
   time is updated to generate another interrupt in the required time period. \r
 \r
   HPET interrupt is passed to that notification function in 100 ns units.  The HPET\r
   time is updated to generate another interrupt in the required time period. \r
 \r
-  @param  InterruptType  The type of interrupt that occured.\r
-  @param  SystemContext  A pointer to the system context when the interrupt occured.\r
+  @param  InterruptType  The type of interrupt that occurred.\r
+  @param  SystemContext  A pointer to the system context when the interrupt occurred.\r
 **/\r
 VOID\r
 EFIAPI\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -753,7 +753,7 @@ TimerDriverGenerateSoftInterrupt (
 \r
   @retval  EFI_SUCCESS           Timer Architectural Protocol created\r
   @retval  EFI_OUT_OF_RESOURCES  Not enough resources available to initialize driver.\r
 \r
   @retval  EFI_SUCCESS           Timer Architectural Protocol created\r
   @retval  EFI_OUT_OF_RESOURCES  Not enough resources available to initialize driver.\r
-  @retval  EFI_DEVICE_ERROR      A device error occured attempting to initialize the driver.\r
+  @retval  EFI_DEVICE_ERROR      A device error occurred attempting to initialize the driver.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
index 7b1ab1c8d5c55a649786399b0983f4a88ea634d7..a580d55d6db4dddf19c685fd80508a56cd807d7d 100644 (file)
@@ -190,8 +190,8 @@ IsaDeviceLookup (
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL\r
   @param Device          Point to device ID instance \r
 \r
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL\r
   @param Device          Point to device ID instance \r
 \r
-  @retval EFI_NOT_FOUND Can not found the next Isa device.\r
-  @retval EFI_SUCESS    Success retrieve the next Isa device for enumration.\r
+  @retval EFI_NOT_FOUND  Can not found the next Isa device.\r
+  @retval EFI_SUCCESS    Success retrieve the next Isa device for enumration.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
@@ -221,7 +221,7 @@ IsaDeviceEnumerate (
   @param OnOff           TRUE for setting isa device power on,\r
                          FALSE for setting isa device power off\r
 \r
   @param OnOff           TRUE for setting isa device power on,\r
                          FALSE for setting isa device power off\r
 \r
-  @return EFI_SUCCESS    Sucess to change power status for isa device.\r
+  @return EFI_SUCCESS    Success to change power status for isa device.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -286,7 +286,7 @@ IsaGetPossibleResource (
   @param Device          Point to device ID instance \r
   @param ResourceList    Point to resources instances for given isa device\r
 \r
   @param Device          Point to device ID instance \r
   @param ResourceList    Point to resources instances for given isa device\r
 \r
-  @return EFI_SUCESS  Success to set resource.\r
+  @return EFI_SUCCESS  Success to set resource.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
@@ -307,7 +307,7 @@ IsaSetResource (
   @param Device          Point to device ID instance \r
   @param Enable          Enable/Disable\r
 \r
   @param Device          Point to device ID instance \r
   @param Enable          Enable/Disable\r
 \r
-  @return EFI_SUCESS  Success to enable/disable.\r
+  @return EFI_SUCCESS  Success to enable/disable.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
@@ -327,7 +327,7 @@ IsaEnableDevice (
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL\r
   @param Device          Point to device ID instance \r
 \r
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL\r
   @param Device          Point to device ID instance \r
 \r
-  @return EFI_SUCESS  Success to initialize.\r
+  @return EFI_SUCCESS  Success to initialize.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
@@ -346,7 +346,7 @@ IsaInitDevice (
 \r
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL\r
 \r
 \r
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL\r
 \r
-  @return EFI_SUCESS  Success to initialize ISA interface.\r
+  @return EFI_SUCCESS  Success to initialize ISA interface.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
index 2b5ba6c1081a43abbdc939e74f08a8b8301e48d3..32381b112d0e68f714a8944ac0ba39bd5414ce31 100644 (file)
@@ -32,7 +32,7 @@ EFI_DRIVER_BINDING_PROTOCOL gPcatIsaAcpiDriverBinding = {
   @param ImageHandle     Handle for driver image\r
   @param SystemTable     Point to EFI_SYSTEM_TABLE\r
 \r
   @param ImageHandle     Handle for driver image\r
   @param SystemTable     Point to EFI_SYSTEM_TABLE\r
 \r
-  @return Sucess or not for installing driver binding protocol\r
+  @return Success or not for installing driver binding protocol\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
index 1fcac402b950641114e4d351338b60cbfa27015d..0671127644d90e8e10d06427fcf3b36af2579883 100644 (file)
@@ -133,7 +133,7 @@ PcatIsaAcpiDriverBindingStop (
   @param Device          Point to device ID instance \r
 \r
   @retval EFI_NOT_FOUND Can not found the next Isa device.\r
   @param Device          Point to device ID instance \r
 \r
   @retval EFI_NOT_FOUND Can not found the next Isa device.\r
-  @retval EFI_SUCESS    Success retrieve the next Isa device for enumration.\r
+  @retval EFI_SUCCESS    Success retrieve the next Isa device for enumration.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
@@ -152,7 +152,7 @@ IsaDeviceEnumerate (
   @param OnOff           TRUE for setting isa device power on,\r
                          FALSE for setting isa device power off\r
 \r
   @param OnOff           TRUE for setting isa device power on,\r
                          FALSE for setting isa device power off\r
 \r
-  @return EFI_SUCCESS    Sucess to change power status for isa device.\r
+  @return EFI_SUCCESS    Success to change power status for isa device.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -204,7 +204,7 @@ IsaGetPossibleResource (
   @param Device          Point to device ID instance \r
   @param ResourceList    Point to resources instances for given isa device\r
 \r
   @param Device          Point to device ID instance \r
   @param ResourceList    Point to resources instances for given isa device\r
 \r
-  @return EFI_SUCESS  Success to set resource.\r
+  @return EFI_SUCCESS  Success to set resource.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
@@ -222,7 +222,7 @@ IsaSetResource (
   @param Device          Point to device ID instance \r
   @param Enable          Enable/Disable\r
 \r
   @param Device          Point to device ID instance \r
   @param Enable          Enable/Disable\r
 \r
-  @return EFI_SUCESS  Success to enable/disable.\r
+  @return EFI_SUCCESS  Success to enable/disable.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
@@ -239,7 +239,7 @@ IsaEnableDevice (
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL\r
   @param Device          Point to device ID instance \r
 \r
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL\r
   @param Device          Point to device ID instance \r
 \r
-  @return EFI_SUCESS  Success to initialize.\r
+  @return EFI_SUCCESS  Success to initialize.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
@@ -254,7 +254,7 @@ IsaInitDevice (
 \r
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL\r
 \r
 \r
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL\r
 \r
-  @return EFI_SUCESS  Success to initialize ISA interface.\r
+  @return EFI_SUCCESS  Success to initialize ISA interface.\r
 \r
 **/\r
 EFI_STATUS\r
 \r
 **/\r
 EFI_STATUS\r
index 1bbb1a258411e410e06d7c63b3194f4371e41a2d..dcb43fac6234002aaf818e80616fcfc159211362 100644 (file)
@@ -60,7 +60,7 @@ UINT8   gBreakSet = 0;
   Initialize the serial device hardware.\r
   \r
   If no initialization is required, then return RETURN_SUCCESS.\r
   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
   If the serial device could not be initialized, then return RETURN_DEVICE_ERROR.\r
   \r
   @retval RETURN_SUCCESS        The serial device was initialized.\r