mirror of https://github.com/acidanthera/audk.git
Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7008 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
77f863ee03
commit
d7db090280
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
|
|
||||||
Implementation of the USB mass storage Control/Bulk/Interrupt transpor.
|
Implementation of the USB mass storage Control/Bulk/Interrupt transport.
|
||||||
Notice: it is being obseleted by the standard body in favor of the BOT
|
Notice: it is being obsoleted by the standard body in favor of the BOT
|
||||||
(Bulk-Only Transport).
|
(Bulk-Only Transport).
|
||||||
|
|
||||||
Copyright (c) 2007 - 2008, Intel Corporation
|
Copyright (c) 2007 - 2008, Intel Corporation
|
||||||
|
|
|
@ -28,9 +28,9 @@ USB_MASS_TRANSPORT *mUsbMassTransport[] = {
|
||||||
Reset the block device. ExtendedVerification is ignored for this.
|
Reset the block device. ExtendedVerification is ignored for this.
|
||||||
|
|
||||||
@param This The BLOCK IO protocol
|
@param This The BLOCK IO protocol
|
||||||
@param ExtendedVerification Whether to execute extended verfication.
|
@param ExtendedVerification Whether to execute extended verification.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The device is successfully resetted.
|
@retval EFI_SUCCESS The device is successfully reseted.
|
||||||
@retval Others Failed to reset the device.
|
@retval Others Failed to reset the device.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
@ -273,7 +273,7 @@ UsbMassFlushBlocks (
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Retrieve the media parameters such as disk gemotric for the
|
Retrieve the media parameters such as disk geometric for the
|
||||||
device's BLOCK IO protocol.
|
device's BLOCK IO protocol.
|
||||||
|
|
||||||
@param UsbMass The USB mass storage device
|
@param UsbMass The USB mass storage device
|
||||||
|
@ -348,8 +348,8 @@ UsbMassInitMedia (
|
||||||
@param Context The passing parameter.
|
@param Context The passing parameter.
|
||||||
@param MaxLun Get the MaxLun if is BOT dev.
|
@param MaxLun Get the MaxLun if is BOT dev.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The initilization is successful.
|
@retval EFI_SUCCESS The initialization is successful.
|
||||||
@retval Others Failed to initilize dev.
|
@retval Others Failed to initialize dev.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -711,7 +711,7 @@ USBMassDriverBindingSupported (
|
||||||
INTN Index;
|
INTN Index;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check whether the controlelr support USB_IO
|
// Check whether the controller support USB_IO
|
||||||
//
|
//
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Controller,
|
Controller,
|
||||||
|
@ -812,7 +812,7 @@ USBMassDriverBindingStart (
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//
|
//
|
||||||
// Open device path to perpare append Device Logic Unit node.
|
// Open device path to prepare append Device Logic Unit node.
|
||||||
//
|
//
|
||||||
Status = gBS->OpenProtocol (
|
Status = gBS->OpenProtocol (
|
||||||
Controller,
|
Controller,
|
||||||
|
|
|
@ -194,7 +194,7 @@ USBMouseAbsolutePointerDriverBindingSupported (
|
||||||
@retval EFI_DEVICE_ERROR This driver cannot be started due to device Error
|
@retval EFI_DEVICE_ERROR This driver cannot be started due to device Error
|
||||||
EFI_OUT_OF_RESOURCES- Can't allocate memory
|
EFI_OUT_OF_RESOURCES- Can't allocate memory
|
||||||
resources
|
resources
|
||||||
@retval EFI_ALREADY_STARTED Thios driver has been started
|
@retval EFI_ALREADY_STARTED This driver has been started
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -432,7 +432,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.
|
||||||
|
|
|
@ -235,7 +235,7 @@ USBMouseDriverBindingSupported (
|
||||||
@retval EFI_UNSUPPORTED This driver does not support this device.
|
@retval EFI_UNSUPPORTED This driver does not support this device.
|
||||||
@retval EFI_DEVICE_ERROR This driver cannot be started due to device Error.
|
@retval EFI_DEVICE_ERROR This driver cannot be started due to device Error.
|
||||||
@retval EFI_OUT_OF_RESOURCES Can't allocate memory resources.
|
@retval EFI_OUT_OF_RESOURCES Can't allocate memory resources.
|
||||||
@retval EFI_ALREADY_STARTED Thios driver has been started.
|
@retval EFI_ALREADY_STARTED This driver has been started.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -472,7 +472,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.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/** @file
|
/** @file
|
||||||
|
|
||||||
Helper routine and corrsponding data struct used by USB Mouse Driver.
|
Helper routine and corresponding data struct used by USB Mouse Driver.
|
||||||
|
|
||||||
Copyright (c) 2004 - 2008, Intel Corporation
|
Copyright (c) 2004 - 2008, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
|
|
|
@ -46,7 +46,7 @@ CoreStall (
|
||||||
//
|
//
|
||||||
// Calculate the number of ticks by dividing the number of microseconds by
|
// Calculate the number of ticks by dividing the number of microseconds by
|
||||||
// the TickPeriod.
|
// the TickPeriod.
|
||||||
// Calcullation is based on 100ns unit.
|
// Calculation is based on 100ns unit.
|
||||||
//
|
//
|
||||||
Counter = (UINT32) DivU64x32Remainder (
|
Counter = (UINT32) DivU64x32Remainder (
|
||||||
Microseconds * 10,
|
Microseconds * 10,
|
||||||
|
|
|
@ -83,7 +83,7 @@ VOID
|
||||||
// field is valid for user
|
// field is valid for user
|
||||||
IN EFI_NET_SESSION_DATA *NetSession, // the communication point
|
IN EFI_NET_SESSION_DATA *NetSession, // the communication point
|
||||||
IN NET_BUF *Pkt, // packet received
|
IN NET_BUF *Pkt, // packet received
|
||||||
IN VOID *Context // the Context provided by user for recive data
|
IN VOID *Context // the Context provided by user for receive data
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
|
|
|
@ -36,7 +36,7 @@ typedef enum {
|
||||||
EFI_IP_PROTO_ICMP = 0x01,
|
EFI_IP_PROTO_ICMP = 0x01,
|
||||||
|
|
||||||
//
|
//
|
||||||
// The address classfication
|
// The address classification
|
||||||
//
|
//
|
||||||
IP4_ADDR_CLASSA = 1,
|
IP4_ADDR_CLASSA = 1,
|
||||||
IP4_ADDR_CLASSB,
|
IP4_ADDR_CLASSB,
|
||||||
|
|
|
@ -222,7 +222,7 @@ DeleteDriverImage (
|
||||||
If Binding protocol is not found, it is set to NULL.
|
If Binding protocol is not found, it is set to NULL.
|
||||||
|
|
||||||
@return Pointer into the Binding Protocol interface
|
@return Pointer into the Binding Protocol interface
|
||||||
@retval NULL The paramter is not valid or the binding protocol is not found.
|
@retval NULL The parameter is not valid or the binding protocol is not found.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_DRIVER_BINDING_PROTOCOL *
|
EFI_DRIVER_BINDING_PROTOCOL *
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
This file defines a group of guids to specify the different
|
This file defines a group of guids to specify the different
|
||||||
encapsulation scheme for the guided section.
|
encapsulation scheme for the guided section.
|
||||||
The related defintions is in UEFI GuidedSectionExtraction protocol.
|
The related definitions is in UEFI GuidedSectionExtraction protocol.
|
||||||
|
|
||||||
Now, only one guid is defined for CRC32 encapsulation scheme.
|
Now, only one guid is defined for CRC32 encapsulation scheme.
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,7 @@ EFI_STATUS
|
||||||
@param GaugeDataEntry The indirect pointer to the gauge data entry specified by LogEntryKey
|
@param GaugeDataEntry The indirect pointer to the gauge data entry specified by LogEntryKey
|
||||||
if the retrieval is successful.
|
if the retrieval is successful.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The GuageDataEntry is successfuly found based on LogEntryKey.
|
@retval EFI_SUCCESS The GuageDataEntry is successfully found based on LogEntryKey.
|
||||||
@retval EFI_NOT_FOUND The LogEntryKey is the last entry (equals to the total entry number).
|
@retval EFI_NOT_FOUND The LogEntryKey is the last entry (equals to the total entry number).
|
||||||
@retval EFI_INVALIDE_PARAMETER The LogEntryKey is not a valid entry (greater than the total entry number).
|
@retval EFI_INVALIDE_PARAMETER The LogEntryKey is not a valid entry (greater than the total entry number).
|
||||||
@retval EFI_INVALIDE_PARAMETER GaugeDataEntry is NULL.
|
@retval EFI_INVALIDE_PARAMETER GaugeDataEntry is NULL.
|
||||||
|
|
Loading…
Reference in New Issue