From ed66e1bc0d2be0a185fc47adab4930c3b7e2767f Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 4 Sep 2008 09:37:28 +0000 Subject: clean up the un-suitable ';' location when declaring the functions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/BaseLib.h | 12 +-- MdePkg/Include/Library/DxePiLib.h | 9 +- MdePkg/Include/Library/HiiLib.h | 63 +++++--------- MdePkg/Include/Library/HobLib.h | 51 ++++-------- MdePkg/Include/Library/PciSegmentLib.h | 96 ++++++++-------------- MdePkg/Include/Library/PeCoffLib.h | 18 ++-- MdePkg/Include/Library/ResourcePublicationLib.h | 3 +- MdePkg/Include/Library/UefiLib.h | 6 +- MdePkg/Include/Pi/PiDxeCis.h | 51 ++++-------- MdePkg/Include/Protocol/Arp.h | 21 ++--- MdePkg/Include/Protocol/AuthenticationInfo.h | 6 +- MdePkg/Include/Protocol/BlockIo.h | 12 +-- MdePkg/Include/Protocol/DevicePathFromText.h | 6 +- MdePkg/Include/Protocol/DevicePathToText.h | 6 +- MdePkg/Include/Protocol/DevicePathUtilities.h | 24 ++---- MdePkg/Include/Protocol/Dhcp4.h | 27 ++---- MdePkg/Include/Protocol/DiskIo.h | 6 +- MdePkg/Include/Protocol/DriverBinding.h | 9 +- MdePkg/Include/Protocol/EdidOverride.h | 3 +- MdePkg/Include/Protocol/GraphicsOutput.h | 6 +- MdePkg/Include/Protocol/Hash.h | 6 +- MdePkg/Include/Protocol/HiiConfigRouting.h | 3 +- MdePkg/Include/Protocol/IScsiInitiatorName.h | 6 +- MdePkg/Include/Protocol/Ip4.h | 24 ++---- MdePkg/Include/Protocol/Ip4Config.h | 9 +- MdePkg/Include/Protocol/LoadFile.h | 3 +- MdePkg/Include/Protocol/ManagedNetwork.h | 24 ++---- MdePkg/Include/Protocol/Mtftp4.h | 33 +++----- MdePkg/Include/Protocol/ScsiIo.h | 15 ++-- MdePkg/Include/Protocol/ScsiPassThru.h | 18 ++-- MdePkg/Include/Protocol/ScsiPassThruExt.h | 21 ++--- MdePkg/Include/Protocol/Security.h | 3 +- MdePkg/Include/Protocol/SerialIo.h | 18 ++-- MdePkg/Include/Protocol/ServiceBinding.h | 6 +- MdePkg/Include/Protocol/SimpleFileSystem.h | 33 +++----- MdePkg/Include/Protocol/SimpleNetwork.h | 39 +++------ MdePkg/Include/Protocol/SimpleTextIn.h | 6 +- MdePkg/Include/Protocol/SimpleTextOut.h | 27 ++---- MdePkg/Include/Protocol/TapeIo.h | 18 ++-- MdePkg/Include/Protocol/Tcp4.h | 30 +++---- MdePkg/Include/Protocol/Udp4.h | 24 ++---- MdePkg/Include/Protocol/UgaDraw.h | 6 +- MdePkg/Include/Protocol/UnicodeCollation.h | 18 ++-- MdePkg/Include/Protocol/Usb2HostController.h | 39 +++------ MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h | 3 +- MdePkg/Library/HiiLib/InternalHiiLib.h | 6 +- .../UefiDevicePathLibInternal.h | 3 +- 47 files changed, 292 insertions(+), 584 deletions(-) (limited to 'MdePkg') diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h index 0c16c48130..b2db844fc9 100644 --- a/MdePkg/Include/Library/BaseLib.h +++ b/MdePkg/Include/Library/BaseLib.h @@ -622,8 +622,7 @@ CHAR16 EFIAPI NibbleToHexChar ( IN UINT8 Nibble - ) -; + ); /** Convert binary buffer to a Unicode String in a specified sequence. @@ -660,8 +659,7 @@ BufToHexString ( IN OUT UINTN *StringLen, IN CONST UINT8 *Buffer, IN UINTN BufferSizeInBytes - ) -; + ); /** @@ -705,8 +703,7 @@ HexStringToBuf ( IN OUT UINTN *BufferSizeInBytes, IN CONST CHAR16 *String, OUT UINTN *ConvertedStrLen OPTIONAL - ) -; + ); /** @@ -730,8 +727,7 @@ EFIAPI IsHexDigit ( OUT UINT8 *Digit, IN CHAR16 Char - ) -; + ); /** Convert one Null-terminated Unicode string to a Null-terminated diff --git a/MdePkg/Include/Library/DxePiLib.h b/MdePkg/Include/Library/DxePiLib.h index dd80da7a26..912134761f 100644 --- a/MdePkg/Include/Library/DxePiLib.h +++ b/MdePkg/Include/Library/DxePiLib.h @@ -70,8 +70,7 @@ PiLibGetSectionFromAnyFv ( IN UINTN SectionInstance, OUT VOID **Buffer, OUT UINTN *Size - ) -; + ); /** Locates a requested firmware section within a file and returns it to a buffer allocated by this function. @@ -123,8 +122,7 @@ PiLibGetSectionFromCurrentFv ( IN UINTN SectionInstance, OUT VOID **Buffer, OUT UINTN *Size - ) -; + ); /** @@ -170,8 +168,7 @@ PiLibGetSectionFromCurrentFfs ( IN UINTN SectionInstance, OUT VOID **Buffer, OUT UINTN *Size - ) -; + ); #endif diff --git a/MdePkg/Include/Library/HiiLib.h b/MdePkg/Include/Library/HiiLib.h index 9bad5b4776..e094fad28f 100644 --- a/MdePkg/Include/Library/HiiLib.h +++ b/MdePkg/Include/Library/HiiLib.h @@ -43,8 +43,7 @@ HiiLibPreparePackageList ( IN UINTN NumberOfPackages, IN CONST EFI_GUID *GuidId, ... - ) -; + ); /** This function allocates pool for an EFI_HII_PACKAGE_LIST structure @@ -78,8 +77,7 @@ HiiLibAddPackages ( IN EFI_HANDLE DriverHandle, OPTIONAL OUT EFI_HII_HANDLE *HiiHandle, ... - ) -; + ); /** Removes a package list from the default HII database. @@ -95,8 +93,7 @@ VOID EFIAPI HiiLibRemovePackages ( IN EFI_HII_HANDLE HiiHandle - ) -; + ); /** This function adds the string into String Package of each language @@ -122,8 +119,7 @@ HiiLibNewString ( IN EFI_HII_HANDLE PackageList, OUT EFI_STRING_ID *StringId, IN CONST EFI_STRING String - ) -; + ); /** This function update the specified string in String Package of each language @@ -148,8 +144,7 @@ HiiLibSetString ( IN EFI_HII_HANDLE PackageList, IN EFI_STRING_ID StringId, IN CONST EFI_STRING String - ) -; + ); /** This function try to retrieve string from String package of current language. @@ -182,8 +177,7 @@ HiiLibGetString ( IN EFI_STRING_ID StringId, OUT EFI_STRING String, IN OUT UINTN *StringSize - ) -; + ); /** Get string specified by StringId form the HiiHandle. The caller @@ -209,8 +203,7 @@ HiiLibGetStringFromHandle ( IN EFI_HII_HANDLE HiiHandle, IN EFI_STRING_ID StringId, OUT EFI_STRING *String - ) -; + ); /** Get the string given the StringId and String package Producer's Guid. The caller @@ -234,8 +227,7 @@ HiiLibGetStringFromToken ( IN EFI_GUID *ProducerGuid, IN EFI_STRING_ID StringId, OUT EFI_STRING *String - ) -; + ); /** Determines the handles that are currently active in the database. @@ -257,8 +249,7 @@ EFIAPI HiiLibGetHiiHandles ( IN OUT UINTN *HandleBufferLength, OUT EFI_HII_HANDLE **HiiHandleBuffer - ) -; + ); /** Extract Hii package list GUID for given HII handle. @@ -277,8 +268,7 @@ EFIAPI HiiLibExtractGuidFromHiiHandle ( IN EFI_HII_HANDLE Handle, OUT EFI_GUID *Guid - ) -; + ); /** Find HII Handle in the default HII database associated with given Device Path. @@ -297,8 +287,7 @@ EFI_HII_HANDLE EFIAPI HiiLibDevicePathToHiiHandle ( IN EFI_DEVICE_PATH_PROTOCOL *DevicePath - ) -; + ); /** @@ -320,8 +309,7 @@ EFI_STATUS EFIAPI HiiLibGetCurrentLanguage ( OUT CHAR8 *Lang - ) -; + ); /** Get next language from language code list (with separator ';'). @@ -340,8 +328,7 @@ EFIAPI HiiLibGetNextLanguage ( IN OUT CHAR8 **LangCode, OUT CHAR8 *Lang - ) -; + ); /** This function returns the list of supported languages, in the format specified @@ -359,8 +346,7 @@ CHAR8 * EFIAPI HiiLibGetSupportedLanguages ( IN EFI_HII_HANDLE HiiHandle - ) -; + ); /** This function returns the list of supported 2nd languages, in the format specified @@ -380,8 +366,7 @@ EFIAPI HiiLibGetSupportedSecondaryLanguages ( IN EFI_HII_HANDLE HiiHandle, IN CONST CHAR8 *FirstLanguage - ) -; + ); /** @@ -399,8 +384,7 @@ UINT16 EFIAPI HiiLibGetSupportedLanguageNumber ( IN EFI_HII_HANDLE HiiHandle - ) -; + ); /** Exports the contents of one or all package lists in the HII database into a buffer. @@ -426,8 +410,7 @@ HiiLibExportPackageLists ( IN EFI_HII_HANDLE Handle, OUT EFI_HII_PACKAGE_LIST_HEADER **PackageListHeader, OUT UINTN *PackageListSize - ) -; + ); EFI_STATUS EFIAPI @@ -436,8 +419,7 @@ HiiLibListPackageLists ( IN CONST EFI_GUID *PackageGuid, IN OUT UINTN *HandleBufferLength, OUT EFI_HII_HANDLE **Handle - ) -; + ); /** Convert language code from RFC3066 to ISO639-2. @@ -463,8 +445,7 @@ EFIAPI ConvertRfc3066LanguageToIso639Language ( IN CHAR8 *LanguageRfc3066, OUT CHAR8 *LanguageIso639 - ) -; + ); /** Convert language code from ISO639-2 to RFC3066. @@ -490,8 +471,7 @@ EFIAPI ConvertIso639LanguageToRfc3066Language ( IN CONST CHAR8 *LanguageIso639, OUT CHAR8 *LanguageRfc3066 - ) -; + ); /** Convert language code list from RFC3066 to ISO639-2, e.g. "en-US;fr-FR" will @@ -508,7 +488,6 @@ CHAR8 * EFIAPI Rfc3066ToIso639 ( CHAR8 *SupportedLanguages - ) -; + ); #endif diff --git a/MdePkg/Include/Library/HobLib.h b/MdePkg/Include/Library/HobLib.h index f2bc43300b..a02246f6b0 100644 --- a/MdePkg/Include/Library/HobLib.h +++ b/MdePkg/Include/Library/HobLib.h @@ -27,8 +27,7 @@ VOID * EFIAPI GetHobList ( VOID - ) -; + ); /** Returns the next instance of a HOB type from the starting HOB. @@ -51,8 +50,7 @@ EFIAPI GetNextHob ( IN UINT16 Type, IN CONST VOID *HobStart - ) -; + ); /** Returns the first instance of a HOB type among the whole HOB list. @@ -69,8 +67,7 @@ VOID * EFIAPI GetFirstHob ( IN UINT16 Type - ) -; + ); /** This function searches the first instance of a HOB from the starting HOB pointer. @@ -96,8 +93,7 @@ EFIAPI GetNextGuidHob ( IN CONST EFI_GUID *Guid, IN CONST VOID *HobStart - ) -; + ); /** This function searches the first instance of a HOB among the whole HOB list. @@ -117,8 +113,7 @@ VOID * EFIAPI GetFirstGuidHob ( IN CONST EFI_GUID *Guid - ) -; + ); /** Get the Boot Mode from the HOB list. @@ -135,8 +130,7 @@ EFI_BOOT_MODE EFIAPI GetBootModeHob ( VOID - ) -; + ); /** Builds a HOB for a loaded PE32 module. @@ -160,8 +154,7 @@ BuildModuleHob ( IN EFI_PHYSICAL_ADDRESS MemoryAllocationModule, IN UINT64 ModuleLength, IN EFI_PHYSICAL_ADDRESS EntryPoint - ) -; + ); /** Builds a HOB that describes a chunk of system memory. @@ -184,8 +177,7 @@ BuildResourceDescriptorHob ( IN EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute, IN EFI_PHYSICAL_ADDRESS PhysicalStart, IN UINT64 NumberOfBytes - ) -; + ); /** Builds a GUID HOB with a certain data length. @@ -210,8 +202,7 @@ EFIAPI BuildGuidHob ( IN CONST EFI_GUID *Guid, IN UINTN DataLength - ) -; + ); /** Copies a data buffer to a newly-built HOB. @@ -239,8 +230,7 @@ BuildGuidDataHob ( IN CONST EFI_GUID *Guid, IN VOID *Data, IN UINTN DataLength - ) -; + ); /** Builds a Firmware Volume HOB. @@ -259,8 +249,7 @@ EFIAPI BuildFvHob ( IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length - ) -; + ); /** Builds a EFI_HOB_TYPE_FV2 HOB. @@ -283,8 +272,7 @@ BuildFv2Hob ( IN UINT64 Length, IN CONST EFI_GUID *FvName, IN CONST EFI_GUID *FileName - ) -; + ); /** Builds a Capsule Volume HOB. @@ -303,8 +291,7 @@ EFIAPI BuildCvHob ( IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length - ) -; + ); /** Builds a HOB for the CPU. @@ -323,8 +310,7 @@ EFIAPI BuildCpuHob ( IN UINT8 SizeOfMemorySpace, IN UINT8 SizeOfIoSpace - ) -; + ); /** Builds a HOB for the Stack. @@ -343,8 +329,7 @@ EFIAPI BuildStackHob ( IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length - ) -; + ); /** Builds a HOB for the BSP store. @@ -365,8 +350,7 @@ BuildBspStoreHob ( IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN EFI_MEMORY_TYPE MemoryType - ) -; + ); /** Builds a HOB for the memory allocation. @@ -387,8 +371,7 @@ BuildMemoryAllocationHob ( IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN EFI_MEMORY_TYPE MemoryType - ) -; + ); #define GET_HOB_TYPE(Hob) ((Hob).Header->HobType) #define GET_HOB_LENGTH(Hob) ((Hob).Header->HobLength) diff --git a/MdePkg/Include/Library/PciSegmentLib.h b/MdePkg/Include/Library/PciSegmentLib.h index e0b16c20c0..d2034bae5b 100644 --- a/MdePkg/Include/Library/PciSegmentLib.h +++ b/MdePkg/Include/Library/PciSegmentLib.h @@ -57,8 +57,7 @@ UINT8 EFIAPI PciSegmentRead8 ( IN UINT64 Address - ) -; + ); /** Writes an 8-bit PCI configuration register. @@ -78,8 +77,7 @@ EFIAPI PciSegmentWrite8 ( IN UINT64 Address, IN UINT8 Value - ) -; + ); /** Performs a bitwise inclusive OR of an 8-bit PCI configuration register with an 8-bit value. @@ -102,8 +100,7 @@ EFIAPI PciSegmentOr8 ( IN UINT64 Address, IN UINT8 OrData - ) -; + ); /** Performs a bitwise AND of an 8-bit PCI configuration register with an 8-bit value. @@ -126,8 +123,7 @@ EFIAPI PciSegmentAnd8 ( IN UINT64 Address, IN UINT8 AndData - ) -; + ); /** Performs a bitwise AND of an 8-bit PCI configuration register with an 8-bit value, @@ -154,8 +150,7 @@ PciSegmentAndThenOr8 ( IN UINT64 Address, IN UINT8 AndData, IN UINT8 OrData - ) -; + ); /** Reads a bit field of a PCI configuration register. @@ -183,8 +178,7 @@ PciSegmentBitFieldRead8 ( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit - ) -; + ); /** Writes a bit field to a PCI configuration register. @@ -215,8 +209,7 @@ PciSegmentBitFieldWrite8 ( IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value - ) -; + ); /** Reads the 8-bit PCI configuration register specified by Address, @@ -240,8 +233,7 @@ PciSegmentBitFieldOr8 ( IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData - ) -; + ); /** Reads a bit field in an 8-bit PCI configuration, performs a bitwise OR, @@ -275,8 +267,7 @@ PciSegmentBitFieldAnd8 ( IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData - ) -; + ); /** Reads a bit field in an 8-bit PCI configuration register, performs a bitwise AND, @@ -312,8 +303,7 @@ PciSegmentBitFieldAndThenOr8 ( IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData - ) -; + ); /** Reads a 16-bit PCI configuration register. @@ -331,8 +321,7 @@ UINT16 EFIAPI PciSegmentRead16 ( IN UINT64 Address - ) -; + ); /** Writes a 16-bit PCI configuration register. @@ -352,8 +341,7 @@ EFIAPI PciSegmentWrite16 ( IN UINT64 Address, IN UINT16 Value - ) -; + ); /** Performs a bitwise inclusive OR of a 16-bit PCI configuration register with a 16-bit value. @@ -376,8 +364,7 @@ EFIAPI PciSegmentOr16 ( IN UINT64 Address, IN UINT16 OrData - ) -; + ); /** Performs a bitwise AND of a 16-bit PCI configuration register with a 16-bit value. @@ -400,8 +387,7 @@ EFIAPI PciSegmentAnd16 ( IN UINT64 Address, IN UINT16 AndData - ) -; + ); /** Performs a bitwise AND of a 16-bit PCI configuration register with a 16-bit value, @@ -428,8 +414,7 @@ PciSegmentAndThenOr16 ( IN UINT64 Address, IN UINT16 AndData, IN UINT16 OrData - ) -; + ); /** Reads a bit field of a PCI configuration register. @@ -457,8 +442,7 @@ PciSegmentBitFieldRead16 ( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit - ) -; + ); /** Writes a bit field to a PCI configuration register. @@ -489,8 +473,7 @@ PciSegmentBitFieldWrite16 ( IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value - ) -; + ); /** Reads the 16-bit PCI configuration register specified by Address, @@ -514,8 +497,7 @@ PciSegmentBitFieldOr16 ( IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData - ) -; + ); /** Reads a bit field in a 16-bit PCI configuration, performs a bitwise OR, @@ -549,8 +531,7 @@ PciSegmentBitFieldAnd16 ( IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData - ) -; + ); /** Reads a bit field in a 16-bit PCI configuration register, performs a bitwise AND, @@ -586,8 +567,7 @@ PciSegmentBitFieldAndThenOr16 ( IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData - ) -; + ); /** Reads a 32-bit PCI configuration register. @@ -605,8 +585,7 @@ UINT32 EFIAPI PciSegmentRead32 ( IN UINT64 Address - ) -; + ); /** Writes a 32-bit PCI configuration register. @@ -626,8 +605,7 @@ EFIAPI PciSegmentWrite32 ( IN UINT64 Address, IN UINT32 Value - ) -; + ); /** Performs a bitwise inclusive OR of a 32-bit PCI configuration register with a 32-bit value. @@ -650,8 +628,7 @@ EFIAPI PciSegmentOr32 ( IN UINT64 Address, IN UINT32 OrData - ) -; + ); /** Performs a bitwise AND of a 32-bit PCI configuration register with a 32-bit value. @@ -674,8 +651,7 @@ EFIAPI PciSegmentAnd32 ( IN UINT64 Address, IN UINT32 AndData - ) -; + ); /** Performs a bitwise AND of a 32-bit PCI configuration register with a 32-bit value, @@ -702,8 +678,7 @@ PciSegmentAndThenOr32 ( IN UINT64 Address, IN UINT32 AndData, IN UINT32 OrData - ) -; + ); /** Reads a bit field of a PCI configuration register. @@ -731,8 +706,7 @@ PciSegmentBitFieldRead32 ( IN UINT64 Address, IN UINTN StartBit, IN UINTN EndBit - ) -; + ); /** Writes a bit field to a PCI configuration register. @@ -763,8 +737,7 @@ PciSegmentBitFieldWrite32 ( IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value - ) -; + ); /** Reads the 32-bit PCI configuration register specified by Address, @@ -788,8 +761,7 @@ PciSegmentBitFieldOr32 ( IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData - ) -; + ); /** Reads a bit field in a 32-bit PCI configuration, performs a bitwise OR, @@ -823,8 +795,7 @@ PciSegmentBitFieldAnd32 ( IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData - ) -; + ); /** Reads a bit field in a 32-bit PCI configuration register, performs a bitwise AND, @@ -860,8 +831,7 @@ PciSegmentBitFieldAndThenOr32 ( IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData - ) -; + ); /** Reads a range of PCI configuration registers into a caller supplied buffer. @@ -888,8 +858,7 @@ PciSegmentReadBuffer ( IN UINT64 StartAddress, IN UINTN Size, OUT VOID *Buffer - ) -; + ); /** Copies the data in a caller supplied buffer to a specified range of PCI configuration space. @@ -916,7 +885,6 @@ PciSegmentWriteBuffer ( IN UINT64 StartAddress, IN UINTN Size, IN VOID *Buffer - ) -; + ); #endif diff --git a/MdePkg/Include/Library/PeCoffLib.h b/MdePkg/Include/Library/PeCoffLib.h index 2b0050474b..3f9fa6735f 100644 --- a/MdePkg/Include/Library/PeCoffLib.h +++ b/MdePkg/Include/Library/PeCoffLib.h @@ -94,8 +94,7 @@ RETURN_STATUS EFIAPI PeCoffLoaderGetImageInfo ( IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext - ) -; + ); /** Applies relocation fixups to a PE/COFF image that was loaded with PeCoffLoaderLoadImage(). @@ -121,8 +120,7 @@ RETURN_STATUS EFIAPI PeCoffLoaderRelocateImage ( IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext - ) -; + ); /** Loads a PE/COFF image into memory. @@ -151,8 +149,7 @@ RETURN_STATUS EFIAPI PeCoffLoaderLoadImage ( IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext - ) -; + ); /** @@ -174,8 +171,7 @@ PeCoffLoaderImageReadFromMemory ( IN UINTN FileOffset, IN OUT UINTN *ReadSize, OUT VOID *Buffer - ) -; + ); /** @@ -199,8 +195,7 @@ PeCoffLoaderRelocateImageForRuntime ( IN PHYSICAL_ADDRESS VirtImageBase, IN UINTN ImageSize, IN VOID *RelocationData - ) -; + ); /** Unloads a loaded PE/COFF image from memory and releases its taken resource. @@ -218,6 +213,5 @@ RETURN_STATUS EFIAPI PeCoffLoaderUnloadImage ( IN PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext - ) -; + ); #endif diff --git a/MdePkg/Include/Library/ResourcePublicationLib.h b/MdePkg/Include/Library/ResourcePublicationLib.h index 11468eeaa8..d063c696ff 100644 --- a/MdePkg/Include/Library/ResourcePublicationLib.h +++ b/MdePkg/Include/Library/ResourcePublicationLib.h @@ -36,7 +36,6 @@ EFIAPI PublishSystemMemory ( IN PHYSICAL_ADDRESS MemoryBegin, IN UINT64 MemoryLength - ) -; + ); #endif diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h index 45373e4fa1..13ab258ebe 100644 --- a/MdePkg/Include/Library/UefiLib.h +++ b/MdePkg/Include/Library/UefiLib.h @@ -417,8 +417,7 @@ LookupUnicodeString2 ( IN CONST EFI_UNICODE_STRING_TABLE *UnicodeStringTable, OUT CHAR16 **UnicodeString, IN BOOLEAN Iso639Language - ) -; + ); /** This function adds a Unicode string to UnicodeStringTable. @@ -529,8 +528,7 @@ AddUnicodeString2 ( IN EFI_UNICODE_STRING_TABLE **UnicodeStringTable, IN CONST CHAR16 *UnicodeString, IN BOOLEAN Iso639Language - ) -; + ); /** This function frees the table of Unicode strings in UnicodeStringTable. diff --git a/MdePkg/Include/Pi/PiDxeCis.h b/MdePkg/Include/Pi/PiDxeCis.h index 81c973917a..8a7954054e 100644 --- a/MdePkg/Include/Pi/PiDxeCis.h +++ b/MdePkg/Include/Pi/PiDxeCis.h @@ -183,8 +183,7 @@ EFI_STATUS IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Capabilities - ) -; + ); /** Allocates nonexistent memory, reserved memory, system memory, or memorymapped @@ -226,8 +225,7 @@ EFI_STATUS IN OUT EFI_PHYSICAL_ADDRESS *BaseAddress, IN EFI_HANDLE ImageHandle, IN EFI_HANDLE DeviceHandle OPTIONAL - ) -; + ); /** Frees nonexistent memory, reserved memory, system memory, or memory-mapped @@ -252,8 +250,7 @@ EFI_STATUS (EFIAPI *EFI_FREE_MEMORY_SPACE)( IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length - ) -; + ); /** Removes reserved memory, system memory, or memory-mapped I/O resources from @@ -281,8 +278,7 @@ EFI_STATUS (EFIAPI *EFI_REMOVE_MEMORY_SPACE)( IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length - ) -; + ); /** Retrieves the descriptor for a memory region containing a specified address. @@ -301,8 +297,7 @@ EFI_STATUS (EFIAPI *EFI_GET_MEMORY_SPACE_DESCRIPTOR)( IN EFI_PHYSICAL_ADDRESS BaseAddress, OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Descriptor - ) -; + ); /** Modifies the attributes for a memory region in the global coherency domain of the @@ -330,8 +325,7 @@ EFI_STATUS IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINT64 Attributes - ) -; + ); /** Returns a map of the memory resources in the global coherency domain of the @@ -353,8 +347,7 @@ EFI_STATUS (EFIAPI *EFI_GET_MEMORY_SPACE_MAP)( OUT UINTN *NumberOfDescriptors, OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR **MemorySpaceMap - ) -; + ); /** Adds reserved I/O or I/O resources to the global coherency domain of the processor. @@ -386,8 +379,7 @@ EFI_STATUS IN EFI_GCD_IO_TYPE GcdIoType, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length - ) -; + ); /** Allocates nonexistent I/O, reserved I/O, or I/O resources from the global coherency @@ -423,8 +415,7 @@ EFI_STATUS IN OUT EFI_PHYSICAL_ADDRESS *BaseAddress, IN EFI_HANDLE ImageHandle, IN EFI_HANDLE DeviceHandle OPTIONAL - ) -; + ); /** Frees nonexistent I/O, reserved I/O, or I/O resources from the global coherency @@ -449,8 +440,7 @@ EFI_STATUS (EFIAPI *EFI_FREE_IO_SPACE)( IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length - ) -; + ); /** Removes reserved I/O or I/O resources from the global coherency domain of the @@ -480,8 +470,7 @@ EFI_STATUS (EFIAPI *EFI_REMOVE_IO_SPACE)( IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length - ) -; + ); /** Retrieves the descriptor for an I/O region containing a specified address. @@ -500,8 +489,7 @@ EFI_STATUS (EFIAPI *EFI_GET_IO_SPACE_DESCRIPTOR)( IN EFI_PHYSICAL_ADDRESS BaseAddress, OUT EFI_GCD_IO_SPACE_DESCRIPTOR *Descriptor - ) -; + ); /** Returns a map of the I/O resources in the global coherency domain of the processor. @@ -523,8 +511,7 @@ EFI_STATUS (EFIAPI *EFI_GET_IO_SPACE_MAP)( OUT UINTN *NumberOfDescriptors, OUT EFI_GCD_IO_SPACE_DESCRIPTOR **IoSpaceMap - ) -; + ); @@ -548,8 +535,7 @@ typedef EFI_STATUS (EFIAPI *EFI_DISPATCH)( VOID - ) -; + ); /** Clears the Schedule on Request (SOR) flag for a component that is stored in a firmware volume. @@ -567,8 +553,7 @@ EFI_STATUS (EFIAPI *EFI_SCHEDULE)( IN EFI_HANDLE FirmwareVolumeHandle, IN CONST EFI_GUID *FileName - ) -; + ); /** Promotes a file stored in a firmware volume from the untrusted to the trusted state. @@ -586,8 +571,7 @@ EFI_STATUS (EFIAPI *EFI_TRUST)( IN EFI_HANDLE FirmwareVolumeHandle, IN CONST EFI_GUID *FileName - ) -; + ); /** Creates a firmware volume handle for a firmware volume that is present in system memory. @@ -613,8 +597,7 @@ EFI_STATUS IN CONST VOID *FirmwareVolumeHeader, IN UINTN Size, OUT EFI_HANDLE *FirmwareVolumeHandle - ) -; + ); // // DXE Services Table diff --git a/MdePkg/Include/Protocol/Arp.h b/MdePkg/Include/Protocol/Arp.h index 9527ad51af..21d8156689 100644 --- a/MdePkg/Include/Protocol/Arp.h +++ b/MdePkg/Include/Protocol/Arp.h @@ -75,8 +75,7 @@ EFI_STATUS (EFIAPI *EFI_ARP_CONFIGURE)( IN EFI_ARP_PROTOCOL *This, IN EFI_ARP_CONFIG_DATA *ConfigData OPTIONAL - ) -; + ); /** Inserts an entry to the ARP cache. @@ -115,8 +114,7 @@ EFI_STATUS IN VOID *TargetHwAddress OPTIONAL, IN UINT32 TimeoutValue, IN BOOLEAN Overwrite - ) -; + ); /** Locates one or more entries in the ARP cache. @@ -152,8 +150,7 @@ EFI_STATUS OUT UINT32 *EntryCount OPTIONAL, OUT EFI_ARP_FIND_DATA **Entries OPTIONAL, IN BOOLEAN Refresh - ) -; + ); /** @@ -177,8 +174,7 @@ EFI_STATUS IN EFI_ARP_PROTOCOL *This, IN BOOLEAN BySwAddress, IN VOID *AddressBuffer OPTIONAL - ) -; + ); /** Removes all dynamic ARP cache entries that were added by this interface. @@ -195,8 +191,7 @@ typedef EFI_STATUS (EFIAPI *EFI_ARP_FLUSH)( IN EFI_ARP_PROTOCOL *This - ) -; + ); /** Starts an ARP request session. @@ -229,8 +224,7 @@ EFI_STATUS IN VOID *TargetSwAddress OPTIONAL, IN EFI_EVENT ResolvedEvent OPTIONAL, OUT VOID *TargetHwAddress - ) -; + ); /** Cancels an ARP request session. @@ -254,8 +248,7 @@ EFI_STATUS IN EFI_ARP_PROTOCOL *This, IN VOID *TargetSwAddress OPTIONAL, IN EFI_EVENT ResolvedEvent OPTIONAL - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/AuthenticationInfo.h b/MdePkg/Include/Protocol/AuthenticationInfo.h index df2a219516..592561394a 100644 --- a/MdePkg/Include/Protocol/AuthenticationInfo.h +++ b/MdePkg/Include/Protocol/AuthenticationInfo.h @@ -84,8 +84,7 @@ EFI_STATUS IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE *ControllerHandle, OUT VOID *Buffer - ) -; + ); /** Set the Authentication information for a given controller handle. @@ -108,8 +107,7 @@ EFI_STATUS IN EFI_AUTHENTICATION_INFO_PROTOCOL *This, IN EFI_HANDLE *ControllerHandle, IN VOID *Buffer - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/BlockIo.h b/MdePkg/Include/Protocol/BlockIo.h index 32fe4ef41f..8584610a2c 100644 --- a/MdePkg/Include/Protocol/BlockIo.h +++ b/MdePkg/Include/Protocol/BlockIo.h @@ -51,8 +51,7 @@ EFI_STATUS (EFIAPI *EFI_BLOCK_RESET)( IN EFI_BLOCK_IO_PROTOCOL *This, IN BOOLEAN ExtendedVerification - ) -; + ); /** Read BufferSize bytes from Lba into Buffer. @@ -80,8 +79,7 @@ EFI_STATUS IN EFI_LBA Lba, IN UINTN BufferSize, OUT VOID *Buffer - ) -; + ); /** Write BufferSize bytes from Lba into Buffer. @@ -110,8 +108,7 @@ EFI_STATUS IN EFI_LBA Lba, IN UINTN BufferSize, IN VOID *Buffer - ) -; + ); /** Flush the Block Device. @@ -127,8 +124,7 @@ typedef EFI_STATUS (EFIAPI *EFI_BLOCK_FLUSH)( IN EFI_BLOCK_IO_PROTOCOL *This - ) -; + ); /** Block IO read only mode data and updated only via members of BlockIO diff --git a/MdePkg/Include/Protocol/DevicePathFromText.h b/MdePkg/Include/Protocol/DevicePathFromText.h index d00614b21d..7c4a161483 100644 --- a/MdePkg/Include/Protocol/DevicePathFromText.h +++ b/MdePkg/Include/Protocol/DevicePathFromText.h @@ -41,8 +41,7 @@ typedef EFI_DEVICE_PATH_PROTOCOL* (EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_NODE)( IN CONST CHAR16 *TextDeviceNode - ) -; + ); /** @@ -60,8 +59,7 @@ typedef EFI_DEVICE_PATH_PROTOCOL* (EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_PATH)( IN CONST CHAR16 *TextDevicePath - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/DevicePathToText.h b/MdePkg/Include/Protocol/DevicePathToText.h index 8e03c7f2fb..4a8353181f 100644 --- a/MdePkg/Include/Protocol/DevicePathToText.h +++ b/MdePkg/Include/Protocol/DevicePathToText.h @@ -47,8 +47,7 @@ CHAR16* IN CONST EFI_DEVICE_PATH_PROTOCOL *DeviceNode, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts - ) -; + ); /** Convert a device path to its text representation. @@ -71,8 +70,7 @@ CHAR16* IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/DevicePathUtilities.h b/MdePkg/Include/Protocol/DevicePathUtilities.h index 830f52e5c5..44e88ee315 100644 --- a/MdePkg/Include/Protocol/DevicePathUtilities.h +++ b/MdePkg/Include/Protocol/DevicePathUtilities.h @@ -39,8 +39,7 @@ typedef UINTN (EFIAPI *EFI_DEVICE_PATH_UTILS_GET_DEVICE_PATH_SIZE)( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath - ) -; + ); /** @@ -56,8 +55,7 @@ typedef EFI_DEVICE_PATH_PROTOCOL* (EFIAPI *EFI_DEVICE_PATH_UTILS_DUP_DEVICE_PATH)( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath - ) -; + ); /** Create a new path by appending the second device path to the first. @@ -75,8 +73,7 @@ EFI_DEVICE_PATH_PROTOCOL* (EFIAPI *EFI_DEVICE_PATH_UTILS_APPEND_PATH)( IN CONST EFI_DEVICE_PATH_PROTOCOL *Src1, IN CONST EFI_DEVICE_PATH_PROTOCOL *Src2 - ) -; + ); /** Creates a new path by appending the device node to the device path. @@ -94,8 +91,7 @@ EFI_DEVICE_PATH_PROTOCOL* (EFIAPI *EFI_DEVICE_PATH_UTILS_APPEND_NODE)( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN CONST EFI_DEVICE_PATH_PROTOCOL *DeviceNode - ) -; + ); /** Creates a new path by appending the specified device path instance to the specified device path. @@ -112,8 +108,7 @@ EFI_DEVICE_PATH_PROTOCOL* (EFIAPI *EFI_DEVICE_PATH_UTILS_APPEND_INSTANCE)( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance - ) -; + ); /** Creates a copy of the current device path instance and returns a pointer to the next device path @@ -135,8 +130,7 @@ EFI_DEVICE_PATH_PROTOCOL* (EFIAPI *EFI_DEVICE_PATH_UTILS_GET_NEXT_INSTANCE)( IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePathInstance, OUT UINTN *DevicePathInstanceSize - ) -; + ); /** Creates a device node @@ -159,8 +153,7 @@ EFI_DEVICE_PATH_PROTOCOL* IN UINT8 NodeType, IN UINT8 NodeSubType, IN UINT16 NodeLength -) -; +); /** Returns whether a device path is multi-instance. @@ -175,8 +168,7 @@ typedef BOOLEAN (EFIAPI *EFI_DEVICE_PATH_UTILS_IS_MULTI_INSTANCE)( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/Dhcp4.h b/MdePkg/Include/Protocol/Dhcp4.h index 95c7701ed0..e7fc60ecde 100644 --- a/MdePkg/Include/Protocol/Dhcp4.h +++ b/MdePkg/Include/Protocol/Dhcp4.h @@ -199,8 +199,7 @@ EFI_STATUS (EFIAPI *EFI_DHCP4_GET_MODE_DATA)( IN EFI_DHCP4_PROTOCOL *This, OUT EFI_DHCP4_MODE_DATA *Dhcp4ModeData - ) -; + ); /** Initializes, changes, or resets the operational settings for the EFI DHCPv4 Protocol driver. @@ -226,8 +225,7 @@ EFI_STATUS (EFIAPI *EFI_DHCP4_CONFIGURE)( IN EFI_DHCP4_PROTOCOL *This, IN EFI_DHCP4_CONFIG_DATA *Dhcp4CfgData OPTIONAL - ) -; + ); /** @@ -261,8 +259,7 @@ EFI_STATUS (EFIAPI *EFI_DHCP4_START)( IN EFI_DHCP4_PROTOCOL *This, IN EFI_EVENT CompletionEvent OPTIONAL - ) -; + ); /** Extends the lease time by sending a request packet. @@ -296,8 +293,7 @@ EFI_STATUS IN EFI_DHCP4_PROTOCOL *This, IN BOOLEAN RebindRequest, IN EFI_EVENT CompletionEvent OPTIONAL - ) -; + ); /** Releases the current address configuration. @@ -314,8 +310,7 @@ typedef EFI_STATUS (EFIAPI *EFI_DHCP4_RELEASE)( IN EFI_DHCP4_PROTOCOL *This - ) -; + ); /** Stops the current address configuration. @@ -330,8 +325,7 @@ typedef EFI_STATUS (EFIAPI *EFI_DHCP4_STOP)( IN EFI_DHCP4_PROTOCOL *This - ) -; + ); /** Builds a DHCP packet, given the options to be appended or deleted or replaced. @@ -365,8 +359,7 @@ EFI_STATUS IN UINT32 AppendCount, IN EFI_DHCP4_PACKET_OPTION *AppendList[] OPTIONAL, OUT EFI_DHCP4_PACKET **NewPacket - ) -; + ); /** Transmits a DHCP formatted packet and optionally waits for responses. @@ -387,8 +380,7 @@ EFI_STATUS (EFIAPI *EFI_DHCP4_TRANSMIT_RECEIVE)( IN EFI_DHCP4_PROTOCOL *This, IN EFI_DHCP4_TRANSMIT_RECEIVE_TOKEN *Token - ) -; + ); /** @@ -417,8 +409,7 @@ EFI_STATUS IN EFI_DHCP4_PACKET *Packet, IN OUT UINT32 *OptionCount, OUT EFI_DHCP4_PACKET_OPTION *PacketOptionList[] OPTIONAL - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/DiskIo.h b/MdePkg/Include/Protocol/DiskIo.h index a9f1b96032..fbf4384874 100644 --- a/MdePkg/Include/Protocol/DiskIo.h +++ b/MdePkg/Include/Protocol/DiskIo.h @@ -61,8 +61,7 @@ EFI_STATUS IN UINT64 Offset, IN UINTN BufferSize, OUT VOID *Buffer - ) -; + ); /** Read BufferSize bytes from Offset into Buffer. @@ -90,8 +89,7 @@ EFI_STATUS IN UINT64 Offset, IN UINTN BufferSize, IN VOID *Buffer - ) -; + ); #define EFI_DISK_IO_PROTOCOL_REVISION 0x00010000 diff --git a/MdePkg/Include/Protocol/DriverBinding.h b/MdePkg/Include/Protocol/DriverBinding.h index 7e0cbbda58..46e85c89d2 100644 --- a/MdePkg/Include/Protocol/DriverBinding.h +++ b/MdePkg/Include/Protocol/DriverBinding.h @@ -49,8 +49,7 @@ EFI_STATUS IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL - ) -; + ); /** Start this driver on ControllerHandle. @@ -71,8 +70,7 @@ EFI_STATUS IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL - ) -; + ); /** Stop this driver on ControllerHandle. @@ -94,8 +92,7 @@ EFI_STATUS IN EFI_HANDLE ControllerHandle, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer OPTIONAL - ) -; + ); // // Interface structure for the ControllerHandle Driver Protocol diff --git a/MdePkg/Include/Protocol/EdidOverride.h b/MdePkg/Include/Protocol/EdidOverride.h index 7ed938afa8..8a14e97666 100644 --- a/MdePkg/Include/Protocol/EdidOverride.h +++ b/MdePkg/Include/Protocol/EdidOverride.h @@ -54,8 +54,7 @@ EFI_STATUS OUT UINT32 *Attributes, IN OUT UINTN *EdidSize, IN OUT UINT8 **Edid - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/GraphicsOutput.h b/MdePkg/Include/Protocol/GraphicsOutput.h index 110691328e..c1340301b5 100644 --- a/MdePkg/Include/Protocol/GraphicsOutput.h +++ b/MdePkg/Include/Protocol/GraphicsOutput.h @@ -72,8 +72,7 @@ EFI_STATUS IN UINT32 ModeNumber, OUT UINTN *SizeOfInfo, OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION **Info - ) -; + ); /** Return the current video mode information. @@ -91,8 +90,7 @@ EFI_STATUS (EFIAPI *EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE)( IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber - ) -; + ); typedef struct { UINT8 Blue; diff --git a/MdePkg/Include/Protocol/Hash.h b/MdePkg/Include/Protocol/Hash.h index 3a30c62afd..bb4d651581 100644 --- a/MdePkg/Include/Protocol/Hash.h +++ b/MdePkg/Include/Protocol/Hash.h @@ -97,8 +97,7 @@ EFI_STATUS IN CONST EFI_HASH_PROTOCOL *This, IN CONST EFI_GUID *HashAlgorithm, OUT UINTN *HashSize - ) -; + ); /** Returns the size of the hash which results from a specific algorithm. @@ -127,8 +126,7 @@ EFI_STATUS IN CONST UINT8 *Message, IN UINT64 MessageSize, IN OUT EFI_HASH_OUTPUT *Hash - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/HiiConfigRouting.h b/MdePkg/Include/Protocol/HiiConfigRouting.h index 535723936c..176e09604f 100644 --- a/MdePkg/Include/Protocol/HiiConfigRouting.h +++ b/MdePkg/Include/Protocol/HiiConfigRouting.h @@ -389,8 +389,7 @@ EFI_STATUS IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN CONST UINT16 *AltCfgId, OUT EFI_STRING *AltCfgResp - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/IScsiInitiatorName.h b/MdePkg/Include/Protocol/IScsiInitiatorName.h index 009610c70a..e760bff416 100644 --- a/MdePkg/Include/Protocol/IScsiInitiatorName.h +++ b/MdePkg/Include/Protocol/IScsiInitiatorName.h @@ -44,8 +44,7 @@ EFI_STATUS IN EFI_ISCSI_INITIATOR_NAME_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer - ) -; + ); @@ -70,8 +69,7 @@ typedef EFI_STATUS IN EFI_ISCSI_INITIATOR_NAME_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/Ip4.h b/MdePkg/Include/Protocol/Ip4.h index d3576acc7d..215a3ceef1 100644 --- a/MdePkg/Include/Protocol/Ip4.h +++ b/MdePkg/Include/Protocol/Ip4.h @@ -177,8 +177,7 @@ EFI_STATUS OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL, OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL, OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL - ) -; + ); /** Assigns an IPv4 address and subnet mask to this EFI IPv4 Protocol driver instance. @@ -208,8 +207,7 @@ EFI_STATUS (EFIAPI *EFI_IP4_CONFIGURE)( IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_CONFIG_DATA *IpConfigData OPTIONAL - ) -; + ); /** Joins and leaves multicast groups. @@ -241,8 +239,7 @@ EFI_STATUS IN EFI_IP4_PROTOCOL *This, IN BOOLEAN JoinFlag, IN EFI_IPv4_ADDRESS *GroupAddress OPTIONAL - ) -; + ); /** Adds and deletes routing table entries. @@ -281,8 +278,7 @@ EFI_STATUS IN EFI_IPv4_ADDRESS *SubnetAddress, IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *GatewayAddress - ) -; + ); /** Places outgoing data packets into the transmit queue. @@ -314,8 +310,7 @@ EFI_STATUS (EFIAPI *EFI_IP4_TRANSMIT)( IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_COMPLETION_TOKEN *Token - ) -; + ); /** Places a receiving request into the receiving queue. @@ -346,8 +341,7 @@ EFI_STATUS (EFIAPI *EFI_IP4_RECEIVE)( IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_COMPLETION_TOKEN *Token - ) -; + ); /** Abort an asynchronous transmit or receive request. @@ -376,8 +370,7 @@ EFI_STATUS (EFIAPI *EFI_IP4_CANCEL)( IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_COMPLETION_TOKEN *Token OPTIONAL - ) -; + ); /** Polls for incoming data packets and processes outgoing data packets. @@ -399,8 +392,7 @@ typedef EFI_STATUS (EFIAPI *EFI_IP4_POLL)( IN EFI_IP4_PROTOCOL *This - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/Ip4Config.h b/MdePkg/Include/Protocol/Ip4Config.h index 6dc9e615bc..444be530ce 100644 --- a/MdePkg/Include/Protocol/Ip4Config.h +++ b/MdePkg/Include/Protocol/Ip4Config.h @@ -65,8 +65,7 @@ EFI_STATUS IN EFI_IP4_CONFIG_PROTOCOL *This, IN EFI_EVENT DoneEvent, IN EFI_EVENT ReconfigEvent - ) -; + ); /** Stops running the configuration policy for the EFI IPv4 Protocol driver. @@ -82,8 +81,7 @@ typedef EFI_STATUS (EFIAPI *EFI_IP4_CONFIG_STOP)( IN EFI_IP4_CONFIG_PROTOCOL *This - ) -; + ); /** Returns the default configuration data (if any) for the EFI IPv4 Protocol driver. @@ -110,8 +108,7 @@ EFI_STATUS IN EFI_IP4_CONFIG_PROTOCOL *This, IN OUT UINTN *IpConfigDataSize, OUT EFI_IP4_IPCONFIG_DATA *IpConfigData OPTIONAL - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/LoadFile.h b/MdePkg/Include/Protocol/LoadFile.h index 8ee5128277..6e5e65ae0c 100644 --- a/MdePkg/Include/Protocol/LoadFile.h +++ b/MdePkg/Include/Protocol/LoadFile.h @@ -74,8 +74,7 @@ EFI_STATUS IN BOOLEAN BootPolicy, IN OUT UINTN *BufferSize, IN VOID *Buffer OPTIONAL - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/ManagedNetwork.h b/MdePkg/Include/Protocol/ManagedNetwork.h index c04e6ce89a..f397b6b627 100644 --- a/MdePkg/Include/Protocol/ManagedNetwork.h +++ b/MdePkg/Include/Protocol/ManagedNetwork.h @@ -106,8 +106,7 @@ EFI_STATUS IN EFI_MANAGED_NETWORK_PROTOCOL *This, OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL, OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL - ) -; + ); /** Sets or clears the operational parameters for the MNP child driver. @@ -133,8 +132,7 @@ EFI_STATUS (EFIAPI *EFI_MANAGED_NETWORK_CONFIGURE)( IN EFI_MANAGED_NETWORK_PROTOCOL *This, IN EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL - ) -; + ); /** Translates an IP multicast address to a hardware (MAC) multicast address. @@ -164,8 +162,7 @@ EFI_STATUS IN BOOLEAN Ipv6Flag, IN EFI_IP_ADDRESS *IpAddress, OUT EFI_MAC_ADDRESS *MacAddress - ) -; + ); /** Enables and disables receive filters for multicast address. @@ -194,8 +191,7 @@ EFI_STATUS IN EFI_MANAGED_NETWORK_PROTOCOL *This, IN BOOLEAN JoinFlag, IN EFI_MAC_ADDRESS *MacAddress OPTIONAL - ) -; + ); /** Places asynchronous outgoing data packets into the transmit queue. @@ -218,8 +214,7 @@ EFI_STATUS (EFIAPI *EFI_MANAGED_NETWORK_TRANSMIT)( IN EFI_MANAGED_NETWORK_PROTOCOL *This, IN EFI_MANAGED_NETWORK_COMPLETION_TOKEN *Token - ) -; + ); /** Places an asynchronous receiving request into the receiving queue. @@ -245,8 +240,7 @@ EFI_STATUS (EFIAPI *EFI_MANAGED_NETWORK_RECEIVE)( IN EFI_MANAGED_NETWORK_PROTOCOL *This, IN EFI_MANAGED_NETWORK_COMPLETION_TOKEN *Token - ) -; + ); /** @@ -273,8 +267,7 @@ EFI_STATUS (EFIAPI *EFI_MANAGED_NETWORK_CANCEL)( IN EFI_MANAGED_NETWORK_PROTOCOL *This, IN EFI_MANAGED_NETWORK_COMPLETION_TOKEN *Token OPTIONAL - ) -; + ); /** Polls for incoming data packets and processes outgoing data packets. @@ -294,8 +287,7 @@ typedef EFI_STATUS (EFIAPI *EFI_MANAGED_NETWORK_POLL)( IN EFI_MANAGED_NETWORK_PROTOCOL *This - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/Mtftp4.h b/MdePkg/Include/Protocol/Mtftp4.h index 99ca29a148..c69e56eafb 100644 --- a/MdePkg/Include/Protocol/Mtftp4.h +++ b/MdePkg/Include/Protocol/Mtftp4.h @@ -179,8 +179,7 @@ EFI_STATUS IN EFI_MTFTP4_TOKEN *Token, IN UINT16 PacketLen, IN EFI_MTFTP4_PACKET *Paket - ) -; + ); /** Timeout callback funtion. @@ -201,8 +200,7 @@ EFI_STATUS (EFIAPI *EFI_MTFTP4_TIMEOUT_CALLBACK)( IN EFI_MTFTP4_PROTOCOL *This, IN EFI_MTFTP4_TOKEN *Token - ) -; + ); /** a callback function that the caller provides to feed data to the @@ -226,8 +224,7 @@ EFI_STATUS IN EFI_MTFTP4_TOKEN *Token, IN OUT UINT16 *Length, OUT VOID **Buffer - ) -; + ); /** @@ -246,8 +243,7 @@ EFI_STATUS (EFIAPI *EFI_MTFTP4_GET_MODE_DATA)( IN EFI_MTFTP4_PROTOCOL *This, OUT EFI_MTFTP4_MODE_DATA *ModeData - ) -; + ); /** @@ -277,8 +273,7 @@ EFI_STATUS (EFIAPI *EFI_MTFTP4_CONFIGURE)( IN EFI_MTFTP4_PROTOCOL *This, IN EFI_MTFTP4_CONFIG_DATA *MtftpConfigData OPTIONAL - ) -; + ); /** @@ -324,8 +319,7 @@ EFI_STATUS IN EFI_MTFTP4_OPTION *OptionList, OUT UINT32 *PacketLength, OUT EFI_MTFTP4_PACKET **Packet OPTIONAL - ) -; + ); /** Parses the options in an MTFTPv4 OACK packet. @@ -357,8 +351,7 @@ EFI_STATUS IN EFI_MTFTP4_PACKET *Packet, OUT UINT32 *OptionCount, OUT EFI_MTFTP4_OPTION **OptionList OPTIONAL - ) -; + ); /** @@ -384,8 +377,7 @@ EFI_STATUS (EFIAPI *EFI_MTFTP4_READ_FILE)( IN EFI_MTFTP4_PROTOCOL *This, IN EFI_MTFTP4_TOKEN *Token - ) -; + ); @@ -415,8 +407,7 @@ EFI_STATUS (EFIAPI *EFI_MTFTP4_WRITE_FILE)( IN EFI_MTFTP4_PROTOCOL *This, IN EFI_MTFTP4_TOKEN *Token - ) -; + ); /** @@ -446,8 +437,7 @@ EFI_STATUS (EFIAPI *EFI_MTFTP4_READ_DIRECTORY)( IN EFI_MTFTP4_PROTOCOL *This, IN EFI_MTFTP4_TOKEN *Token - ) -; + ); /** Polls for incoming data packets and processes outgoing data packets. @@ -468,8 +458,7 @@ typedef EFI_STATUS (EFIAPI *EFI_MTFTP4_POLL)( IN EFI_MTFTP4_PROTOCOL *This - ) -; + ); /** The EFI MTFTPv4 Protocol provides basic services for client-side unicast diff --git a/MdePkg/Include/Protocol/ScsiIo.h b/MdePkg/Include/Protocol/ScsiIo.h index 6437efb55e..93bbea6ba8 100644 --- a/MdePkg/Include/Protocol/ScsiIo.h +++ b/MdePkg/Include/Protocol/ScsiIo.h @@ -96,8 +96,7 @@ EFI_STATUS (EFIAPI *EFI_SCSI_IO_PROTOCOL_GET_DEVICE_TYPE)( IN EFI_SCSI_IO_PROTOCOL *This, OUT UINT8 *DeviceType - ) -; + ); /** Retrieves the device location in the SCSI channel. @@ -118,8 +117,7 @@ EFI_STATUS IN EFI_SCSI_IO_PROTOCOL *This, IN OUT UINT8 **Target, OUT UINT64 *Lun - ) -; + ); /** Resets the SCSI Bus that the SCSI Controller is attached to. @@ -138,8 +136,7 @@ typedef EFI_STATUS (EFIAPI *EFI_SCSI_IO_PROTOCOL_RESET_BUS)( IN EFI_SCSI_IO_PROTOCOL *This - ) -; + ); /** Resets the SCSI Controller that the device handle specifies. @@ -159,8 +156,7 @@ typedef EFI_STATUS (EFIAPI *EFI_SCSI_IO_PROTOCOL_RESET_DEVICE)( IN EFI_SCSI_IO_PROTOCOL *This - ) -; + ); /** @@ -217,8 +213,7 @@ EFI_STATUS IN EFI_SCSI_IO_PROTOCOL *This, IN OUT EFI_SCSI_IO_SCSI_REQUEST_PACKET *Packet, IN EFI_EVENT Event OPTIONAL - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/ScsiPassThru.h b/MdePkg/Include/Protocol/ScsiPassThru.h index f406193118..9ccf5321f6 100644 --- a/MdePkg/Include/Protocol/ScsiPassThru.h +++ b/MdePkg/Include/Protocol/ScsiPassThru.h @@ -146,8 +146,7 @@ EFI_STATUS IN UINT64 Lun, IN OUT EFI_SCSI_PASS_THRU_SCSI_REQUEST_PACKET *Packet, IN EFI_EVENT Event OPTIONAL - ) -; + ); /** Used to retrieve the list of legal Target IDs for SCSI devices @@ -179,8 +178,7 @@ EFI_STATUS IN EFI_SCSI_PASS_THRU_PROTOCOL *This, IN OUT UINT32 *Target, IN OUT UINT64 *Lun - ) -; + ); /** Used to allocate and build a device path node for a SCSI device @@ -216,8 +214,7 @@ EFI_STATUS IN UINT32 Target, IN UINT64 Lun, IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath - ) -; + ); /** Used to translate a device path node to a Target ID and LUN. @@ -249,8 +246,7 @@ EFI_STATUS IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT UINT32 *Target, OUT UINT64 *Lun - ) -; + ); /** Resets a SCSI channel.This operation resets all the @@ -271,8 +267,7 @@ typedef EFI_STATUS (EFIAPI *EFI_SCSI_PASS_THRU_RESET_CHANNEL)( IN EFI_SCSI_PASS_THRU_PROTOCOL *This - ) -; + ); /** Resets a SCSI device that is connected to a SCSI channel. @@ -299,8 +294,7 @@ EFI_STATUS IN EFI_SCSI_PASS_THRU_PROTOCOL *This, IN UINT32 Target, IN UINT64 Lun - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/ScsiPassThruExt.h b/MdePkg/Include/Protocol/ScsiPassThruExt.h index 7635818ff8..eae16ad3f1 100644 --- a/MdePkg/Include/Protocol/ScsiPassThruExt.h +++ b/MdePkg/Include/Protocol/ScsiPassThruExt.h @@ -135,8 +135,7 @@ EFI_STATUS IN UINT64 Lun, IN OUT EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET *Packet, IN EFI_EVENT Event OPTIONAL - ) -; + ); /** Used to retrieve the list of legal Target IDs and LUNs for SCSI devices on a SCSI channel. These @@ -170,8 +169,7 @@ EFI_STATUS IN EFI_EXT_SCSI_PASS_THRU_PROTOCOL *This, IN OUT UINT8 **Target, IN OUT UINT64 *Lun - ) -; + ); /** Used to allocate and build a device path node for a SCSI device on a SCSI channel. @@ -207,8 +205,7 @@ EFI_STATUS IN UINT8 *Target, IN UINT64 Lun, IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath - ) -; + ); /** Used to translate a device path node to a Target ID and LUN. @@ -236,8 +233,7 @@ EFI_STATUS IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT UINT8 **Target, OUT UINT64 *Lun - ) -; + ); /** Resets a SCSI channel. This operation resets all the SCSI devices connected to the SCSI channel. @@ -254,8 +250,7 @@ typedef EFI_STATUS (EFIAPI *EFI_EXT_SCSI_PASS_THRU_RESET_CHANNEL)( IN EFI_EXT_SCSI_PASS_THRU_PROTOCOL *This - ) -; + ); /** Resets a SCSI logical unit that is connected to a SCSI channel. @@ -282,8 +277,7 @@ EFI_STATUS IN EFI_EXT_SCSI_PASS_THRU_PROTOCOL *This, IN UINT8 *Target, IN UINT64 Lun - ) -; + ); /** Used to retrieve the list of legal Target IDs for SCSI devices on a SCSI channel. These can either @@ -312,8 +306,7 @@ EFI_STATUS (EFIAPI *EFI_EXT_SCSI_PASS_THRU_GET_NEXT_TARGET)( IN EFI_EXT_SCSI_PASS_THRU_PROTOCOL *This, IN OUT UINT8 **Target - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/Security.h b/MdePkg/Include/Protocol/Security.h index c79c3dc52c..9028fb3511 100644 --- a/MdePkg/Include/Protocol/Security.h +++ b/MdePkg/Include/Protocol/Security.h @@ -89,8 +89,7 @@ EFI_STATUS IN EFI_SECURITY_ARCH_PROTOCOL *This, IN UINT32 AuthenticationStatus, IN EFI_DEVICE_PATH_PROTOCOL *File - ) -; + ); // // Interface stucture for the Timer Architectural Protocol diff --git a/MdePkg/Include/Protocol/SerialIo.h b/MdePkg/Include/Protocol/SerialIo.h index cf73f87708..5c69f8996e 100644 --- a/MdePkg/Include/Protocol/SerialIo.h +++ b/MdePkg/Include/Protocol/SerialIo.h @@ -97,8 +97,7 @@ typedef EFI_STATUS (EFIAPI *EFI_SERIAL_RESET)( IN EFI_SERIAL_IO_PROTOCOL *This - ) -; + ); /** Sets the baud rate, receive FIFO depth, transmit/receice time out, parity, @@ -136,8 +135,7 @@ EFI_STATUS IN EFI_PARITY_TYPE Parity, IN UINT8 DataBits, IN EFI_STOP_BITS_TYPE StopBits - ) -; + ); /** Set the control bits on a serial device @@ -155,8 +153,7 @@ EFI_STATUS (EFIAPI *EFI_SERIAL_SET_CONTROL_BITS)( IN EFI_SERIAL_IO_PROTOCOL *This, IN UINT32 Control - ) -; + ); /** Retrieves the status of thecontrol bits on a serial device @@ -173,8 +170,7 @@ EFI_STATUS (EFIAPI *EFI_SERIAL_GET_CONTROL_BITS)( IN EFI_SERIAL_IO_PROTOCOL *This, OUT UINT32 *Control - ) -; + ); /** Writes data to a serial device. @@ -195,8 +191,7 @@ EFI_STATUS IN EFI_SERIAL_IO_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer - ) -; + ); /** Writes data to a serial device. @@ -217,8 +212,7 @@ EFI_STATUS IN EFI_SERIAL_IO_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer - ) -; + ); /** @par Data Structure Description: diff --git a/MdePkg/Include/Protocol/ServiceBinding.h b/MdePkg/Include/Protocol/ServiceBinding.h index 5f37727d6e..510ac673d9 100644 --- a/MdePkg/Include/Protocol/ServiceBinding.h +++ b/MdePkg/Include/Protocol/ServiceBinding.h @@ -43,8 +43,7 @@ EFI_STATUS (EFIAPI *EFI_SERVICE_BINDING_CREATE_CHILD)( IN EFI_SERVICE_BINDING_PROTOCOL *This, IN OUT EFI_HANDLE *ChildHandle - ) -; + ); /** Destroys a child handle with a set of I/O services. @@ -66,8 +65,7 @@ EFI_STATUS (EFIAPI *EFI_SERVICE_BINDING_DESTROY_CHILD)( IN EFI_SERVICE_BINDING_PROTOCOL *This, IN EFI_HANDLE ChildHandle - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/SimpleFileSystem.h b/MdePkg/Include/Protocol/SimpleFileSystem.h index feead3fb1a..bea9359777 100644 --- a/MdePkg/Include/Protocol/SimpleFileSystem.h +++ b/MdePkg/Include/Protocol/SimpleFileSystem.h @@ -63,8 +63,7 @@ EFI_STATUS (EFIAPI *EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_OPEN_VOLUME)( IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *This, OUT EFI_FILE_PROTOCOL **Root - ) -; + ); #define EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_REVISION 0x00010000 /// @@ -105,8 +104,7 @@ EFI_STATUS IN CHAR16 *FileName, IN UINT64 OpenMode, IN UINT64 Attributes - ) -; + ); // // Open modes @@ -138,8 +136,7 @@ typedef EFI_STATUS (EFIAPI *EFI_FILE_CLOSE)( IN EFI_FILE *This - ) -; + ); /** Close and delete the file handle @@ -154,8 +151,7 @@ typedef EFI_STATUS (EFIAPI *EFI_FILE_DELETE)( IN EFI_FILE *This - ) -; + ); /** Read data from the file. @@ -177,8 +173,7 @@ EFI_STATUS IN EFI_FILE_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer - ) -; + ); /** Write data from to the file. @@ -203,8 +198,7 @@ EFI_STATUS IN EFI_FILE_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer - ) -; + ); /** Set a files current position @@ -221,8 +215,7 @@ EFI_STATUS (EFIAPI *EFI_FILE_SET_POSITION)( IN EFI_FILE_PROTOCOL *This, IN UINT64 Position - ) -; + ); /** Get a files current position @@ -239,8 +232,7 @@ EFI_STATUS (EFIAPI *EFI_FILE_GET_POSITION)( IN EFI_FILE_PROTOCOL *This, OUT UINT64 *Position - ) -; + ); /** Get information about a file @@ -267,8 +259,7 @@ EFI_STATUS IN EFI_GUID *InformationType, IN OUT UINTN *BufferSize, OUT VOID *Buffer - ) -; + ); /** Set information about a file @@ -294,8 +285,7 @@ EFI_STATUS IN EFI_GUID *InformationType, IN UINTN BufferSize, IN VOID *Buffer - ) -; + ); /** Flush data back for the file handle @@ -316,8 +306,7 @@ typedef EFI_STATUS (EFIAPI *EFI_FILE_FLUSH)( IN EFI_FILE *This - ) -; + ); #define EFI_FILE_PROTOCOL_REVISION 0x00010000 // diff --git a/MdePkg/Include/Protocol/SimpleNetwork.h b/MdePkg/Include/Protocol/SimpleNetwork.h index 3766e98f97..8758572241 100644 --- a/MdePkg/Include/Protocol/SimpleNetwork.h +++ b/MdePkg/Include/Protocol/SimpleNetwork.h @@ -179,8 +179,7 @@ typedef EFI_STATUS (EFIAPI *EFI_SIMPLE_NETWORK_START)( IN EFI_SIMPLE_NETWORK_PROTOCOL *This - ) -; + ); /** Changes the state of a network interface from "started" to "stopped". @@ -198,8 +197,7 @@ typedef EFI_STATUS (EFIAPI *EFI_SIMPLE_NETWORK_STOP)( IN EFI_SIMPLE_NETWORK_PROTOCOL *This - ) -; + ); /** Resets a network adapter and allocates the transmit and receive buffers @@ -233,8 +231,7 @@ EFI_STATUS IN EFI_SIMPLE_NETWORK_PROTOCOL *This, IN UINTN ExtraRxBufferSize OPTIONAL, IN UINTN ExtraTxBufferSize OPTIONAL - ) -; + ); /** Resets a network adapter and re-initializes it with the parameters that were @@ -257,8 +254,7 @@ EFI_STATUS (EFIAPI *EFI_SIMPLE_NETWORK_RESET)( IN EFI_SIMPLE_NETWORK_PROTOCOL *This, IN BOOLEAN ExtendedVerification - ) -; + ); /** Resets a network adapter and leaves it in a state that is safe for @@ -277,8 +273,7 @@ typedef EFI_STATUS (EFIAPI *EFI_SIMPLE_NETWORK_SHUTDOWN)( IN EFI_SIMPLE_NETWORK_PROTOCOL *This - ) -; + ); /** Manages the multicast receive filters of a network interface. @@ -313,8 +308,7 @@ EFI_STATUS IN BOOLEAN ResetMCastFilter, IN UINTN MCastFilterCnt OPTIONAL, IN EFI_MAC_ADDRESS *MCastFilter OPTIONAL - ) -; + ); /** Modifies or resets the current station address, if supported. @@ -337,8 +331,7 @@ EFI_STATUS IN EFI_SIMPLE_NETWORK_PROTOCOL *This, IN BOOLEAN Reset, IN EFI_MAC_ADDRESS *New OPTIONAL - ) -; + ); /** Resets or collects the statistics on a network interface. @@ -368,8 +361,7 @@ EFI_STATUS IN BOOLEAN Reset, IN OUT UINTN *StatisticsSize OPTIONAL, OUT EFI_NETWORK_STATISTICS *StatisticsTable OPTIONAL - ) -; + ); /** Converts a multicast IP address to a multicast HW MAC address. @@ -399,8 +391,7 @@ EFI_STATUS IN BOOLEAN IPv6, IN EFI_IP_ADDRESS *IP, OUT EFI_MAC_ADDRESS *MAC - ) -; + ); /** Performs read and write operations on the NVRAM device attached to a @@ -430,8 +421,7 @@ EFI_STATUS IN UINTN Offset, IN UINTN BufferSize, IN OUT VOID *Buffer - ) -; + ); /** Reads the current interrupt status and recycled transmit buffer status from @@ -464,8 +454,7 @@ EFI_STATUS IN EFI_SIMPLE_NETWORK_PROTOCOL *This, OUT UINT32 *InterruptStatus OPTIONAL, OUT VOID **TxBuf OPTIONAL - ) -; + ); /** Places a packet in the transmit queue of a network interface. @@ -510,8 +499,7 @@ EFI_STATUS IN EFI_MAC_ADDRESS *SrcAddr OPTIONAL, IN EFI_MAC_ADDRESS *DestAddr OPTIONAL, IN UINT16 *Protocol OPTIONAL - ) -; + ); /** Receives a packet from a network interface. @@ -555,8 +543,7 @@ EFI_STATUS OUT EFI_MAC_ADDRESS *SrcAddr OPTIONAL, OUT EFI_MAC_ADDRESS *DestAddr OPTIONAL, OUT UINT16 *Protocol OPTIONAL - ) -; + ); #define EFI_SIMPLE_NETWORK_PROTOCOL_REVISION 0x00010000 diff --git a/MdePkg/Include/Protocol/SimpleTextIn.h b/MdePkg/Include/Protocol/SimpleTextIn.h index d7d58874e5..30905072cc 100644 --- a/MdePkg/Include/Protocol/SimpleTextIn.h +++ b/MdePkg/Include/Protocol/SimpleTextIn.h @@ -96,8 +96,7 @@ EFI_STATUS (EFIAPI *EFI_INPUT_RESET)( IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This, IN BOOLEAN ExtendedVerification - ) -; + ); /** Reads the next keystroke from the input device. The WaitForKey Event can @@ -117,8 +116,7 @@ EFI_STATUS (EFIAPI *EFI_INPUT_READ_KEY)( IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This, OUT EFI_INPUT_KEY *Key - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/SimpleTextOut.h b/MdePkg/Include/Protocol/SimpleTextOut.h index 6a00cfdb78..607d0609a8 100644 --- a/MdePkg/Include/Protocol/SimpleTextOut.h +++ b/MdePkg/Include/Protocol/SimpleTextOut.h @@ -164,8 +164,7 @@ EFI_STATUS (EFIAPI *EFI_TEXT_RESET)( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN BOOLEAN ExtendedVerification - ) -; + ); /** Write a Unicode string to the output device. @@ -190,8 +189,7 @@ EFI_STATUS (EFIAPI *EFI_TEXT_STRING)( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN CHAR16 *String - ) -; + ); /** Verifies that all characters in a Unicode string can be output to the @@ -212,8 +210,7 @@ EFI_STATUS (EFIAPI *EFI_TEXT_TEST_STRING)( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN CHAR16 *String - ) -; + ); /** Returns information for an available text mode that the output device(s) @@ -238,8 +235,7 @@ EFI_STATUS IN UINTN ModeNumber, OUT UINTN *Columns, OUT UINTN *Rows - ) -; + ); /** Sets the output device(s) to a specified mode. @@ -257,8 +253,7 @@ EFI_STATUS (EFIAPI *EFI_TEXT_SET_MODE)( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN UINTN ModeNumber - ) -; + ); /** Sets the background and foreground colors for the OutputString () and @@ -279,8 +274,7 @@ EFI_STATUS (EFIAPI *EFI_TEXT_SET_ATTRIBUTE)( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN UINTN Attribute - ) -; + ); /** Clears the output device(s) display to the currently selected background @@ -297,8 +291,7 @@ typedef EFI_STATUS (EFIAPI *EFI_TEXT_CLEAR_SCREEN)( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This - ) -; + ); /** Sets the current coordinates of the cursor position @@ -323,8 +316,7 @@ EFI_STATUS IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN UINTN Column, IN UINTN Row - ) -; + ); /** Makes the cursor visible or invisible @@ -345,8 +337,7 @@ EFI_STATUS (EFIAPI *EFI_TEXT_ENABLE_CURSOR)( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN BOOLEAN Visible - ) -; + ); /** @par Data Structure Description: diff --git a/MdePkg/Include/Protocol/TapeIo.h b/MdePkg/Include/Protocol/TapeIo.h index a0d0766132..8f4b8692e5 100644 --- a/MdePkg/Include/Protocol/TapeIo.h +++ b/MdePkg/Include/Protocol/TapeIo.h @@ -76,8 +76,7 @@ EFI_STATUS IN EFI_TAPE_IO_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer - ) -; + ); /** Writes to the tape. @@ -113,8 +112,7 @@ EFI_STATUS IN EFI_TAPE_IO_PROTOCOL *This, IN UINTN *BufferSize, IN VOID *Buffer - ) -; + ); /** @@ -135,8 +133,7 @@ typedef EFI_STATUS (EFIAPI *EFI_TAPE_REWIND)( IN EFI_TAPE_IO_PROTOCOL *This - ) -; + ); /** @@ -166,8 +163,7 @@ EFI_STATUS IN EFI_TAPE_IO_PROTOCOL *This, INTN Direction, UINTN Type - ) -; + ); /** @@ -193,8 +189,7 @@ EFI_STATUS (EFIAPI *EFI_TAPE_WRITEFM)( IN EFI_TAPE_IO_PROTOCOL *This, IN UINTN Count - ) -; + ); /** @@ -217,8 +212,7 @@ EFI_STATUS (EFIAPI *EFI_TAPE_RESET)( IN EFI_TAPE_IO_PROTOCOL *This, IN BOOLEAN ExtendedVerification - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/Tcp4.h b/MdePkg/Include/Protocol/Tcp4.h index 01f27fcb8b..fe37899f74 100644 --- a/MdePkg/Include/Protocol/Tcp4.h +++ b/MdePkg/Include/Protocol/Tcp4.h @@ -185,8 +185,7 @@ EFI_STATUS OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL, OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL, OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL - ) -; + ); /** Initialize or brutally reset the operational parameters for this EFI TCPv4 instance. @@ -213,8 +212,7 @@ EFI_STATUS (EFIAPI *EFI_TCP4_CONFIGURE)( IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_CONFIG_DATA *TcpConfigData OPTIONAL - ) -; + ); /** @@ -258,8 +256,7 @@ EFI_STATUS IN EFI_IPv4_ADDRESS *SubnetAddress, IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *GatewayAddress - ) -; + ); /** Initiate a nonblocking TCP connection request for an active TCP instance. @@ -288,8 +285,7 @@ EFI_STATUS (EFIAPI *EFI_TCP4_CONNECT)( IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_CONNECTION_TOKEN *ConnectionToken - ) -; + ); /** @@ -318,8 +314,7 @@ EFI_STATUS (EFIAPI *EFI_TCP4_ACCEPT)( IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_LISTEN_TOKEN *ListenToken - ) -; + ); /** Queues outgoing data into the transmit queue. @@ -357,8 +352,7 @@ EFI_STATUS (EFIAPI *EFI_TCP4_TRANSMIT)( IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_IO_TOKEN *Token - ) -; + ); /** @@ -401,8 +395,7 @@ EFI_STATUS (EFIAPI *EFI_TCP4_RECEIVE)( IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_IO_TOKEN *Token - ) -; + ); /** Disconnecting a TCP connection gracefully or reset a TCP connection. This function is a @@ -432,8 +425,7 @@ EFI_STATUS (EFIAPI *EFI_TCP4_CLOSE)( IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_CLOSE_TOKEN *CloseToken - ) -; + ); /** Abort an asynchronous connection, listen, transmission or receive request. @@ -461,8 +453,7 @@ EFI_STATUS (EFIAPI *EFI_TCP4_CANCEL)( IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_COMPLETION_TOKEN *Token OPTIONAL - ) -; + ); /** @@ -482,8 +473,7 @@ typedef EFI_STATUS (EFIAPI *EFI_TCP4_POLL)( IN EFI_TCP4_PROTOCOL *This - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/Udp4.h b/MdePkg/Include/Protocol/Udp4.h index bc95bc76b5..8e2511faab 100644 --- a/MdePkg/Include/Protocol/Udp4.h +++ b/MdePkg/Include/Protocol/Udp4.h @@ -145,8 +145,7 @@ EFI_STATUS OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL, OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL, OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL - ) -; + ); /** @@ -176,8 +175,7 @@ EFI_STATUS (EFIAPI *EFI_UDP4_CONFIGURE)( IN EFI_UDP4_PROTOCOL *This, IN EFI_UDP4_CONFIG_DATA *UdpConfigData OPTIONAL - ) -; + ); /** Joins and leaves multicast groups. @@ -210,8 +208,7 @@ EFI_STATUS IN EFI_UDP4_PROTOCOL *This, IN BOOLEAN JoinFlag, IN EFI_IPv4_ADDRESS *MulticastAddress OPTIONAL - ) -; + ); /** Adds and deletes routing table entries. @@ -241,8 +238,7 @@ EFI_STATUS IN EFI_IPv4_ADDRESS *SubnetAddress, IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *GatewayAddress - ) -; + ); /** Polls for incoming data packets and processes outgoing data packets. @@ -259,8 +255,7 @@ typedef EFI_STATUS (EFIAPI *EFI_UDP4_POLL)( IN EFI_UDP4_PROTOCOL *This - ) -; + ); /** Places an asynchronous receive request into the receiving queue. @@ -287,8 +282,7 @@ EFI_STATUS (EFIAPI *EFI_UDP4_RECEIVE)( IN EFI_UDP4_PROTOCOL *This, IN EFI_UDP4_COMPLETION_TOKEN *Token - ) -; + ); /** Queues outgoing data packets into the transmit queue. @@ -318,8 +312,7 @@ EFI_STATUS (EFIAPI *EFI_UDP4_TRANSMIT)( IN EFI_UDP4_PROTOCOL *This, IN EFI_UDP4_COMPLETION_TOKEN *Token - ) -; + ); /** Aborts an asynchronous transmit or receive request. @@ -347,8 +340,7 @@ EFI_STATUS (EFIAPI *EFI_UDP4_CANCEL)( IN EFI_UDP4_PROTOCOL *This, IN EFI_UDP4_COMPLETION_TOKEN *Token OPTIONAL - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/UgaDraw.h b/MdePkg/Include/Protocol/UgaDraw.h index 8b12ca34b0..62e77ba815 100644 --- a/MdePkg/Include/Protocol/UgaDraw.h +++ b/MdePkg/Include/Protocol/UgaDraw.h @@ -49,8 +49,7 @@ EFI_STATUS OUT UINT32 *VerticalResolution, OUT UINT32 *ColorDepth, OUT UINT32 *RefreshRate - ) -; + ); /** Set the current video mode information. @@ -73,8 +72,7 @@ EFI_STATUS IN UINT32 VerticalResolution, IN UINT32 ColorDepth, IN UINT32 RefreshRate - ) -; + ); typedef struct { UINT8 Blue; diff --git a/MdePkg/Include/Protocol/UnicodeCollation.h b/MdePkg/Include/Protocol/UnicodeCollation.h index 4ca50d56f8..696e587856 100644 --- a/MdePkg/Include/Protocol/UnicodeCollation.h +++ b/MdePkg/Include/Protocol/UnicodeCollation.h @@ -67,8 +67,7 @@ INTN IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN CHAR16 *Str1, IN CHAR16 *Str2 - ) -; + ); /** Performs a case-insensitive comparison of a Null-terminated Unicode @@ -88,8 +87,7 @@ BOOLEAN IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN CHAR16 *String, IN CHAR16 *Pattern - ) -; + ); /** Converts all the Unicode characters in a Null-terminated Unicode string to @@ -104,8 +102,7 @@ VOID (EFIAPI *EFI_UNICODE_COLLATION_STRLWR)( IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN OUT CHAR16 *Str - ) -; + ); /** Converts all the Unicode characters in a Null-terminated Unicode string to upper @@ -120,8 +117,7 @@ VOID (EFIAPI *EFI_UNICODE_COLLATION_STRUPR)( IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN OUT CHAR16 *Str - ) -; + ); /** Converts an 8.3 FAT file name in an OEM character set to a Null-terminated @@ -142,8 +138,7 @@ VOID IN UINTN FatSize, IN CHAR8 *Fat, OUT CHAR16 *String - ) -; + ); /** Converts a Null-terminated Unicode string to legal characters in a FAT @@ -167,8 +162,7 @@ BOOLEAN IN CHAR16 *String, IN UINTN FatSize, OUT CHAR8 *Fat - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Include/Protocol/Usb2HostController.h b/MdePkg/Include/Protocol/Usb2HostController.h index 54f67530dc..ec2415d1fa 100644 --- a/MdePkg/Include/Protocol/Usb2HostController.h +++ b/MdePkg/Include/Protocol/Usb2HostController.h @@ -109,8 +109,7 @@ EFI_STATUS OUT UINT8 *MaxSpeed, OUT UINT8 *PortNumber, OUT UINT8 *Is64BitCapable - ) -; + ); #define EFI_USB_HC_RESET_GLOBAL 0x0001 #define EFI_USB_HC_RESET_HOST_CONTROLLER 0x0002 @@ -139,8 +138,7 @@ EFI_STATUS (EFIAPI *EFI_USB2_HC_PROTOCOL_RESET)( IN EFI_USB2_HC_PROTOCOL *This, IN UINT16 Attributes - ) -; + ); /** @@ -200,8 +198,7 @@ EFI_STATUS (EFIAPI *EFI_USB2_HC_PROTOCOL_GET_STATE)( IN CONST EFI_USB2_HC_PROTOCOL *This, OUT EFI_USB_HC_STATE *State -) -; +); /** Sets the USB host controller to a specific state. @@ -220,8 +217,7 @@ EFI_STATUS (EFIAPI *EFI_USB2_HC_PROTOCOL_SET_STATE)( IN EFI_USB2_HC_PROTOCOL *This, IN EFI_USB_HC_STATE State - ) -; + ); /** Submits control transfer to a target USB device. @@ -266,8 +262,7 @@ EFI_STATUS IN UINTN TimeOut, IN EFI_USB2_HC_TRANSACTION_TRANSLATOR *Translator, OUT UINT32 *TransferResult - ) -; + ); #define EFI_USB_MAX_BULK_BUFFER_NUM 10 @@ -315,8 +310,7 @@ EFI_STATUS IN UINTN TimeOut, IN EFI_USB2_HC_TRANSACTION_TRANSLATOR *Translator, OUT UINT32 *TransferResult - ) -; + ); /** Submits an asynchronous interrupt transfer to an interrupt endpoint of a USB device. @@ -365,8 +359,7 @@ EFI_STATUS IN EFI_USB2_HC_TRANSACTION_TRANSLATOR *Translator OPTIONAL, IN EFI_ASYNC_USB_TRANSFER_CALLBACK CallBackFunction OPTIONAL, IN VOID *Context OPTIONAL - ) -; + ); /** Submits synchronous interrupt transfer to an interrupt endpoint of a USB device. @@ -412,8 +405,7 @@ EFI_STATUS IN UINTN TimeOut, IN EFI_USB2_HC_TRANSACTION_TRANSLATOR *Translator, OUT UINT32 *TransferResult - ) -; + ); #define EFI_USB_MAX_ISO_BUFFER_NUM 7 #define EFI_USB_MAX_ISO_BUFFER_NUM1 2 @@ -457,8 +449,7 @@ EFI_STATUS IN UINTN DataLength, IN EFI_USB2_HC_TRANSACTION_TRANSLATOR *Translator, OUT UINT32 *TransferResult - ) -; + ); /** Submits nonblocking isochronous transfer to an isochronous endpoint of a USB device. @@ -502,8 +493,7 @@ EFI_STATUS IN EFI_USB2_HC_TRANSACTION_TRANSLATOR *Translator, IN EFI_ASYNC_USB_TRANSFER_CALLBACK IsochronousCallBack, IN VOID *Context OPTIONAL - ) -; + ); /** Retrieves the current status of a USB root hub port. @@ -524,8 +514,7 @@ EFI_STATUS IN CONST EFI_USB2_HC_PROTOCOL *This, IN CONST UINT8 PortNumber, OUT EFI_USB_PORT_STATUS *PortStatus - ) -; + ); /** Sets a feature for the specified root hub port. @@ -546,8 +535,7 @@ EFI_STATUS IN EFI_USB2_HC_PROTOCOL *This, IN UINT8 PortNumber, IN EFI_USB_PORT_FEATURE PortFeature - ) -; + ); /** Clears a feature for the specified root hub port. @@ -568,8 +556,7 @@ EFI_STATUS IN EFI_USB2_HC_PROTOCOL *This, IN UINT8 PortNumber, IN EFI_USB_PORT_FEATURE PortFeature - ) -; + ); /** @par Protocol Description: diff --git a/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h b/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h index 95d9048eee..8268cd821f 100644 --- a/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h +++ b/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h @@ -84,7 +84,6 @@ EFIAPI SmbusLibConstructor ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable - ) -; + ); #endif diff --git a/MdePkg/Library/HiiLib/InternalHiiLib.h b/MdePkg/Library/HiiLib/InternalHiiLib.h index 0c7ed9d585..f9294eb876 100644 --- a/MdePkg/Library/HiiLib/InternalHiiLib.h +++ b/MdePkg/Library/HiiLib/InternalHiiLib.h @@ -51,8 +51,7 @@ extern CONST EFI_HII_STRING_PROTOCOL *mHiiStringProt; BOOLEAN IsHiiHandleRegistered ( EFI_HII_HANDLE HiiHandle - ) -; + ); /** @@ -62,7 +61,6 @@ IsHiiHandleRegistered ( VOID LocateHiiProtocols ( VOID - ) -; + ); #endif diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibInternal.h b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibInternal.h index 9d1f66936f..9587712e81 100644 --- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibInternal.h +++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibInternal.h @@ -33,7 +33,6 @@ EFIAPI DevicePathLibConstructor ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable - ) -; + ); #endif -- cgit v1.2.3