mirror of https://github.com/acidanthera/audk.git
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:
parent
04b34efb40
commit
ed356b9e80
|
@ -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] 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
|
@param[in] Target The Target is an array of size TARGET_MAX_BYTES and it represents
|
||||||
|
|
|
@ -1005,7 +1005,7 @@ AtaBlockIoReset (
|
||||||
@param[in, out] Token A pointer to the token associated with the transaction.
|
@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[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[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.
|
from BlockIO2, FALSE is for BlockIO.
|
||||||
@param[in] IsWrite Indicates whether it is a write operation.
|
@param[in] IsWrite Indicates whether it is a write operation.
|
||||||
|
|
||||||
|
|
|
@ -1649,9 +1649,9 @@ InitKeyboard (
|
||||||
|
|
||||||
ConsoleIn->IsSupportPartialKey = FALSE;
|
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
|
// 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.
|
// and normally during booting an OS, it's skipped.
|
||||||
//
|
//
|
||||||
if (ExtendedVerification && CheckKeyboardConnect (ConsoleIn)) {
|
if (ExtendedVerification && CheckKeyboardConnect (ConsoleIn)) {
|
||||||
|
|
|
@ -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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
|
|
@ -510,7 +510,7 @@ PS2MouseRead (
|
||||||
|
|
||||||
@param Command I/O command.
|
@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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -545,7 +545,7 @@ Out8042Command (
|
||||||
|
|
||||||
@param Data Data value
|
@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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -571,7 +571,7 @@ Out8042Data (
|
||||||
|
|
||||||
@param Data Data value
|
@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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -610,7 +610,7 @@ In8042Data (
|
||||||
@param Command Aux I/O command
|
@param Command Aux I/O command
|
||||||
@param Resend Whether need resend the Aux 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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -688,7 +688,7 @@ Out8042AuxCommand (
|
||||||
|
|
||||||
@param Data Buffer holding return value
|
@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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -729,7 +729,7 @@ Out8042AuxData (
|
||||||
|
|
||||||
@param Data Buffer holding return value.
|
@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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
|
|
@ -279,7 +279,7 @@ PS2MouseRead (
|
||||||
|
|
||||||
@param Command I/O command.
|
@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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -292,7 +292,7 @@ Out8042Command (
|
||||||
|
|
||||||
@param Data Data value
|
@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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -305,7 +305,7 @@ In8042Data (
|
||||||
|
|
||||||
@param Data Data value
|
@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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -319,7 +319,7 @@ Out8042Data (
|
||||||
@param Command Aux I/O command
|
@param Command Aux I/O command
|
||||||
@param Resend Whether need resend the Aux 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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -333,7 +333,7 @@ Out8042AuxCommand (
|
||||||
|
|
||||||
@param Data Buffer holding return value.
|
@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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -346,7 +346,7 @@ In8042AuxData (
|
||||||
|
|
||||||
@param Data Buffer holding return value
|
@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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
|
|
@ -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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
@ -528,14 +528,14 @@ PS2MouseDriverStop (
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and
|
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 This - Pointer of simple pointer Protocol.
|
||||||
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
|
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
|
||||||
|
|
||||||
|
|
||||||
@retval EFI_SUCCESS - The command byte is written successfully.
|
@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
|
EFI_STATUS
|
||||||
|
|
|
@ -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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
@ -304,14 +304,14 @@ Ps2MouseComponentNameGetControllerName (
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Reset the Mouse and do BAT test for it, if ExtendedVerification is TRUE and
|
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 This - Pointer of simple pointer Protocol.
|
||||||
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
|
@param ExtendedVerification - Whether configure mouse parameters. True: do; FALSE: skip.
|
||||||
|
|
||||||
|
|
||||||
@retval EFI_SUCCESS - The command byte is written successfully.
|
@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
|
EFI_STATUS
|
||||||
|
@ -374,7 +374,7 @@ PollMouse (
|
||||||
|
|
||||||
@param Data Data value
|
@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.
|
@retval EFI_TIMEOUT Keyboard controller time out.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
|
|
@ -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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
|
|
@ -85,13 +85,13 @@ typedef struct _USB2_HC_DEV USB2_HC_DEV;
|
||||||
#define EHC_TPL TPL_NOTIFY
|
#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) \
|
#define EFI_LIST_FOR_EACH(Entry, ListHead) \
|
||||||
for(Entry = (ListHead)->ForwardLink; Entry != (ListHead); Entry = Entry->ForwardLink)
|
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
|
//Don't touch NextEntry
|
||||||
//
|
//
|
||||||
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
|
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
|
||||||
|
@ -146,7 +146,7 @@ struct _USB2_HC_DEV {
|
||||||
EHC_QH *ReclaimHead;
|
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 *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.
|
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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
|
|
@ -66,13 +66,13 @@ typedef struct _PEI_USB2_HC_DEV PEI_USB2_HC_DEV;
|
||||||
#define EHC_SYNC_POLL_INTERVAL (6 * EHC_1_MILLISECOND)
|
#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) \
|
#define EFI_LIST_FOR_EACH(Entry, ListHead) \
|
||||||
for(Entry = (ListHead)->ForwardLink; Entry != (ListHead); Entry = Entry->ForwardLink)
|
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
|
//Don't touch NextEntry
|
||||||
//
|
//
|
||||||
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
|
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
|
||||||
|
@ -119,7 +119,7 @@ struct _PEI_USB2_HC_DEV {
|
||||||
PEI_EHC_QH *ReclaimHead;
|
PEI_EHC_QH *ReclaimHead;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Peroidic (interrupt) transfer schedule data:
|
// Periodic (interrupt) transfer schedule data:
|
||||||
//
|
//
|
||||||
VOID *PeriodFrame; // Mapped as common buffer
|
VOID *PeriodFrame; // Mapped as common buffer
|
||||||
VOID *PeriodFrameHost;
|
VOID *PeriodFrameHost;
|
||||||
|
|
|
@ -113,7 +113,7 @@ PciBusEntryPoint (
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
@param Controller Handle of device to test.
|
@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.
|
device to start.
|
||||||
|
|
||||||
@retval EFI_SUCCESS This driver supports this device.
|
@retval EFI_SUCCESS This driver supports this device.
|
||||||
|
@ -223,7 +223,7 @@ PciBusDriverBindingSupported (
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
@param Controller Handle of device to bind driver to.
|
@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.
|
device to start.
|
||||||
|
|
||||||
@retval EFI_SUCCESS This driver is added to ControllerHandle.
|
@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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
|
|
@ -203,7 +203,7 @@ struct _PCI_IO_DEVICE {
|
||||||
LIST_ENTRY ChildList;
|
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;
|
BOOLEAN Registered;
|
||||||
|
|
||||||
|
@ -285,7 +285,7 @@ struct _PCI_IO_DEVICE {
|
||||||
UINT16 ReservedBusNum;
|
UINT16 ReservedBusNum;
|
||||||
//
|
//
|
||||||
// Per PCI to PCI Bridge spec, I/O window is 4K aligned,
|
// 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.
|
// This field is used to support this case.
|
||||||
//
|
//
|
||||||
UINT16 BridgeIoAlignment;
|
UINT16 BridgeIoAlignment;
|
||||||
|
@ -327,8 +327,8 @@ extern BOOLEAN mReserveVgaAliases;
|
||||||
|
|
||||||
@param _p Specified device.
|
@param _p Specified device.
|
||||||
|
|
||||||
@retval TRUE Device is a a GFX device.
|
@retval TRUE Device is a GFX device.
|
||||||
@retval FALSE Device is not a 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)
|
#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 This Protocol instance pointer.
|
||||||
@param Controller Handle of device to test.
|
@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.
|
device to start.
|
||||||
|
|
||||||
@retval EFI_SUCCESS This driver supports this device.
|
@retval EFI_SUCCESS This driver supports this device.
|
||||||
|
@ -361,7 +361,7 @@ PciBusDriverBindingSupported (
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
@param Controller Handle of device to bind driver to.
|
@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.
|
device to start.
|
||||||
|
|
||||||
@retval EFI_SUCCESS This driver is added to ControllerHandle.
|
@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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
|
|
@ -599,14 +599,14 @@ GatherPpbInfo (
|
||||||
|
|
||||||
//
|
//
|
||||||
// if PcdPciBridgeIoAlignmentProbe is TRUE, PCI bus driver probes
|
// 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;
|
PciIoDevice->BridgeIoAlignment = 0xFFF;
|
||||||
if (FeaturePcdGet (PcdPciBridgeIoAlignmentProbe)) {
|
if (FeaturePcdGet (PcdPciBridgeIoAlignmentProbe)) {
|
||||||
//
|
//
|
||||||
// Check any bits of bit 3-1 of I/O Base Register are writable.
|
// 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.
|
// 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));
|
Value = (UINT8)(Temp ^ (BIT3 | BIT2 | BIT1));
|
||||||
|
|
|
@ -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.
|
// set I/O aligment to minimum possible alignment for root bridge.
|
||||||
//
|
//
|
||||||
IoBridge = CreateResourceNode (
|
IoBridge = CreateResourceNode (
|
||||||
|
|
|
@ -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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
|
|
@ -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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
|
|
@ -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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
|
|
@ -84,7 +84,7 @@ typedef struct _USB_DEV_CONTEXT USB_DEV_CONTEXT;
|
||||||
#define INT_INTER_ASYNC 4
|
#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
|
// Don't touch NextEntry
|
||||||
//
|
//
|
||||||
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
|
#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.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
|
|
@ -51,7 +51,7 @@ typedef struct {
|
||||||
} UFS_EXPOSED_LUNS;
|
} 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
|
// Do not touch NextEntry
|
||||||
//
|
//
|
||||||
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
|
#define EFI_LIST_FOR_EACH_SAFE(Entry, NextEntry, ListHead) \
|
||||||
|
|
|
@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
@param UsbMass The device whose sense data is requested.
|
@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_DEVICE_ERROR Failed to request sense.
|
||||||
@retval EFI_NO_RESPONSE The device media doesn't response this request.
|
@retval EFI_NO_RESPONSE The device media doesn't response this request.
|
||||||
@retval EFI_INVALID_PARAMETER The command has some invalid parameters.
|
@retval EFI_INVALID_PARAMETER The command has some invalid parameters.
|
||||||
|
@ -152,7 +152,7 @@ UsbBootRequestSense (
|
||||||
@param DataLen The length of expected data
|
@param DataLen The length of expected data
|
||||||
@param Timeout The timeout used to transfer
|
@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.
|
@retval Others Command execution failed.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
|
@ -392,7 +392,7 @@ UsbBotGetStatus (
|
||||||
@param CmdStatus The result of high level command execution
|
@param CmdStatus The result of high level command execution
|
||||||
|
|
||||||
@retval EFI_SUCCESS The command is executed successfully.
|
@retval EFI_SUCCESS The command is executed successfully.
|
||||||
@retval Other Failed to excute command
|
@retval Other Failed to execute command
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
|
|
@ -126,7 +126,7 @@ UsbBotInit (
|
||||||
@param CmdStatus The result of high level command execution
|
@param CmdStatus The result of high level command execution
|
||||||
|
|
||||||
@retval EFI_SUCCESS The command is executed successfully.
|
@retval EFI_SUCCESS The command is executed successfully.
|
||||||
@retval Other Failed to excute command
|
@retval Other Failed to execute command
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
|
Loading…
Reference in New Issue