summaryrefslogtreecommitdiffstats
path: root/PcAtChipsetPkg
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-01-18 21:40:15 +0800
committerStar Zeng <star.zeng@intel.com>2017-01-20 08:50:09 +0800
commit619ad10f3af2774880867dd638a8016d3181b516 (patch)
tree17b0332c44109240e4862968af8f0f6016b4627f /PcAtChipsetPkg
parent19ca06bb84cafd661f7da34e9ca3c7ec6add1135 (diff)
downloadedk2-619ad10f3af2774880867dd638a8016d3181b516.tar.gz
edk2-619ad10f3af2774880867dd638a8016d3181b516.tar.bz2
edk2-619ad10f3af2774880867dd638a8016d3181b516.zip
PcAtChipsetPkg: Fix typing errors
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>
Diffstat (limited to 'PcAtChipsetPkg')
-rw-r--r--PcAtChipsetPkg/8254TimerDxe/Timer.c6
-rw-r--r--PcAtChipsetPkg/8254TimerDxe/Timer.h2
-rw-r--r--PcAtChipsetPkg/8259InterruptControllerDxe/8259.c4
-rw-r--r--PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c4
-rw-r--r--PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h4
-rw-r--r--PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c6
-rw-r--r--PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c14
-rw-r--r--PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c2
-rw-r--r--PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h12
-rw-r--r--PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c2
10 files changed, 28 insertions, 28 deletions
diff --git a/PcAtChipsetPkg/8254TimerDxe/Timer.c b/PcAtChipsetPkg/8254TimerDxe/Timer.c
index fd8b2ecf6e..2cd888a127 100644
--- a/PcAtChipsetPkg/8254TimerDxe/Timer.c
+++ b/PcAtChipsetPkg/8254TimerDxe/Timer.c
@@ -71,8 +71,8 @@ SetPitCount (
/**
8254 Timer #0 Interrupt Handler.
- @param InterruptType The type of interrupt that occured
- @param SystemContext A pointer to the system context when the interrupt occured
+ @param InterruptType The type of interrupt that occurred
+ @param SystemContext A pointer to the system context when the interrupt occurred
**/
VOID
EFIAPI
@@ -332,7 +332,7 @@ TimerDriverGenerateSoftInterrupt (
@retval EFI_SUCCESS Timer Architectural Protocol created
@retval EFI_OUT_OF_RESOURCES Not enough resources available to initialize driver.
- @retval EFI_DEVICE_ERROR A device error occured attempting to initialize the driver.
+ @retval EFI_DEVICE_ERROR A device error occurred attempting to initialize the driver.
**/
EFI_STATUS
diff --git a/PcAtChipsetPkg/8254TimerDxe/Timer.h b/PcAtChipsetPkg/8254TimerDxe/Timer.h
index c2c29bb9cd..b2c8afb606 100644
--- a/PcAtChipsetPkg/8254TimerDxe/Timer.h
+++ b/PcAtChipsetPkg/8254TimerDxe/Timer.h
@@ -57,7 +57,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@retval EFI_SUCCESS Timer Architectural Protocol created
@retval EFI_OUT_OF_RESOURCES Not enough resources available to initialize driver.
- @retval EFI_DEVICE_ERROR A device error occured attempting to initialize the driver.
+ @retval EFI_DEVICE_ERROR A device error occurred attempting to initialize the driver.
**/
EFI_STATUS
diff --git a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
index e73a1007a2..7d8265dbd1 100644
--- a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
+++ b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
@@ -139,7 +139,7 @@ Interrupt8259SetVectorBase (
//
// Preserve interrtup mask register before initialization sequence
- // because it will be cleared during intialization
+ // because it will be cleared during initialization
//
Mask = IoRead8 (LEGACY_8259_MASK_REGISTER_SLAVE);
@@ -181,7 +181,7 @@ Interrupt8259SetVectorBase (
//
// Preserve interrtup mask register before initialization sequence
- // because it will be cleared during intialization
+ // because it will be cleared during initialization
//
Mask = IoRead8 (LEGACY_8259_MASK_REGISTER_MASTER);
diff --git a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c
index 21b8e26297..ebe28e93ac 100644
--- a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c
+++ b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c
@@ -110,7 +110,7 @@ InitializeIdeControllerDriver (
driver but used by bus driver
@retval EFI_SUCCESS Driver loaded.
- @retval !EFI_SUCESS Driver not loaded.
+ @retval !EFI_SUCCESS Driver not loaded.
**/
EFI_STATUS
EFIAPI
@@ -249,7 +249,7 @@ IdeControllerStart (
@param NumberOfChildren Not used
@param ChildHandleBuffer Not used
- @retval EFI_SUCESS This driver is removed DeviceHandle
+ @retval EFI_SUCCESS This driver is removed DeviceHandle
@retval !EFI_SUCCESS This driver was not removed from this device
**/
EFI_STATUS
diff --git a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
index 3ecde081e2..a994b9d792 100644
--- a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
+++ b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
@@ -59,7 +59,7 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gIdeControllerComponentName2;
driver but used by bus driver
@retval EFI_SUCCESS Driver loaded.
- @retval !EFI_SUCESS Driver not loaded.
+ @retval !EFI_SUCCESS Driver not loaded.
**/
EFI_STATUS
EFIAPI
@@ -100,7 +100,7 @@ IdeControllerStart (
@param NumberOfChildren Not used
@param ChildHandleBuffer Not used
- @retval EFI_SUCESS This driver is removed DeviceHandle
+ @retval EFI_SUCCESS This driver is removed DeviceHandle
@retval !EFI_SUCCESS This driver was not removed from this device
**/
EFI_STATUS
diff --git a/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c b/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c
index c62c3a9b2b..23afbfaa65 100644
--- a/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c
+++ b/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c
@@ -288,8 +288,8 @@ HpetEnable (
HPET interrupt is passed to that notification function in 100 ns units. The HPET
time is updated to generate another interrupt in the required time period.
- @param InterruptType The type of interrupt that occured.
- @param SystemContext A pointer to the system context when the interrupt occured.
+ @param InterruptType The type of interrupt that occurred.
+ @param SystemContext A pointer to the system context when the interrupt occurred.
**/
VOID
EFIAPI
@@ -753,7 +753,7 @@ TimerDriverGenerateSoftInterrupt (
@retval EFI_SUCCESS Timer Architectural Protocol created
@retval EFI_OUT_OF_RESOURCES Not enough resources available to initialize driver.
- @retval EFI_DEVICE_ERROR A device error occured attempting to initialize the driver.
+ @retval EFI_DEVICE_ERROR A device error occurred attempting to initialize the driver.
**/
EFI_STATUS
diff --git a/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c b/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c
index 7b1ab1c8d5..a580d55d6d 100644
--- a/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c
+++ b/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c
@@ -190,8 +190,8 @@ IsaDeviceLookup (
@param This Point to instance of EFI_ISA_ACPI_PROTOCOL
@param Device Point to device ID instance
- @retval EFI_NOT_FOUND Can not found the next Isa device.
- @retval EFI_SUCESS Success retrieve the next Isa device for enumration.
+ @retval EFI_NOT_FOUND Can not found the next Isa device.
+ @retval EFI_SUCCESS Success retrieve the next Isa device for enumration.
**/
EFI_STATUS
@@ -221,7 +221,7 @@ IsaDeviceEnumerate (
@param OnOff TRUE for setting isa device power on,
FALSE for setting isa device power off
- @return EFI_SUCCESS Sucess to change power status for isa device.
+ @return EFI_SUCCESS Success to change power status for isa device.
**/
EFI_STATUS
EFIAPI
@@ -286,7 +286,7 @@ IsaGetPossibleResource (
@param Device Point to device ID instance
@param ResourceList Point to resources instances for given isa device
- @return EFI_SUCESS Success to set resource.
+ @return EFI_SUCCESS Success to set resource.
**/
EFI_STATUS
@@ -307,7 +307,7 @@ IsaSetResource (
@param Device Point to device ID instance
@param Enable Enable/Disable
- @return EFI_SUCESS Success to enable/disable.
+ @return EFI_SUCCESS Success to enable/disable.
**/
EFI_STATUS
@@ -327,7 +327,7 @@ IsaEnableDevice (
@param This Point to instance of EFI_ISA_ACPI_PROTOCOL
@param Device Point to device ID instance
- @return EFI_SUCESS Success to initialize.
+ @return EFI_SUCCESS Success to initialize.
**/
EFI_STATUS
@@ -346,7 +346,7 @@ IsaInitDevice (
@param This Point to instance of EFI_ISA_ACPI_PROTOCOL
- @return EFI_SUCESS Success to initialize ISA interface.
+ @return EFI_SUCCESS Success to initialize ISA interface.
**/
EFI_STATUS
diff --git a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c
index 2b5ba6c108..32381b112d 100644
--- a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c
+++ b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c
@@ -32,7 +32,7 @@ EFI_DRIVER_BINDING_PROTOCOL gPcatIsaAcpiDriverBinding = {
@param ImageHandle Handle for driver image
@param SystemTable Point to EFI_SYSTEM_TABLE
- @return Sucess or not for installing driver binding protocol
+ @return Success or not for installing driver binding protocol
**/
EFI_STATUS
EFIAPI
diff --git a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h
index 1fcac402b9..0671127644 100644
--- a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h
+++ b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h
@@ -133,7 +133,7 @@ PcatIsaAcpiDriverBindingStop (
@param Device Point to device ID instance
@retval EFI_NOT_FOUND Can not found the next Isa device.
- @retval EFI_SUCESS Success retrieve the next Isa device for enumration.
+ @retval EFI_SUCCESS Success retrieve the next Isa device for enumration.
**/
EFI_STATUS
@@ -152,7 +152,7 @@ IsaDeviceEnumerate (
@param OnOff TRUE for setting isa device power on,
FALSE for setting isa device power off
- @return EFI_SUCCESS Sucess to change power status for isa device.
+ @return EFI_SUCCESS Success to change power status for isa device.
**/
EFI_STATUS
EFIAPI
@@ -204,7 +204,7 @@ IsaGetPossibleResource (
@param Device Point to device ID instance
@param ResourceList Point to resources instances for given isa device
- @return EFI_SUCESS Success to set resource.
+ @return EFI_SUCCESS Success to set resource.
**/
EFI_STATUS
@@ -222,7 +222,7 @@ IsaSetResource (
@param Device Point to device ID instance
@param Enable Enable/Disable
- @return EFI_SUCESS Success to enable/disable.
+ @return EFI_SUCCESS Success to enable/disable.
**/
EFI_STATUS
@@ -239,7 +239,7 @@ IsaEnableDevice (
@param This Point to instance of EFI_ISA_ACPI_PROTOCOL
@param Device Point to device ID instance
- @return EFI_SUCESS Success to initialize.
+ @return EFI_SUCCESS Success to initialize.
**/
EFI_STATUS
@@ -254,7 +254,7 @@ IsaInitDevice (
@param This Point to instance of EFI_ISA_ACPI_PROTOCOL
- @return EFI_SUCESS Success to initialize ISA interface.
+ @return EFI_SUCCESS Success to initialize ISA interface.
**/
EFI_STATUS
diff --git a/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c b/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
index 1bbb1a2584..dcb43fac62 100644
--- a/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
+++ b/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
@@ -60,7 +60,7 @@ UINT8 gBreakSet = 0;
Initialize the serial device hardware.
If no initialization is required, then return RETURN_SUCCESS.
- If the serial device was successfuly initialized, then return RETURN_SUCCESS.
+ If the serial device was successfully initialized, then return RETURN_SUCCESS.
If the serial device could not be initialized, then return RETURN_DEVICE_ERROR.
@retval RETURN_SUCCESS The serial device was initialized.