summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2016-10-19 15:01:22 +0800
committerFeng Tian <feng.tian@intel.com>2016-10-27 09:11:16 +0800
commited356b9e80d46c40457dd90f5352835e6611200b (patch)
treee50bb12ac84510567008f92cba49539cef59c6cd
parent04b34efb40309b55ed9e56c294ee556001e4366f (diff)
downloadedk2-ed356b9e80d46c40457dd90f5352835e6611200b.tar.gz
edk2-ed356b9e80d46c40457dd90f5352835e6611200b.tar.bz2
edk2-ed356b9e80d46c40457dd90f5352835e6611200b.zip
MdeModulePkg/Bus: Fix typos in comments
- TURE -> TRUE - stoping -> stopping - doule -> double - Peroidic -> Periodic - stardard -> standard - a a -> a - reseting -> resetting - excute -> execute - connectted -> connected - Sumbit -> Submit Cc: Feng Tian <feng.tian@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
-rw-r--r--MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c2
-rw-r--r--MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c2
-rw-r--r--MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c4
-rw-r--r--MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c4
-rw-r--r--MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c12
-rw-r--r--MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h12
-rw-r--r--MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c6
-rw-r--r--MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h8
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c2
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h8
-rw-r--r--MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h6
-rw-r--r--MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c6
-rw-r--r--MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h14
-rw-r--r--MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c4
-rw-r--r--MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c2
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c2
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h2
-rw-r--r--MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c2
-rw-r--r--MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h4
-rw-r--r--MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h2
-rw-r--r--MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c4
-rw-r--r--MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c2
-rw-r--r--MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h2
23 files changed, 56 insertions, 56 deletions
diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c
index 2389d54926..795443ef74 100644
--- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c
+++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c
@@ -1878,7 +1878,7 @@ AtaPassThruResetDevice (
}
/**
- Sumbit ATAPI request sense command.
+ Submit ATAPI request sense command.
@param[in] This A pointer to the EFI_EXT_SCSI_PASS_THRU_PROTOCOL instance.
@param[in] Target The Target is an array of size TARGET_MAX_BYTES and it represents
diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
index e7449f9714..cb7f1f031e 100644
--- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
+++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
@@ -1005,7 +1005,7 @@ AtaBlockIoReset (
@param[in, out] Token A pointer to the token associated with the transaction.
@param[in] BufferSize Size of Buffer, must be a multiple of device block size.
@param[out] Buffer A pointer to the destination/source buffer for the data.
- @param[in] IsBlockIo2 Indicate the calling is from BlockIO or BlockIO2. TURE is
+ @param[in] IsBlockIo2 Indicate the calling is from BlockIO or BlockIO2. TRUE is
from BlockIO2, FALSE is for BlockIO.
@param[in] IsWrite Indicates whether it is a write operation.
diff --git a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c b/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
index 4f064f7651..eeb7de34ab 100644
--- a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
+++ b/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
@@ -1649,9 +1649,9 @@ InitKeyboard (
ConsoleIn->IsSupportPartialKey = FALSE;
//
- // For reseting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
+ // For resetting keyboard is not mandatory before booting OS and sometimes keyboard responses very slow,
// and to support KB hot plug, we need to let the InitKB succeed no matter whether there is a KB device connected
- // to system. So we only do the real reseting for keyboard when user asks and there is a real KB connected t system,
+ // to system. So we only do the real resetting for keyboard when user asks and there is a real KB connected t system,
// and normally during booting an OS, it's skipped.
//
if (ExtendedVerification && CheckKeyboardConnect (ConsoleIn)) {
diff --git a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c b/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
index 4384935443..4df1b890e6 100644
--- a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
+++ b/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c
@@ -55,7 +55,7 @@ KbdControllerDriverStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -460,7 +460,7 @@ ErrorExit:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
index 0c0a1f48d9..04d536c76c 100644
--- a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
+++ b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.c
@@ -510,7 +510,7 @@ PS2MouseRead (
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -545,7 +545,7 @@ Out8042Command (
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -571,7 +571,7 @@ Out8042Data (
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -610,7 +610,7 @@ In8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -688,7 +688,7 @@ Out8042AuxCommand (
@param Data Buffer holding return value
- @retval EFI_SUCCESS Success to excute I/O work flow.
+ @retval EFI_SUCCESS Success to execute I/O work flow.
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -729,7 +729,7 @@ Out8042AuxData (
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
index 26535fc948..c854e68b29 100644
--- a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
+++ b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
@@ -279,7 +279,7 @@ PS2MouseRead (
@param Command I/O command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -292,7 +292,7 @@ Out8042Command (
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -305,7 +305,7 @@ In8042Data (
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -319,7 +319,7 @@ Out8042Data (
@param Command Aux I/O command
@param Resend Whether need resend the Aux command.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -333,7 +333,7 @@ Out8042AuxCommand (
@param Data Buffer holding return value.
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
@@ -346,7 +346,7 @@ In8042AuxData (
@param Data Buffer holding return value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
index 91fac556cf..1586935cde 100644
--- a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
+++ b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.c
@@ -431,7 +431,7 @@ ErrorExit:
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -528,14 +528,14 @@ PS2MouseDriverStop (
/**
Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and
- there is a mouse device connectted to system.
+ there is a mouse device connected to system.
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
diff --git a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
index 6419b89a70..9e62f740fe 100644
--- a/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
+++ b/MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2Mouse.h
@@ -151,7 +151,7 @@ PS2MouseDriverStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
@@ -304,14 +304,14 @@ Ps2MouseComponentNameGetControllerName (
/**
Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and
- there is a mouse device connectted to system.
+ there is a mouse device connected to system.
@param This - Pointer of simple pointer Protocol.
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
@retval EFI_SUCCESS - The command byte is written successfully.
- @retval EFI_DEVICE_ERROR - Errors occurred during reseting keyboard.
+ @retval EFI_DEVICE_ERROR - Errors occurred during resetting keyboard.
**/
EFI_STATUS
@@ -374,7 +374,7 @@ PollMouse (
@param Data Data value
- @retval EFI_SUCCESS Success to excute I/O work flow
+ @retval EFI_SUCCESS Success to execute I/O work flow
@retval EFI_TIMEOUT Keyboard controller time out.
**/
EFI_STATUS
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
index c7a6a400cf..5173a9d599 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
@@ -2018,7 +2018,7 @@ CLOSE_PCIIO:
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h
index be81bde40d..3415816c53 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h
@@ -85,13 +85,13 @@ typedef struct _USB2_HC_DEV USB2_HC_DEV;
#define EHC_TPL TPL_NOTIFY
//
-//Iterate through the doule linked list. NOT delete safe
+//Iterate through the double linked list. NOT delete safe
//
#define EFI_LIST_FOR_EACH(Entry, ListHead) \
for(Entry = (ListHead)->ForwardLink; Entry != (ListHead); Entry = Entry->ForwardLink)
//
-//Iterate through the doule linked list. This is delete-safe.
+//Iterate through the double linked list. This is delete-safe.
//Don't touch NextEntry
//
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
@@ -146,7 +146,7 @@ struct _USB2_HC_DEV {
EHC_QH *ReclaimHead;
//
- // Peroidic (interrupt) transfer schedule data:
+ // Periodic (interrupt) transfer schedule data:
//
VOID *PeriodFrame; // the buffer pointed by this pointer is used to store pci bus address of the QH descriptor.
VOID *PeriodFrameHost; // the buffer pointed by this pointer is used to store host memory address of the QH descriptor.
@@ -225,7 +225,7 @@ EhcDriverBindingStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h b/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h
index 74037769a4..d7a68d9095 100644
--- a/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h
+++ b/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h
@@ -66,13 +66,13 @@ typedef struct _PEI_USB2_HC_DEV PEI_USB2_HC_DEV;
#define EHC_SYNC_POLL_INTERVAL (6 * EHC_1_MILLISECOND)
//
-//Iterate through the doule linked list. NOT delete safe
+//Iterate through the double linked list. NOT delete safe
//
#define EFI_LIST_FOR_EACH(Entry, ListHead) \
for(Entry = (ListHead)->ForwardLink; Entry != (ListHead); Entry = Entry->ForwardLink)
//
-//Iterate through the doule linked list. This is delete-safe.
+//Iterate through the double linked list. This is delete-safe.
//Don't touch NextEntry
//
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
@@ -119,7 +119,7 @@ struct _PEI_USB2_HC_DEV {
PEI_EHC_QH *ReclaimHead;
//
- // Peroidic (interrupt) transfer schedule data:
+ // Periodic (interrupt) transfer schedule data:
//
VOID *PeriodFrame; // Mapped as common buffer
VOID *PeriodFrameHost;
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c
index a463bea80f..f3be47a496 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c
@@ -113,7 +113,7 @@ PciBusEntryPoint (
@param This Protocol instance pointer.
@param Controller Handle of device to test.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver supports this device.
@@ -223,7 +223,7 @@ PciBusDriverBindingSupported (
@param This Protocol instance pointer.
@param Controller Handle of device to bind driver to.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver is added to ControllerHandle.
@@ -332,7 +332,7 @@ PciBusDriverBindingStart (
}
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
index b12d7ec503..39ba8b9f33 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
@@ -203,7 +203,7 @@ struct _PCI_IO_DEVICE {
LIST_ENTRY ChildList;
//
- // TURE if the PCI bus driver creates the handle for this PCI device
+ // TRUE if the PCI bus driver creates the handle for this PCI device
//
BOOLEAN Registered;
@@ -285,7 +285,7 @@ struct _PCI_IO_DEVICE {
UINT16 ReservedBusNum;
//
// Per PCI to PCI Bridge spec, I/O window is 4K aligned,
- // but some chipsets support non-stardard I/O window aligments less than 4K.
+ // but some chipsets support non-standard I/O window alignments less than 4K.
// This field is used to support this case.
//
UINT16 BridgeIoAlignment;
@@ -327,8 +327,8 @@ extern BOOLEAN mReserveVgaAliases;
@param _p Specified device.
- @retval TRUE Device is a a GFX device.
- @retval FALSE Device is not a a GFX device.
+ @retval TRUE Device is a GFX device.
+ @retval FALSE Device is not a GFX device.
**/
#define IS_PCI_GFX(_p) IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER)
@@ -339,7 +339,7 @@ extern BOOLEAN mReserveVgaAliases;
@param This Protocol instance pointer.
@param Controller Handle of device to test.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver supports this device.
@@ -361,7 +361,7 @@ PciBusDriverBindingSupported (
@param This Protocol instance pointer.
@param Controller Handle of device to bind driver to.
- @param RemainingDevicePath Optional parameter use to pick a specific child.
+ @param RemainingDevicePath Optional parameter use to pick a specific child
device to start.
@retval EFI_SUCCESS This driver is added to ControllerHandle.
@@ -378,7 +378,7 @@ PciBusDriverBindingStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
index 80f2885005..ac4d323c7a 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
@@ -599,14 +599,14 @@ GatherPpbInfo (
//
// if PcdPciBridgeIoAlignmentProbe is TRUE, PCI bus driver probes
- // PCI bridge supporting non-stardard I/O window alignment less than 4K.
+ // PCI bridge supporting non-standard I/O window alignment less than 4K.
//
PciIoDevice->BridgeIoAlignment = 0xFFF;
if (FeaturePcdGet (PcdPciBridgeIoAlignmentProbe)) {
//
// Check any bits of bit 3-1 of I/O Base Register are writable.
- // if so, it is assumed non-stardard I/O window alignment is supported by this bridge.
+ // if so, it is assumed non-standard I/O window alignment is supported by this bridge.
// Per spec, bit 3-1 of I/O Base Register are reserved bits, so its content can't be assumed.
//
Value = (UINT8)(Temp ^ (BIT3 | BIT2 | BIT1));
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c
index 337a6db7de..c13e99bcee 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c
@@ -429,7 +429,7 @@ PciHostBridgeResourceAllocator (
//
//
- // If non-stardard PCI Bridge I/O window alignment is supported,
+ // If non-standard PCI Bridge I/O window alignment is supported,
// set I/O aligment to minimum possible alignment for root bridge.
//
IoBridge = CreateResourceNode (
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
index a4cb27af90..1fcc8b5f32 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
@@ -1833,7 +1833,7 @@ CLOSE_PCIIO:
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h
index 8635d8231c..fc23a75a96 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h
@@ -197,7 +197,7 @@ UhciDriverBindingStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
index 1058f03030..2f6137ef57 100644
--- a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
+++ b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
@@ -2149,7 +2149,7 @@ CLOSE_PCIIO:
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
index 0f53bb0eff..06cc73c7cb 100644
--- a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
+++ b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
@@ -84,7 +84,7 @@ typedef struct _USB_DEV_CONTEXT USB_DEV_CONTEXT;
#define INT_INTER_ASYNC 4
//
-// Iterate through the doule linked list. This is delete-safe.
+// Iterate through the double linked list. This is delete-safe.
// Don't touch NextEntry
//
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
@@ -308,7 +308,7 @@ XhcDriverBindingStart (
);
/**
- Stop this driver on ControllerHandle. Support stoping any child handles
+ Stop this driver on ControllerHandle. Support stopping any child handles
created by this driver.
@param This Protocol instance pointer.
diff --git a/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h b/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h
index 4f7087f44f..7fc82bae7a 100644
--- a/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h
+++ b/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThru.h
@@ -51,7 +51,7 @@ typedef struct {
} UFS_EXPOSED_LUNS;
//
-// Iterate through the doule linked list. This is delete-safe.
+// Iterate through the double linked list. This is delete-safe.
// Do not touch NextEntry
//
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
index 96c3622821..d5de1ac7d1 100644
--- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
+++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
@@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@param UsbMass The device whose sense data is requested.
- @retval EFI_SUCCESS The command is excuted successfully.
+ @retval EFI_SUCCESS The command is executed successfully.
@retval EFI_DEVICE_ERROR Failed to request sense.
@retval EFI_NO_RESPONSE The device media doesn't response this request.
@retval EFI_INVALID_PARAMETER The command has some invalid parameters.
@@ -152,7 +152,7 @@ UsbBootRequestSense (
@param DataLen The length of expected data
@param Timeout The timeout used to transfer
- @retval EFI_SUCCESS Command is excuted successfully
+ @retval EFI_SUCCESS Command is executed successfully
@retval Others Command execution failed.
**/
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c
index 0767ff0942..4c29b61121 100644
--- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c
+++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c
@@ -392,7 +392,7 @@ UsbBotGetStatus (
@param CmdStatus The result of high level command execution
@retval EFI_SUCCESS The command is executed successfully.
- @retval Other Failed to excute command
+ @retval Other Failed to execute command
**/
EFI_STATUS
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h
index bdbddf559b..502c6703bf 100644
--- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h
+++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.h
@@ -126,7 +126,7 @@ UsbBotInit (
@param CmdStatus The result of high level command execution
@retval EFI_SUCCESS The command is executed successfully.
- @retval Other Failed to excute command
+ @retval Other Failed to execute command
**/
EFI_STATUS