From 7d839888ffce3572e8ef4b82e0811d82cd2bbd74 Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 31 Jul 2008 07:09:47 +0000 Subject: [PATCH] Remove the blank in function typedef, it will break doxygen document generation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5590 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Include/Guid/PeiPeCoffLoader.h | 8 +- MdeModulePkg/Include/Ppi/BaseMemoryTest.h | 2 +- MdeModulePkg/Include/Ppi/FlashMap.h | 2 +- .../Include/Protocol/ConsoleControl.h | 6 +- MdeModulePkg/Include/Protocol/DiskInfo.h | 8 +- MdeModulePkg/Include/Protocol/Dpc.h | 6 +- .../Include/Protocol/FaultTolerantWriteLite.h | 2 +- MdeModulePkg/Include/Protocol/FvbExtension.h | 2 +- .../Include/Protocol/GenericMemoryTest.h | 8 +- MdeModulePkg/Include/Protocol/LoadPe32Image.h | 4 +- MdeModulePkg/Include/Protocol/NicIp4Config.h | 6 +- MdeModulePkg/Include/Protocol/OEMBadging.h | 2 +- MdeModulePkg/Include/Protocol/Performance.h | 6 +- MdeModulePkg/Include/Protocol/Print.h | 478 +++++++++--------- MdeModulePkg/Include/Protocol/PxeDhcp4.h | 14 +- .../Include/Protocol/PxeDhcp4CallBack.h | 2 +- MdeModulePkg/Include/Protocol/TcgPlatform.h | 4 +- MdeModulePkg/Include/Protocol/Tcp.h | 6 +- 18 files changed, 283 insertions(+), 283 deletions(-) diff --git a/MdeModulePkg/Include/Guid/PeiPeCoffLoader.h b/MdeModulePkg/Include/Guid/PeiPeCoffLoader.h index 22567d0066..b02cf49905 100644 --- a/MdeModulePkg/Include/Guid/PeiPeCoffLoader.h +++ b/MdeModulePkg/Include/Guid/PeiPeCoffLoader.h @@ -48,7 +48,7 @@ typedef struct _EFI_PEI_PE_COFF_LOADER_PROTOCOL EFI_PEI_PE_COFF_LOADER_PROTOCO **/ typedef RETURN_STATUS -(EFIAPI *EFI_PEI_PE_COFF_LOADER_GET_IMAGE_INFO) ( +(EFIAPI *EFI_PEI_PE_COFF_LOADER_GET_IMAGE_INFO)( IN EFI_PEI_PE_COFF_LOADER_PROTOCOL *This, IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext ); @@ -79,7 +79,7 @@ RETURN_STATUS **/ typedef RETURN_STATUS -(EFIAPI *EFI_PEI_PE_COFF_LOADER_LOAD_IMAGE) ( +(EFIAPI *EFI_PEI_PE_COFF_LOADER_LOAD_IMAGE)( IN EFI_PEI_PE_COFF_LOADER_PROTOCOL *This, IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext ); @@ -107,7 +107,7 @@ RETURN_STATUS **/ typedef RETURN_STATUS -(EFIAPI *EFI_PEI_PE_COFF_LOADER_RELOCATE_IMAGE) ( +(EFIAPI *EFI_PEI_PE_COFF_LOADER_RELOCATE_IMAGE)( IN EFI_PEI_PE_COFF_LOADER_PROTOCOL *This, IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext ); @@ -127,7 +127,7 @@ RETURN_STATUS **/ typedef RETURN_STATUS -(EFIAPI *EFI_PEI_PE_COFF_LOADER_UNLOAD_IMAGE) ( +(EFIAPI *EFI_PEI_PE_COFF_LOADER_UNLOAD_IMAGE)( IN EFI_PEI_PE_COFF_LOADER_PROTOCOL *This, IN PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext ); diff --git a/MdeModulePkg/Include/Ppi/BaseMemoryTest.h b/MdeModulePkg/Include/Ppi/BaseMemoryTest.h index 5e069a6802..f7c6d617d3 100644 --- a/MdeModulePkg/Include/Ppi/BaseMemoryTest.h +++ b/MdeModulePkg/Include/Ppi/BaseMemoryTest.h @@ -46,7 +46,7 @@ typedef enum { **/ typedef EFI_STATUS -(EFIAPI *PEI_BASE_MEMORY_TEST) ( +(EFIAPI *PEI_BASE_MEMORY_TEST)( IN EFI_PEI_SERVICES **PeiServices, IN PEI_BASE_MEMORY_TEST_PPI * This, IN EFI_PHYSICAL_ADDRESS BeginAddress, diff --git a/MdeModulePkg/Include/Ppi/FlashMap.h b/MdeModulePkg/Include/Ppi/FlashMap.h index fba9a53027..63583bd012 100644 --- a/MdeModulePkg/Include/Ppi/FlashMap.h +++ b/MdeModulePkg/Include/Ppi/FlashMap.h @@ -41,7 +41,7 @@ typedef struct _PEI_FLASH_MAP_PPI PEI_FLASH_MAP_PPI; **/ typedef EFI_STATUS -(EFIAPI *PEI_GET_FLASH_AREA_INFO) ( +(EFIAPI *PEI_GET_FLASH_AREA_INFO)( IN EFI_PEI_SERVICES **PeiServices, IN PEI_FLASH_MAP_PPI *This, IN EFI_FLASH_AREA_TYPE AreaType, diff --git a/MdeModulePkg/Include/Protocol/ConsoleControl.h b/MdeModulePkg/Include/Protocol/ConsoleControl.h index 5b3eb0d8d2..b00587c8b3 100644 --- a/MdeModulePkg/Include/Protocol/ConsoleControl.h +++ b/MdeModulePkg/Include/Protocol/ConsoleControl.h @@ -44,7 +44,7 @@ typedef enum { **/ typedef EFI_STATUS -(EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_GET_MODE) ( +(EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_GET_MODE)( IN EFI_CONSOLE_CONTROL_PROTOCOL *This, OUT EFI_CONSOLE_CONTROL_SCREEN_MODE *Mode, OUT BOOLEAN *GopUgaExists, OPTIONAL @@ -65,7 +65,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_SET_MODE) ( +(EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_SET_MODE)( IN EFI_CONSOLE_CONTROL_PROTOCOL *This, OUT EFI_CONSOLE_CONTROL_SCREEN_MODE Mode ) @@ -81,7 +81,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN) ( +(EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN)( IN EFI_CONSOLE_CONTROL_PROTOCOL *This, IN CHAR16 *Password ) diff --git a/MdeModulePkg/Include/Protocol/DiskInfo.h b/MdeModulePkg/Include/Protocol/DiskInfo.h index d36a1c7b03..1f45b3a286 100644 --- a/MdeModulePkg/Include/Protocol/DiskInfo.h +++ b/MdeModulePkg/Include/Protocol/DiskInfo.h @@ -43,7 +43,7 @@ typedef struct _EFI_DISK_INFO_PROTOCOL EFI_DISK_INFO_PROTOCOL; **/ typedef EFI_STATUS -(EFIAPI *EFI_DISK_INFO_INQUIRY) ( +(EFIAPI *EFI_DISK_INFO_INQUIRY)( IN EFI_DISK_INFO_PROTOCOL * This, IN OUT VOID *InquiryData, IN OUT UINT32 *IntquiryDataSize @@ -67,7 +67,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_DISK_INFO_IDENTIFY) ( +(EFIAPI *EFI_DISK_INFO_IDENTIFY)( IN EFI_DISK_INFO_PROTOCOL * This, IN OUT VOID *IdentifyData, IN OUT UINT32 *IdentifyDataSize @@ -92,7 +92,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_DISK_INFO_SENSE_DATA) ( +(EFIAPI *EFI_DISK_INFO_SENSE_DATA)( IN EFI_DISK_INFO_PROTOCOL * This, IN OUT VOID *SenseData, IN OUT UINT32 *SenseDataSize, @@ -114,7 +114,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_DISK_INFO_WHICH_IDE) ( +(EFIAPI *EFI_DISK_INFO_WHICH_IDE)( IN EFI_DISK_INFO_PROTOCOL * This, OUT UINT32 *IdeChannel, OUT UINT32 *IdeDevice diff --git a/MdeModulePkg/Include/Protocol/Dpc.h b/MdeModulePkg/Include/Protocol/Dpc.h index a93ac249e2..40276f1012 100644 --- a/MdeModulePkg/Include/Protocol/Dpc.h +++ b/MdeModulePkg/Include/Protocol/Dpc.h @@ -40,7 +40,7 @@ typedef struct _EFI_DPC_PROTOCOL EFI_DPC_PROTOCOL; **/ typedef VOID -(EFIAPI *EFI_DPC_PROCEDURE) ( +(EFIAPI *EFI_DPC_PROCEDURE)( IN VOID *DpcContext ); @@ -62,7 +62,7 @@ VOID **/ typedef EFI_STATUS -(EFIAPI *EFI_DPC_QUEUE_DPC) ( +(EFIAPI *EFI_DPC_QUEUE_DPC)( IN EFI_DPC_PROTOCOL *This, IN EFI_TPL DpcTpl, IN EFI_DPC_PROCEDURE DpcProcedure, @@ -83,7 +83,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_DPC_DISPATCH_DPC) ( +(EFIAPI *EFI_DPC_DISPATCH_DPC)( IN EFI_DPC_PROTOCOL *This ); diff --git a/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h b/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h index 97b9b81653..ce0128df10 100644 --- a/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h +++ b/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h @@ -53,7 +53,7 @@ typedef struct _EFI_FTW_LITE_PROTOCOL EFI_FTW_LITE_PROTOCOL; **/ typedef EFI_STATUS -(EFIAPI * EFI_FTW_LITE_WRITE) ( +(EFIAPI * EFI_FTW_LITE_WRITE)( IN EFI_FTW_LITE_PROTOCOL *This, IN EFI_HANDLE FvbHandle, IN EFI_LBA Lba, diff --git a/MdeModulePkg/Include/Protocol/FvbExtension.h b/MdeModulePkg/Include/Protocol/FvbExtension.h index 21b5d0c7bc..6f6621b132 100644 --- a/MdeModulePkg/Include/Protocol/FvbExtension.h +++ b/MdeModulePkg/Include/Protocol/FvbExtension.h @@ -42,7 +42,7 @@ typedef struct _EFI_FVB_EXTENSION_PROTOCOL EFI_FVB_EXTENSION_PROTOCOL; **/ typedef EFI_STATUS -(EFIAPI * EFI_FV_ERASE_CUSTOM_BLOCK) ( +(EFIAPI * EFI_FV_ERASE_CUSTOM_BLOCK)( IN EFI_FVB_EXTENSION_PROTOCOL *This, IN EFI_LBA StartLba, IN UINTN OffsetStartLba, diff --git a/MdeModulePkg/Include/Protocol/GenericMemoryTest.h b/MdeModulePkg/Include/Protocol/GenericMemoryTest.h index c5c4f24530..87959ed73a 100644 --- a/MdeModulePkg/Include/Protocol/GenericMemoryTest.h +++ b/MdeModulePkg/Include/Protocol/GenericMemoryTest.h @@ -45,7 +45,7 @@ typedef enum { **/ typedef EFI_STATUS -(EFIAPI *EFI_MEMORY_TEST_INIT) ( +(EFIAPI *EFI_MEMORY_TEST_INIT)( IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This, IN EXTENDMEM_COVERAGE_LEVEL Level, OUT BOOLEAN *RequireSoftECCInit @@ -75,7 +75,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_PERFORM_MEMORY_TEST) ( +(EFIAPI *EFI_PERFORM_MEMORY_TEST)( IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This, OUT UINT64 *TestedMemorySize, OUT UINT64 *TotalMemorySize, @@ -97,7 +97,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_MEMORY_TEST_FINISHED) ( +(EFIAPI *EFI_MEMORY_TEST_FINISHED)( IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This ) ; @@ -116,7 +116,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_MEMORY_TEST_COMPATIBLE_RANGE) ( +(EFIAPI *EFI_MEMORY_TEST_COMPATIBLE_RANGE)( IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS StartAddress, IN UINT64 Length diff --git a/MdeModulePkg/Include/Protocol/LoadPe32Image.h b/MdeModulePkg/Include/Protocol/LoadPe32Image.h index 8415872187..8adfdfc2d2 100644 --- a/MdeModulePkg/Include/Protocol/LoadPe32Image.h +++ b/MdeModulePkg/Include/Protocol/LoadPe32Image.h @@ -58,7 +58,7 @@ typedef struct _EFI_PE32_IMAGE_PROTOCOL EFI_PE32_IMAGE_PROTOCOL; **/ typedef EFI_STATUS -(EFIAPI *LOAD_PE_IMAGE) ( +(EFIAPI *LOAD_PE_IMAGE)( IN EFI_PE32_IMAGE_PROTOCOL *This, IN EFI_HANDLE ParentImageHandle, IN EFI_DEVICE_PATH_PROTOCOL *FilePath, @@ -85,7 +85,7 @@ EFI_STATUS --*/ typedef EFI_STATUS -(EFIAPI *UNLOAD_PE_IMAGE) ( +(EFIAPI *UNLOAD_PE_IMAGE)( IN EFI_PE32_IMAGE_PROTOCOL *This, IN EFI_HANDLE ImageHandle ); diff --git a/MdeModulePkg/Include/Protocol/NicIp4Config.h b/MdeModulePkg/Include/Protocol/NicIp4Config.h index 2bf20c0d43..71bd7c4ebe 100644 --- a/MdeModulePkg/Include/Protocol/NicIp4Config.h +++ b/MdeModulePkg/Include/Protocol/NicIp4Config.h @@ -84,7 +84,7 @@ typedef struct { typedef EFI_STATUS -(EFIAPI *EFI_NIC_IP4_CONFIG_GET_INFO) ( +(EFIAPI *EFI_NIC_IP4_CONFIG_GET_INFO)( IN EFI_NIC_IP4_CONFIG_PROTOCOL *This, IN OUT UINTN *Len, OUT NIC_IP4_CONFIG_INFO *NicConfig OPTIONAL @@ -92,7 +92,7 @@ EFI_STATUS typedef EFI_STATUS -(EFIAPI *EFI_NIC_IP4_CONFIG_SET_INFO) ( +(EFIAPI *EFI_NIC_IP4_CONFIG_SET_INFO)( IN EFI_NIC_IP4_CONFIG_PROTOCOL *This, IN NIC_IP4_CONFIG_INFO *NicConfig, OPTIONAL IN BOOLEAN ReConfig @@ -100,7 +100,7 @@ EFI_STATUS typedef EFI_STATUS -(EFIAPI *EFI_NIC_IP4_CONFIG_GET_NAME) ( +(EFIAPI *EFI_NIC_IP4_CONFIG_GET_NAME)( IN EFI_NIC_IP4_CONFIG_PROTOCOL *This, IN UINT16 *Name, OPTIONAL IN NIC_ADDR *NicAddr OPTIONAL diff --git a/MdeModulePkg/Include/Protocol/OEMBadging.h b/MdeModulePkg/Include/Protocol/OEMBadging.h index 0d701a8423..50e013e524 100644 --- a/MdeModulePkg/Include/Protocol/OEMBadging.h +++ b/MdeModulePkg/Include/Protocol/OEMBadging.h @@ -65,7 +65,7 @@ typedef enum { **/ typedef EFI_STATUS -(EFIAPI *EFI_BADGING_GET_IMAGE) ( +(EFIAPI *EFI_BADGING_GET_IMAGE)( IN EFI_OEM_BADGING_PROTOCOL *This, IN OUT UINT32 *Instance, OUT EFI_BADGING_FORMAT *Format, diff --git a/MdeModulePkg/Include/Protocol/Performance.h b/MdeModulePkg/Include/Protocol/Performance.h index 487ff3b0be..7161488246 100644 --- a/MdeModulePkg/Include/Protocol/Performance.h +++ b/MdeModulePkg/Include/Protocol/Performance.h @@ -84,7 +84,7 @@ typedef struct { **/ typedef EFI_STATUS -(EFIAPI * PERFORMANCE_START_GAUGE) ( +(EFIAPI * PERFORMANCE_START_GAUGE)( IN CONST VOID *Handle, OPTIONAL IN CONST CHAR8 *Token, OPTIONAL IN CONST CHAR8 *Module, OPTIONAL @@ -117,7 +117,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI * PERFORMANCE_END_GAUGE) ( +(EFIAPI * PERFORMANCE_END_GAUGE)( IN CONST VOID *Handle, OPTIONAL IN CONST CHAR8 *Token, OPTIONAL IN CONST CHAR8 *Module, OPTIONAL @@ -144,7 +144,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI * PERFORMANCE_GET_GAUGE) ( +(EFIAPI * PERFORMANCE_GET_GAUGE)( IN UINTN LogEntryKey, OUT GAUGE_DATA_ENTRY **GaugeDataEntry ); diff --git a/MdeModulePkg/Include/Protocol/Print.h b/MdeModulePkg/Include/Protocol/Print.h index 22d6a6003d..7f120bacfe 100644 --- a/MdeModulePkg/Include/Protocol/Print.h +++ b/MdeModulePkg/Include/Protocol/Print.h @@ -1,6 +1,6 @@ /** @file - This print protocol defines six basic print functions to + This print protocol defines six basic print functions to print the format unicode and ascii string. Copyright (c) 2006 - 2008, Intel Corporation @@ -25,271 +25,271 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. // typedef struct _EFI_PRINT_PROTOCOL EFI_PRINT_PROTOCOL; -/** - Produces a Null-terminated Unicode string in an output buffer based on - a Null-terminated Unicode format string and a VA_LIST argument list - - Produces a Null-terminated Unicode string in the output buffer specified by StartOfBuffer - and BufferSize. - The Unicode string is produced by parsing the format string specified by FormatString. - Arguments are pulled from the variable argument list specified by Marker based on the - contents of the format string. - The number of Unicode characters in the produced output buffer is returned not including - the Null-terminator. - If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned. - - If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT(). - If BufferSize > 1 and StartOfBuffer is not aligned on a 16-bit boundary, then ASSERT(). - If BufferSize > 1 and FormatString is NULL, then ASSERT(). - If BufferSize > 1 and FormatString is not aligned on a 16-bit boundary, then ASSERT(). - If PcdMaximumUnicodeStringLength is not zero, and FormatString contains more than - PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then - ASSERT(). - If PcdMaximumUnicodeStringLength is not zero, and produced Null-terminated Unicode string - contains more than PcdMaximumUnicodeStringLength Unicode characters not including the - Null-terminator, then ASSERT(). - - @param StartOfBuffer A pointer to the output buffer for the produced Null-terminated - Unicode string. - @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer. - @param FormatString Null-terminated Unicode format string. - @param Marker VA_LIST marker for the variable argument list. - - @return The number of Unicode characters in the produced output buffer not including the - Null-terminator. - +/** + Produces a Null-terminated Unicode string in an output buffer based on + a Null-terminated Unicode format string and a VA_LIST argument list + + Produces a Null-terminated Unicode string in the output buffer specified by StartOfBuffer + and BufferSize. + The Unicode string is produced by parsing the format string specified by FormatString. + Arguments are pulled from the variable argument list specified by Marker based on the + contents of the format string. + The number of Unicode characters in the produced output buffer is returned not including + the Null-terminator. + If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned. + + If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT(). + If BufferSize > 1 and StartOfBuffer is not aligned on a 16-bit boundary, then ASSERT(). + If BufferSize > 1 and FormatString is NULL, then ASSERT(). + If BufferSize > 1 and FormatString is not aligned on a 16-bit boundary, then ASSERT(). + If PcdMaximumUnicodeStringLength is not zero, and FormatString contains more than + PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then + ASSERT(). + If PcdMaximumUnicodeStringLength is not zero, and produced Null-terminated Unicode string + contains more than PcdMaximumUnicodeStringLength Unicode characters not including the + Null-terminator, then ASSERT(). + + @param StartOfBuffer A pointer to the output buffer for the produced Null-terminated + Unicode string. + @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer. + @param FormatString Null-terminated Unicode format string. + @param Marker VA_LIST marker for the variable argument list. + + @return The number of Unicode characters in the produced output buffer not including the + Null-terminator. + **/ typedef UINTN -(EFIAPI *UNI_VSPRINT) ( +(EFIAPI *UNI_VSPRINT)( OUT CHAR16 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR16 *FormatString, IN VA_LIST Marker ); -/** - Produces a Null-terminated Unicode string in an output buffer based on a Null-terminated - ASCII format string and a VA_LIST argument list - - Produces a Null-terminated Unicode string in the output buffer specified by StartOfBuffer - and BufferSize. - The Unicode string is produced by parsing the format string specified by FormatString. - Arguments are pulled from the variable argument list specified by Marker based on the - contents of the format string. - The number of Unicode characters in the produced output buffer is returned not including - the Null-terminator. - If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned. - - If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT(). - If BufferSize > 1 and StartOfBuffer is not aligned on a 16-bit boundary, then ASSERT(). - If BufferSize > 1 and FormatString is NULL, then ASSERT(). - If PcdMaximumAsciiStringLength is not zero, and FormatString contains more than - PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then - ASSERT(). - If PcdMaximumUnicodeStringLength is not zero, and produced Null-terminated Unicode string - contains more than PcdMaximumUnicodeStringLength Unicode characters not including the - Null-terminator, then ASSERT(). - - @param StartOfBuffer A pointer to the output buffer for the produced Null-terminated - Unicode string. - @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer. - @param FormatString Null-terminated Unicode format string. - @param Marker VA_LIST marker for the variable argument list. - - @return The number of Unicode characters in the produced output buffer not including the - Null-terminator. - +/** + Produces a Null-terminated Unicode string in an output buffer based on a Null-terminated + ASCII format string and a VA_LIST argument list + + Produces a Null-terminated Unicode string in the output buffer specified by StartOfBuffer + and BufferSize. + The Unicode string is produced by parsing the format string specified by FormatString. + Arguments are pulled from the variable argument list specified by Marker based on the + contents of the format string. + The number of Unicode characters in the produced output buffer is returned not including + the Null-terminator. + If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned. + + If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT(). + If BufferSize > 1 and StartOfBuffer is not aligned on a 16-bit boundary, then ASSERT(). + If BufferSize > 1 and FormatString is NULL, then ASSERT(). + If PcdMaximumAsciiStringLength is not zero, and FormatString contains more than + PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then + ASSERT(). + If PcdMaximumUnicodeStringLength is not zero, and produced Null-terminated Unicode string + contains more than PcdMaximumUnicodeStringLength Unicode characters not including the + Null-terminator, then ASSERT(). + + @param StartOfBuffer A pointer to the output buffer for the produced Null-terminated + Unicode string. + @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer. + @param FormatString Null-terminated Unicode format string. + @param Marker VA_LIST marker for the variable argument list. + + @return The number of Unicode characters in the produced output buffer not including the + Null-terminator. + **/ typedef -UINTN -(EFIAPI *UNI_VSPRINT_ASCII) ( - OUT CHAR16 *StartOfBuffer, - IN UINTN BufferSize, - IN CONST CHAR8 *FormatString, - IN VA_LIST Marker +UINTN +(EFIAPI *UNI_VSPRINT_ASCII)( + OUT CHAR16 *StartOfBuffer, + IN UINTN BufferSize, + IN CONST CHAR8 *FormatString, + IN VA_LIST Marker ); -/** - Converts a decimal value to a Null-terminated Unicode string. - - Converts the decimal number specified by Value to a Null-terminated Unicode - string specified by Buffer containing at most Width characters. No padding of spaces - is ever performed. If Width is 0 then a width of MAXIMUM_VALUE_CHARACTERS is assumed. - The number of Unicode characters in Buffer is returned not including the Null-terminator. - If the conversion contains more than Width characters, then only the first - Width characters are returned, and the total number of characters - required to perform the conversion is returned. - Additional conversion parameters are specified in Flags. - - The Flags bit LEFT_JUSTIFY is always ignored. - All conversions are left justified in Buffer. - If Width is 0, PREFIX_ZERO is ignored in Flags. - If COMMA_TYPE is set in Flags, then PREFIX_ZERO is ignored in Flags, and commas - are inserted every 3rd digit starting from the right. - If HEX_RADIX is set in Flags, then the output buffer will be - formatted in hexadecimal format. - If Value is < 0 and HEX_RADIX is not set in Flags, then the fist character in Buffer is a '-'. - If PREFIX_ZERO is set in Flags and PREFIX_ZERO is not being ignored, - then Buffer is padded with '0' characters so the combination of the optional '-' - sign character, '0' characters, digit characters for Value, and the Null-terminator - add up to Width characters. - If both COMMA_TYPE and HEX_RADIX are set in Flags, then ASSERT(). - If Buffer is NULL, then ASSERT(). - If Buffer is not aligned on a 16-bit boundary, then ASSERT(). - If unsupported bits are set in Flags, then ASSERT(). - If both COMMA_TYPE and HEX_RADIX are set in Flags, then ASSERT(). - If Width >= MAXIMUM_VALUE_CHARACTERS, then ASSERT() - - @param Buffer Pointer to the output buffer for the produced Null-terminated - Unicode string. - @param Flags The bitmask of flags that specify left justification, zero pad, and commas. - @param Value The 64-bit signed value to convert to a string. - @param Width The maximum number of Unicode characters to place in Buffer, not including - the Null-terminator. - - @return The number of Unicode characters in Buffer not including the Null-terminator. - +/** + Converts a decimal value to a Null-terminated Unicode string. + + Converts the decimal number specified by Value to a Null-terminated Unicode + string specified by Buffer containing at most Width characters. No padding of spaces + is ever performed. If Width is 0 then a width of MAXIMUM_VALUE_CHARACTERS is assumed. + The number of Unicode characters in Buffer is returned not including the Null-terminator. + If the conversion contains more than Width characters, then only the first + Width characters are returned, and the total number of characters + required to perform the conversion is returned. + Additional conversion parameters are specified in Flags. + + The Flags bit LEFT_JUSTIFY is always ignored. + All conversions are left justified in Buffer. + If Width is 0, PREFIX_ZERO is ignored in Flags. + If COMMA_TYPE is set in Flags, then PREFIX_ZERO is ignored in Flags, and commas + are inserted every 3rd digit starting from the right. + If HEX_RADIX is set in Flags, then the output buffer will be + formatted in hexadecimal format. + If Value is < 0 and HEX_RADIX is not set in Flags, then the fist character in Buffer is a '-'. + If PREFIX_ZERO is set in Flags and PREFIX_ZERO is not being ignored, + then Buffer is padded with '0' characters so the combination of the optional '-' + sign character, '0' characters, digit characters for Value, and the Null-terminator + add up to Width characters. + If both COMMA_TYPE and HEX_RADIX are set in Flags, then ASSERT(). + If Buffer is NULL, then ASSERT(). + If Buffer is not aligned on a 16-bit boundary, then ASSERT(). + If unsupported bits are set in Flags, then ASSERT(). + If both COMMA_TYPE and HEX_RADIX are set in Flags, then ASSERT(). + If Width >= MAXIMUM_VALUE_CHARACTERS, then ASSERT() + + @param Buffer Pointer to the output buffer for the produced Null-terminated + Unicode string. + @param Flags The bitmask of flags that specify left justification, zero pad, and commas. + @param Value The 64-bit signed value to convert to a string. + @param Width The maximum number of Unicode characters to place in Buffer, not including + the Null-terminator. + + @return The number of Unicode characters in Buffer not including the Null-terminator. + **/ typedef -UINTN -(EFIAPI *VALUE_TO_UNISTRING) ( - IN OUT CHAR16 *Buffer, - IN UINTN Flags, - IN INT64 Value, - IN UINTN Width +UINTN +(EFIAPI *VALUE_TO_UNISTRING)( + IN OUT CHAR16 *Buffer, + IN UINTN Flags, + IN INT64 Value, + IN UINTN Width ); -/** - Produces a Null-terminated ASCII string in an output buffer based on a Null-terminated - ASCII format string and a VA_LIST argument list. - - Produces a Null-terminated ASCII string in the output buffer specified by StartOfBuffer - and BufferSize. - The ASCII string is produced by parsing the format string specified by FormatString. - Arguments are pulled from the variable argument list specified by Marker based on - the contents of the format string. - The number of ASCII characters in the produced output buffer is returned not including - the Null-terminator. - If BufferSize is 0, then no output buffer is produced and 0 is returned. - - If BufferSize > 0 and StartOfBuffer is NULL, then ASSERT(). - If BufferSize > 0 and FormatString is NULL, then ASSERT(). - If PcdMaximumAsciiStringLength is not zero, and FormatString contains more than - PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then - ASSERT(). - If PcdMaximumAsciiStringLength is not zero, and produced Null-terminated ASCII string - contains more than PcdMaximumAsciiStringLength ASCII characters not including the - Null-terminator, then ASSERT(). - - @param StartOfBuffer A pointer to the output buffer for the produced Null-terminated - ASCII string. - @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer. - @param FormatString Null-terminated Unicode format string. - @param Marker VA_LIST marker for the variable argument list. - - @return The number of ASCII characters in the produced output buffer not including the - Null-terminator. - +/** + Produces a Null-terminated ASCII string in an output buffer based on a Null-terminated + ASCII format string and a VA_LIST argument list. + + Produces a Null-terminated ASCII string in the output buffer specified by StartOfBuffer + and BufferSize. + The ASCII string is produced by parsing the format string specified by FormatString. + Arguments are pulled from the variable argument list specified by Marker based on + the contents of the format string. + The number of ASCII characters in the produced output buffer is returned not including + the Null-terminator. + If BufferSize is 0, then no output buffer is produced and 0 is returned. + + If BufferSize > 0 and StartOfBuffer is NULL, then ASSERT(). + If BufferSize > 0 and FormatString is NULL, then ASSERT(). + If PcdMaximumAsciiStringLength is not zero, and FormatString contains more than + PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator, then + ASSERT(). + If PcdMaximumAsciiStringLength is not zero, and produced Null-terminated ASCII string + contains more than PcdMaximumAsciiStringLength ASCII characters not including the + Null-terminator, then ASSERT(). + + @param StartOfBuffer A pointer to the output buffer for the produced Null-terminated + ASCII string. + @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer. + @param FormatString Null-terminated Unicode format string. + @param Marker VA_LIST marker for the variable argument list. + + @return The number of ASCII characters in the produced output buffer not including the + Null-terminator. + **/ typedef -UINTN -(EFIAPI *ASCII_VSPRINT) ( - OUT CHAR8 *StartOfBuffer, - IN UINTN BufferSize, - IN CONST CHAR8 *FormatString, - IN VA_LIST Marker +UINTN +(EFIAPI *ASCII_VSPRINT)( + OUT CHAR8 *StartOfBuffer, + IN UINTN BufferSize, + IN CONST CHAR8 *FormatString, + IN VA_LIST Marker ); -/** - Produces a Null-terminated ASCII string in an output buffer based on a Null-terminated - ASCII format string and a VA_LIST argument list. - - Produces a Null-terminated ASCII string in the output buffer specified by StartOfBuffer - and BufferSize. - The ASCII string is produced by parsing the format string specified by FormatString. - Arguments are pulled from the variable argument list specified by Marker based on - the contents of the format string. - The number of ASCII characters in the produced output buffer is returned not including - the Null-terminator. - If BufferSize is 0, then no output buffer is produced and 0 is returned. - - If BufferSize > 0 and StartOfBuffer is NULL, then ASSERT(). - If BufferSize > 0 and FormatString is NULL, then ASSERT(). - If BufferSize > 0 and FormatString is not aligned on a 16-bit boundary, then ASSERT(). - If PcdMaximumUnicodeStringLength is not zero, and FormatString contains more than - PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then - ASSERT(). - If PcdMaximumAsciiStringLength is not zero, and produced Null-terminated ASCII string - contains more than PcdMaximumAsciiStringLength ASCII characters not including the - Null-terminator, then ASSERT(). - - @param StartOfBuffer A pointer to the output buffer for the produced Null-terminated - ASCII string. - @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer. - @param FormatString Null-terminated Unicode format string. - @param Marker VA_LIST marker for the variable argument list. - - @return The number of ASCII characters in the produced output buffer not including the - Null-terminator. - +/** + Produces a Null-terminated ASCII string in an output buffer based on a Null-terminated + ASCII format string and a VA_LIST argument list. + + Produces a Null-terminated ASCII string in the output buffer specified by StartOfBuffer + and BufferSize. + The ASCII string is produced by parsing the format string specified by FormatString. + Arguments are pulled from the variable argument list specified by Marker based on + the contents of the format string. + The number of ASCII characters in the produced output buffer is returned not including + the Null-terminator. + If BufferSize is 0, then no output buffer is produced and 0 is returned. + + If BufferSize > 0 and StartOfBuffer is NULL, then ASSERT(). + If BufferSize > 0 and FormatString is NULL, then ASSERT(). + If BufferSize > 0 and FormatString is not aligned on a 16-bit boundary, then ASSERT(). + If PcdMaximumUnicodeStringLength is not zero, and FormatString contains more than + PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then + ASSERT(). + If PcdMaximumAsciiStringLength is not zero, and produced Null-terminated ASCII string + contains more than PcdMaximumAsciiStringLength ASCII characters not including the + Null-terminator, then ASSERT(). + + @param StartOfBuffer A pointer to the output buffer for the produced Null-terminated + ASCII string. + @param BufferSize The size, in bytes, of the output buffer specified by StartOfBuffer. + @param FormatString Null-terminated Unicode format string. + @param Marker VA_LIST marker for the variable argument list. + + @return The number of ASCII characters in the produced output buffer not including the + Null-terminator. + **/ typedef -UINTN -(EFIAPI *ASCII_VSPRINT_UNI) ( - OUT CHAR8 *StartOfBuffer, - IN UINTN BufferSize, - IN CONST CHAR16 *FormatString, - IN VA_LIST Marker +UINTN +(EFIAPI *ASCII_VSPRINT_UNI)( + OUT CHAR8 *StartOfBuffer, + IN UINTN BufferSize, + IN CONST CHAR16 *FormatString, + IN VA_LIST Marker ); -/** - Converts a decimal value to a Null-terminated ASCII string. - - Converts the decimal number specified by Value to a Null-terminated ASCII string - specified by Buffer containing at most Width characters. No padding of spaces - is ever performed. - If Width is 0 then a width of MAXIMUM_VALUE_CHARACTERS is assumed. - The number of ASCII characters in Buffer is returned not including the Null-terminator. - If the conversion contains more than Width characters, then only the first Width - characters are returned, and the total number of characters required to perform - the conversion is returned. - Additional conversion parameters are specified in Flags. - The Flags bit LEFT_JUSTIFY is always ignored. - All conversions are left justified in Buffer. - If Width is 0, PREFIX_ZERO is ignored in Flags. - If COMMA_TYPE is set in Flags, then PREFIX_ZERO is ignored in Flags, and commas - are inserted every 3rd digit starting from the right. - If HEX_RADIX is set in Flags, then the output buffer will be - formatted in hexadecimal format. - If Value is < 0 and HEX_RADIX is not set in Flags, then the fist character in Buffer is a '-'. - If PREFIX_ZERO is set in Flags and PREFIX_ZERO is not being ignored, - then Buffer is padded with '0' characters so the combination of the optional '-' - sign character, '0' characters, digit characters for Value, and the Null-terminator - add up to Width characters. - - If Buffer is NULL, then ASSERT(). - If unsupported bits are set in Flags, then ASSERT(). - If both COMMA_TYPE and HEX_RADIX are set in Flags, then ASSERT(). - If Width >= MAXIMUM_VALUE_CHARACTERS, then ASSERT() - - @param Buffer Pointer to the output buffer for the produced Null-terminated - ASCII string. - @param Flags The bitmask of flags that specify left justification, zero pad, and commas. - @param Value The 64-bit signed value to convert to a string. - @param Width The maximum number of ASCII characters to place in Buffer, not including - the Null-terminator. - - @return The number of ASCII characters in Buffer not including the Null-terminator. - +/** + Converts a decimal value to a Null-terminated ASCII string. + + Converts the decimal number specified by Value to a Null-terminated ASCII string + specified by Buffer containing at most Width characters. No padding of spaces + is ever performed. + If Width is 0 then a width of MAXIMUM_VALUE_CHARACTERS is assumed. + The number of ASCII characters in Buffer is returned not including the Null-terminator. + If the conversion contains more than Width characters, then only the first Width + characters are returned, and the total number of characters required to perform + the conversion is returned. + Additional conversion parameters are specified in Flags. + The Flags bit LEFT_JUSTIFY is always ignored. + All conversions are left justified in Buffer. + If Width is 0, PREFIX_ZERO is ignored in Flags. + If COMMA_TYPE is set in Flags, then PREFIX_ZERO is ignored in Flags, and commas + are inserted every 3rd digit starting from the right. + If HEX_RADIX is set in Flags, then the output buffer will be + formatted in hexadecimal format. + If Value is < 0 and HEX_RADIX is not set in Flags, then the fist character in Buffer is a '-'. + If PREFIX_ZERO is set in Flags and PREFIX_ZERO is not being ignored, + then Buffer is padded with '0' characters so the combination of the optional '-' + sign character, '0' characters, digit characters for Value, and the Null-terminator + add up to Width characters. + + If Buffer is NULL, then ASSERT(). + If unsupported bits are set in Flags, then ASSERT(). + If both COMMA_TYPE and HEX_RADIX are set in Flags, then ASSERT(). + If Width >= MAXIMUM_VALUE_CHARACTERS, then ASSERT() + + @param Buffer Pointer to the output buffer for the produced Null-terminated + ASCII string. + @param Flags The bitmask of flags that specify left justification, zero pad, and commas. + @param Value The 64-bit signed value to convert to a string. + @param Width The maximum number of ASCII characters to place in Buffer, not including + the Null-terminator. + + @return The number of ASCII characters in Buffer not including the Null-terminator. + **/ typedef -UINTN -(EFIAPI *VALUE_TO_ASCIISTRING) ( - IN OUT CHAR8 *Buffer, - IN UINTN Flags, - IN INT64 Value, - IN UINTN Width +UINTN +(EFIAPI *VALUE_TO_ASCIISTRING)( + IN OUT CHAR8 *Buffer, + IN UINTN Flags, + IN INT64 Value, + IN UINTN Width ); struct _EFI_PRINT_PROTOCOL { diff --git a/MdeModulePkg/Include/Protocol/PxeDhcp4.h b/MdeModulePkg/Include/Protocol/PxeDhcp4.h index c52aa1e6c5..a01aaa8a29 100644 --- a/MdeModulePkg/Include/Protocol/PxeDhcp4.h +++ b/MdeModulePkg/Include/Protocol/PxeDhcp4.h @@ -260,7 +260,7 @@ typedef struct { /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ typedef EFI_STATUS -(EFIAPI *EFI_PXE_DHCP4_RUN) ( +(EFIAPI *EFI_PXE_DHCP4_RUN)( IN EFI_PXE_DHCP4_PROTOCOL *This, IN OPTIONAL UINTN OpLen, IN OPTIONAL VOID *OpList @@ -269,7 +269,7 @@ EFI_STATUS /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ typedef EFI_STATUS -(EFIAPI *EFI_PXE_DHCP4_SETUP) ( +(EFIAPI *EFI_PXE_DHCP4_SETUP)( IN EFI_PXE_DHCP4_PROTOCOL *This, IN OPTIONAL EFI_PXE_DHCP4_DATA * NewData ); @@ -277,7 +277,7 @@ EFI_STATUS /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ typedef EFI_STATUS -(EFIAPI *EFI_PXE_DHCP4_INIT) ( +(EFIAPI *EFI_PXE_DHCP4_INIT)( IN EFI_PXE_DHCP4_PROTOCOL *This, IN UINTN SecondsTimeout, OUT UINTN *Offers, @@ -290,7 +290,7 @@ EFI_STATUS /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ typedef EFI_STATUS -(EFIAPI *EFI_PXE_DHCP4_SELECT) ( +(EFIAPI *EFI_PXE_DHCP4_SELECT)( IN EFI_PXE_DHCP4_PROTOCOL *This, IN UINTN SecondsTimeout, IN DHCP4_PACKET * offer @@ -299,7 +299,7 @@ EFI_STATUS /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ typedef EFI_STATUS -(EFIAPI *EFI_PXE_DHCP4_RENEW) ( +(EFIAPI *EFI_PXE_DHCP4_RENEW)( IN EFI_PXE_DHCP4_PROTOCOL *This, UINTN seconds_timeout ); @@ -307,7 +307,7 @@ EFI_STATUS /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ typedef EFI_STATUS -(EFIAPI *EFI_PXE_DHCP4_REBIND) ( +(EFIAPI *EFI_PXE_DHCP4_REBIND)( IN EFI_PXE_DHCP4_PROTOCOL *This, UINTN seconds_timeout ); @@ -315,7 +315,7 @@ EFI_STATUS /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ typedef EFI_STATUS -(EFIAPI *EFI_PXE_DHCP4_RELEASE) ( +(EFIAPI *EFI_PXE_DHCP4_RELEASE)( IN EFI_PXE_DHCP4_PROTOCOL * This ); diff --git a/MdeModulePkg/Include/Protocol/PxeDhcp4CallBack.h b/MdeModulePkg/Include/Protocol/PxeDhcp4CallBack.h index 7f39723310..c9c7db6f68 100644 --- a/MdeModulePkg/Include/Protocol/PxeDhcp4CallBack.h +++ b/MdeModulePkg/Include/Protocol/PxeDhcp4CallBack.h @@ -58,7 +58,7 @@ typedef enum { typedef EFI_PXE_DHCP4_CALLBACK_STATUS -(EFIAPI *EFI_PXE_DHCP4_CALLBACK) ( +(EFIAPI *EFI_PXE_DHCP4_CALLBACK)( IN EFI_PXE_DHCP4_PROTOCOL *This, IN EFI_PXE_DHCP4_FUNCTION Function, IN UINT32 PacketLen, diff --git a/MdeModulePkg/Include/Protocol/TcgPlatform.h b/MdeModulePkg/Include/Protocol/TcgPlatform.h index 4c87b58a5d..cf8c5626be 100644 --- a/MdeModulePkg/Include/Protocol/TcgPlatform.h +++ b/MdeModulePkg/Include/Protocol/TcgPlatform.h @@ -44,7 +44,7 @@ typedef struct tdEFI_TCG_PLATFORM_PROTOCOL EFI_TCG_PLATFORM_PROTOCOL; **/ typedef EFI_STATUS -(EFIAPI *EFI_TCG_MEASURE_PE_IMAGE) ( +(EFIAPI *EFI_TCG_MEASURE_PE_IMAGE)( IN BOOLEAN BootPolicy, IN EFI_PHYSICAL_ADDRESS ImageAddress, IN UINTN ImageSize, @@ -65,7 +65,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_TCG_MEASURE_ACTION) ( +(EFIAPI *EFI_TCG_MEASURE_ACTION)( IN CHAR8 *ActionString ); diff --git a/MdeModulePkg/Include/Protocol/Tcp.h b/MdeModulePkg/Include/Protocol/Tcp.h index ca6416e260..d59bc8eb74 100644 --- a/MdeModulePkg/Include/Protocol/Tcp.h +++ b/MdeModulePkg/Include/Protocol/Tcp.h @@ -43,7 +43,7 @@ typedef struct { typedef EFI_STATUS -(EFIAPI *EFI_TCP_WRITE) ( +(EFIAPI *EFI_TCP_WRITE)( IN EFI_PXE_BASE_CODE_PROTOCOL *This, IN UINT16 OpFlags, IN UINT16 *UrgentPointer, @@ -64,7 +64,7 @@ EFI_STATUS typedef EFI_STATUS -(EFIAPI *EFI_TCP_READ) ( +(EFIAPI *EFI_TCP_READ)( IN EFI_PXE_BASE_CODE_PROTOCOL *This, IN UINT16 OpFlags, IN OUT EFI_IP_ADDRESS *DestIp, OPTIONAL @@ -79,7 +79,7 @@ EFI_STATUS typedef EFI_STATUS -(EFIAPI *EFI_TCP_SET_PORT_FILTER) ( +(EFIAPI *EFI_TCP_SET_PORT_FILTER)( IN EFI_PXE_BASE_CODE_PROTOCOL *This, IN EFI_TCP_PORT_FILTER *NewFilter ); -- 2.39.2