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:
gikidy 2009-04-02 01:58:19 +00:00
parent 75eccf9d4a
commit 5755841f2a
4 changed files with 13 additions and 13 deletions

View File

@ -323,7 +323,7 @@ AppendDeviceNodeProtocolInterface (
path.
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
and a new end-of-device-path-instance node is inserted between.
If DevicePath is NULL, then a copy if DevicePathInstance is returned.

View File

@ -431,7 +431,7 @@ Dtoi64 (
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
@ -456,7 +456,7 @@ Strtoi (
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
**/
@ -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.
//
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);
//
@ -661,7 +661,7 @@ StrToIPv6Addr (
/**
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
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.
@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 *
@ -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.
@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 *
@ -2578,7 +2578,7 @@ DevPathFromTextFvFile (
@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 *

View File

@ -1785,7 +1785,7 @@ ConvertDevicePathToText (
DumpNode = DevPathToTextNodeUnknown;
}
//
// Put a path seperator in if needed
// Put a path separator in if needed
//
if ((Str.Len != 0) && DumpNode != DevPathToTextEndInstance) {
if (*(Str.Str + Str.Len / sizeof (CHAR16) - 1) != L',') {

View File

@ -123,7 +123,7 @@ AppendDeviceNodeProtocolInterface (
path.
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
and a new end-of-device-path-instance node is inserted between.
If DevicePath is NULL, then a copy if DevicePathInstance is returned.