mirror of https://github.com/acidanthera/audk.git
MdePkg: Fix some typing errors
Correct the typos in some files of MdePkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
f6c8e67db9
commit
3868d06d82
|
@ -175,7 +175,7 @@ ExtractGuidedSectionRegisterHandlers (
|
||||||
EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo;
|
EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check input paramter
|
// Check input parameter
|
||||||
//
|
//
|
||||||
ASSERT (SectionGuid != NULL);
|
ASSERT (SectionGuid != NULL);
|
||||||
ASSERT (GetInfoHandler != NULL);
|
ASSERT (GetInfoHandler != NULL);
|
||||||
|
@ -270,7 +270,7 @@ ExtractGuidedSectionGetInfo (
|
||||||
EFI_GUID *SectionDefinitionGuid;
|
EFI_GUID *SectionDefinitionGuid;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check input paramter
|
// Check input parameter
|
||||||
//
|
//
|
||||||
ASSERT (InputSection != NULL);
|
ASSERT (InputSection != NULL);
|
||||||
ASSERT (OutputBufferSize != NULL);
|
ASSERT (OutputBufferSize != NULL);
|
||||||
|
@ -449,7 +449,7 @@ ExtractGuidedSectionGetHandlers (
|
||||||
EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo;
|
EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check input paramter
|
// Check input parameter
|
||||||
//
|
//
|
||||||
ASSERT (SectionGuid != NULL);
|
ASSERT (SectionGuid != NULL);
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/** @file
|
/** @file
|
||||||
Unicode and ASCII string primatives.
|
Unicode and ASCII string primitives.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
|
|
|
@ -231,7 +231,7 @@ FileHandleWrite(
|
||||||
|
|
||||||
@param FileHandle the file handle to close.
|
@param FileHandle the file handle to close.
|
||||||
|
|
||||||
@retval EFI_SUCCESS the file handle was closed sucessfully.
|
@retval EFI_SUCCESS the file handle was closed successfully.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
|
@ -261,7 +261,7 @@ FileHandleClose (
|
||||||
|
|
||||||
@param FileHandle the file handle to delete
|
@param FileHandle the file handle to delete
|
||||||
|
|
||||||
@retval EFI_SUCCESS the file was closed sucessfully
|
@retval EFI_SUCCESS the file was closed successfully
|
||||||
@retval EFI_WARN_DELETE_FAILURE the handle was closed, but the file was not
|
@retval EFI_WARN_DELETE_FAILURE the handle was closed, but the file was not
|
||||||
deleted
|
deleted
|
||||||
@retval INVALID_PARAMETER One of the parameters has an invalid value.
|
@retval INVALID_PARAMETER One of the parameters has an invalid value.
|
||||||
|
@ -297,9 +297,9 @@ FileHandleDelete (
|
||||||
has the effect of starting the read process of the directory entries over.
|
has the effect of starting the read process of the directory entries over.
|
||||||
|
|
||||||
@param FileHandle The file handle on which the position is being set
|
@param FileHandle The file handle on which the position is being set
|
||||||
@param Position Byte position from begining of file
|
@param Position Byte position from beginning of file
|
||||||
|
|
||||||
@retval EFI_SUCCESS Operation completed sucessfully.
|
@retval EFI_SUCCESS Operation completed successfully.
|
||||||
@retval EFI_UNSUPPORTED the seek request for non-zero is not valid on
|
@retval EFI_UNSUPPORTED the seek request for non-zero is not valid on
|
||||||
directories.
|
directories.
|
||||||
@retval INVALID_PARAMETER One of the parameters has an invalid value.
|
@retval INVALID_PARAMETER One of the parameters has an invalid value.
|
||||||
|
@ -330,9 +330,9 @@ FileHandleSetPosition (
|
||||||
if FileHandle is a directory.
|
if FileHandle is a directory.
|
||||||
|
|
||||||
@param FileHandle The open file handle on which to get the position.
|
@param FileHandle The open file handle on which to get the position.
|
||||||
@param Position Byte position from begining of file.
|
@param Position Byte position from beginning of file.
|
||||||
|
|
||||||
@retval EFI_SUCCESS the operation completed sucessfully.
|
@retval EFI_SUCCESS the operation completed successfully.
|
||||||
@retval INVALID_PARAMETER One of the parameters has an invalid value.
|
@retval INVALID_PARAMETER One of the parameters has an invalid value.
|
||||||
@retval EFI_UNSUPPORTED the request is not valid on directories.
|
@retval EFI_UNSUPPORTED the request is not valid on directories.
|
||||||
**/
|
**/
|
||||||
|
@ -489,7 +489,7 @@ FileHandleFindFirstFile (
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// reset to the begining of the directory
|
// reset to the beginning of the directory
|
||||||
//
|
//
|
||||||
Status = FileHandleSetPosition(DirHandle, 0);
|
Status = FileHandleSetPosition(DirHandle, 0);
|
||||||
if (EFI_ERROR(Status)) {
|
if (EFI_ERROR(Status)) {
|
||||||
|
@ -581,7 +581,7 @@ FileHandleFindNextFile(
|
||||||
@param[in] FileHandle The file handle from which size is retrieved.
|
@param[in] FileHandle The file handle from which size is retrieved.
|
||||||
@param[out] Size The pointer to size.
|
@param[out] Size The pointer to size.
|
||||||
|
|
||||||
@retval EFI_SUCCESS Operation was completed sucessfully.
|
@retval EFI_SUCCESS Operation was completed successfully.
|
||||||
@retval EFI_DEVICE_ERROR Cannot access the file.
|
@retval EFI_DEVICE_ERROR Cannot access the file.
|
||||||
@retval EFI_INVALID_PARAMETER FileHandle is NULL.
|
@retval EFI_INVALID_PARAMETER FileHandle is NULL.
|
||||||
Size is NULL.
|
Size is NULL.
|
||||||
|
@ -821,7 +821,7 @@ FileHandleGetFileName (
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
//
|
//
|
||||||
// We got info... do we have a name? if yes preceed the current path with it...
|
// We got info... do we have a name? if yes precede the current path with it...
|
||||||
//
|
//
|
||||||
if (StrLen (FileInfo->FileName) == 0) {
|
if (StrLen (FileInfo->FileName) == 0) {
|
||||||
if (*FullFileName == NULL) {
|
if (*FullFileName == NULL) {
|
||||||
|
@ -1181,7 +1181,7 @@ FileHandleWriteLine(
|
||||||
@param[in] Format the format argument (see printlib for format specifier)
|
@param[in] Format the format argument (see printlib for format specifier)
|
||||||
@param[in] ... the variable arguments for the format
|
@param[in] ... the variable arguments for the format
|
||||||
|
|
||||||
@retval EFI_SUCCESS the operation was sucessful
|
@retval EFI_SUCCESS the operation was successful
|
||||||
@return other a return value from FileHandleWriteLine
|
@return other a return value from FileHandleWriteLine
|
||||||
|
|
||||||
@sa FileHandleWriteLine
|
@sa FileHandleWriteLine
|
||||||
|
|
|
@ -628,7 +628,7 @@ UsbClearEndpointHalt (
|
||||||
|
|
||||||
ZeroMem (&EndpointDescriptor, sizeof (EFI_USB_ENDPOINT_DESCRIPTOR));
|
ZeroMem (&EndpointDescriptor, sizeof (EFI_USB_ENDPOINT_DESCRIPTOR));
|
||||||
//
|
//
|
||||||
// First seach the endpoint descriptor for that endpoint addr
|
// First search the endpoint descriptor for that endpoint addr
|
||||||
//
|
//
|
||||||
Result = UsbIo->UsbGetInterfaceDescriptor (
|
Result = UsbIo->UsbGetInterfaceDescriptor (
|
||||||
UsbIo,
|
UsbIo,
|
||||||
|
|
Loading…
Reference in New Issue