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>
This commit is contained in:
Gary Lin
2016-10-19 15:01:22 +08:00
committed by Feng Tian
parent 04b34efb40
commit ed356b9e80
23 changed files with 56 additions and 56 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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;

View File

@@ -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.

View File

@@ -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.

View File

@@ -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));

View File

@@ -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 (

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.