Fix some typos.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8005 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -323,7 +323,7 @@ AppendDeviceNodeProtocolInterface (
|
|||||||
path.
|
path.
|
||||||
|
|
||||||
This function creates a new device path by appending a copy of the device path instance specified
|
This function creates a new device path by appending a copy of the device path instance specified
|
||||||
by DevicePathInstance to a copy of the device path secified by DevicePath in a allocated buffer.
|
by DevicePathInstance to a copy of the device path specified by DevicePath in a allocated buffer.
|
||||||
The end-of-device-path device node is moved after the end of the appended device path instance
|
The end-of-device-path device node is moved after the end of the appended device path instance
|
||||||
and a new end-of-device-path-instance node is inserted between.
|
and a new end-of-device-path-instance node is inserted between.
|
||||||
If DevicePath is NULL, then a copy if DevicePathInstance is returned.
|
If DevicePath is NULL, then a copy if DevicePathInstance is returned.
|
||||||
|
@ -431,7 +431,7 @@ Dtoi64 (
|
|||||||
|
|
||||||
Convert integer string to uint.
|
Convert integer string to uint.
|
||||||
|
|
||||||
@param Str The integer string. If leading with "0x" or "0X", it's heximal.
|
@param Str The integer string. If leading with "0x" or "0X", it's hexadecimal.
|
||||||
|
|
||||||
@return A UINTN value represented by Str
|
@return A UINTN value represented by Str
|
||||||
|
|
||||||
@ -456,7 +456,7 @@ Strtoi (
|
|||||||
|
|
||||||
Convert integer string to 64 bit data.
|
Convert integer string to 64 bit data.
|
||||||
|
|
||||||
@param Str The integer string. If leading with "0x" or "0X", it's heximal.
|
@param Str The integer string. If leading with "0x" or "0X", it's hexadecimal.
|
||||||
@param Data A pointer to the UINT64 value represented by Str
|
@param Data A pointer to the UINT64 value represented by Str
|
||||||
|
|
||||||
**/
|
**/
|
||||||
@ -519,7 +519,7 @@ StrToBuf (
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// For odd charaters, write the upper nibble for each buffer byte,
|
// For odd characters, write the upper nibble for each buffer byte,
|
||||||
// and for even characters, the lower nibble.
|
// and for even characters, the lower nibble.
|
||||||
//
|
//
|
||||||
if ((Index & 1) == 0) {
|
if ((Index & 1) == 0) {
|
||||||
@ -597,7 +597,7 @@ StrToGuid (
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Get the followin 8 bytes data
|
// Get the following 8 bytes data
|
||||||
//
|
//
|
||||||
StrToBuf (&Guid->Data4[0], 2, Str);
|
StrToBuf (&Guid->Data4[0], 2, Str);
|
||||||
//
|
//
|
||||||
@ -661,7 +661,7 @@ StrToIPv6Addr (
|
|||||||
/**
|
/**
|
||||||
Converts a Unicode string to ASCII string.
|
Converts a Unicode string to ASCII string.
|
||||||
|
|
||||||
@param Str The equiventant Unicode string
|
@param Str The equivalent Unicode string
|
||||||
@param AsciiStr On input, it points to destination ASCII string buffer; on output, it points
|
@param AsciiStr On input, it points to destination ASCII string buffer; on output, it points
|
||||||
to the next ASCII string next to it
|
to the next ASCII string next to it
|
||||||
|
|
||||||
@ -1035,11 +1035,11 @@ DevPathFromTextParallelPort (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Converts a text device path node to ACPI extention device path structure.
|
Converts a text device path node to ACPI extension device path structure.
|
||||||
|
|
||||||
@param TextDeviceNode The input Text device path node.
|
@param TextDeviceNode The input Text device path node.
|
||||||
|
|
||||||
@return A pointer to the newly-created ACPI extention device path structure.
|
@return A pointer to the newly-created ACPI extension device path structure.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_DEVICE_PATH_PROTOCOL *
|
EFI_DEVICE_PATH_PROTOCOL *
|
||||||
@ -1086,11 +1086,11 @@ DevPathFromTextAcpiEx (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Converts a text device path node to ACPI extention device path structure.
|
Converts a text device path node to ACPI extension device path structure.
|
||||||
|
|
||||||
@param TextDeviceNode The input Text device path node.
|
@param TextDeviceNode The input Text device path node.
|
||||||
|
|
||||||
@return A pointer to the newly-created ACPI extention device path structure.
|
@return A pointer to the newly-created ACPI extension device path structure.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_DEVICE_PATH_PROTOCOL *
|
EFI_DEVICE_PATH_PROTOCOL *
|
||||||
@ -2578,7 +2578,7 @@ DevPathFromTextFvFile (
|
|||||||
|
|
||||||
@param TextDeviceNode The input Text device path node.
|
@param TextDeviceNode The input Text device path node.
|
||||||
|
|
||||||
@return A pointer to the newly-created BIOS Boot Specificationa device path structure.
|
@return A pointer to the newly-created BIOS Boot Specification device path structure.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_DEVICE_PATH_PROTOCOL *
|
EFI_DEVICE_PATH_PROTOCOL *
|
||||||
|
@ -1785,7 +1785,7 @@ ConvertDevicePathToText (
|
|||||||
DumpNode = DevPathToTextNodeUnknown;
|
DumpNode = DevPathToTextNodeUnknown;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
// Put a path seperator in if needed
|
// Put a path separator in if needed
|
||||||
//
|
//
|
||||||
if ((Str.Len != 0) && DumpNode != DevPathToTextEndInstance) {
|
if ((Str.Len != 0) && DumpNode != DevPathToTextEndInstance) {
|
||||||
if (*(Str.Str + Str.Len / sizeof (CHAR16) - 1) != L',') {
|
if (*(Str.Str + Str.Len / sizeof (CHAR16) - 1) != L',') {
|
||||||
|
@ -123,7 +123,7 @@ AppendDeviceNodeProtocolInterface (
|
|||||||
path.
|
path.
|
||||||
|
|
||||||
This function creates a new device path by appending a copy of the device path instance specified
|
This function creates a new device path by appending a copy of the device path instance specified
|
||||||
by DevicePathInstance to a copy of the device path secified by DevicePath in a allocated buffer.
|
by DevicePathInstance to a copy of the device path specified by DevicePath in a allocated buffer.
|
||||||
The end-of-device-path device node is moved after the end of the appended device path instance
|
The end-of-device-path device node is moved after the end of the appended device path instance
|
||||||
and a new end-of-device-path-instance node is inserted between.
|
and a new end-of-device-path-instance node is inserted between.
|
||||||
If DevicePath is NULL, then a copy if DevicePathInstance is returned.
|
If DevicePath is NULL, then a copy if DevicePathInstance is returned.
|
||||||
|
Reference in New Issue
Block a user