From 5755841f2a748fe0a1598f1f8b3a257fc577d48f Mon Sep 17 00:00:00 2001 From: gikidy Date: Thu, 2 Apr 2009 01:58:19 +0000 Subject: Fix some typos. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8005 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/DevicePathDxe/DevicePath.h | 2 +- .../Universal/DevicePathDxe/DevicePathFromText.c | 20 ++++++++++---------- .../Universal/DevicePathDxe/DevicePathToText.c | 2 +- .../Universal/DevicePathDxe/DevicePathUtilities.c | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePath.h b/MdeModulePkg/Universal/DevicePathDxe/DevicePath.h index 7baa48b..e4e37f4 100644 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePath.h +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePath.h @@ -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. diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c b/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c index 4dbd49b..178b24bc 100644 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c @@ -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 * diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c b/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c index 56bd44a..dfc14bf 100644 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c @@ -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',') { diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathUtilities.c b/MdeModulePkg/Universal/DevicePathDxe/DevicePathUtilities.c index ba031d5..544c28b 100644 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathUtilities.c +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathUtilities.c @@ -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. -- cgit v1.1