mirror of https://github.com/acidanthera/audk.git
MdePkg: Fix some typing errors in the header files
Correct the typos in some header 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
3868d06d82
commit
00b7cc0fe3
|
@ -32,7 +32,7 @@
|
|||
|
||||
#if _MSC_EXTENSIONS
|
||||
//
|
||||
// use Microsoft* C complier dependent integer width types
|
||||
// use Microsoft* C compiler dependent integer width types
|
||||
//
|
||||
typedef unsigned __int64 UINT64;
|
||||
typedef __int64 INT64;
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#if _MSC_EXTENSIONS
|
||||
//
|
||||
// use Microsoft* C complier dependent integer width types
|
||||
// use Microsoft* C compiler dependent integer width types
|
||||
//
|
||||
typedef unsigned __int64 UINT64;
|
||||
typedef __int64 INT64;
|
||||
|
|
|
@ -302,7 +302,7 @@ struct _LIST_ENTRY {
|
|||
|
||||
//
|
||||
// UEFI specification claims 1 and 0. We are concerned about the
|
||||
// complier portability so we did it this way.
|
||||
// compiler portability so we did it this way.
|
||||
//
|
||||
|
||||
///
|
||||
|
|
|
@ -79,7 +79,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#pragma warning ( disable : 4057 )
|
||||
|
||||
//
|
||||
// ASSERT(FALSE) or while (TRUE) are legal constructes so supress this warning
|
||||
// ASSERT(FALSE) or while (TRUE) are legal constructs so suppress this warning
|
||||
//
|
||||
#pragma warning ( disable : 4127 )
|
||||
|
||||
|
@ -119,7 +119,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#if defined(_MSC_EXTENSIONS)
|
||||
|
||||
//
|
||||
// use Microsoft C complier dependent integer width types
|
||||
// use Microsoft C compiler dependent integer width types
|
||||
//
|
||||
|
||||
///
|
||||
|
|
|
@ -84,7 +84,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#pragma warning ( disable : 4054 )
|
||||
|
||||
//
|
||||
// ASSERT(FALSE) or while (TRUE) are legal constructes so supress this warning
|
||||
// ASSERT(FALSE) or while (TRUE) are legal constructs so suppress this warning
|
||||
//
|
||||
#pragma warning ( disable : 4127 )
|
||||
|
||||
|
|
|
@ -1772,7 +1772,7 @@ PathRemoveLastItem(
|
|||
|
||||
@param[in] Path The pointer to the string containing the path.
|
||||
|
||||
@return Returns Path, otherwise returns NULL to indicate that an error has occured.
|
||||
@return Returns Path, otherwise returns NULL to indicate that an error has occurred.
|
||||
**/
|
||||
CHAR16*
|
||||
EFIAPI
|
||||
|
|
|
@ -31,7 +31,7 @@ GetDebugPrintErrorLevel (
|
|||
|
||||
@param ErrorLevel Global debug print error level
|
||||
|
||||
@retval TRUE The debug print error level mask was sucessfully set.
|
||||
@retval TRUE The debug print error level mask was successfully set.
|
||||
@retval FALSE The debug print error level mask could not be set.
|
||||
|
||||
**/
|
||||
|
|
|
@ -184,9 +184,9 @@ FileHandleDelete (
|
|||
has the effect of starting the read process of the directory entries over again.
|
||||
|
||||
@param[in] FileHandle The file handle on which the position is being set.
|
||||
@param[in] Position The byte position from the begining of the file.
|
||||
@param[in] Position The byte position from the beginning of the file.
|
||||
|
||||
@retval EFI_SUCCESS The operation completed sucessfully.
|
||||
@retval EFI_SUCCESS The operation completed successfully.
|
||||
@retval EFI_UNSUPPORTED The request for non-zero is not valid on
|
||||
directories.
|
||||
@retval INVALID_PARAMETER One of the parameters has an invalid value.
|
||||
|
@ -207,7 +207,7 @@ FileHandleSetPosition (
|
|||
if FileHandle is a directory.
|
||||
|
||||
@param[in] FileHandle The open file handle on which to get the position.
|
||||
@param[out] Position The byte position from begining of file.
|
||||
@param[out] Position The byte position from beginning of file.
|
||||
|
||||
@retval EFI_SUCCESS The operation completed successfully.
|
||||
@retval INVALID_PARAMETER One of the parameters has an invalid value.
|
||||
|
@ -322,7 +322,7 @@ FileHandleFindNextFile(
|
|||
@param[in] FileHandle The file handle from which size is retrieved.
|
||||
@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_INVALID_PARAMETER FileHandle is NULL.
|
||||
Size is NULL.
|
||||
|
|
|
@ -337,7 +337,7 @@ PeCoffLoaderImageReadFromMemory (
|
|||
|
||||
|
||||
/**
|
||||
Reapply fixups on a fixed up PE32/PE32+ image to allow virutal calling at EFI
|
||||
Reapply fixups on a fixed up PE32/PE32+ image to allow virtual calling at EFI
|
||||
runtime.
|
||||
|
||||
This function reapplies relocation fixups to the PE/COFF image specified by ImageBase
|
||||
|
|
|
@ -178,7 +178,7 @@ EFI_STATUS
|
|||
/**
|
||||
Registers a handler to execute within SMM.
|
||||
|
||||
@param[in] Handler Handler service funtion pointer.
|
||||
@param[in] Handler Handler service function pointer.
|
||||
@param[in] HandlerType Points to the handler type or NULL for root SMI handlers.
|
||||
@param[out] DispatchHandle On return, contains a unique handle which can be used to later
|
||||
unregister the handler function.
|
||||
|
|
|
@ -52,7 +52,7 @@ typedef struct {
|
|||
|
||||
@param[in] This Indicates a pointer to the calling context.
|
||||
@param[in] ExtendedVerification Indicates that the driver may perform a more
|
||||
exhausive verfication operation of the device
|
||||
exhausive verification operation of the device
|
||||
during reset.
|
||||
|
||||
@retval EFI_SUCCESS The device was reset.
|
||||
|
|
|
@ -172,7 +172,7 @@ typedef struct {
|
|||
|
||||
@param[in] This Pointer to the EFI_BLOCK_IO_CRYPTO_PROTOCOL instance.
|
||||
@param[in] ExtendedVerification Indicates that the driver may perform a more exhausive
|
||||
verfication operation of the device during reset.
|
||||
verification operation of the device during reset.
|
||||
|
||||
@retval EFI_SUCCESS The block device was reset.
|
||||
@retval EFI_DEVICE_ERROR The block device is not functioning correctly and could
|
||||
|
|
|
@ -310,7 +310,7 @@ EFI_STATUS
|
|||
|
||||
@retval EFI_SUCCESS The operation completed successfully.
|
||||
@retval EFI_UNSUPPORTED The designated protocol is not supported.
|
||||
@retval EFI_INVALID_PARAMTER Thisis NULL.
|
||||
@retval EFI_INVALID_PARAMETER This is NULL.
|
||||
The StationIp address provided in DnsConfigData is not a
|
||||
valid unicast.
|
||||
DnsServerList is NULL while DnsServerListCount
|
||||
|
|
|
@ -300,7 +300,7 @@ EFI_STATUS
|
|||
storage to be allocated and released by caller.
|
||||
|
||||
@retval EFI_SUCCESS The operation completed successfully.
|
||||
@retval EFI_INVALID_PARAMTER This is NULL.
|
||||
@retval EFI_INVALID_PARAMETER This is NULL.
|
||||
The StationIp address provided in DnsConfigData is not zero and not a valid unicast.
|
||||
DnsServerList is NULL while DnsServerList Count is not ZERO.
|
||||
DnsServerList Count is ZERO while DnsServerList is not NULL.
|
||||
|
|
|
@ -241,7 +241,7 @@ typedef struct {
|
|||
#define PACKAGE_ATTRIBUTE_AUTHENTICATION_REQUIRED 0x0000000000000004
|
||||
|
||||
/**
|
||||
Callback funtion to report the process of the firmware updating.
|
||||
Callback function to report the process of the firmware updating.
|
||||
|
||||
@param[in] Completion A value between 1 and 100 indicating the current completion
|
||||
progress of the firmware update. Completion progress is
|
||||
|
|
|
@ -142,7 +142,7 @@ EFI_STATUS
|
|||
@param This EFI_HII_IMAGE_DECODER_PROTOCOL instance.
|
||||
@param Image Pointer to the image raw data.
|
||||
@param SizeOfImage Size of the entire image raw data.
|
||||
@param ImageInfo Pointer to recieve EFI_HII_IMAGE_DECODER_IMAGE_INFO_HEADER.
|
||||
@param ImageInfo Pointer to receive EFI_HII_IMAGE_DECODER_IMAGE_INFO_HEADER.
|
||||
|
||||
@retval EFI_SUCCESS Get image info success.
|
||||
@retval EFI_UNSUPPORTED Unsupported format of image.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/** @file
|
||||
EFI Multicast Trivial File Tranfer Protocol Definition
|
||||
EFI Multicast Trivial File Transfer Protocol Definition
|
||||
|
||||
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
|
@ -212,7 +212,7 @@ EFI_STATUS
|
|||
);
|
||||
|
||||
/**
|
||||
Timeout callback funtion.
|
||||
Timeout callback function.
|
||||
|
||||
@param This The pointer to the EFI_MTFTP4_PROTOCOL instance.
|
||||
@param Token The token that is provided in the
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/** @file
|
||||
UEFI Multicast Trivial File Tranfer Protocol v6 Definition, which is built upon
|
||||
UEFI Multicast Trivial File Transfer Protocol v6 Definition, which is built upon
|
||||
the EFI UDPv6 Protocol and provides basic services for client-side unicast and/or
|
||||
multicast TFTP operations.
|
||||
|
||||
|
@ -325,7 +325,7 @@ typedef struct {
|
|||
@param[in] PacketLen Indicates the length of the packet.
|
||||
@param[in] Packet Pointer to an MTFTPv6 packet.
|
||||
|
||||
@retval EFI_SUCCESS Operation sucess.
|
||||
@retval EFI_SUCCESS Operation success.
|
||||
@retval Others Aborts session.
|
||||
|
||||
**/
|
||||
|
@ -352,7 +352,7 @@ EFI_STATUS
|
|||
EFI_MTFTP6_PROTOCOL.WriteFile() or EFI_MTFTP6_PROTOCOL.ReadDirectory()
|
||||
functions by the caller.
|
||||
|
||||
@retval EFI_SUCCESS Operation sucess.
|
||||
@retval EFI_SUCCESS Operation success.
|
||||
@retval Others Aborts session.
|
||||
|
||||
**/
|
||||
|
@ -379,7 +379,7 @@ EFI_STATUS
|
|||
length the data available on output.
|
||||
@param[out] Buffer Pointer to the buffer where the data is stored.
|
||||
|
||||
@retval EFI_SUCCESS Operation sucess.
|
||||
@retval EFI_SUCCESS Operation success.
|
||||
@retval Others Aborts session.
|
||||
|
||||
**/
|
||||
|
|
|
@ -115,7 +115,7 @@ typedef struct {
|
|||
} EFI_NVM_EXPRESS_PASS_THRU_COMMAND_PACKET;
|
||||
|
||||
//
|
||||
// Protocol funtion prototypes
|
||||
// Protocol function prototypes
|
||||
//
|
||||
/**
|
||||
Sends an NVM Express Command Packet to an NVM Express controller or namespace. This function supports
|
||||
|
|
|
@ -160,7 +160,7 @@ typedef EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL SIMPLE_TEXT_OUTPUT_INTERFACE;
|
|||
Reset the text output device hardware and optionaly run diagnostics
|
||||
|
||||
@param This The protocol instance pointer.
|
||||
@param ExtendedVerification Driver may perform more exhaustive verfication
|
||||
@param ExtendedVerification Driver may perform more exhaustive verification
|
||||
operation of the device during reset.
|
||||
|
||||
@retval EFI_SUCCESS The text output device was reset.
|
||||
|
|
|
@ -30,7 +30,7 @@ typedef struct _EFI_TIMER_ARCH_PROTOCOL EFI_TIMER_ARCH_PROTOCOL;
|
|||
|
||||
/**
|
||||
This function of this type is called when a timer interrupt fires. This
|
||||
function executes at TPL_HIGH_LEVEL. The DXE Core will register a funtion
|
||||
function executes at TPL_HIGH_LEVEL. The DXE Core will register a function
|
||||
of this type to be called for the timer interrupt, so it can know how much
|
||||
time has passed. This information is used to signal timer based events.
|
||||
|
||||
|
|
|
@ -1079,7 +1079,7 @@ typedef struct s_pxe_cpb_start_31 {
|
|||
|
||||
///
|
||||
/// protocol driver can provide anything for this Unique_ID, UNDI remembers
|
||||
/// that as just a 64bit value assocaited to the interface specified by
|
||||
/// that as just a 64bit value associated to the interface specified by
|
||||
/// the ifnum and gives it back as a parameter to all the call-back routines
|
||||
/// when calling for that interface!
|
||||
///
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
#pragma warning ( disable : 4057 )
|
||||
|
||||
//
|
||||
// ASSERT(FALSE) or while (TRUE) are legal constructes so supress this warning
|
||||
// ASSERT(FALSE) or while (TRUE) are legal constructs so suppress this warning
|
||||
//
|
||||
#pragma warning ( disable : 4127 )
|
||||
|
||||
|
@ -132,7 +132,7 @@
|
|||
|
||||
#if defined(_MSC_EXTENSIONS)
|
||||
//
|
||||
// use Microsoft C complier dependent integer width types
|
||||
// use Microsoft C compiler dependent integer width types
|
||||
//
|
||||
|
||||
///
|
||||
|
|
|
@ -103,7 +103,7 @@ InternalMemSetMem32 (
|
|||
/**
|
||||
Fills a target buffer with a 64-bit value, and returns the target buffer.
|
||||
|
||||
@param Buffer Teh pointer to the target buffer to fill.
|
||||
@param Buffer The pointer to the target buffer to fill.
|
||||
@param Length The count of 64-bit value to fill.
|
||||
@param Value The value with which to fill Length bytes of Buffer.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/** @file
|
||||
Internal data structure defintions for Base UEFI Decompress Libary.
|
||||
Internal data structure defintions for Base UEFI Decompress Library.
|
||||
|
||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
|
|
|
@ -58,7 +58,7 @@ IoReadWorker (
|
|||
@param Width The width of the I/O operation.
|
||||
@param Data The value to write to the I/O port.
|
||||
|
||||
@return The paramter of Data.
|
||||
@return The parameter of Data.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
|
|
|
@ -60,7 +60,7 @@ IoReadWorker (
|
|||
@param Width The width of the I/O operation.
|
||||
@param Data The value to write to the I/O port.
|
||||
|
||||
@return The paramter of Data.
|
||||
@return The parameter of Data.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
|
|
Loading…
Reference in New Issue