EmbeddedPkg: Fix typos in comments
- reseting -> resetting - stoping -> stopping - Libary -> Library - paramter -> parameter - availible -> available - availble -> available - proccessed -> processed Cc: Leif Lindholm <leif.lindholm@linaro.org> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
@ -1516,7 +1516,7 @@ SnpReceive (
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Restart the receiver and the transmitter without reseting the FIFOs
|
// Restart the receiver and the transmitter without resetting the FIFOs
|
||||||
// as it has been done by SoftReset().
|
// as it has been done by SoftReset().
|
||||||
//
|
//
|
||||||
StartRx (0, Snp);
|
StartRx (0, Snp);
|
||||||
|
@ -490,7 +490,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.
|
||||||
|
@ -325,7 +325,7 @@ SendPacket (
|
|||||||
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
|
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
|
||||||
the packet teminating character '#' and the two digit checksum.
|
the packet teminating character '#' and the two digit checksum.
|
||||||
|
|
||||||
If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
|
If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
|
||||||
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
|
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
|
||||||
|
|
||||||
If an ack '+' is not sent resend the packet
|
If an ack '+' is not sent resend the packet
|
||||||
|
@ -573,7 +573,7 @@ SendPacket (
|
|||||||
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
|
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
|
||||||
the packet teminating character '#' and the two digit checksum.
|
the packet teminating character '#' and the two digit checksum.
|
||||||
|
|
||||||
If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
|
If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
|
||||||
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
|
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
|
||||||
|
|
||||||
If an ack '+' is not sent resend the packet
|
If an ack '+' is not sent resend the packet
|
||||||
|
@ -51,8 +51,8 @@ GdbSerialInit (
|
|||||||
Check to see if a character is available from GDB. Do not read the character as that is
|
Check to see if a character is available from GDB. Do not read the character as that is
|
||||||
done via GdbGetChar().
|
done via GdbGetChar().
|
||||||
|
|
||||||
@return TRUE - Character availible
|
@return TRUE - Character available
|
||||||
@return FALSE - Character not availible
|
@return FALSE - Character not available
|
||||||
|
|
||||||
**/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
@ -603,7 +603,7 @@ GdbFPutString (
|
|||||||
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
|
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
|
||||||
responsible to invoke the passing-in function at the end of InitializeDebugAgent().
|
responsible to invoke the passing-in function at the end of InitializeDebugAgent().
|
||||||
|
|
||||||
If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
|
If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
|
||||||
passing in the Context to be its parameter.
|
passing in the Context to be its parameter.
|
||||||
|
|
||||||
If Function() is NULL, Debug Agent Library instance will return after setup debug
|
If Function() is NULL, Debug Agent Library instance will return after setup debug
|
||||||
|
@ -93,7 +93,7 @@ gXferObjectReadResponse (
|
|||||||
1) Length will generally be max remote packet size (big enough)
|
1) Length will generally be max remote packet size (big enough)
|
||||||
2) First Offset of an XML document read needs to be 0
|
2) First Offset of an XML document read needs to be 0
|
||||||
3) This code will return back small chunks of the XML document on every read.
|
3) This code will return back small chunks of the XML document on every read.
|
||||||
Each subseqent call will ask for the next availble part of the document.
|
Each subseqent call will ask for the next available part of the document.
|
||||||
|
|
||||||
Note: The only variable size element in the XML is:
|
Note: The only variable size element in the XML is:
|
||||||
" <library name=\"%s\"><segment address=\"%p\"/></library>\n" and it is
|
" <library name=\"%s\"><segment address=\"%p\"/></library>\n" and it is
|
||||||
@ -257,7 +257,7 @@ SendPacket (
|
|||||||
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
|
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
|
||||||
the packet teminating character '#' and the two digit checksum.
|
the packet teminating character '#' and the two digit checksum.
|
||||||
|
|
||||||
If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
|
If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
|
||||||
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
|
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
|
||||||
|
|
||||||
If an ack '+' is not sent resend the packet
|
If an ack '+' is not sent resend the packet
|
||||||
|
@ -519,7 +519,7 @@ SendPacket (
|
|||||||
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
|
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
|
||||||
the packet teminating character '#' and the two digit checksum.
|
the packet teminating character '#' and the two digit checksum.
|
||||||
|
|
||||||
If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
|
If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
|
||||||
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
|
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
|
||||||
|
|
||||||
If an ack '+' is not sent resend the packet
|
If an ack '+' is not sent resend the packet
|
||||||
|
@ -922,7 +922,7 @@ RemoveBreakPoint (
|
|||||||
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
|
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
|
||||||
responsible to invoke the passing-in function at the end of InitializeDebugAgent().
|
responsible to invoke the passing-in function at the end of InitializeDebugAgent().
|
||||||
|
|
||||||
If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
|
If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
|
||||||
passing in the Context to be its parameter.
|
passing in the Context to be its parameter.
|
||||||
|
|
||||||
If Function() is NULL, Debug Agent Library instance will return after setup debug
|
If Function() is NULL, Debug Agent Library instance will return after setup debug
|
||||||
|
@ -94,8 +94,8 @@ GdbSerialInit (
|
|||||||
Check to see if a character is available from GDB. Do not read the character as that is
|
Check to see if a character is available from GDB. Do not read the character as that is
|
||||||
done via GdbGetChar().
|
done via GdbGetChar().
|
||||||
|
|
||||||
@return TRUE - Character availible
|
@return TRUE - Character available
|
||||||
@return FALSE - Character not availible
|
@return FALSE - Character not available
|
||||||
|
|
||||||
**/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
@ -165,8 +165,8 @@ GdbSerialInit (
|
|||||||
Check to see if a character is available from GDB. Do not read the character as that is
|
Check to see if a character is available from GDB. Do not read the character as that is
|
||||||
done via GdbGetChar().
|
done via GdbGetChar().
|
||||||
|
|
||||||
@return TRUE - Character availible
|
@return TRUE - Character available
|
||||||
@return FALSE - Character not availible
|
@return FALSE - Character not available
|
||||||
|
|
||||||
**/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
@ -120,7 +120,7 @@ Returns:
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
//Assume that capsules have the same flags on reseting or not.
|
//Assume that capsules have the same flags on resetting or not.
|
||||||
//
|
//
|
||||||
CapsuleHeader = CapsuleHeaderArray[0];
|
CapsuleHeader = CapsuleHeaderArray[0];
|
||||||
|
|
||||||
@ -253,7 +253,7 @@ Returns:
|
|||||||
|
|
||||||
SupportCapsuleSize(&MaxSizePopulate,&MaxSizeNonPopulate);
|
SupportCapsuleSize(&MaxSizePopulate,&MaxSizeNonPopulate);
|
||||||
//
|
//
|
||||||
//Assume that capsules have the same flags on reseting or not.
|
//Assume that capsules have the same flags on resetting or not.
|
||||||
//
|
//
|
||||||
CapsuleHeader = CapsuleHeaderArray[0];
|
CapsuleHeader = CapsuleHeaderArray[0];
|
||||||
if ((CapsuleHeader->Flags & CAPSULE_FLAGS_PERSIST_ACROSS_RESET) != 0) {
|
if ((CapsuleHeader->Flags & CAPSULE_FLAGS_PERSIST_ACROSS_RESET) != 0) {
|
||||||
|
@ -584,7 +584,7 @@ libGetWakeupTime (
|
|||||||
UINT8 Century;
|
UINT8 Century;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check paramters for null pointers
|
// Check parameters for null pointers
|
||||||
//
|
//
|
||||||
if ((Enabled == NULL) || (Pending == NULL) || (Time == NULL)) {
|
if ((Enabled == NULL) || (Pending == NULL) || (Time == NULL)) {
|
||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
|
@ -53,7 +53,7 @@ ExtractGuidedSectionRegisterHandlers (
|
|||||||
PRE_PI_EXTRACT_GUIDED_SECTION_DATA *SavedData;
|
PRE_PI_EXTRACT_GUIDED_SECTION_DATA *SavedData;
|
||||||
UINT32 Index;
|
UINT32 Index;
|
||||||
//
|
//
|
||||||
// Check input paramter.
|
// Check input parameter.
|
||||||
//
|
//
|
||||||
if (SectionGuid == NULL) {
|
if (SectionGuid == NULL) {
|
||||||
return RETURN_INVALID_PARAMETER;
|
return RETURN_INVALID_PARAMETER;
|
||||||
|
Reference in New Issue
Block a user