summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-04 09:37:28 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-04 09:37:28 +0000
commited66e1bc0d2be0a185fc47adab4930c3b7e2767f (patch)
tree5709b407529f37f5a069d36ec5a0d3b04db9c3ba
parent1f3a753ee68ac1c7a620e8064fdda718cf413761 (diff)
downloadedk2-platforms-ed66e1bc0d2be0a185fc47adab4930c3b7e2767f.tar.xz
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
-rw-r--r--DuetPkg/EfiLdr/EfiLdr.h3
-rw-r--r--DuetPkg/FSVariable/FSVariable.h18
-rw-r--r--DuetPkg/FvbRuntimeService/FwBlockService.h72
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.h48
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.h102
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c3
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h54
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h36
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h36
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/ComponentName.h3
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h210
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.h39
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciCommand.h9
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.h60
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.h9
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h72
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h69
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.h30
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.h78
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.h42
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.h12
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciPowerManagement.h3
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.h78
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciRomTable.h9
-rw-r--r--IntelFrameworkModulePkg/Universal/VariablePei/Variable.h15
-rw-r--r--IntelFrameworkPkg/Include/Library/FrameworkHiiLib.h3
-rw-r--r--IntelFrameworkPkg/Include/Protocol/PciPlatform.h12
-rw-r--r--IntelFrameworkPkg/Include/Protocol/SmmBase.h24
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h9
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.h36
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.h30
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.h12
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h12
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h6
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.h24
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.h27
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.h30
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/UsbHcMem.h12
-rw-r--r--MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c9
-rw-r--r--MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h15
-rw-r--r--MdeModulePkg/Core/Pei/Image/Image.c3
-rw-r--r--MdeModulePkg/Core/Pei/PeiMain.h117
-rw-r--r--MdeModulePkg/Core/RuntimeDxe/Runtime.h15
-rw-r--r--MdeModulePkg/Include/Library/CapsuleLib.h6
-rw-r--r--MdeModulePkg/Include/Library/ExtendedHiiLib.h6
-rw-r--r--MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h12
-rw-r--r--MdeModulePkg/Include/Library/GenericBdsLib.h6
-rw-r--r--MdeModulePkg/Include/Library/PlatformBdsLib.h15
-rw-r--r--MdeModulePkg/Include/Library/RecoveryLib.h3
-rw-r--r--MdeModulePkg/Include/Library/S3Lib.h3
-rw-r--r--MdeModulePkg/Include/Protocol/ConsoleControl.h9
-rw-r--r--MdeModulePkg/Include/Protocol/DiskInfo.h12
-rw-r--r--MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h3
-rw-r--r--MdeModulePkg/Include/Protocol/GenericMemoryTest.h12
-rw-r--r--MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h3
-rw-r--r--MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h12
-rw-r--r--MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.h9
-rw-r--r--MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h9
-rw-r--r--MdeModulePkg/Universal/BdsDxe/Hotkey.h9
-rw-r--r--MdeModulePkg/Universal/BdsDxe/HwErrRecSupport.h3
-rw-r--r--MdeModulePkg/Universal/BdsDxe/Language.h3
-rw-r--r--MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h219
-rw-r--r--MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.h3
-rw-r--r--MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h162
-rw-r--r--MdeModulePkg/Universal/DebugPortDxe/DebugPort.h24
-rw-r--r--MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.h3
-rw-r--r--MdeModulePkg/Universal/DebugSupportDxe/x64/plDebugSupport.h3
-rw-r--r--MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h63
-rw-r--r--MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h105
-rw-r--r--MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.h12
-rw-r--r--MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounter.h3
-rw-r--r--MdeModulePkg/Universal/Network/IScsiDxe/Md5.h9
-rw-r--r--MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h63
-rw-r--r--MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h84
-rw-r--r--MdeModulePkg/Universal/Network/PxeDhcp4Dxe/PxeDhcp4.h60
-rw-r--r--MdeModulePkg/Universal/Network/SnpDxe/Snp.h81
-rw-r--r--MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c3
-rw-r--r--MdeModulePkg/Universal/PCD/Dxe/Service.h141
-rw-r--r--MdeModulePkg/Universal/PCD/Pei/Service.h132
-rw-r--r--MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.h3
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Setup.h87
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Ui.h114
-rw-r--r--MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h21
-rw-r--r--MdePkg/Include/Library/BaseLib.h12
-rw-r--r--MdePkg/Include/Library/DxePiLib.h9
-rw-r--r--MdePkg/Include/Library/HiiLib.h63
-rw-r--r--MdePkg/Include/Library/HobLib.h51
-rw-r--r--MdePkg/Include/Library/PciSegmentLib.h96
-rw-r--r--MdePkg/Include/Library/PeCoffLib.h18
-rw-r--r--MdePkg/Include/Library/ResourcePublicationLib.h3
-rw-r--r--MdePkg/Include/Library/UefiLib.h6
-rw-r--r--MdePkg/Include/Pi/PiDxeCis.h51
-rw-r--r--MdePkg/Include/Protocol/Arp.h21
-rw-r--r--MdePkg/Include/Protocol/AuthenticationInfo.h6
-rw-r--r--MdePkg/Include/Protocol/BlockIo.h12
-rw-r--r--MdePkg/Include/Protocol/DevicePathFromText.h6
-rw-r--r--MdePkg/Include/Protocol/DevicePathToText.h6
-rw-r--r--MdePkg/Include/Protocol/DevicePathUtilities.h24
-rw-r--r--MdePkg/Include/Protocol/Dhcp4.h27
-rw-r--r--MdePkg/Include/Protocol/DiskIo.h6
-rw-r--r--MdePkg/Include/Protocol/DriverBinding.h9
-rw-r--r--MdePkg/Include/Protocol/EdidOverride.h3
-rw-r--r--MdePkg/Include/Protocol/GraphicsOutput.h6
-rw-r--r--MdePkg/Include/Protocol/Hash.h6
-rw-r--r--MdePkg/Include/Protocol/HiiConfigRouting.h3
-rw-r--r--MdePkg/Include/Protocol/IScsiInitiatorName.h6
-rw-r--r--MdePkg/Include/Protocol/Ip4.h24
-rw-r--r--MdePkg/Include/Protocol/Ip4Config.h9
-rw-r--r--MdePkg/Include/Protocol/LoadFile.h3
-rw-r--r--MdePkg/Include/Protocol/ManagedNetwork.h24
-rw-r--r--MdePkg/Include/Protocol/Mtftp4.h33
-rw-r--r--MdePkg/Include/Protocol/ScsiIo.h15
-rw-r--r--MdePkg/Include/Protocol/ScsiPassThru.h18
-rw-r--r--MdePkg/Include/Protocol/ScsiPassThruExt.h21
-rw-r--r--MdePkg/Include/Protocol/Security.h3
-rw-r--r--MdePkg/Include/Protocol/SerialIo.h18
-rw-r--r--MdePkg/Include/Protocol/ServiceBinding.h6
-rw-r--r--MdePkg/Include/Protocol/SimpleFileSystem.h33
-rw-r--r--MdePkg/Include/Protocol/SimpleNetwork.h39
-rw-r--r--MdePkg/Include/Protocol/SimpleTextIn.h6
-rw-r--r--MdePkg/Include/Protocol/SimpleTextOut.h27
-rw-r--r--MdePkg/Include/Protocol/TapeIo.h18
-rw-r--r--MdePkg/Include/Protocol/Tcp4.h30
-rw-r--r--MdePkg/Include/Protocol/Udp4.h24
-rw-r--r--MdePkg/Include/Protocol/UgaDraw.h6
-rw-r--r--MdePkg/Include/Protocol/UnicodeCollation.h18
-rw-r--r--MdePkg/Include/Protocol/Usb2HostController.h39
-rw-r--r--MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h3
-rw-r--r--MdePkg/Library/HiiLib/InternalHiiLib.h6
-rw-r--r--MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibInternal.h3
-rw-r--r--Nt32Pkg/FvbServicesRuntimeDxe/FwBlockService.h54
-rw-r--r--Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h18
-rw-r--r--Nt32Pkg/WinNtGopDxe/WinNtGop.h30
-rw-r--r--OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.h21
134 files changed, 1345 insertions, 2690 deletions
diff --git a/DuetPkg/EfiLdr/EfiLdr.h b/DuetPkg/EfiLdr/EfiLdr.h
index 0ef0260652..58b9c220c0 100644
--- a/DuetPkg/EfiLdr/EfiLdr.h
+++ b/DuetPkg/EfiLdr/EfiLdr.h
@@ -87,7 +87,6 @@ typedef
VOID
(* EFI_MAIN_ENTRYPOINT) (
IN EFILDRHANDOFF *Handoff
- )
-;
+ );
#endif //_DUET_EFI_LOADER_H_ \ No newline at end of file
diff --git a/DuetPkg/FSVariable/FSVariable.h b/DuetPkg/FSVariable/FSVariable.h
index 434c302783..c046fe91ea 100644
--- a/DuetPkg/FSVariable/FSVariable.h
+++ b/DuetPkg/FSVariable/FSVariable.h
@@ -105,16 +105,14 @@ EFIAPI
VariableServiceInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
VOID
EFIAPI
VariableClassAddressChangeEvent (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -124,8 +122,7 @@ GetVariable (
OUT UINT32 *Attributes OPTIONAL,
IN OUT UINTN *DataSize,
OUT VOID *Data
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -133,8 +130,7 @@ GetNextVariableName (
IN OUT UINTN *VariableNameSize,
IN OUT CHAR16 *VariableName,
IN OUT EFI_GUID *VendorGuid
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -144,8 +140,7 @@ SetVariable (
IN UINT32 Attributes,
IN UINTN DataSize,
IN VOID *Data
- )
-;
+ );
#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
EFI_STATUS
@@ -155,8 +150,7 @@ QueryVariableInfo (
OUT UINT64 *MaximumVariableStorageSize,
OUT UINT64 *RemainingVariableStorageSize,
OUT UINT64 *MaximumVariableSize
- )
-;
+ );
#endif // EFI_SPECIFICATION_VERSION >= 0x00020000
#endif
diff --git a/DuetPkg/FvbRuntimeService/FwBlockService.h b/DuetPkg/FvbRuntimeService/FwBlockService.h
index 1e01cd9007..47f70acc73 100644
--- a/DuetPkg/FvbRuntimeService/FwBlockService.h
+++ b/DuetPkg/FvbRuntimeService/FwBlockService.h
@@ -132,34 +132,29 @@ EFI_STATUS
GetFvbInfo (
IN EFI_PHYSICAL_ADDRESS FvBaseAddress,
OUT EFI_FIRMWARE_VOLUME_HEADER **FvbInfo
- )
-;
+ );
EFI_STATUS
EnableFvbWrites (
IN BOOLEAN EnableWrites
- )
-;
+ );
EFI_STATUS
PlatformGetFvbWriteBase (
IN UINTN CurrentBaseAddress,
IN UINTN *NewBaseAddress,
IN BOOLEAN *WriteEnabled
- )
-;
+ );
EFI_STATUS
EnablePlatformFvb (
VOID
- )
-;
+ );
BOOLEAN
SetPlatformFvbLock (
IN UINTN LbaAddress
- )
-;
+ );
EFI_STATUS
FvbReadBlock (
@@ -170,8 +165,7 @@ FvbReadBlock (
IN UINT8 *Buffer,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
FvbWriteBlock (
@@ -182,8 +176,7 @@ FvbWriteBlock (
IN UINT8 *Buffer,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
FvbEraseBlock (
@@ -191,8 +184,7 @@ FvbEraseBlock (
IN EFI_LBA Lba,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
FvbSetVolumeAttributes (
@@ -200,8 +192,7 @@ FvbSetVolumeAttributes (
IN OUT EFI_FVB_ATTRIBUTES_2 *Attributes,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
FvbGetVolumeAttributes (
@@ -209,8 +200,7 @@ FvbGetVolumeAttributes (
OUT EFI_FVB_ATTRIBUTES_2 *Attributes,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
FvbGetPhysicalAddress (
@@ -218,30 +208,26 @@ FvbGetPhysicalAddress (
OUT EFI_PHYSICAL_ADDRESS *Address,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
EFIAPI
FvbInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
VOID
EFIAPI
FvbClassAddressChangeEvent (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
EFI_STATUS
FvbSpecificInitialize (
IN ESAL_FWB_GLOBAL *mFvbModuleGlobal
- )
-;
+ );
EFI_STATUS
FvbGetLbaAddress (
@@ -252,8 +238,7 @@ FvbGetLbaAddress (
OUT UINTN *NumOfBlocks,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
FvbEraseCustomBlockRange (
@@ -264,8 +249,7 @@ FvbEraseCustomBlockRange (
IN UINTN OffsetLastLba,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
//
// Protocol APIs
@@ -275,24 +259,21 @@ EFIAPI
FvbProtocolGetAttributes (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
OUT EFI_FVB_ATTRIBUTES_2 *Attributes
- )
-;
+ );
EFI_STATUS
EFIAPI
FvbProtocolSetAttributes (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
IN OUT EFI_FVB_ATTRIBUTES_2 *Attributes
- )
-;
+ );
EFI_STATUS
EFIAPI
FvbProtocolGetPhysicalAddress (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
OUT EFI_PHYSICAL_ADDRESS *Address
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -301,8 +282,7 @@ FvbProtocolGetBlockSize (
IN EFI_LBA Lba,
OUT UINTN *BlockSize,
OUT UINTN *NumOfBlocks
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -312,8 +292,7 @@ FvbProtocolRead (
IN UINTN Offset,
IN OUT UINTN *NumBytes,
IN UINT8 *Buffer
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -323,16 +302,14 @@ FvbProtocolWrite (
IN UINTN Offset,
IN OUT UINTN *NumBytes,
IN UINT8 *Buffer
- )
-;
+ );
EFI_STATUS
EFIAPI
FvbProtocolEraseBlocks (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
...
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -342,7 +319,6 @@ FvbExtendProtocolEraseCustomBlockRange (
IN UINTN OffsetStartLba,
IN EFI_LBA LastLba,
IN UINTN OffsetLastLba
- )
-;
+ );
#endif
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.h b/DuetPkg/Library/DuetBdsLib/BdsPlatform.h
index 9d1a3a25d5..1110529c9d 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.h
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.h
@@ -203,28 +203,24 @@ extern PLATFORM_ROOT_BRIDGE_DEVICE_PATH gPlatformRootBridge0;
VOID
PlatformBdsInit (
IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData
- )
-;
+ );
VOID
PlatformBdsPolicyBehavior (
IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData,
IN LIST_ENTRY *DriverOptionList,
IN LIST_ENTRY *BootOptionList
- )
-;
+ );
VOID
PlatformBdsGetDriverOption (
IN LIST_ENTRY *BdsDriverLists
- )
-;
+ );
EFI_STATUS
BdsMemoryTest (
EXTENDMEM_COVERAGE_LEVEL Level
- )
-;
+ );
EFI_STATUS
PlatformBdsShowProgress (
@@ -234,14 +230,12 @@ PlatformBdsShowProgress (
EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor,
UINTN Progress,
UINTN PreviousValue
- )
-;
+ );
VOID
PlatformBdsConnectSequence (
VOID
- )
-;
+ );
VOID
PlatformBdsBootFail (
@@ -249,64 +243,54 @@ PlatformBdsBootFail (
IN EFI_STATUS Status,
IN CHAR16 *ExitData,
IN UINTN ExitDataSize
- )
-;
+ );
VOID
PlatformBdsBootSuccess (
IN BDS_COMMON_OPTION *Option
- )
-;
+ );
EFI_STATUS
ProcessCapsules (
EFI_BOOT_MODE BootMode
- )
-;
+ );
EFI_STATUS
PlatformBdsConnectConsole (
IN BDS_CONSOLE_CONNECT_ENTRY *PlatformConsole
- )
-;
+ );
EFI_STATUS
PlatformBdsNoConsoleAction (
VOID
- )
-;
+ );
EFI_STATUS
ConvertMpsTable (
IN OUT VOID **Table
- )
-;
+ );
EFI_STATUS
ConvertSmbiosTable (
IN OUT VOID **Table
- )
-;
+ );
EFI_STATUS
ConvertAcpiTable (
IN UINTN TableLen,
IN OUT VOID **Table
- )
-;
+ );
EFI_STATUS
ConvertSystemTable (
IN EFI_GUID *TableGuid,
IN OUT VOID **Table
- )
-;
+ );
VOID
PlatformBdsEnterFrontPage (
IN UINT16 TimeoutDefault,
IN BOOLEAN ConnectAllHappened
- )
-;
+ );
#endif // _PLATFORM_SPECIFIC_BDS_PLATFORM_H_
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.h b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.h
index 520a41aa45..8983ab15c2 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.h
@@ -508,8 +508,7 @@ FdcControllerDriverSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Create floppy control instance on controller.
@@ -526,8 +525,7 @@ FdcControllerDriverStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Stop this driver on ControllerHandle. Support stoping any child handles
@@ -550,8 +548,7 @@ FdcControllerDriverStop (
IN EFI_HANDLE Controller,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
//
// EFI Block I/O Protocol Functions
@@ -573,8 +570,7 @@ EFIAPI
FdcReset (
IN EFI_BLOCK_IO_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Flush block via fdd controller
@@ -587,8 +583,7 @@ EFI_STATUS
EFIAPI
FddFlushBlocks (
IN EFI_BLOCK_IO_PROTOCOL *This
- )
-;
+ );
/**
Read the requested number of blocks from the device
@@ -618,8 +613,7 @@ FddReadBlocks (
IN EFI_LBA LBA,
IN UINTN BufferSize,
OUT VOID *Buffer
- )
-;
+ );
/**
Write a specified number of blocks to the device
@@ -649,8 +643,7 @@ FddWriteBlocks (
IN EFI_LBA LBA,
IN UINTN BufferSize,
IN VOID *Buffer
- )
-;
+ );
//
// Prototypes of internal functions
@@ -667,8 +660,7 @@ FddWriteBlocks (
EFI_STATUS
DiscoverFddDevice (
IN FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
/**
@@ -682,8 +674,7 @@ DiscoverFddDevice (
EFI_STATUS
FddIdentify (
IN FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
/**
@@ -699,8 +690,7 @@ FddIdentify (
EFI_STATUS
FddReset (
IN FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
/**
@@ -717,8 +707,7 @@ FddReset (
EFI_STATUS
MotorOn (
IN FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
/**
@@ -734,8 +723,7 @@ MotorOn (
EFI_STATUS
MotorOff (
IN FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
/**
Detect the disk in the drive is changed or not
@@ -751,8 +739,7 @@ MotorOff (
EFI_STATUS
DisketChanged (
IN FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
/**
Do the Specify command, this command sets DMA operation
@@ -768,8 +755,7 @@ DisketChanged (
EFI_STATUS
Specify (
IN FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
/**
Set the head of floppy drive to track 0
@@ -782,8 +768,7 @@ Specify (
EFI_STATUS
Recalibrate (
IN FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
/**
Set the head of floppy drive to the new cylinder
@@ -799,8 +784,7 @@ EFI_STATUS
Seek (
IN FDC_BLK_IO_DEV *FdcDev,
IN EFI_LBA Lba
- )
-;
+ );
/**
Do the Sense Interrupt Status command, this command
@@ -820,8 +804,7 @@ SenseIntStatus (
IN FDC_BLK_IO_DEV *FdcDev,
IN OUT UINT8 *StatusRegister0,
IN OUT UINT8 *PresentCylinderNumber
- )
-;
+ );
/**
Do the Sense Drive Status command
@@ -838,8 +821,7 @@ EFI_STATUS
SenseDrvStatus (
IN FDC_BLK_IO_DEV *FdcDev,
IN EFI_LBA Lba
- )
-;
+ );
/**
Update the disk media properties and if necessary
@@ -854,8 +836,7 @@ SenseDrvStatus (
EFI_STATUS
DetectMedia (
IN FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
/**
Set the data rate and so on
@@ -867,8 +848,7 @@ DetectMedia (
EFI_STATUS
Setup (
IN FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
/**
Read or Write a number of blocks in the same cylinder
@@ -889,8 +869,7 @@ ReadWriteDataSector (
IN EFI_LBA Lba,
IN UINTN NumberOfBlocks,
IN BOOLEAN Read
- )
-;
+ );
/**
Fill in FDD command's parameter
@@ -905,8 +884,7 @@ FillPara (
IN FDC_BLK_IO_DEV *FdcDev,
IN EFI_LBA Lba,
IN FDD_COMMAND_PACKET1 *Command
- )
-;
+ );
/**
Read result byte from Data Register of FDC
@@ -923,8 +901,7 @@ EFI_STATUS
DataInByte (
IN FDC_BLK_IO_DEV *FdcDev,
IN UINT8 *Pointer
- )
-;
+ );
/**
Write command byte to Data Register of FDC
@@ -940,8 +917,7 @@ EFI_STATUS
DataOutByte (
IN FDC_BLK_IO_DEV *FdcDev,
IN UINT8 *Pointer
- )
-;
+ );
/**
Detect the specified floppy logic drive is busy or
@@ -959,8 +935,7 @@ EFI_STATUS
FddWaitForBSYClear (
IN FDC_BLK_IO_DEV *FdcDev,
IN UINTN TimeoutInSeconds
- )
-;
+ );
/**
@@ -979,8 +954,7 @@ FddDRQReady (
IN FDC_BLK_IO_DEV *FdcDev,
IN BOOLEAN Dio,
IN UINTN TimeoutInSeconds
- )
-;
+ );
/**
Set FDC control structure's attribute according to
@@ -999,8 +973,7 @@ EFI_STATUS
CheckResult (
IN FDD_RESULT_PACKET *Result,
IN OUT FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
/**
Check the drive status information
@@ -1014,8 +987,7 @@ CheckResult (
EFI_STATUS
CheckStatus3 (
IN UINT8 StatusRegister3
- )
-;
+ );
/**
Calculate the number of block in the same cylinder
@@ -1034,8 +1006,7 @@ GetTransferBlockCount (
IN FDC_BLK_IO_DEV *FdcDev,
IN EFI_LBA LBA,
IN UINTN NumberOfBlocks
- )
-;
+ );
/**
When the Timer(2s) off, turn the drive's motor off
@@ -1050,8 +1021,7 @@ EFIAPI
FddTimerProc (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
Read I/O port for FDC
@@ -1064,8 +1034,7 @@ UINT8
FdcReadPort (
IN FDC_BLK_IO_DEV *FdcDev,
IN UINT32 Offset
- )
-;
+ );
/**
Write I/O port for FDC
@@ -1080,8 +1049,7 @@ FdcWritePort (
IN FDC_BLK_IO_DEV *FdcDev,
IN UINT32 Offset,
IN UINT8 Data
- )
-;
+ );
/**
Read or Write a number of blocks to floppy device
@@ -1117,8 +1085,7 @@ FddReadWriteBlocks (
IN UINTN BufferSize,
IN BOOLEAN Operation,
OUT VOID *Buffer
- )
-;
+ );
/**
Common interface for free cache
@@ -1129,8 +1096,7 @@ FddReadWriteBlocks (
VOID
FdcFreeCache (
IN FDC_BLK_IO_DEV *FdcDev
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c
index 17bbcc3136..b22c659c73 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c
@@ -60,8 +60,7 @@ BOOLEAN
IsKeyRegistered (
IN EFI_KEY_DATA *RegsiteredData,
IN EFI_KEY_DATA *InputData
- )
-;
+ );
/**
Reads the next keystroke from the input device. The WaitForKey Event can
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h
index 7953b2bc74..95c036d740 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h
@@ -146,8 +146,7 @@ EFIAPI
InstallPs2KeyboardDriver (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
#define KEYBOARD_8042_DATA_REGISTER 0x60
#define KEYBOARD_8042_STATUS_REGISTER 0x64
@@ -197,8 +196,7 @@ InstallPs2KeyboardDriver (
EFI_STATUS
UpdateStatusLights (
IN KEYBOARD_CONSOLE_IN_DEV *ConsoleIn
- )
-;
+ );
/**
write key to keyboard
@@ -214,8 +212,7 @@ EFI_STATUS
KeyboardRead (
IN KEYBOARD_CONSOLE_IN_DEV *ConsoleIn,
OUT UINT8 *Data
- )
-;
+ );
/**
Get scancode from scancode buffer
@@ -231,8 +228,7 @@ KeyboardRead (
EFI_STATUS
KeyGetchar (
IN OUT KEYBOARD_CONSOLE_IN_DEV *ConsoleIn
- )
-;
+ );
/**
Perform 8042 controller and keyboard Initialization
@@ -249,8 +245,7 @@ EFI_STATUS
InitKeyboard (
IN OUT KEYBOARD_CONSOLE_IN_DEV *ConsoleIn,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Disable the keyboard interface of the 8042 controller
@@ -263,8 +258,7 @@ InitKeyboard (
EFI_STATUS
DisableKeyboard (
IN KEYBOARD_CONSOLE_IN_DEV *ConsoleIn
- )
-;
+ );
/**
Timer event handler: read a series of scancodes from 8042
@@ -282,8 +276,7 @@ EFIAPI
KeyboardTimerHandler (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
logic reset keyboard
@@ -301,8 +294,7 @@ EFIAPI
KeyboardEfiReset (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Implement SIMPLE_TEXT_IN.ReadKeyStroke().
@@ -318,8 +310,7 @@ EFIAPI
KeyboardReadKeyStroke (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,
OUT EFI_INPUT_KEY *Key
- )
-;
+ );
/**
Event notification function for SIMPLE_TEXT_IN.WaitForKey event
@@ -334,8 +325,7 @@ EFIAPI
KeyboardWaitForKey (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
Read status register
@@ -348,8 +338,7 @@ KeyboardWaitForKey (
UINT8
KeyReadStatusRegister (
IN KEYBOARD_CONSOLE_IN_DEV *ConsoleIn
- )
-;
+ );
/**
Check whether there is Ps/2 Keyboard device in system by 0xF4 Keyboard Command
@@ -365,8 +354,7 @@ BOOLEAN
EFIAPI
CheckKeyboardConnect (
IN KEYBOARD_CONSOLE_IN_DEV *ConsoleIn
- )
-;
+ );
/**
Event notification function for SIMPLE_TEXT_INPUT_EX_PROTOCOL.WaitForKeyEx event
@@ -381,8 +369,7 @@ EFIAPI
KeyboardWaitForKeyEx (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
//
// Simple Text Input Ex protocol function prototypes
@@ -404,8 +391,7 @@ EFIAPI
KeyboardEfiResetEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Reads the next keystroke from the input device. The WaitForKey Event can
@@ -428,8 +414,7 @@ EFIAPI
KeyboardReadKeyStrokeEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
OUT EFI_KEY_DATA *KeyData
- )
-;
+ );
/**
Set certain state for the input device.
@@ -450,8 +435,7 @@ EFIAPI
KeyboardSetState (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_KEY_TOGGLE_STATE *KeyToggleState
- )
-;
+ );
/**
Register a notification function for a particular keystroke for the input device.
@@ -475,8 +459,7 @@ KeyboardRegisterKeyNotify (
IN EFI_KEY_DATA *KeyData,
IN EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction,
OUT EFI_HANDLE *NotifyHandle
- )
-;
+ );
/**
Remove a registered notification function from a particular keystroke.
@@ -495,7 +478,6 @@ EFIAPI
KeyboardUnregisterKeyNotify (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_HANDLE NotificationHandle
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
index 0a91465501..fb2bbac750 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
@@ -113,8 +113,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
KbcSelfTest (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to enable keyboard AUX functionality.
@@ -126,8 +125,7 @@ KbcSelfTest (
EFI_STATUS
KbcEnableAux (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to disable keyboard AUX functionality.
@@ -139,8 +137,7 @@ KbcEnableAux (
EFI_STATUS
KbcDisableAux (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to enable keyboard.
@@ -152,8 +149,7 @@ KbcDisableAux (
EFI_STATUS
KbcEnableKb (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to disable keyboard.
@@ -165,8 +161,7 @@ KbcEnableKb (
EFI_STATUS
KbcDisableKb (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to check keyboard status.
@@ -180,8 +175,7 @@ EFI_STATUS
CheckKbStatus (
IN EFI_ISA_IO_PROTOCOL *IsaIo,
OUT BOOLEAN *KeyboardEnable
- )
-;
+ );
/**
Issue command to reset keyboard.
@@ -193,8 +187,7 @@ CheckKbStatus (
EFI_STATUS
PS2MouseReset (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to set mouse's sample rate
@@ -208,8 +201,7 @@ EFI_STATUS
PS2MouseSetSampleRate (
IN EFI_ISA_IO_PROTOCOL *IsaIo,
IN MOUSE_SR SampleRate
- )
-;
+ );
/**
Issue command to set mouse's resolution.
@@ -223,8 +215,7 @@ EFI_STATUS
PS2MouseSetResolution (
IN EFI_ISA_IO_PROTOCOL *IsaIo,
IN MOUSE_RE Resolution
- )
-;
+ );
/**
Issue command to set mouse's scaling.
@@ -238,8 +229,7 @@ EFI_STATUS
PS2MouseSetScaling (
IN EFI_ISA_IO_PROTOCOL *IsaIo,
IN MOUSE_SF Scaling
- )
-;
+ );
/**
Issue command to enable Ps2 mouse.
@@ -251,8 +241,7 @@ PS2MouseSetScaling (
EFI_STATUS
PS2MouseEnable (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Get mouse packet . Only care first 3 bytes
@@ -266,8 +255,7 @@ PS2MouseEnable (
EFI_STATUS
PS2MouseGetPacket (
PS2_MOUSE_ABSOLUTE_POINTER_DEV *MouseAbsolutePointerDev
- )
-;
+ );
/**
Read data via IsaIo protocol with given number.
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
index 1796b09b4d..c92a1c57ed 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/CommPs2.h
@@ -114,8 +114,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
KbcSelfTest (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to enable keyboard AUX functionality.
@@ -127,8 +126,7 @@ KbcSelfTest (
EFI_STATUS
KbcEnableAux (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to disable keyboard AUX functionality.
@@ -140,8 +138,7 @@ KbcEnableAux (
EFI_STATUS
KbcDisableAux (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to enable keyboard.
@@ -153,8 +150,7 @@ KbcDisableAux (
EFI_STATUS
KbcEnableKb (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to disable keyboard.
@@ -166,8 +162,7 @@ KbcEnableKb (
EFI_STATUS
KbcDisableKb (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to check keyboard status.
@@ -181,8 +176,7 @@ EFI_STATUS
CheckKbStatus (
IN EFI_ISA_IO_PROTOCOL *IsaIo,
OUT BOOLEAN *KeyboardEnable
- )
-;
+ );
/**
Issue command to reset keyboard.
@@ -194,8 +188,7 @@ CheckKbStatus (
EFI_STATUS
PS2MouseReset (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Issue command to set mouse's sample rate
@@ -209,8 +202,7 @@ EFI_STATUS
PS2MouseSetSampleRate (
IN EFI_ISA_IO_PROTOCOL *IsaIo,
IN MOUSE_SR SampleRate
- )
-;
+ );
/**
Issue command to set mouse's resolution.
@@ -224,8 +216,7 @@ EFI_STATUS
PS2MouseSetResolution (
IN EFI_ISA_IO_PROTOCOL *IsaIo,
IN MOUSE_RE Resolution
- )
-;
+ );
/**
Issue command to set mouse's scaling.
@@ -239,8 +230,7 @@ EFI_STATUS
PS2MouseSetScaling (
IN EFI_ISA_IO_PROTOCOL *IsaIo,
IN MOUSE_SF Scaling
- )
-;
+ );
/**
Issue command to enable Ps2 mouse.
@@ -252,8 +242,7 @@ PS2MouseSetScaling (
EFI_STATUS
PS2MouseEnable (
IN EFI_ISA_IO_PROTOCOL *IsaIo
- )
-;
+ );
/**
Get mouse packet . Only care first 3 bytes
@@ -267,8 +256,7 @@ PS2MouseEnable (
EFI_STATUS
PS2MouseGetPacket (
PS2_MOUSE_DEV *MouseDev
- )
-;
+ );
/**
Read data via IsaIo protocol with given number.
diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/ComponentName.h b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/ComponentName.h
index d52de4c80c..f8cb60d5dc 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/ComponentName.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/ComponentName.h
@@ -160,7 +160,6 @@ IDEBusComponentNameGetControllerName (
VOID
AddName (
IN IDE_BLK_IO_DEV *IdeBlkIoDevicePtr
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h
index 856e4a1dbf..9fd43f551a 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h
@@ -39,8 +39,7 @@ DeRegisterIdeDevice (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller,
IN EFI_HANDLE Handle
- )
-;
+ );
/**
TODO: Add function description
@@ -59,8 +58,7 @@ EnableIdeDevice (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
TODO: Add function description
@@ -75,8 +73,7 @@ UINT8
IDEReadPortB (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN UINT16 Port
- )
-;
+ );
/**
TODO: Add function description
@@ -95,8 +92,7 @@ IDEReadPortWMultiple (
IN UINT16 Port,
IN UINTN Count,
OUT VOID *Buffer
- )
-;
+ );
/**
TODO: Add function description
@@ -113,8 +109,7 @@ IDEWritePortB (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN UINT16 Port,
IN UINT8 Data
- )
-;
+ );
/**
TODO: Add function description
@@ -131,8 +126,7 @@ IDEWritePortW (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN UINT16 Port,
IN UINT16 Data
- )
-;
+ );
/**
TODO: Add function description
@@ -151,8 +145,7 @@ IDEWritePortWMultiple (
IN UINT16 Port,
IN UINTN Count,
IN VOID *Buffer
- )
-;
+ );
/**
TODO: Add function description
@@ -167,8 +160,7 @@ EFI_STATUS
GetIdeRegistersBaseAddr (
IN EFI_PCI_IO_PROTOCOL *PciIo,
OUT IDE_REGISTERS_BASE_ADDR *IdeRegsBaseAddr
- )
-;
+ );
/**
TODO: Add function description
@@ -181,8 +173,7 @@ GetIdeRegistersBaseAddr (
EFI_STATUS
ReassignIdeResources (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
TODO: Add function description
@@ -195,8 +186,7 @@ ReassignIdeResources (
EFI_STATUS
DiscoverIdeDevice (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
This interface is used to initialize all state data related to the
@@ -208,8 +198,7 @@ DiscoverIdeDevice (
EFI_STATUS
InitializeIDEChannelData (
VOID
- )
-;
+ );
/**
TODO: Add function description
@@ -222,8 +211,7 @@ InitializeIDEChannelData (
EFI_STATUS
DetectIDEController (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
TODO: Add function description
@@ -238,8 +226,7 @@ EFI_STATUS
DRQClear (
IN IDE_BLK_IO_DEV *IdeDev,
IN UINTN TimeoutInMilliSeconds
- )
-;
+ );
/**
TODO: Add function description
@@ -254,8 +241,7 @@ EFI_STATUS
DRQClear2 (
IN IDE_BLK_IO_DEV *IdeDev,
IN UINTN TimeoutInMilliSeconds
- )
-;
+ );
/**
TODO: Add function description
@@ -270,8 +256,7 @@ EFI_STATUS
DRQReady (
IN IDE_BLK_IO_DEV *IdeDev,
IN UINTN TimeoutInMilliSeconds
- )
-;
+ );
/**
TODO: Add function description
@@ -286,8 +271,7 @@ EFI_STATUS
DRQReady2 (
IN IDE_BLK_IO_DEV *IdeDev,
IN UINTN TimeoutInMilliSeconds
- )
-;
+ );
/**
TODO: Add function description
@@ -302,8 +286,7 @@ EFI_STATUS
WaitForBSYClear (
IN IDE_BLK_IO_DEV *IdeDev,
IN UINTN TimeoutInMilliSeconds
- )
-;
+ );
/**
TODO: Add function description
@@ -318,8 +301,7 @@ EFI_STATUS
WaitForBSYClear2 (
IN IDE_BLK_IO_DEV *IdeDev,
IN UINTN TimeoutInMilliSeconds
- )
-;
+ );
/**
TODO: Add function description
@@ -334,8 +316,7 @@ EFI_STATUS
DRDYReady (
IN IDE_BLK_IO_DEV *IdeDev,
IN UINTN DelayInMilliSeconds
- )
-;
+ );
/**
TODO: Add function description
@@ -350,8 +331,7 @@ EFI_STATUS
DRDYReady2 (
IN IDE_BLK_IO_DEV *IdeDev,
IN UINTN DelayInMilliSeconds
- )
-;
+ );
/**
TODO: Add function description
@@ -368,8 +348,7 @@ SwapStringChars (
IN CHAR8 *Destination,
IN CHAR8 *Source,
IN UINT32 Size
- )
-;
+ );
//
// ATA device functions' prototype
@@ -385,8 +364,7 @@ SwapStringChars (
EFI_STATUS
ATAIdentify (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
TODO: Add function description
@@ -399,8 +377,7 @@ ATAIdentify (
VOID
PrintAtaModuleName (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
TODO: Add function description
@@ -429,8 +406,7 @@ AtaPioDataIn (
IN UINT8 SectorNumber,
IN UINT8 CylinderLsb,
IN UINT8 CylinderMsb
- )
-;
+ );
/**
TODO: Add function description
@@ -459,8 +435,7 @@ AtaPioDataOut (
IN UINT8 SectorNumber,
IN UINT8 CylinderLsb,
IN UINT8 CylinderMsb
- )
-;
+ );
/**
TODO: Add function description
@@ -473,8 +448,7 @@ AtaPioDataOut (
EFI_STATUS
CheckErrorStatus (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
TODO: Add function description
@@ -493,8 +467,7 @@ AtaReadSectors (
IN VOID *DataBuffer,
IN EFI_LBA Lba,
IN UINTN NumberOfBlocks
- )
-;
+ );
/**
TODO: Add function description
@@ -513,8 +486,7 @@ AtaWriteSectors (
IN VOID *BufferData,
IN EFI_LBA Lba,
IN UINTN NumberOfBlocks
- )
-;
+ );
/**
TODO: Add function description
@@ -527,8 +499,7 @@ AtaWriteSectors (
EFI_STATUS
AtaSoftReset (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
TODO: Add function description
@@ -549,8 +520,7 @@ AtaBlkIoReadBlocks (
IN EFI_LBA LBA,
IN UINTN BufferSize,
OUT VOID *Buffer
- )
-;
+ );
/**
TODO: Add function description
@@ -571,8 +541,7 @@ AtaBlkIoWriteBlocks (
IN EFI_LBA LBA,
IN UINTN BufferSize,
OUT VOID *Buffer
- )
-;
+ );
//
// ATAPI device functions' prototype
@@ -588,8 +557,7 @@ AtaBlkIoWriteBlocks (
EFI_STATUS
ATAPIIdentify (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
TODO: Add function description
@@ -602,8 +570,7 @@ ATAPIIdentify (
EFI_STATUS
AtapiInquiry (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
TODO: Add function description
@@ -624,8 +591,7 @@ AtapiPacketCommandIn (
IN UINT16 *Buffer,
IN UINT32 ByteCount,
IN UINTN TimeOut
- )
-;
+ );
/**
TODO: Add function description
@@ -646,8 +612,7 @@ AtapiPacketCommandOut (
IN UINT16 *Buffer,
IN UINT32 ByteCount,
IN UINTN TimeOut
- )
-;
+ );
/**
TODO: Add function description
@@ -668,8 +633,7 @@ PioReadWriteData (
IN UINT32 ByteCount,
IN BOOLEAN Read,
IN UINTN TimeOut
- )
-;
+ );
/**
TODO: Add function description
@@ -684,8 +648,7 @@ EFI_STATUS
AtapiTestUnitReady (
IN IDE_BLK_IO_DEV *IdeDev,
OUT SENSE_RESULT *SResult
- )
-;
+ );
/**
TODO: Add function description
@@ -700,8 +663,7 @@ EFI_STATUS
AtapiRequestSense (
IN IDE_BLK_IO_DEV *IdeDev,
OUT UINTN *SenseCounts
- )
-;
+ );
/**
TODO: Add function description
@@ -716,8 +678,7 @@ EFI_STATUS
AtapiReadCapacity (
IN IDE_BLK_IO_DEV *IdeDev,
OUT SENSE_RESULT *SResult
- )
-;
+ );
/**
TODO: Add function description
@@ -732,8 +693,7 @@ EFI_STATUS
AtapiDetectMedia (
IN IDE_BLK_IO_DEV *IdeDev,
OUT BOOLEAN *MediaChange
- )
-;
+ );
/**
TODO: Add function description
@@ -752,8 +712,7 @@ AtapiReadSectors (
IN VOID *Buffer,
IN EFI_LBA Lba,
IN UINTN NumberOfBlocks
- )
-;
+ );
/**
TODO: Add function description
@@ -772,8 +731,7 @@ AtapiWriteSectors (
IN VOID *Buffer,
IN EFI_LBA Lba,
IN UINTN NumberOfBlocks
- )
-;
+ );
/**
TODO: Add function description
@@ -786,8 +744,7 @@ AtapiWriteSectors (
EFI_STATUS
AtapiSoftReset (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
TODO: Add function description
@@ -808,8 +765,7 @@ AtapiBlkIoReadBlocks (
IN EFI_LBA LBA,
IN UINTN BufferSize,
OUT VOID *Buffer
- )
-;
+ );
/**
TODO: Add function description
@@ -830,8 +786,7 @@ AtapiBlkIoWriteBlocks (
IN EFI_LBA LBA,
IN UINTN BufferSize,
OUT VOID *Buffer
- )
-;
+ );
/**
TODO: Add function description
@@ -848,8 +803,7 @@ ParseSenseData (
IN IDE_BLK_IO_DEV *IdeDev,
IN UINTN SenseCount,
OUT SENSE_RESULT *Result
- )
-;
+ );
/**
TODO: Add function description
@@ -862,8 +816,7 @@ ParseSenseData (
EFI_STATUS
AtapiReadPendingData (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
TODO: Add function description
@@ -878,8 +831,7 @@ EFI_STATUS
IsLS120orZipWriteProtected (
IN IDE_BLK_IO_DEV *IdeDev,
OUT BOOLEAN *WriteProtected
- )
-;
+ );
/**
TODO: Add function description
@@ -892,8 +844,7 @@ IsLS120orZipWriteProtected (
VOID
ReleaseIdeResources (
IN IDE_BLK_IO_DEV *IdeBlkIoDevice
- )
-;
+ );
/**
TODO: Add function description
@@ -908,8 +859,7 @@ EFI_STATUS
SetDeviceTransferMode (
IN IDE_BLK_IO_DEV *IdeDev,
IN ATA_TRANSFER_MODE *TransferMode
- )
-;
+ );
/**
TODO: Add function description
@@ -924,8 +874,7 @@ EFI_STATUS
ReadNativeMaxAddress (
IN IDE_BLK_IO_DEV *IdeDev,
OUT EFI_LBA *NativeMaxAddress
- )
-;
+ );
/**
TODO: Add function description
@@ -942,8 +891,7 @@ SetMaxAddress (
IN IDE_BLK_IO_DEV *IdeDev,
IN EFI_LBA MaxAddress,
IN BOOLEAN bVolatile
- )
-;
+ );
/**
TODO: Add function description
@@ -970,8 +918,7 @@ AtaNonDataCommandIn (
IN UINT8 LbaLow,
IN UINT8 LbaMiddle,
IN UINT8 LbaHigh
- )
-;
+ );
/**
TODO: Add function description
@@ -994,8 +941,7 @@ AtaNonDataCommandInExt (
IN UINT16 Feature,
IN UINT16 SectorCount,
IN EFI_LBA LbaAddress
- )
-;
+ );
/**
TODO: Add function description
@@ -1014,8 +960,7 @@ AtaReadSectorsExt (
IN VOID *DataBuffer,
IN EFI_LBA StartLba,
IN UINTN NumberOfBlocks
- )
-;
+ );
/**
TODO: Add function description
@@ -1034,8 +979,7 @@ AtaWriteSectorsExt (
IN VOID *DataBuffer,
IN EFI_LBA StartLba,
IN UINTN NumberOfBlocks
- )
-;
+ );
/**
TODO: Add function description
@@ -1054,8 +998,7 @@ AtaUdmaReadExt (
IN VOID *DataBuffer,
IN EFI_LBA StartLba,
IN UINTN NumberOfBlocks
- )
-;
+ );
/**
TODO: Add function description
@@ -1074,8 +1017,7 @@ AtaUdmaRead (
IN VOID *DataBuffer,
IN EFI_LBA StartLba,
IN UINTN NumberOfBlocks
- )
-;
+ );
/**
TODO: Add function description
@@ -1094,8 +1036,7 @@ AtaUdmaWriteExt (
IN VOID *DataBuffer,
IN EFI_LBA StartLba,
IN UINTN NumberOfBlocks
- )
-;
+ );
/**
Perform an ATA Udma operation (Read, ReadExt, Write, WriteExt).
@@ -1129,8 +1070,7 @@ DoAtaUdma (
IN EFI_LBA StartLba,
IN UINTN NumberOfBlocks,
IN ATA_UDMA_OPERATION UdmaOp
- )
-;
+ );
/**
@@ -1150,8 +1090,7 @@ AtaUdmaWrite (
IN VOID *DataBuffer,
IN EFI_LBA StartLba,
IN UINTN NumberOfBlocks
- )
-;
+ );
/**
TODO: Add function description
@@ -1174,8 +1113,7 @@ AtaCommandIssueExt (
IN UINT16 Feature,
IN UINT16 SectorCount,
IN EFI_LBA LbaAddress
- )
-;
+ );
/**
TODO: Add function description
@@ -1198,8 +1136,7 @@ AtaCommandIssue (
IN UINT16 Feature,
IN UINT16 SectorCount,
IN EFI_LBA LbaAddress
- )
-;
+ );
/**
TODO: Add function description
@@ -1212,8 +1149,7 @@ AtaCommandIssue (
EFI_STATUS
AtaAtapi6Identify (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
@@ -1227,8 +1163,7 @@ AtaAtapi6Identify (
VOID
AtaSMARTSupport (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
TODO: Add function description
@@ -1251,8 +1186,7 @@ AtaPioDataInExt (
IN UINT8 AtaCommand,
IN EFI_LBA StartLba,
IN UINT16 SectorCount
- )
-;
+ );
/**
TODO: Add function description
@@ -1275,8 +1209,7 @@ AtaPioDataOutExt (
IN UINT8 AtaCommand,
IN EFI_LBA StartLba,
IN UINT16 SectorCount
- )
-;
+ );
/**
TODO: Add function description
@@ -1291,8 +1224,7 @@ EFI_STATUS
SetDriveParameters (
IN IDE_BLK_IO_DEV *IdeDev,
IN ATA_DRIVE_PARMS *DriveParameters
- )
-;
+ );
/**
TODO: Add function description
@@ -1305,8 +1237,7 @@ SetDriveParameters (
EFI_STATUS
EnableInterrupt (
IN IDE_BLK_IO_DEV *IdeDev
- )
-;
+ );
/**
Clear pending IDE interrupt before OS loader/kernel take control of the IDE device.
@@ -1322,7 +1253,6 @@ EFIAPI
ClearInterrupt (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.h b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.h
index eece09ad02..8e998cb4cd 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.h
@@ -135,8 +135,7 @@ EFIAPI
IDEBusControllerDriverEntryPoint (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
/**
TODO: Add function description
@@ -154,8 +153,7 @@ IDEBusDriverBindingSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
TODO: Add function description
@@ -173,8 +171,7 @@ IDEBusDriverBindingStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
TODO: Add function description
@@ -194,8 +191,7 @@ IDEBusDriverBindingStop (
IN EFI_HANDLE Controller,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
//
// EFI Driver Configuration Functions
@@ -257,8 +253,7 @@ EFIAPI
IDEBlkIoReset (
IN EFI_BLOCK_IO_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
TODO: Add function description
@@ -280,8 +275,7 @@ IDEBlkIoReadBlocks (
IN EFI_LBA LBA,
IN UINTN BufferSize,
OUT VOID *Buffer
- )
-;
+ );
/**
TODO: Add function description
@@ -303,8 +297,7 @@ IDEBlkIoWriteBlocks (
IN EFI_LBA LBA,
IN UINTN BufferSize,
IN VOID *Buffer
- )
-;
+ );
/**
TODO: Add function description
@@ -318,8 +311,7 @@ EFI_STATUS
EFIAPI
IDEBlkIoFlushBlocks (
IN EFI_BLOCK_IO_PROTOCOL *This
- )
-;
+ );
/**
TODO: Add function description
@@ -334,8 +326,7 @@ EFI_STATUS
IDERegisterDecodeEnableorDisable (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN BOOLEAN Enable
- )
-;
+ );
/**
TODO: Add function description
@@ -353,8 +344,7 @@ IDEDiskInfoInquiry (
IN EFI_DISK_INFO_PROTOCOL *This,
IN OUT VOID *InquiryData,
IN OUT UINT32 *IntquiryDataSize
- )
-;
+ );
/**
TODO: Add function description
@@ -372,8 +362,7 @@ IDEDiskInfoIdentify (
IN EFI_DISK_INFO_PROTOCOL *This,
IN OUT VOID *IdentifyData,
IN OUT UINT32 *IdentifyDataSize
- )
-;
+ );
/**
TODO: Add function description
@@ -393,8 +382,7 @@ IDEDiskInfoSenseData (
IN OUT VOID *SenseData,
IN OUT UINT32 *SenseDataSize,
OUT UINT8 *SenseDataNumber
- )
-;
+ );
/**
TODO: Add function description
@@ -412,7 +400,6 @@ IDEDiskInfoWhichIde (
IN EFI_DISK_INFO_PROTOCOL *This,
OUT UINT32 *IdeChannel,
OUT UINT32 *IdeDevice
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciCommand.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciCommand.h
index f838395ea8..624ec50b17 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciCommand.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciCommand.h
@@ -79,8 +79,7 @@ PciOperateRegister (
IN UINT8 Offset,
IN UINT8 Operation,
OUT UINT16 *PtrCommand
- )
-;
+ );
/**
check the cpability of this device supports
@@ -93,8 +92,7 @@ PciOperateRegister (
BOOLEAN
PciCapabilitySupport (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Locate cap reg.
@@ -114,8 +112,7 @@ LocateCapabilityRegBlock (
IN UINT8 CapId,
IN OUT UINT8 *Offset,
OUT UINT8 *NextRegBlock OPTIONAL
- )
-;
+ );
#define PciReadCommandRegister(a,b) \
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.h
index 41251ef3ab..059077a89a 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.h
@@ -20,8 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
InitializePciDevicePool (
VOID
- )
-;
+ );
/**
Insert a root bridge into PCI device pool
@@ -32,8 +31,7 @@ InitializePciDevicePool (
EFI_STATUS
InsertRootBridge (
PCI_IO_DEVICE *RootBridge
- )
-;
+ );
/**
This function is used to insert a PCI device node under
@@ -47,8 +45,7 @@ EFI_STATUS
InsertPciDevice (
PCI_IO_DEVICE *Bridge,
PCI_IO_DEVICE *PciDeviceNode
- )
-;
+ );
/**
Destroy root bridge and remove it from deivce tree.
@@ -59,8 +56,7 @@ InsertPciDevice (
EFI_STATUS
DestroyRootBridge (
IN PCI_IO_DEVICE *RootBridge
- )
-;
+ );
/**
Destroy all the pci device node under the bridge.
@@ -72,8 +68,7 @@ DestroyRootBridge (
EFI_STATUS
DestroyPciDeviceTree (
IN PCI_IO_DEVICE *Bridge
- )
-;
+ );
/**
Destroy all device nodes under the root bridge
@@ -86,8 +81,7 @@ DestroyPciDeviceTree (
EFI_STATUS
DestroyRootBridgeByHandle (
EFI_HANDLE Controller
- )
-;
+ );
/**
This function registers the PCI IO device. It creates a handle for this PCI IO device
@@ -107,8 +101,7 @@ RegisterPciDevice (
IN EFI_HANDLE Controller,
IN PCI_IO_DEVICE *PciIoDevice,
OUT EFI_HANDLE *Handle OPTIONAL
- )
-;
+ );
/**
This function is used to remove the whole PCI devices from the bridge.
@@ -122,8 +115,7 @@ EFI_STATUS
RemoveAllPciDeviceOnBridge (
EFI_HANDLE RootBridgeHandle,
PCI_IO_DEVICE *Bridge
- )
-;
+ );
/**
@@ -140,8 +132,7 @@ EFI_STATUS
DeRegisterPciDevice (
IN EFI_HANDLE Controller,
IN EFI_HANDLE Handle
- )
-;
+ );
/**
Start to manage the PCI device on specified the root bridge or PCI-PCI Bridge
@@ -165,8 +156,7 @@ StartPciDevicesOnBridge (
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath,
IN OUT UINT8 *NumberOfChildren,
IN OUT EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
Start to manage all the PCI devices it found previously under
@@ -178,8 +168,7 @@ StartPciDevicesOnBridge (
EFI_STATUS
StartPciDevices (
IN EFI_HANDLE Controller
- )
-;
+ );
/**
Create root bridge device
@@ -191,8 +180,7 @@ StartPciDevices (
PCI_IO_DEVICE *
CreateRootBridge (
IN EFI_HANDLE RootBridgeHandle
- )
-;
+ );
/**
Get root bridge device instance by specific handle
@@ -204,14 +192,12 @@ CreateRootBridge (
PCI_IO_DEVICE *
GetRootBridgeByHandle (
EFI_HANDLE RootBridgeHandle
- )
-;
+ );
BOOLEAN
RootBridgeExisted (
IN EFI_HANDLE RootBridgeHandle
- )
-;
+ );
/**
Judege whether Pci device existed
@@ -225,8 +211,7 @@ BOOLEAN
PciDeviceExisted (
IN PCI_IO_DEVICE *Bridge,
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Active VGA device
@@ -238,8 +223,7 @@ PciDeviceExisted (
PCI_IO_DEVICE *
ActiveVGADeviceOnTheSameSegment (
IN PCI_IO_DEVICE *VgaDevice
- )
-;
+ );
/**
Active VGA device on root bridge
@@ -251,8 +235,7 @@ ActiveVGADeviceOnTheSameSegment (
PCI_IO_DEVICE *
ActiveVGADeviceOnTheRootBridge (
IN PCI_IO_DEVICE *RootBridge
- )
-;
+ );
/**
Get HPC PCI address according to its device path
@@ -268,8 +251,7 @@ GetHpcPciAddress (
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo,
IN EFI_DEVICE_PATH_PROTOCOL *HpcDevicePath,
OUT UINT64 *PciAddress
- )
-;
+ );
/**
Get HPC PCI address according to its device path
@@ -284,8 +266,7 @@ GetHpcPciAddressFromRootBridge (
IN PCI_IO_DEVICE *RootBridge,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath,
OUT UINT64 *PciAddress
- )
-;
+ );
/**
Destroy a pci device node.
@@ -297,7 +278,6 @@ GetHpcPciAddressFromRootBridge (
EFI_STATUS
FreePciDevice (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.h
index e32858bfc1..318df6045c 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.h
@@ -37,8 +37,7 @@ typedef struct {
EFI_STATUS
InitializePciDriverOverrideInstance (
PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Add an overriding driver image
@@ -53,8 +52,7 @@ EFI_STATUS
AddDriver (
IN PCI_IO_DEVICE *PciIoDevice,
IN EFI_HANDLE DriverImageHandle
- )
-;
+ );
/**
@@ -71,7 +69,6 @@ EFIAPI
GetDriver (
IN EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This,
IN OUT EFI_HANDLE *DriverImageHandle
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h
index 029e16eb26..e1f2a22b30 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h
@@ -29,8 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
PciEnumerator (
IN EFI_HANDLE Controller
- )
-;
+ );
/**
Enumerate PCI root bridge
@@ -46,8 +45,7 @@ EFI_STATUS
PciRootBridgeEnumerator (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc,
IN PCI_IO_DEVICE *RootBridgeDev
- )
-;
+ );
/**
This routine is used to process option rom on a certain root bridge
@@ -63,8 +61,7 @@ ProcessOptionRom (
IN PCI_IO_DEVICE *Bridge,
IN UINT64 RomBase,
IN UINT64 MaxLength
- )
-;
+ );
/**
This routine is used to assign bus number to the given PCI bus system
@@ -80,8 +77,7 @@ PciAssignBusNumber (
IN PCI_IO_DEVICE *Bridge,
IN UINT8 StartBusNumber,
OUT UINT8 *SubBusNumber
- )
-;
+ );
/**
This routine is used to determine the root bridge attribute by interfacing
@@ -97,8 +93,7 @@ EFI_STATUS
DetermineRootBridgeAttributes (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc,
IN PCI_IO_DEVICE *RootBridgeDev
- )
-;
+ );
/**
Get Max Option Rom size on this bridge
@@ -109,8 +104,7 @@ DetermineRootBridgeAttributes (
UINT64
GetMaxOptionRomSize (
IN PCI_IO_DEVICE *Bridge
- )
-;
+ );
/**
Process attributes of devices on this host bridge
@@ -124,8 +118,7 @@ GetMaxOptionRomSize (
EFI_STATUS
PciHostBridgeDeviceAttribute (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc
- )
-;
+ );
/**
Get resource allocation status from the ACPI pointer
@@ -147,8 +140,7 @@ GetResourceAllocationStatus (
OUT UINT64 *PMem32ResStatus,
OUT UINT64 *Mem64ResStatus,
OUT UINT64 *PMem64ResStatus
- )
-;
+ );
/**
Remove a PCI device from device pool and mark its bar
@@ -161,8 +153,7 @@ GetResourceAllocationStatus (
EFI_STATUS
RejectPciDevice (
IN PCI_IO_DEVICE *PciDevice
- )
-;
+ );
/**
Determine whethter a PCI device can be rejected
@@ -174,8 +165,7 @@ RejectPciDevice (
BOOLEAN
IsRejectiveDevice (
IN PCI_RESOURCE_NODE *PciResNode
- )
-;
+ );
/**
Compare two resource node and get the larger resource consumer
@@ -189,8 +179,7 @@ PCI_RESOURCE_NODE *
GetLargerConsumerDevice (
IN PCI_RESOURCE_NODE *PciResNode1,
IN PCI_RESOURCE_NODE *PciResNode2
- )
-;
+ );
/**
Get the max resource consumer in the host resource pool
@@ -202,8 +191,7 @@ GetLargerConsumerDevice (
PCI_RESOURCE_NODE *
GetMaxResourceConsumerDevice (
IN PCI_RESOURCE_NODE *ResPool
- )
-;
+ );
/**
Adjust host bridge allocation so as to reduce resource requirement
@@ -231,8 +219,7 @@ PciHostBridgeAdjustAllocation (
IN UINT64 PMem32ResStatus,
IN UINT64 Mem64ResStatus,
IN UINT64 PMem64ResStatus
- )
-;
+ );
/**
Summary requests for all resource type, and contruct ACPI resource
@@ -255,8 +242,7 @@ ConstructAcpiResourceRequestor (
IN PCI_RESOURCE_NODE *Mem64Node,
IN PCI_RESOURCE_NODE *PMem64Node,
OUT VOID **pConfig
- )
-;
+ );
/**
Get resource base from a acpi configuration descriptor.
@@ -278,8 +264,7 @@ GetResourceBase (
OUT UINT64 *PMem32Base,
OUT UINT64 *Mem64Base,
OUT UINT64 *PMem64Base
- )
-;
+ );
/**
Enumerate pci bridge, allocate resource and determine attribute
@@ -293,8 +278,7 @@ GetResourceBase (
EFI_STATUS
PciBridgeEnumerator (
IN PCI_IO_DEVICE *BridgeDev
- )
-;
+ );
/**
Allocate all kinds of resource for bridge
@@ -307,8 +291,7 @@ PciBridgeEnumerator (
EFI_STATUS
PciBridgeResourceAllocator (
IN PCI_IO_DEVICE *Bridge
- )
-;
+ );
/**
Get resource base address for a pci bridge device
@@ -330,8 +313,7 @@ GetResourceBaseFromBridge (
OUT UINT64 *PMem32Base,
OUT UINT64 *Mem64Base,
OUT UINT64 *PMem64Base
- )
-;
+ );
/**
Process Option Rom on this host bridge
@@ -344,8 +326,7 @@ GetResourceBaseFromBridge (
EFI_STATUS
PciHostBridgeP2CProcess (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc
- )
-;
+ );
/**
These are the notifications from the PCI bus driver that it is about to enter a certain
@@ -413,8 +394,7 @@ EFI_STATUS
NotifyPhase (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc,
EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PHASE Phase
- )
-;
+ );
/**
Provides the hooks from the PCI bus driver to every PCI controller (device/function) at various
@@ -450,8 +430,7 @@ PreprocessController (
IN UINT8 Device,
IN UINT8 Func,
IN EFI_PCI_CONTROLLER_RESOURCE_ALLOCATION_PHASE Phase
- )
-;
+ );
/**
Hot plug request notify.
@@ -475,8 +454,7 @@ PciHotPlugRequestNotify (
IN EFI_DEVICE_PATH_PROTOCOL * RemainingDevicePath OPTIONAL,
IN OUT UINT8 *NumberOfChildren,
IN OUT EFI_HANDLE * ChildHandleBuffer
- )
-;
+ );
/**
Search hostbridge according to given handle
@@ -486,8 +464,7 @@ PciHotPlugRequestNotify (
BOOLEAN
SearchHostBridgeHandle (
IN EFI_HANDLE RootBridgeHandle
- )
-;
+ );
/**
Add host bridge handle to global variable for enumating.
@@ -497,7 +474,6 @@ SearchHostBridgeHandle (
EFI_STATUS
AddHostBridgeEnumerator (
IN EFI_HANDLE HostBridgeHandle
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h
index 19adc04754..ab46b5ac8a 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h
@@ -34,8 +34,7 @@ PciDevicePresent (
UINT8 Bus,
UINT8 Device,
UINT8 Func
- )
-;
+ );
/**
Collect all the resource information under this root bridge
@@ -49,8 +48,7 @@ EFI_STATUS
PciPciDeviceInfoCollector (
IN PCI_IO_DEVICE *Bridge,
UINT8 StartBusNumber
- )
-;
+ );
/**
Seach required device and get PCI device info block
@@ -70,8 +68,7 @@ PciSearchDevice (
UINT8 Device,
UINT8 Func,
PCI_IO_DEVICE **PciDevice
- )
-;
+ );
/**
Create PCI private data for PCI device
@@ -91,8 +88,7 @@ GatherDeviceInfo (
UINT8 Bus,
UINT8 Device,
UINT8 Func
- )
-;
+ );
/**
Create private data for bridge device's PPB.
@@ -112,8 +108,7 @@ GatherPpbInfo (
UINT8 Bus,
UINT8 Device,
UINT8 Func
- )
-;
+ );
/**
Create private data for hotplug bridge device
@@ -133,8 +128,7 @@ GatherP2CInfo (
UINT8 Bus,
UINT8 Device,
UINT8 Func
- )
-;
+ );
/**
Create device path for pci deivce
@@ -148,8 +142,7 @@ EFI_DEVICE_PATH_PROTOCOL *
CreatePciDevicePath (
IN EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath,
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Check the bar is existed or not.
@@ -169,8 +162,7 @@ BarExisted (
IN UINTN Offset,
OUT UINT32 *BarLengthValue,
OUT UINT32 *OriginalBarValue
- )
-;
+ );
/**
Test whether the device can support attributes
@@ -190,8 +182,7 @@ PciTestSupportedAttribute (
IN UINT16 *BridgeControl,
IN UINT16 *OldCommand,
IN UINT16 *OldBridgeControl
- )
-;
+ );
/**
Set the supported or current attributes of a PCI device
@@ -208,8 +199,7 @@ PciSetDeviceAttribute (
IN UINT16 Command,
IN UINT16 BridgeControl,
IN UINTN Option
- )
-;
+ );
/**
Determine if the device can support Fast Back to Back attribute
@@ -221,8 +211,7 @@ EFI_STATUS
GetFastBackToBackSupport (
IN PCI_IO_DEVICE *PciIoDevice,
IN UINT8 StatusIndex
- )
-;
+ );
/**
Determine the related attributes of all devices under a Root Bridge
@@ -233,8 +222,7 @@ GetFastBackToBackSupport (
EFI_STATUS
DetermineDeviceAttribute (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
This routine is used to update the bar information for those incompatible PCI device
@@ -245,8 +233,7 @@ DetermineDeviceAttribute (
EFI_STATUS
UpdatePciInfo (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
This routine will update the alignment with the new alignment
@@ -259,8 +246,7 @@ VOID
SetNewAlign (
IN UINT64 *Alignment,
IN UINT64 NewAlignment
- )
-;
+ );
/**
Parse PCI bar bit.
@@ -276,8 +262,7 @@ PciParseBar (
IN PCI_IO_DEVICE *PciIoDevice,
IN UINTN Offset,
IN UINTN BarIndex
- )
-;
+ );
/**
This routine is used to initialize the bar of a PCI device
@@ -288,8 +273,7 @@ PciParseBar (
EFI_STATUS
InitializePciDevice (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Init PPB for bridge device
@@ -299,8 +283,7 @@ InitializePciDevice (
EFI_STATUS
InitializePpb (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Init private data for Hotplug bridge device
@@ -310,8 +293,7 @@ InitializePpb (
EFI_STATUS
InitializeP2C (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Create and initiliaze general PCI I/O device instance for
@@ -332,8 +314,7 @@ CreatePciIoDevice (
UINT8 Bus,
UINT8 Device,
UINT8 Func
- )
-;
+ );
/**
This routine is used to enumerate entire pci bus system
@@ -347,8 +328,7 @@ CreatePciIoDevice (
EFI_STATUS
PciEnumeratorLight (
IN EFI_HANDLE Controller
- )
-;
+ );
/**
Get bus range.
@@ -367,14 +347,12 @@ PciGetBusRange (
OUT UINT16 *MinBus,
OUT UINT16 *MaxBus,
OUT UINT16 *BusRange
- )
-;
+ );
EFI_STATUS
StartManagingRootBridge (
IN PCI_IO_DEVICE *RootBridgeDev
- )
-;
+ );
/**
This routine can be used to check whether a PCI device should be rejected when light enumeration
@@ -388,7 +366,6 @@ StartManagingRootBridge (
BOOLEAN
IsPciDeviceRejected (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.h
index 4f5037136c..bc1253d7a1 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.h
@@ -43,8 +43,7 @@ EFIAPI
PciHPCInitialized (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
Compare two device path
@@ -59,8 +58,7 @@ BOOLEAN
EfiCompareDevicePath (
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath1,
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath2
- )
-;
+ );
/**
Init hot plug support and root hot plug private data.
@@ -69,8 +67,7 @@ EfiCompareDevicePath (
EFI_STATUS
InitializeHotPlugSupport (
VOID
- )
-;
+ );
/**
Test whether PCI device is hot plug bus.
@@ -83,8 +80,7 @@ InitializeHotPlugSupport (
EFI_STATUS
IsPciHotPlugBus (
PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Test whether device path is for root pci hot plug bus
@@ -99,8 +95,7 @@ BOOLEAN
IsRootPciHotPlugBus (
IN EFI_DEVICE_PATH_PROTOCOL *HpbDevicePath,
OUT UINTN *HpIndex
- )
-;
+ );
/**
Test whether device path is for root pci hot plug controller
@@ -115,8 +110,7 @@ BOOLEAN
IsRootPciHotPlugController (
IN EFI_DEVICE_PATH_PROTOCOL *HpcDevicePath,
OUT UINTN *HpIndex
- )
-;
+ );
/**
Wrapper for creating event object for HPC
@@ -130,8 +124,7 @@ EFI_STATUS
CreateEventForHpc (
IN UINTN HpIndex,
OUT EFI_EVENT *Event
- )
-;
+ );
/**
Wait for all root HPC initialized.
@@ -141,8 +134,7 @@ CreateEventForHpc (
EFI_STATUS
AllRootHPCInitialized (
IN UINTN TimeoutInMicroSeconds
- )
-;
+ );
/**
Check HPC capability register block
@@ -155,8 +147,7 @@ AllRootHPCInitialized (
EFI_STATUS
IsSHPC (
PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Get resource padding for hot plug bus
@@ -169,7 +160,6 @@ IsSHPC (
EFI_STATUS
GetResourcePaddingForHpb (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.h
index 216ee402fd..f1ac6ed58c 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.h
@@ -25,8 +25,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
InitializePciIoInstance (
PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Verifies access to a PCI Base Address Register (BAR)
@@ -50,8 +49,7 @@ PciIoVerifyBarAccess (
IN EFI_PCI_IO_PROTOCOL_WIDTH Width,
IN UINTN Count,
UINT64 *Offset
- )
-;
+ );
/**
Verifies access to a PCI Config Header
@@ -71,8 +69,7 @@ PciIoVerifyConfigAccess (
IN EFI_PCI_IO_PROTOCOL_WIDTH Width,
IN UINTN Count,
IN UINT64 *Offset
- )
-;
+ );
/**
Reads from the I/O space of a PCI Root Bridge. Returns when either the polling exit criteria is
@@ -104,8 +101,7 @@ PciIoPollMem (
IN UINT64 Value,
IN UINT64 Delay,
OUT UINT64 *Result
- )
-;
+ );
/**
Reads from the I/O space of a PCI Root Bridge. Returns when either the polling exit criteria is
@@ -136,8 +132,7 @@ PciIoPollIo (
IN UINT64 Value,
IN UINT64 Delay,
OUT UINT64 *Result
- )
-;
+ );
/**
Enable a PCI driver to access PCI controller registers in the PCI memory or I/O space.
@@ -168,8 +163,7 @@ PciIoMemRead (
IN UINT64 Offset,
IN UINTN Count,
IN OUT VOID *Buffer
- )
-;
+ );
/**
Enable a PCI driver to access PCI controller registers in the PCI memory or I/O space.
@@ -200,8 +194,7 @@ PciIoMemWrite (
IN UINT64 Offset,
IN UINTN Count,
IN OUT VOID *Buffer
- )
-;
+ );
/**
Enable a PCI driver to access PCI controller registers in the PCI memory or I/O space.
@@ -232,8 +225,7 @@ PciIoIoRead (
IN UINT64 Offset,
IN UINTN Count,
IN OUT VOID *Buffer
- )
-;
+ );
/**
Enable a PCI driver to access PCI controller registers in the PCI memory or I/O space.
@@ -264,8 +256,7 @@ PciIoIoWrite (
IN UINT64 Offset,
IN UINTN Count,
IN OUT VOID *Buffer
- )
-;
+ );
/**
Enable a PCI driver to access PCI controller registers in PCI configuration space.
@@ -293,8 +284,7 @@ PciIoConfigRead (
IN UINT32 Offset,
IN UINTN Count,
IN OUT VOID *Buffer
- )
-;
+ );
/**
Enable a PCI driver to access PCI controller registers in PCI configuration space.
@@ -322,8 +312,7 @@ PciIoConfigWrite (
IN UINT32 Offset,
IN UINTN Count,
IN OUT VOID *Buffer
- )
-;
+ );
/**
Enables a PCI driver to copy one region of PCI memory space to another region of PCI
@@ -363,8 +352,7 @@ PciIoCopyMem (
IN UINT8 SrcBarIndex,
IN UINT64 SrcOffset,
IN UINTN Count
- )
-;
+ );
/**
Provides the PCI controller-Cspecific addresses needed to access system memory.
@@ -394,8 +382,7 @@ PciIoMap (
IN OUT UINTN *NumberOfBytes,
OUT EFI_PHYSICAL_ADDRESS *DeviceAddress,
OUT VOID **Mapping
- )
-;
+ );
/**
Completes the Map() operation and releases any corresponding resources.
@@ -412,8 +399,7 @@ EFIAPI
PciIoUnmap (
IN EFI_PCI_IO_PROTOCOL *This,
IN VOID *Mapping
- )
-;
+ );
/**
Allocates pages that are suitable for an EfiPciIoOperationBusMasterCommonBuffer
@@ -444,8 +430,7 @@ PciIoAllocateBuffer (
IN UINTN Pages,
OUT VOID **HostAddress,
IN UINT64 Attributes
- )
-;
+ );
/**
Frees memory that was allocated with AllocateBuffer().
@@ -465,8 +450,7 @@ PciIoFreeBuffer (
IN EFI_PCI_IO_PROTOCOL *This,
IN UINTN Pages,
IN VOID *HostAddress
- )
-;
+ );
/**
Flushes all PCI posted write transactions from a PCI host bridge to system memory.
@@ -483,8 +467,7 @@ EFI_STATUS
EFIAPI
PciIoFlush (
IN EFI_PCI_IO_PROTOCOL *This
- )
-;
+ );
/**
Retrieves this PCI controller's current PCI bus number, device number, and function number.
@@ -507,8 +490,7 @@ PciIoGetLocation (
OUT UINTN *Bus,
OUT UINTN *Device,
OUT UINTN *Function
- )
-;
+ );
/**
Check BAR type for PCI resource.
@@ -525,8 +507,7 @@ CheckBarType (
IN PCI_IO_DEVICE *PciIoDevice,
UINT8 BarIndex,
PCI_BAR_TYPE BarType
- )
-;
+ );
/**
Set/Disable new attributes to a Root Bridge
@@ -543,8 +524,7 @@ ModifyRootBridgeAttributes (
IN PCI_IO_DEVICE *PciIoDevice,
IN UINT64 Attributes,
IN EFI_PCI_IO_PROTOCOL_ATTRIBUTE_OPERATION Operation
- )
-;
+ );
/**
Check whether this device can be enable/disable to snoop
@@ -559,8 +539,7 @@ EFI_STATUS
SupportPaletteSnoopAttributes (
IN PCI_IO_DEVICE *PciIoDevice,
IN EFI_PCI_IO_PROTOCOL_ATTRIBUTE_OPERATION Operation
- )
-;
+ );
/**
Performs an operation on the attributes that this PCI controller supports. The operations include
@@ -588,8 +567,7 @@ PciIoAttributes (
IN EFI_PCI_IO_PROTOCOL_ATTRIBUTE_OPERATION Operation,
IN UINT64 Attributes,
OUT UINT64 *Result OPTIONAL
- )
-;
+ );
/**
Gets the attributes that this PCI controller supports setting on a BAR using
@@ -620,8 +598,7 @@ PciIoGetBarAttributes (
IN UINT8 BarIndex,
OUT UINT64 *Supports, OPTIONAL
OUT VOID **Resources OPTIONAL
- )
-;
+ );
/**
Sets the attributes for a range of a BAR on a PCI controller.
@@ -655,8 +632,7 @@ PciIoSetBarAttributes (
IN UINT8 BarIndex,
IN OUT UINT64 *Offset,
IN OUT UINT64 *Length
- )
-;
+ );
/**
Program parent bridge's attribute recurrently.
@@ -678,8 +654,7 @@ UpStreamBridgesAttributes (
IN PCI_IO_DEVICE *PciIoDevice,
IN EFI_PCI_IO_PROTOCOL_ATTRIBUTE_OPERATION Operation,
IN UINT64 Attributes
- )
-;
+ );
/**
Test whether two Pci device has same parent bridge.
@@ -693,7 +668,6 @@ BOOLEAN
PciDevicesOnTheSamePath (
IN PCI_IO_DEVICE *PciDevice1,
IN PCI_IO_DEVICE *PciDevice2
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.h
index 639da70be8..80c3af6c6c 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.h
@@ -56,8 +56,7 @@ typedef struct {
void
InstallHotPlugRequestProtocol (
IN EFI_STATUS *Status
- )
-;
+ );
/**
Install protocol gEfiPciHotplugDeviceGuid into hotplug device
@@ -69,8 +68,7 @@ InstallHotPlugRequestProtocol (
VOID
InstallPciHotplugGuid (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
UnInstall protocol gEfiPciHotplugDeviceGuid into hotplug device
@@ -82,8 +80,7 @@ InstallPciHotplugGuid (
VOID
UninstallPciHotplugGuid (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Retrieve the BAR information via PciIo interface
@@ -93,8 +90,7 @@ UninstallPciHotplugGuid (
VOID
GetBackPcCardBar (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Remove rejected pci device from specific root bridge
@@ -109,8 +105,7 @@ EFI_STATUS
RemoveRejectedPciDevices (
EFI_HANDLE RootBridgeHandle,
IN PCI_IO_DEVICE *Bridge
- )
-;
+ );
/**
Wrapper function for allocating resource for pci host bridge.
@@ -121,20 +116,17 @@ RemoveRejectedPciDevices (
EFI_STATUS
PciHostBridgeResourceAllocator (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc
- )
-;
+ );
EFI_STATUS
PciHostBridgeResourceAllocator_WithoutHotPlugDeviceSupport (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc
- )
-;
+ );
EFI_STATUS
PciHostBridgeResourceAllocator_WithHotPlugDeviceSupport (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc
- )
-;
+ );
/**
Wapper function of scanning pci bus and assign bus number to the given PCI bus system
@@ -154,8 +146,7 @@ PciScanBus (
IN UINT8 StartBusNumber,
OUT UINT8 *SubBusNumber,
OUT UINT8 *PaddedBusRange
- )
-;
+ );
EFI_STATUS
PciScanBus_WithHotPlugDeviceSupport (
@@ -163,8 +154,7 @@ PciScanBus_WithHotPlugDeviceSupport (
IN UINT8 StartBusNumber,
OUT UINT8 *SubBusNumber,
OUT UINT8 *PaddedBusRange
- )
-;
+ );
EFI_STATUS
PciScanBus_WithoutHotPlugDeviceSupport (
@@ -172,8 +162,7 @@ PciScanBus_WithoutHotPlugDeviceSupport (
IN UINT8 StartBusNumber,
OUT UINT8 *SubBusNumber,
OUT UINT8 *PaddedBusRange
- )
-;
+ );
/**
Process Option Rom on this host bridge
@@ -186,8 +175,7 @@ PciScanBus_WithoutHotPlugDeviceSupport (
EFI_STATUS
PciRootBridgeP2CProcess (
IN PCI_IO_DEVICE *Bridge
- )
-;
+ );
/**
Process Option Rom on this host bridge
@@ -200,8 +188,7 @@ PciRootBridgeP2CProcess (
EFI_STATUS
PciHostBridgeP2CProcess (
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc
- )
-;
+ );
/**
This function is used to enumerate the entire host bridge
@@ -217,8 +204,7 @@ PciHostBridgeP2CProcess (
EFI_STATUS
PciHostBridgeEnumerator (
EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc
- )
-;
+ );
/**
Read PCI configuration space through EFI_PCI_IO_PROTOCOL.
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.h
index c2ed590b67..0bb9444e78 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.h
@@ -23,8 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
GetOpRomInfo (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Load option rom image for specified PCI device
@@ -39,8 +38,7 @@ EFI_STATUS
LoadOpRomImage (
IN PCI_IO_DEVICE *PciDevice,
IN UINT64 RomBase
- )
-;
+ );
/**
enable/disable oprom decode
@@ -59,8 +57,7 @@ RomDecode (
IN UINT8 RomBarIndex,
IN UINT32 RomBar,
IN BOOLEAN Enable
- )
-;
+ );
/**
Process the oprom image.
@@ -70,7 +67,6 @@ RomDecode (
EFI_STATUS
ProcessOpRomImage (
PCI_IO_DEVICE *PciDevice
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciPowerManagement.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciPowerManagement.h
index c7dff8c91b..1f15e7403a 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciPowerManagement.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciPowerManagement.h
@@ -27,7 +27,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
ResetPowerManagementFeature (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.h
index b255dc9ca9..028071419d 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.h
@@ -71,8 +71,7 @@ EFI_STATUS
SkipVGAAperture (
OUT UINT64 *Start,
IN UINT64 Length
- )
-;
+ );
/**
This function is used to skip ISA aliasing aperture
@@ -86,8 +85,7 @@ EFI_STATUS
SkipIsaAliasAperture (
OUT UINT64 *Start,
IN UINT64 Length
- )
-;
+ );
/**
This function inserts a resource node into the resource list.
@@ -102,8 +100,7 @@ EFI_STATUS
InsertResourceNode (
PCI_RESOURCE_NODE *Bridge,
PCI_RESOURCE_NODE *ResNode
- )
-;
+ );
/**
@@ -130,8 +127,7 @@ MergeResourceTree (
PCI_RESOURCE_NODE *Dst,
PCI_RESOURCE_NODE *Res,
BOOLEAN TypeMerge
- )
-;
+ );
/**
This function is used to calculate the IO16 aperture
@@ -144,8 +140,7 @@ MergeResourceTree (
EFI_STATUS
CalculateApertureIo16 (
IN PCI_RESOURCE_NODE *Bridge
- )
-;
+ );
/**
This function is used to calculate the resource aperture
@@ -158,8 +153,7 @@ CalculateApertureIo16 (
EFI_STATUS
CalculateResourceAperture (
IN PCI_RESOURCE_NODE *Bridge
- )
-;
+ );
/**
Get IO/Memory resource infor for given PCI device
@@ -181,8 +175,7 @@ GetResourceFromDevice (
PCI_RESOURCE_NODE *PMem32Node,
PCI_RESOURCE_NODE *Mem64Node,
PCI_RESOURCE_NODE *PMem64Node
- )
-;
+ );
/**
This function is used to create a resource node
@@ -202,8 +195,7 @@ CreateResourceNode (
IN UINT8 Bar,
IN PCI_BAR_TYPE ResType,
IN PCI_RESOURCE_USAGE ResUsage
- )
-;
+ );
/**
This routine is used to extract resource request from
@@ -226,8 +218,7 @@ CreateResourceMap (
IN PCI_RESOURCE_NODE *PMem32Node,
IN PCI_RESOURCE_NODE *Mem64Node,
IN PCI_RESOURCE_NODE *PMem64Node
- )
-;
+ );
/**
This function is used to do the resource padding for a specific platform
@@ -249,8 +240,7 @@ ResourcePaddingPolicy (
PCI_RESOURCE_NODE *PMem32Node,
PCI_RESOURCE_NODE *Mem64Node,
PCI_RESOURCE_NODE *PMem64Node
- )
-;
+ );
/**
This function is used to degrade resource if the upstream bridge
@@ -275,8 +265,7 @@ DegradeResource (
IN PCI_RESOURCE_NODE *PMem32Node,
IN PCI_RESOURCE_NODE *Mem64Node,
IN PCI_RESOURCE_NODE *PMem64Node
- )
-;
+ );
/**
Test whether bridge device support decode resource
@@ -291,8 +280,7 @@ BOOLEAN
BridgeSupportResourceDecode (
IN PCI_IO_DEVICE *Bridge,
IN UINT32 Decode
- )
-;
+ );
/**
This function is used to program the resource allocated
@@ -308,8 +296,7 @@ EFI_STATUS
ProgramResource (
IN UINT64 Base,
IN PCI_RESOURCE_NODE *Bridge
- )
-;
+ );
/**
Program Bar register.
@@ -323,8 +310,7 @@ EFI_STATUS
ProgramBar (
IN UINT64 Base,
IN PCI_RESOURCE_NODE *Node
- )
-;
+ );
/**
Program PPB apperture
@@ -338,8 +324,7 @@ EFI_STATUS
ProgramPpbApperture (
IN UINT64 Base,
IN PCI_RESOURCE_NODE *Node
- )
-;
+ );
/**
Program parent bridge for oprom
@@ -355,8 +340,7 @@ ProgrameUpstreamBridgeForRom (
IN PCI_IO_DEVICE *PciDevice,
IN UINT32 OptionRomBase,
IN BOOLEAN Enable
- )
-;
+ );
/**
Test whether resource exists for a bridge
@@ -368,8 +352,7 @@ ProgrameUpstreamBridgeForRom (
BOOLEAN
ResourceRequestExisted (
IN PCI_RESOURCE_NODE *Bridge
- )
-;
+ );
/**
Initialize resource pool structure.
@@ -381,8 +364,7 @@ EFI_STATUS
InitializeResourcePool (
PCI_RESOURCE_NODE *ResourcePool,
PCI_BAR_TYPE ResourceType
- )
-;
+ );
/**
Get all resource information for given Pci device
@@ -414,8 +396,7 @@ GetResourceMap (
PCI_RESOURCE_NODE *PMem32Pool,
PCI_RESOURCE_NODE *Mem64Pool,
PCI_RESOURCE_NODE *PMem64Pool
- )
-;
+ );
/**
Destory given resource tree
@@ -427,8 +408,7 @@ GetResourceMap (
EFI_STATUS
DestroyResourceTree (
IN PCI_RESOURCE_NODE *Bridge
- )
-;
+ );
/**
Record the reserved resource and insert to reserved list.
@@ -444,8 +424,7 @@ RecordReservedResource (
IN UINT64 Length,
IN PCI_BAR_TYPE ResType,
IN PCI_IO_DEVICE *Bridge
- )
-;
+ );
/**
Insert resource padding for P2C
@@ -467,8 +446,7 @@ ResourcePaddingForCardBusBridge (
PCI_RESOURCE_NODE *PMem32Node,
PCI_RESOURCE_NODE *Mem64Node,
PCI_RESOURCE_NODE *PMem64Node
- )
-;
+ );
/**
Program P2C register for given resource node
@@ -482,8 +460,7 @@ EFI_STATUS
ProgramP2C (
IN UINT64 Base,
IN PCI_RESOURCE_NODE *Node
- )
-;
+ );
/**
Create padding resource node.
@@ -506,8 +483,7 @@ ApplyResourcePadding (
PCI_RESOURCE_NODE *PMem32Node,
PCI_RESOURCE_NODE *Mem64Node,
PCI_RESOURCE_NODE *PMem64Node
- )
-;
+ );
/**
Get padding resource for PPB
@@ -519,8 +495,7 @@ ApplyResourcePadding (
VOID
GetResourcePaddingPpb (
IN PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Reset and all bus number from specific bridge.
@@ -532,7 +507,6 @@ EFI_STATUS
ResetAllPpbBusNumber (
IN PCI_IO_DEVICE *Bridge,
IN UINT8 StartBusNumber
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciRomTable.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciRomTable.h
index 59bff9279f..4e01012d64 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciRomTable.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciRomTable.h
@@ -35,8 +35,7 @@ PciRomAddImageMapping (
IN UINT8 Func,
IN UINT64 RomAddress,
IN UINT64 RomLength
- )
-;
+ );
/**
Load all option rom image to PCI driver list.
@@ -49,8 +48,7 @@ PciRomGetRomResourceFromPciOptionRomTable (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo,
PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
/**
Get Option rom driver's mapping for PCI device.
@@ -61,7 +59,6 @@ PciRomGetRomResourceFromPciOptionRomTable (
EFI_STATUS
PciRomGetImageMapping (
PCI_IO_DEVICE *PciIoDevice
- )
-;
+ );
#endif
diff --git a/IntelFrameworkModulePkg/Universal/VariablePei/Variable.h b/IntelFrameworkModulePkg/Universal/VariablePei/Variable.h
index 54d06bd2db..389ee6d001 100644
--- a/IntelFrameworkModulePkg/Universal/VariablePei/Variable.h
+++ b/IntelFrameworkModulePkg/Universal/VariablePei/Variable.h
@@ -64,8 +64,7 @@ EFIAPI
PeimInitializeVariableServices (
IN EFI_FFS_FILE_HEADER *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -76,8 +75,7 @@ PeiGetVariable (
OUT UINT32 *Attributes OPTIONAL,
IN OUT UINTN *DataSize,
OUT VOID *Data
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -88,8 +86,7 @@ PeiGetVariable2 (
OUT UINT32 *Attributes,
IN OUT UINTN *DataSize,
OUT VOID *Data
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -98,8 +95,7 @@ PeiGetNextVariableName2 (
IN OUT UINTN *VariableNameSize,
IN OUT CHAR16 *VariableName,
IN OUT EFI_GUID *VariableGuid
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -108,8 +104,7 @@ PeiGetNextVariableName (
IN OUT UINTN *VariableNameSize,
IN OUT CHAR16 *VariableName,
IN OUT EFI_GUID *VendorGuid
- )
-;
+ );
/**
Get one variable by the index count.
diff --git a/IntelFrameworkPkg/Include/Library/FrameworkHiiLib.h b/IntelFrameworkPkg/Include/Library/FrameworkHiiLib.h
index 771d70cad0..b6bd85a0cf 100644
--- a/IntelFrameworkPkg/Include/Library/FrameworkHiiLib.h
+++ b/IntelFrameworkPkg/Include/Library/FrameworkHiiLib.h
@@ -46,7 +46,6 @@ PreparePackages (
IN UINTN NumberOfPackages,
IN CONST EFI_GUID *Guid OPTIONAL,
...
- )
-;
+ );
#endif
diff --git a/IntelFrameworkPkg/Include/Protocol/PciPlatform.h b/IntelFrameworkPkg/Include/Protocol/PciPlatform.h
index 24c345b152..32f5742cc6 100644
--- a/IntelFrameworkPkg/Include/Protocol/PciPlatform.h
+++ b/IntelFrameworkPkg/Include/Protocol/PciPlatform.h
@@ -79,8 +79,7 @@ EFI_STATUS
IN EFI_HANDLE HostBridge,
IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PHASE Phase,
IN EFI_PCI_CHIPSET_EXECUTION_PHASE ChipsetPhase
-)
-;
+);
/**
@@ -115,8 +114,7 @@ EFI_STATUS
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,
IN EFI_PCI_CONTROLLER_RESOURCE_ALLOCATION_PHASE Phase,
IN EFI_PCI_CHIPSET_EXECUTION_PHASE ChipsetPhase
-)
-;
+);
/**
@@ -136,8 +134,7 @@ EFI_STATUS
(EFIAPI *EFI_PCI_PLATFORM_GET_PLATFORM_POLICY)(
IN EFI_PCI_PLATFORM_PROTOCOL *This,
OUT EFI_PCI_PLATFORM_POLICY *PciPolicy
-)
-;
+);
/**
@@ -174,8 +171,7 @@ EFI_STATUS
IN EFI_HANDLE PciHandle,
OUT VOID **RomImage,
OUT UINTN *RomSize
-)
-;
+);
/**
@par Protocol Description:
diff --git a/IntelFrameworkPkg/Include/Protocol/SmmBase.h b/IntelFrameworkPkg/Include/Protocol/SmmBase.h
index cf4feb0345..69cd2b8f29 100644
--- a/IntelFrameworkPkg/Include/Protocol/SmmBase.h
+++ b/IntelFrameworkPkg/Include/Protocol/SmmBase.h
@@ -107,8 +107,7 @@ EFI_STATUS
IN UINTN SourceSize,
OUT EFI_HANDLE *ImageHandle,
IN BOOLEAN LegacyIA32Binary OPTIONAL
- )
-;
+ );
/**
Remove a given driver SMRAM. This is the equivalent of performing
@@ -128,8 +127,7 @@ EFI_STATUS
(EFIAPI *EFI_SMM_UNREGISTER_HANDLER)(
IN EFI_SMM_BASE_PROTOCOL *This,
IN EFI_HANDLE ImageHandle
- )
-;
+ );
/**
The SMM Inter-module Communicate Service Communicate() function
@@ -154,8 +152,7 @@ EFI_STATUS
IN EFI_HANDLE ImageHandle,
IN OUT VOID *CommunicationBuffer,
IN OUT UINTN *SourceSize
- )
-;
+ );
/**
Register a callback to execute within SMM.
@@ -186,8 +183,7 @@ EFI_STATUS
IN EFI_SMM_CALLBACK_ENTRY_POINT CallbackAddress,
IN BOOLEAN MakeLast OPTIONAL,
IN BOOLEAN FloatingPointSave OPTIONAL
- )
-;
+ );
/**
The SmmAllocatePool() function allocates a memory region of Size bytes from memory of
@@ -216,8 +212,7 @@ EFI_STATUS
IN EFI_MEMORY_TYPE PoolType,
IN UINTN Size,
OUT VOID **Buffer
- )
-;
+ );
/**
The SmmFreePool() function returns the memory specified by Buffer to the system.
@@ -237,8 +232,7 @@ EFI_STATUS
(EFIAPI *EFI_SMM_FREE_POOL)(
IN EFI_SMM_BASE_PROTOCOL *This,
IN VOID *Buffer
- )
-;
+ );
/**
This routine tells caller if execution context is SMM or not.
@@ -254,8 +248,7 @@ EFI_STATUS
(EFIAPI *EFI_SMM_INSIDE_OUT)(
IN EFI_SMM_BASE_PROTOCOL *This,
OUT BOOLEAN *InSmm
- )
-;
+ );
/**
The GetSmstLocation() function returns the locatin of the System Management
@@ -276,8 +269,7 @@ EFI_STATUS
(EFIAPI *EFI_SMM_GET_SMST_LOCATION)(
IN EFI_SMM_BASE_PROTOCOL *This,
IN OUT EFI_SMM_SYSTEM_TABLE **Smst
- )
-;
+ );
/**
@par Protocol Description:
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h b/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h
index 9de1199f73..3f786bc285 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h
@@ -30,8 +30,7 @@ VOID
EhcDumpQtd (
IN EHC_QTD *Qtd,
IN CHAR8 *Msg
- )
-;
+ );
/**
@@ -49,8 +48,7 @@ EhcDumpQh (
IN EHC_QH *Qh,
IN CHAR8 *Msg,
IN BOOLEAN DumpBuf
- )
-;
+ );
/**
@@ -66,7 +64,6 @@ VOID
EhcDumpBuf (
IN UINT8 *Buf,
IN UINTN Len
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.h b/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.h
index 00406e549b..f6ca764673 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.h
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.h
@@ -128,8 +128,7 @@ UINT32
EhcReadCapRegister (
IN USB2_HC_DEV *Ehc,
IN UINT32 Offset
- )
-;
+ );
/**
@@ -145,8 +144,7 @@ UINT32
EhcReadOpReg (
IN USB2_HC_DEV *Ehc,
IN UINT32 Offset
- )
-;
+ );
/**
@@ -164,8 +162,7 @@ EhcWriteOpReg (
IN USB2_HC_DEV *Ehc,
IN UINT32 Offset,
IN UINT32 Data
- )
-;
+ );
/**
@@ -180,8 +177,7 @@ EhcWriteOpReg (
VOID
EhcClearLegacySupport (
IN USB2_HC_DEV *Ehc
- )
-;
+ );
@@ -200,8 +196,7 @@ EFI_STATUS
EhcSetAndWaitDoorBell (
IN USB2_HC_DEV *Ehc,
IN UINT32 Timeout
- )
-;
+ );
/**
@@ -215,8 +210,7 @@ EhcSetAndWaitDoorBell (
VOID
EhcAckAllInterrupt (
IN USB2_HC_DEV *Ehc
- )
-;
+ );
@@ -232,8 +226,7 @@ EhcAckAllInterrupt (
BOOLEAN
EhcIsHalt (
IN USB2_HC_DEV *Ehc
- )
-;
+ );
/**
@@ -248,8 +241,7 @@ EhcIsHalt (
BOOLEAN
EhcIsSysError (
IN USB2_HC_DEV *Ehc
- )
-;
+ );
/**
@@ -266,8 +258,7 @@ EFI_STATUS
EhcResetHC (
IN USB2_HC_DEV *Ehc,
IN UINT32 Timeout
- )
-;
+ );
/**
@@ -284,8 +275,7 @@ EFI_STATUS
EhcHaltHC (
IN USB2_HC_DEV *Ehc,
IN UINT32 Timeout
- )
-;
+ );
/**
@@ -302,8 +292,7 @@ EFI_STATUS
EhcRunHC (
IN USB2_HC_DEV *Ehc,
IN UINT32 Timeout
- )
-;
+ );
@@ -325,7 +314,6 @@ EhcRunHC (
EFI_STATUS
EhcInitHC (
IN USB2_HC_DEV *Ehc
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.h b/MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.h
index 13f7b5ad41..fb002a91c5 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.h
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.h
@@ -29,8 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
EhcInitSched (
IN USB2_HC_DEV *Ehc
- )
-;
+ );
/**
@@ -44,8 +43,7 @@ EhcInitSched (
VOID
EhcFreeSched (
IN USB2_HC_DEV *Ehc
- )
-;
+ );
/**
@@ -65,8 +63,7 @@ VOID
EhcLinkQhToAsync (
IN USB2_HC_DEV *Ehc,
IN EHC_QH *Qh
- )
-;
+ );
/**
@@ -83,8 +80,7 @@ VOID
EhcUnlinkQhFromAsync (
IN USB2_HC_DEV *Ehc,
IN EHC_QH *Qh
- )
-;
+ );
/**
@@ -102,8 +98,7 @@ VOID
EhcLinkQhToPeriod (
IN USB2_HC_DEV *Ehc,
IN EHC_QH *Qh
- )
-;
+ );
/**
@@ -120,8 +115,7 @@ VOID
EhcUnlinkQhFromPeriod (
IN USB2_HC_DEV *Ehc,
IN EHC_QH *Qh
- )
-;
+ );
@@ -142,8 +136,7 @@ EhcExecTransfer (
IN USB2_HC_DEV *Ehc,
IN URB *Urb,
IN UINTN TimeOut
- )
-;
+ );
/**
@@ -165,8 +158,7 @@ EhciDelAsyncIntTransfer (
IN UINT8 DevAddr,
IN UINT8 EpNum,
OUT UINT8 *DataToggle
- )
-;
+ );
/**
@@ -180,8 +172,7 @@ EhciDelAsyncIntTransfer (
VOID
EhciDelAllAsyncIntTransfers (
IN USB2_HC_DEV *Ehc
- )
-;
+ );
/**
@@ -197,7 +188,6 @@ VOID
EhcMoniteAsyncRequests (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.h b/MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.h
index 5cda230a01..7cae215adb 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.h
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.h
@@ -261,8 +261,7 @@ EhcCreateQtd (
IN UINT8 PktId,
IN UINT8 Toggle,
IN UINTN MaxPacket
- )
-;
+ );
@@ -279,8 +278,7 @@ EHC_QH *
EhcCreateQh (
IN USB2_HC_DEV *Ehci,
IN USB_ENDPOINT *Ep
- )
-;
+ );
/**
@@ -296,8 +294,7 @@ VOID
EhcFreeUrb (
IN USB2_HC_DEV *Ehc,
IN URB *Urb
- )
-;
+ );
/**
@@ -337,6 +334,5 @@ EhcCreateUrb (
IN EFI_ASYNC_USB_TRANSFER_CALLBACK Callback,
IN VOID *Context,
IN UINTN Interval
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h b/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h
index 7fda8a528c..944acdc11e 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h
@@ -91,8 +91,7 @@ UsbHcInitMemPool (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN BOOLEAN Check4G,
IN UINT32 Which4G
- )
-;
+ );
/**
@@ -107,8 +106,7 @@ UsbHcInitMemPool (
EFI_STATUS
UsbHcFreeMemPool (
IN USBHC_MEM_POOL *Pool
- )
-;
+ );
/**
@@ -125,8 +123,7 @@ VOID *
UsbHcAllocateMem (
IN USBHC_MEM_POOL *Pool,
IN UINTN Size
- )
-;
+ );
/**
@@ -144,6 +141,5 @@ UsbHcFreeMem (
IN USBHC_MEM_POOL *Pool,
IN VOID *Mem,
IN UINTN Size
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h b/MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h
index a55948c3e2..a4912fb8e1 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h
@@ -28,8 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
VOID
UhciDumpQh (
IN UHCI_QH_SW *QhSw
- )
-;
+ );
/**
@@ -43,7 +42,6 @@ UhciDumpQh (
VOID
UhciDumpTds (
IN UHCI_TD_SW *TdSw
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.h b/MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.h
index 0463f4bff6..70e7f377de 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.h
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.h
@@ -107,8 +107,7 @@ VOID
UhciLinkTdToQh (
IN UHCI_QH_SW *Qh,
IN UHCI_TD_SW *Td
- )
-;
+ );
/**
@@ -124,8 +123,7 @@ VOID
UhciUnlinkTdFromQh (
IN UHCI_QH_SW *Qh,
IN UHCI_TD_SW *Td
- )
-;
+ );
/**
@@ -146,8 +144,7 @@ UhciMapUserRequest (
IN OUT VOID *Request,
OUT UINT8 **MappedAddr,
OUT VOID **Map
- )
-;
+ );
/**
@@ -174,8 +171,7 @@ UhciMapUserData (
OUT UINT8 *PktId,
OUT UINT8 **MappedAddr,
OUT VOID **Map
- )
-;
+ );
/**
@@ -191,8 +187,7 @@ VOID
UhciDestoryTds (
IN USB_HC_DEV *Uhc,
IN UHCI_TD_SW *FirstTd
- )
-;
+ );
/**
@@ -208,8 +203,7 @@ UHCI_QH_SW *
UhciCreateQh (
IN USB_HC_DEV *Uhc,
IN UINTN Interval
- )
-;
+ );
/**
@@ -237,8 +231,7 @@ UhciCreateCtrlTds (
IN UINTN DataLen,
IN UINT8 MaxPacket,
IN BOOLEAN IsLow
- )
-;
+ );
/**
@@ -268,7 +261,6 @@ UhciCreateBulkOrIntTds (
IN OUT UINT8 *DataToggle,
IN UINT8 MaxPacket,
IN BOOLEAN IsLow
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.h b/MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.h
index 8ba1cc23cd..c93be9ea3a 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.h
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.h
@@ -111,8 +111,7 @@ UINT16
UhciReadReg (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN UINT32 Offset
- )
-;
+ );
@@ -131,8 +130,7 @@ UhciWriteReg (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN UINT32 Offset,
IN UINT16 Data
- )
-;
+ );
@@ -151,8 +149,7 @@ UhciSetRegBit (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN UINT32 Offset,
IN UINT16 Bit
- )
-;
+ );
@@ -171,8 +168,7 @@ UhciClearRegBit (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN UINT32 Offset,
IN UINT16 Bit
- )
-;
+ );
/**
@@ -187,8 +183,7 @@ UhciClearRegBit (
VOID
UhciAckAllInterrupt (
IN USB_HC_DEV *Uhc
- )
-;
+ );
/**
@@ -205,8 +200,7 @@ EFI_STATUS
UhciStopHc (
IN USB_HC_DEV *Uhc,
IN UINTN Timeout
- )
-;
+ );
@@ -222,8 +216,7 @@ UhciStopHc (
BOOLEAN
UhciIsHcWorking (
IN EFI_PCI_IO_PROTOCOL *PciIo
- )
-;
+ );
/**
@@ -240,8 +233,7 @@ VOID
UhciSetFrameListBaseAddr (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN VOID *Addr
- )
-;
+ );
/**
@@ -255,6 +247,5 @@ UhciSetFrameListBaseAddr (
VOID
UhciTurnOffUsbEmulation (
IN EFI_PCI_IO_PROTOCOL *PciIo
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.h b/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.h
index d76d68212b..ec685d56af 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.h
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.h
@@ -96,8 +96,7 @@ struct _UHCI_ASYNC_REQUEST{
EFI_STATUS
UhciInitFrameList (
IN USB_HC_DEV *Uhc
- )
-;
+ );
/**
Destory FrameList buffer.
@@ -110,8 +109,7 @@ UhciInitFrameList (
VOID
UhciDestoryFrameList (
IN USB_HC_DEV *Uhc
- )
-;
+ );
/**
@@ -126,8 +124,7 @@ UhciDestoryFrameList (
UINTN
UhciConvertPollRate (
IN UINTN Interval
- )
-;
+ );
/**
@@ -144,8 +141,7 @@ VOID
UhciLinkQhToFrameList (
UINT32 *FrameBase,
UHCI_QH_SW *Qh
- )
-;
+ );
/**
@@ -163,8 +159,7 @@ VOID
UhciUnlinkQhFromFrameList (
UINT32 *FrameBase,
UHCI_QH_SW *Qh
- )
-;
+ );
/**
@@ -189,8 +184,7 @@ UhciExecuteTransfer (
IN UINTN TimeOut,
IN BOOLEAN IsLow,
OUT UHCI_QH_RESULT *QhResult
- )
-;
+ );
/**
@@ -228,8 +222,7 @@ UhciCreateAsyncReq (
IN EFI_ASYNC_USB_TRANSFER_CALLBACK Callback,
IN VOID *Context,
IN BOOLEAN IsLow
- )
-;
+ );
/**
@@ -251,8 +244,7 @@ UhciRemoveAsyncReq (
IN UINT8 DevAddr,
IN UINT8 EndPoint,
OUT UINT8 *Toggle
- )
-;
+ );
/**
@@ -266,8 +258,7 @@ UhciRemoveAsyncReq (
VOID
UhciFreeAllAsyncReq (
IN USB_HC_DEV *Uhc
- )
-;
+ );
/**
@@ -283,7 +274,6 @@ VOID
UhciMonitorAsyncReqList (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/UsbHcMem.h b/MdeModulePkg/Bus/Pci/UhciDxe/UsbHcMem.h
index 80b2aa382b..40a5c1d592 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/UsbHcMem.h
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/UsbHcMem.h
@@ -89,8 +89,7 @@ UsbHcInitMemPool (
IN EFI_PCI_IO_PROTOCOL *PciIo,
IN BOOLEAN Check4G,
IN UINT32 Which4G
- )
-;
+ );
/**
@@ -105,8 +104,7 @@ UsbHcInitMemPool (
EFI_STATUS
UsbHcFreeMemPool (
IN USBHC_MEM_POOL *Pool
- )
-;
+ );
@@ -124,8 +122,7 @@ VOID *
UsbHcAllocateMem (
IN USBHC_MEM_POOL *Pool,
IN UINTN Size
- )
-;
+ );
@@ -144,6 +141,5 @@ UsbHcFreeMem (
IN USBHC_MEM_POOL *Pool,
IN VOID *Mem,
IN UINTN Size
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c
index d09d76a279..f59116733e 100644
--- a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c
+++ b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c
@@ -60,8 +60,7 @@ EFIAPI
ScsiioToPassThruPacket (
IN EFI_SCSI_IO_SCSI_REQUEST_PACKET *Packet,
IN OUT EFI_SCSI_PASS_THRU_SCSI_REQUEST_PACKET *CommandPacket
- )
-;
+ );
STATIC
@@ -70,16 +69,14 @@ EFIAPI
PassThruToScsiioPacket (
IN EFI_SCSI_PASS_THRU_SCSI_REQUEST_PACKET *ScsiPacket,
IN OUT EFI_SCSI_IO_SCSI_REQUEST_PACKET *Packet
- )
-;
+ );
STATIC
VOID
EFIAPI
NotifyFunction (
EFI_EVENT Event,
VOID *Context
- )
-;
+ );
/**
The user Entry Point for module ScsiBus. The user code starts with this function.
diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h
index 780f16c46d..616a9d0110 100644
--- a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h
+++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h
@@ -225,8 +225,7 @@ EFIAPI
USBKeyboardResetEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Reads the next keystroke from the input device. The WaitForKey Event can
@@ -246,8 +245,7 @@ EFIAPI
USBKeyboardReadKeyStrokeEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
OUT EFI_KEY_DATA *KeyData
- )
-;
+ );
/**
Set certain state for the input device.
@@ -266,8 +264,7 @@ EFIAPI
USBKeyboardSetState (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_KEY_TOGGLE_STATE *KeyToggleState
- )
-;
+ );
/**
Register a notification function for a particular keystroke for the input device.
@@ -291,8 +288,7 @@ USBKeyboardRegisterKeyNotify (
IN EFI_KEY_DATA *KeyData,
IN EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction,
OUT EFI_HANDLE *NotifyHandle
- )
-;
+ );
/**
Remove a registered notification function from a particular keystroke.
@@ -311,8 +307,7 @@ EFIAPI
USBKeyboardUnregisterKeyNotify (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_HANDLE NotificationHandle
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Core/Pei/Image/Image.c b/MdeModulePkg/Core/Pei/Image/Image.c
index 555ebe3fb3..efe8c83b10 100644
--- a/MdeModulePkg/Core/Pei/Image/Image.c
+++ b/MdeModulePkg/Core/Pei/Image/Image.c
@@ -36,8 +36,7 @@ PeiLoadImageLoadImageWrapper (
OUT UINT64 *ImageSizeArg, OPTIONAL
OUT EFI_PHYSICAL_ADDRESS *EntryPoint,
OUT UINT32 *AuthenticationState
- )
-;
+ );
STATIC EFI_PEI_LOAD_FILE_PPI mPeiLoadImagePpi = {
PeiLoadImageLoadImageWrapper
diff --git a/MdeModulePkg/Core/Pei/PeiMain.h b/MdeModulePkg/Core/Pei/PeiMain.h
index b1ccf5aaab..6f040d0155 100644
--- a/MdeModulePkg/Core/Pei/PeiMain.h
+++ b/MdeModulePkg/Core/Pei/PeiMain.h
@@ -236,8 +236,7 @@ PeiCore (
IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData,
IN CONST EFI_PEI_PPI_DESCRIPTOR *PpList,
IN VOID *Data
- )
-;
+ );
//
// Dispatcher support functions
@@ -267,8 +266,7 @@ BOOLEAN
PeimDispatchReadiness (
IN EFI_PEI_SERVICES **PeiServices,
IN VOID *DependencyExpression
- )
-;
+ );
/**
Conduct PEIM dispatch.
@@ -284,8 +282,7 @@ VOID
PeiDispatcher (
IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData,
IN PEI_CORE_INSTANCE *PrivateData
- )
-;
+ );
/**
Initialize the Dispatcher's data members
@@ -303,8 +300,7 @@ InitializeDispatcherData (
IN PEI_CORE_INSTANCE *PrivateData,
IN PEI_CORE_INSTANCE *OldCoreData,
IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData
- )
-;
+ );
/**
This routine parses the Dependency Expression, if available, and
@@ -324,8 +320,7 @@ DepexSatisfied (
IN PEI_CORE_INSTANCE *Private,
IN EFI_PEI_FILE_HANDLE FileHandle,
IN UINTN PeimCount
- )
-;
+ );
//
// PPI support functions
@@ -343,8 +338,7 @@ VOID
InitializePpiServices (
IN PEI_CORE_INSTANCE *PrivateData,
IN PEI_CORE_INSTANCE *OldCoreData
- )
-;
+ );
/**
@@ -365,8 +359,7 @@ ConvertPpiPointers (
IN UINTN OldCheckingBottom,
IN UINTN OldCheckingTop,
IN INTN Fixup
- )
-;
+ );
/**
@@ -386,8 +379,7 @@ EFIAPI
PeiInstallPpi (
IN CONST EFI_PEI_SERVICES **PeiServices,
IN CONST EFI_PEI_PPI_DESCRIPTOR *PpiList
- )
-;
+ );
/**
@@ -409,8 +401,7 @@ PeiReInstallPpi (
IN CONST EFI_PEI_SERVICES **PeiServices,
IN CONST EFI_PEI_PPI_DESCRIPTOR *OldPpi,
IN CONST EFI_PEI_PPI_DESCRIPTOR *NewPpi
- )
-;
+ );
/**
@@ -436,8 +427,7 @@ PeiLocatePpi (
IN UINTN Instance,
IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor,
IN OUT VOID **Ppi
- )
-;
+ );
/**
@@ -457,8 +447,7 @@ EFIAPI
PeiNotifyPpi (
IN CONST EFI_PEI_SERVICES **PeiServices,
IN CONST EFI_PEI_NOTIFY_DESCRIPTOR *NotifyList
- )
-;
+ );
/**
@@ -470,8 +459,7 @@ PeiNotifyPpi (
VOID
ProcessNotifyList (
IN PEI_CORE_INSTANCE *PrivateData
- )
-;
+ );
/**
@@ -493,8 +481,7 @@ DispatchNotify (
IN INTN InstallStopIndex,
IN INTN NotifyStartIndex,
IN INTN NotifyStopIndex
- )
-;
+ );
//
// Boot mode support functions
@@ -514,8 +501,7 @@ EFIAPI
PeiGetBootMode (
IN CONST EFI_PEI_SERVICES **PeiServices,
IN OUT EFI_BOOT_MODE *BootMode
- )
-;
+ );
/**
This service enables PEIMs to update the boot mode variable.
@@ -532,8 +518,7 @@ EFIAPI
PeiSetBootMode (
IN CONST EFI_PEI_SERVICES **PeiServices,
IN EFI_BOOT_MODE BootMode
- )
-;
+ );
//
// Security support functions
@@ -551,8 +536,7 @@ VOID
InitializeSecurityServices (
IN EFI_PEI_SERVICES **PeiServices,
IN PEI_CORE_INSTANCE *OldCoreData
- )
-;
+ );
/**
Verify a Firmware volume
@@ -566,8 +550,7 @@ InitializeSecurityServices (
EFI_STATUS
VerifyFv (
IN EFI_FIRMWARE_VOLUME_HEADER *CurrentFvAddress
- )
-;
+ );
/**
@@ -587,8 +570,7 @@ VerifyPeim (
IN PEI_CORE_INSTANCE *PrivateData,
IN EFI_PEI_FV_HANDLE VolumeHandle,
IN EFI_PEI_FILE_HANDLE FileHandle
- )
-;
+ );
/**
@@ -608,8 +590,7 @@ EFIAPI
PeiGetHobList (
IN CONST EFI_PEI_SERVICES **PeiServices,
IN OUT VOID **HobList
- )
-;
+ );
/**
Add a new HOB to the HOB List.
@@ -632,8 +613,7 @@ PeiCreateHob (
IN UINT16 Type,
IN UINT16 Length,
IN OUT VOID **Hob
- )
-;
+ );
/**
@@ -651,8 +631,7 @@ PeiCoreBuildHobHandoffInfoTable (
IN EFI_BOOT_MODE BootMode,
IN EFI_PHYSICAL_ADDRESS MemoryBegin,
IN UINT64 MemoryLength
- )
-;
+ );
//
@@ -681,8 +660,7 @@ PeiFfsFindNextFile (
IN UINT8 SearchType,
IN EFI_PEI_FV_HANDLE FwVolHeader,
IN OUT EFI_PEI_FILE_HANDLE *FileHeader
- )
-;
+ );
/**
Given the input file pointer, search for the next matching section in the
@@ -705,8 +683,7 @@ PeiFfsFindSectionData (
IN EFI_SECTION_TYPE SectionType,
IN EFI_PEI_FILE_HANDLE FfsFileHeader,
IN OUT VOID **SectionData
- )
-;
+ );
/**
search the firmware volumes by index
@@ -725,8 +702,7 @@ PeiFvFindNextVolume (
IN CONST EFI_PEI_SERVICES **PeiServices,
IN UINTN Instance,
IN OUT EFI_PEI_FV_HANDLE *FwVolHeader
- )
-;
+ );
//
// Memory support functions
@@ -748,8 +724,7 @@ InitializeMemoryServices (
IN PEI_CORE_INSTANCE *PrivateData,
IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData,
IN PEI_CORE_INSTANCE *OldCoreData
- )
-;
+ );
/**
@@ -769,8 +744,7 @@ PeiInstallPeiMemory (
IN CONST EFI_PEI_SERVICES **PeiServices,
IN EFI_PHYSICAL_ADDRESS MemoryBegin,
IN UINT64 MemoryLength
- )
-;
+ );
/**
@@ -797,8 +771,7 @@ PeiAllocatePages (
IN EFI_MEMORY_TYPE MemoryType,
IN UINTN Pages,
OUT EFI_PHYSICAL_ADDRESS *Memory
- )
-;
+ );
/**
@@ -820,8 +793,7 @@ PeiAllocatePool (
IN CONST EFI_PEI_SERVICES **PeiServices,
IN UINTN Size,
OUT VOID **Buffer
- )
-;
+ );
/**
@@ -844,8 +816,7 @@ PeiLoadImage (
IN EFI_PEI_FILE_HANDLE FileHandle,
OUT EFI_PHYSICAL_ADDRESS *EntryPoint,
OUT UINT32 *AuthenticationState
- )
-;
+ );
/**
@@ -872,8 +843,7 @@ PeiReportStatusCode (
IN UINT32 Instance,
IN CONST EFI_GUID *CallerId,
IN CONST EFI_STATUS_CODE_DATA *Data OPTIONAL
- )
-;
+ );
/**
@@ -891,8 +861,7 @@ EFI_STATUS
EFIAPI
PeiResetSystem (
IN CONST EFI_PEI_SERVICES **PeiServices
- )
-;
+ );
/**
@@ -907,8 +876,7 @@ VOID
PeiInitializeFv (
IN PEI_CORE_INSTANCE *PrivateData,
IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData
- )
-;
+ );
/**
Process Firmware Volum Information once FvInfoPPI install.
@@ -926,8 +894,7 @@ FirmwareVolmeInfoPpiNotifyCallback (
IN EFI_PEI_SERVICES **PeiServices,
IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor,
IN VOID *Ppi
- )
-;
+ );
/**
@@ -948,8 +915,7 @@ PeiFfsFindFileByName (
IN CONST EFI_GUID *FileName,
IN EFI_PEI_FV_HANDLE VolumeHandle,
OUT EFI_PEI_FILE_HANDLE *FileHandle
- )
-;
+ );
/**
@@ -968,8 +934,7 @@ EFIAPI
PeiFfsGetFileInfo (
IN EFI_PEI_FILE_HANDLE FileHandle,
OUT EFI_FV_FILE_INFO *FileInfo
- )
-;
+ );
/**
@@ -986,8 +951,7 @@ EFIAPI
PeiFfsGetVolumeInfo (
IN EFI_PEI_FV_HANDLE VolumeHandle,
OUT EFI_FV_INFO *VolumeInfo
- )
-;
+ );
/**
This routine enable a PEIM to register itself to shadow when PEI Foundation
@@ -1004,8 +968,7 @@ EFI_STATUS
EFIAPI
PeiRegisterForShadow (
IN EFI_PEI_FILE_HANDLE FileHandle
- )
-;
+ );
/**
Given the input file pointer, search for the next matching file in the
@@ -1031,8 +994,7 @@ PeiFindFileEx (
IN EFI_FV_FILETYPE SearchType,
IN OUT EFI_PEI_FILE_HANDLE *FileHandle,
IN OUT EFI_PEI_FV_HANDLE *AprioriFile OPTIONAL
- )
-;
+ );
/**
Initialize image service that install PeiLoadFilePpi.
@@ -1048,8 +1010,7 @@ VOID
InitializeImageServices (
IN PEI_CORE_INSTANCE *PrivateData,
IN PEI_CORE_INSTANCE *OldCoreData
- )
-;
+ );
/**
Get Fv image from the FV type file, then install FV INFO ppi, Build FV hob.
diff --git a/MdeModulePkg/Core/RuntimeDxe/Runtime.h b/MdeModulePkg/Core/RuntimeDxe/Runtime.h
index f41b375506..c8362c9976 100644
--- a/MdeModulePkg/Core/RuntimeDxe/Runtime.h
+++ b/MdeModulePkg/Core/RuntimeDxe/Runtime.h
@@ -53,8 +53,7 @@ RuntimeDriverCalculateCrc32 (
IN VOID *Data,
IN UINTN DataSize,
OUT UINT32 *CrcOut
- )
-;
+ );
/**
Determines the new virtual address that is to be used on subsequent memory accesses.
@@ -75,8 +74,7 @@ EFIAPI
RuntimeDriverConvertPointer (
IN UINTN DebugDisposition,
IN OUT VOID **ConvertAddress
- )
-;
+ );
/**
Changes the runtime addressing mode of EFI firmware from physical to virtual.
@@ -104,8 +102,7 @@ RuntimeDriverSetVirtualAddressMap (
IN UINTN DescriptorSize,
IN UINT32 DescriptorVersion,
IN EFI_MEMORY_DESCRIPTOR *VirtualMap
- )
-;
+ );
/**
Initialize CRC32 table.
@@ -114,8 +111,7 @@ RuntimeDriverSetVirtualAddressMap (
VOID
RuntimeDriverInitializeCrc32Table (
VOID
- )
-;
+ );
/**
Install Runtime AP. This code includes the EfiRuntimeLib, but it only
@@ -134,7 +130,6 @@ EFIAPI
RuntimeDriverInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Include/Library/CapsuleLib.h b/MdeModulePkg/Include/Library/CapsuleLib.h
index 80df80e628..3bbc8c03c4 100644
--- a/MdeModulePkg/Include/Library/CapsuleLib.h
+++ b/MdeModulePkg/Include/Library/CapsuleLib.h
@@ -29,8 +29,7 @@ EFI_STATUS
EFIAPI
SupportCapsuleImage (
IN EFI_CAPSULE_HEADER *CapsuleHeader
- )
-;
+ );
/**
The firmware implements to process the capsule image.
@@ -44,8 +43,7 @@ EFI_STATUS
EFIAPI
ProcessCapsuleImage (
IN EFI_CAPSULE_HEADER *CapsuleHeader
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Include/Library/ExtendedHiiLib.h b/MdeModulePkg/Include/Library/ExtendedHiiLib.h
index d2bfb4a75b..15c9760355 100644
--- a/MdeModulePkg/Include/Library/ExtendedHiiLib.h
+++ b/MdeModulePkg/Include/Library/ExtendedHiiLib.h
@@ -35,8 +35,7 @@ EFI_STATUS
EFIAPI
HiiLibCreateHiiDriverHandle (
OUT EFI_HANDLE *DriverHandle
- )
-;
+ );
/**
Destroy the Driver Handle created by CreateHiiDriverHandle().
@@ -52,8 +51,7 @@ VOID
EFIAPI
HiiLibDestroyHiiDriverHandle (
IN EFI_HANDLE DriverHandle
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h b/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h
index 4bef9bbe14..2d8db3b9e2 100644
--- a/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h
+++ b/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h
@@ -37,8 +37,7 @@ CreateBannerOpCode (
IN UINT16 LineNumber,
IN UINT8 Alignment,
IN OUT EFI_HII_UPDATE_DATA *Data
- )
-;
+ );
/**
This function allows the caller to update a form that has
@@ -71,8 +70,7 @@ IfrLibUpdateForm (
IN UINT16 Label,
IN BOOLEAN Insert,
IN EFI_HII_UPDATE_DATA *Data
- )
-;
+ );
/**
Extract formset class for given HII handle.
@@ -100,8 +98,7 @@ IfrLibExtractClassFromHiiHandle (
OUT UINT16 *Class,
OUT EFI_STRING_ID *FormSetTitle,
OUT EFI_STRING_ID *FormSetHelp
- )
-;
+ );
/**
Configure the buffer accrording to ConfigBody strings in the format of
@@ -124,8 +121,7 @@ IfrLibExtractDefault(
IN UINTN *BufferSize,
UINTN Number,
...
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Include/Library/GenericBdsLib.h b/MdeModulePkg/Include/Library/GenericBdsLib.h
index 8816e5f8ad..654271dff6 100644
--- a/MdeModulePkg/Include/Library/GenericBdsLib.h
+++ b/MdeModulePkg/Include/Library/GenericBdsLib.h
@@ -1048,8 +1048,7 @@ EFIAPI
DevPathVendor (
IN OUT POOL_PRINT *Str,
IN VOID *DevPath
- )
-;
+ );
/**
Concatenates a formatted unicode string to allocated pool.
@@ -1070,7 +1069,6 @@ CatPrint (
IN OUT POOL_PRINT *Str,
IN CHAR16 *fmt,
...
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Include/Library/PlatformBdsLib.h b/MdeModulePkg/Include/Library/PlatformBdsLib.h
index a10789bd35..2fcb310d74 100644
--- a/MdeModulePkg/Include/Library/PlatformBdsLib.h
+++ b/MdeModulePkg/Include/Library/PlatformBdsLib.h
@@ -59,8 +59,7 @@ VOID
EFIAPI
PlatformBdsInit (
IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData
- )
-;
+ );
/**
The function will excute with as the platform policy, current policy
@@ -78,8 +77,7 @@ PlatformBdsPolicyBehavior (
IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData,
IN LIST_ENTRY *DriverOptionList,
IN LIST_ENTRY *BootOptionList
- )
-;
+ );
/**
Hook point after a boot attempt fails.
@@ -97,8 +95,7 @@ PlatformBdsBootFail (
IN EFI_STATUS Status,
IN CHAR16 *ExitData,
IN UINTN ExitDataSize
- )
-;
+ );
/**
Hook point after a boot attempt succeeds. We don't expect a boot option to
@@ -113,8 +110,7 @@ VOID
EFIAPI
PlatformBdsBootSuccess (
IN BDS_COMMON_OPTION *Option
- )
-;
+ );
/**
@@ -127,6 +123,5 @@ EFI_STATUS
EFIAPI
PlatformBdsLockNonUpdatableFlash (
VOID
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Include/Library/RecoveryLib.h b/MdeModulePkg/Include/Library/RecoveryLib.h
index ae806e7bb9..fc0413656d 100644
--- a/MdeModulePkg/Include/Library/RecoveryLib.h
+++ b/MdeModulePkg/Include/Library/RecoveryLib.h
@@ -26,8 +26,7 @@ EFI_STATUS
EFIAPI
PeiRecoverFirmware (
VOID
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Include/Library/S3Lib.h b/MdeModulePkg/Include/Library/S3Lib.h
index dd21d6e09c..8e2a25d14f 100644
--- a/MdeModulePkg/Include/Library/S3Lib.h
+++ b/MdeModulePkg/Include/Library/S3Lib.h
@@ -26,8 +26,7 @@ EFI_STATUS
EFIAPI
AcpiS3ResumeOs (
VOID
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Include/Protocol/ConsoleControl.h b/MdeModulePkg/Include/Protocol/ConsoleControl.h
index b00587c8b3..b14b54d028 100644
--- a/MdeModulePkg/Include/Protocol/ConsoleControl.h
+++ b/MdeModulePkg/Include/Protocol/ConsoleControl.h
@@ -49,8 +49,7 @@ EFI_STATUS
OUT EFI_CONSOLE_CONTROL_SCREEN_MODE *Mode,
OUT BOOLEAN *GopUgaExists, OPTIONAL
OUT BOOLEAN *StdInLocked OPTIONAL
- )
-;
+ );
/**
Set the current video mode to either text or graphics.
@@ -68,8 +67,7 @@ EFI_STATUS
(EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_SET_MODE)(
IN EFI_CONSOLE_CONTROL_PROTOCOL *This,
OUT EFI_CONSOLE_CONTROL_SCREEN_MODE Mode
- )
-;
+ );
/**
Copy the Password and enable state variable and then arm the periodic timer
@@ -84,8 +82,7 @@ EFI_STATUS
(EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN)(
IN EFI_CONSOLE_CONTROL_PROTOCOL *This,
IN CHAR16 *Password
- )
-;
+ );
struct _EFI_CONSOLE_CONTROL_PROTOCOL {
EFI_CONSOLE_CONTROL_PROTOCOL_GET_MODE GetMode;
diff --git a/MdeModulePkg/Include/Protocol/DiskInfo.h b/MdeModulePkg/Include/Protocol/DiskInfo.h
index 1f45b3a286..98ecd7695e 100644
--- a/MdeModulePkg/Include/Protocol/DiskInfo.h
+++ b/MdeModulePkg/Include/Protocol/DiskInfo.h
@@ -47,8 +47,7 @@ EFI_STATUS
IN EFI_DISK_INFO_PROTOCOL * This,
IN OUT VOID *InquiryData,
IN OUT UINT32 *IntquiryDataSize
- )
-;
+ );
/**
@@ -71,8 +70,7 @@ EFI_STATUS
IN EFI_DISK_INFO_PROTOCOL * This,
IN OUT VOID *IdentifyData,
IN OUT UINT32 *IdentifyDataSize
- )
-;
+ );
/**
@@ -97,8 +95,7 @@ EFI_STATUS
IN OUT VOID *SenseData,
IN OUT UINT32 *SenseDataSize,
OUT UINT8 *SenseDataNumber
- )
-;
+ );
/**
Return the results of the Request Sense command to a drive in SenseData.
@@ -118,8 +115,7 @@ EFI_STATUS
IN EFI_DISK_INFO_PROTOCOL * This,
OUT UINT32 *IdeChannel,
OUT UINT32 *IdeDevice
- )
-;
+ );
//
// GUIDs for EFI_DISK_INFO_PROTOCOL.Interface. Defines the format of the
diff --git a/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h b/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h
index ce0128df10..4a0e495267 100644
--- a/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h
+++ b/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h
@@ -60,8 +60,7 @@ EFI_STATUS
IN UINTN Offset,
IN UINTN *NumBytes,
IN VOID *Buffer
- )
-;
+ );
//
// Protocol declaration
diff --git a/MdeModulePkg/Include/Protocol/GenericMemoryTest.h b/MdeModulePkg/Include/Protocol/GenericMemoryTest.h
index 87959ed73a..57ef1493b4 100644
--- a/MdeModulePkg/Include/Protocol/GenericMemoryTest.h
+++ b/MdeModulePkg/Include/Protocol/GenericMemoryTest.h
@@ -49,8 +49,7 @@ EFI_STATUS
IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,
IN EXTENDMEM_COVERAGE_LEVEL Level,
OUT BOOLEAN *RequireSoftECCInit
- )
-;
+ );
/**
@@ -81,8 +80,7 @@ EFI_STATUS
OUT UINT64 *TotalMemorySize,
OUT BOOLEAN *ErrorOut,
IN BOOLEAN IfTestAbort
- )
-;
+ );
/**
@@ -99,8 +97,7 @@ typedef
EFI_STATUS
(EFIAPI *EFI_MEMORY_TEST_FINISHED)(
IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This
- )
-;
+ );
/**
Provide capability to test compatible range which used by some sepcial
@@ -120,8 +117,7 @@ EFI_STATUS
IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,
IN EFI_PHYSICAL_ADDRESS StartAddress,
IN UINT64 Length
- )
-;
+ );
struct _EFI_GENERIC_MEMORY_TEST_PROTOCOL {
EFI_MEMORY_TEST_INIT MemoryTestInit;
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h b/MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h
index 95326b8d58..fee8bdbac5 100644
--- a/MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h
+++ b/MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h
@@ -63,8 +63,7 @@ BdsDeleteAllInvalidLegacyBootOptions (
EFI_STATUS
BdsAddNonExistingLegacyBootOptions (
VOID
- )
-;
+ );
/**
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h
index 70335a6f9a..4aed70aab3 100644
--- a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h
+++ b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h
@@ -467,8 +467,7 @@ typedef struct _STRING_DEPOSITORY {
EFI_STATUS
BOpt_FindFileSystem (
IN BMM_CALLBACK_DATA *CallbackData
- )
-;
+ );
/**
Find files under current directory
@@ -486,8 +485,7 @@ EFI_STATUS
BOpt_FindFiles (
IN BMM_CALLBACK_DATA *CallbackData,
IN BM_MENU_ENTRY *MenuEntry
- )
-;
+ );
/**
@@ -503,8 +501,7 @@ BOpt_FindFiles (
EFI_STATUS
BOpt_FindDrivers (
VOID
- )
-;
+ );
/**
@@ -776,8 +773,7 @@ FreeAllConsoles (
VOID
ChangeVariableDevicePath (
IN OUT EFI_DEVICE_PATH_PROTOCOL *DevicePath
- )
-;
+ );
/**
Update the multi-instance device path of Terminal Device based on
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.h b/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.h
index f7876843e4..3fe70c1c5d 100644
--- a/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.h
+++ b/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.h
@@ -79,8 +79,7 @@ BootManagerCallback (
IN UINT8 Type,
IN EFI_IFR_TYPE_VALUE *Value,
OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
- )
-;
+ );
/**
@@ -92,8 +91,7 @@ BootManagerCallback (
EFI_STATUS
InitializeBootManager (
VOID
- )
-;
+ );
/**
This funtion invokees Boot Manager. If all devices have not a chance to be connected,
@@ -105,7 +103,6 @@ InitializeBootManager (
VOID
CallBootManager (
VOID
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h b/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h
index 449676251d..9668452ddb 100644
--- a/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h
+++ b/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h
@@ -98,8 +98,7 @@ DeviceManagerCallback (
IN UINT8 Type,
IN EFI_IFR_TYPE_VALUE *Value,
OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
- )
-;
+ );
/**
@@ -112,8 +111,7 @@ DeviceManagerCallback (
EFI_STATUS
InitializeDeviceManager (
VOID
- )
-;
+ );
/**
@@ -131,7 +129,6 @@ InitializeDeviceManager (
EFI_STATUS
CallDeviceManager (
VOID
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/BdsDxe/Hotkey.h b/MdeModulePkg/Universal/BdsDxe/Hotkey.h
index 3bc21509fc..944e5fb9a1 100644
--- a/MdeModulePkg/Universal/BdsDxe/Hotkey.h
+++ b/MdeModulePkg/Universal/BdsDxe/Hotkey.h
@@ -53,8 +53,7 @@ EFI_STATUS
RegisterHotkey (
IN EFI_KEY_OPTION *KeyOption,
OUT UINT16 *KeyOptionNumber
- )
-;
+ );
/**
@@ -70,8 +69,7 @@ RegisterHotkey (
EFI_STATUS
UnregisterHotkey (
IN UINT16 KeyOptionNumber
- )
-;
+ );
/**
@@ -87,7 +85,6 @@ UnregisterHotkey (
EFI_STATUS
InitializeHotkeyService (
VOID
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/BdsDxe/HwErrRecSupport.h b/MdeModulePkg/Universal/BdsDxe/HwErrRecSupport.h
index 1063c86fc2..1926839c6f 100644
--- a/MdeModulePkg/Universal/BdsDxe/HwErrRecSupport.h
+++ b/MdeModulePkg/Universal/BdsDxe/HwErrRecSupport.h
@@ -34,7 +34,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
VOID
InitializeHwErrRecSupport (
IN UINT16 HwErrRecSupportLevel
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/BdsDxe/Language.h b/MdeModulePkg/Universal/BdsDxe/Language.h
index 1d10f7178b..39dd1eccf9 100644
--- a/MdeModulePkg/Universal/BdsDxe/Language.h
+++ b/MdeModulePkg/Universal/BdsDxe/Language.h
@@ -27,7 +27,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
VOID
InitializeLanguage (
BOOLEAN LangCodesSettingRequired
- )
-;
+ );
#endif // _LANGUAGE_H_
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h
index 578b49a58e..407081e186 100644
--- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h
+++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h
@@ -272,8 +272,7 @@ EFIAPI
ConSplitterDriverEntry (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
/**
Construct console input devices' private data.
@@ -289,8 +288,7 @@ ConSplitterDriverEntry (
EFI_STATUS
ConSplitterTextInConstructor (
TEXT_IN_SPLITTER_PRIVATE_DATA *Private
- )
-;
+ );
/**
Construct console output devices' private data.
@@ -305,8 +303,7 @@ ConSplitterTextInConstructor (
EFI_STATUS
ConSplitterTextOutConstructor (
TEXT_OUT_SPLITTER_PRIVATE_DATA *Private
- )
-;
+ );
//
// Driver Binding Functions
@@ -330,8 +327,7 @@ ConSplitterConInDriverBindingSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Test to see if Simple Pointer protocol could be supported on the ControllerHandle.
@@ -351,8 +347,7 @@ ConSplitterSimplePointerDriverBindingSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Test to see if Console Out Device could be supported on the ControllerHandle.
@@ -372,8 +367,7 @@ ConSplitterConOutDriverBindingSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Test to see if Standard Error Device could be supported on the ControllerHandle.
@@ -393,8 +387,7 @@ ConSplitterStdErrDriverBindingSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Start Console In Consplitter on device handle.
@@ -414,8 +407,7 @@ ConSplitterConInDriverBindingStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Start Simple Pointer Consplitter on device handle.
@@ -435,8 +427,7 @@ ConSplitterSimplePointerDriverBindingStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Start Console Out Consplitter on device handle.
@@ -456,8 +447,7 @@ ConSplitterConOutDriverBindingStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Start Standard Error Consplitter on device handle.
@@ -477,8 +467,7 @@ ConSplitterStdErrDriverBindingStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Stop Console In ConSplitter on ControllerHandle by closing Console In Devcice GUID.
@@ -500,8 +489,7 @@ ConSplitterConInDriverBindingStop (
IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
Stop Simple Pointer protocol ConSplitter on ControllerHandle by closing
@@ -524,8 +512,7 @@ ConSplitterSimplePointerDriverBindingStop (
IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
Stop Console Out ConSplitter on ControllerHandle by closing Console Out Devcice GUID.
@@ -547,8 +534,7 @@ ConSplitterConOutDriverBindingStop (
IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
Stop Standard Error ConSplitter on ControllerHandle by closing Standard Error GUID.
@@ -570,8 +556,7 @@ ConSplitterStdErrDriverBindingStop (
IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
@@ -592,8 +577,7 @@ ConSplitterAbsolutePointerDriverBindingSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Start Absolute Pointer Consplitter on device handle.
@@ -613,8 +597,7 @@ ConSplitterAbsolutePointerDriverBindingStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Stop Absolute Pointer protocol ConSplitter on ControllerHandle by closing
@@ -637,8 +620,7 @@ ConSplitterAbsolutePointerDriverBindingStop (
IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
Add Absolute Pointer Device in Consplitter Absolute Pointer list.
@@ -654,8 +636,7 @@ EFI_STATUS
ConSplitterAbsolutePointerAddDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_ABSOLUTE_POINTER_PROTOCOL *AbsolutePointer
- )
-;
+ );
/**
Remove Absolute Pointer Device in Consplitter Absolute Pointer list.
@@ -671,8 +652,7 @@ EFI_STATUS
ConSplitterAbsolutePointerDeleteDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_ABSOLUTE_POINTER_PROTOCOL *AbsolutePointer
- )
-;
+ );
//
// Absolute Pointer protocol interfaces
@@ -695,8 +675,7 @@ EFIAPI
ConSplitterAbsolutePointerReset (
IN EFI_ABSOLUTE_POINTER_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
@@ -719,8 +698,7 @@ EFIAPI
ConSplitterAbsolutePointerGetState (
IN EFI_ABSOLUTE_POINTER_PROTOCOL *This,
IN OUT EFI_ABSOLUTE_POINTER_STATE *State
- )
-;
+ );
/**
This event agregates all the events of the pointer devices in the splitter.
@@ -740,8 +718,7 @@ EFIAPI
ConSplitterAbsolutePointerWaitForInput (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
Retrieves a Unicode string that is the user readable name of the driver.
@@ -1000,8 +977,7 @@ ConSplitterAbsolutePointerComponentNameGetControllerName (
IN EFI_HANDLE ChildHandle OPTIONAL,
IN CHAR8 *Language,
OUT CHAR16 **ControllerName
- )
-;
+ );
/**
Retrieves a Unicode string that is the user readable name of the controller
@@ -1179,8 +1155,7 @@ EFI_STATUS
ConSplitterTextInAddDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *TextIn
- )
-;
+ );
/**
Remove Simple Text Device in Consplitter Absolute Pointer list.
@@ -1196,8 +1171,7 @@ EFI_STATUS
ConSplitterTextInDeleteDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *TextIn
- )
-;
+ );
//
// SimplePointer Constuctor/Destructor functions
@@ -1217,8 +1191,7 @@ EFI_STATUS
ConSplitterSimplePointerAddDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_POINTER_PROTOCOL *SimplePointer
- )
-;
+ );
/**
Remove Simple Pointer Device in Consplitter Absolute Pointer list.
@@ -1234,8 +1207,7 @@ EFI_STATUS
ConSplitterSimplePointerDeleteDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_POINTER_PROTOCOL *SimplePointer
- )
-;
+ );
//
// TextOut Constuctor/Destructor functions
@@ -1259,8 +1231,7 @@ ConSplitterTextOutAddDevice (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *TextOut,
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *GraphicsOutput,
IN EFI_UGA_DRAW_PROTOCOL *UgaDraw
- )
-;
+ );
/**
Remove Text Out Device in Consplitter Text Out list.
@@ -1276,8 +1247,7 @@ EFI_STATUS
ConSplitterTextOutDeleteDevice (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *TextOut
- )
-;
+ );
//
// TextIn I/O Functions
@@ -1299,8 +1269,7 @@ EFIAPI
ConSplitterTextInReset (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Reads the next keystroke from the input device. The WaitForKey Event can
@@ -1321,8 +1290,7 @@ EFIAPI
ConSplitterTextInReadKeyStroke (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,
OUT EFI_INPUT_KEY *Key
- )
-;
+ );
/**
Add Text Input Ex Device in Consplitter Text Input Ex list.
@@ -1338,8 +1306,7 @@ EFI_STATUS
ConSplitterTextInExAddDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *TextInEx
- )
-;
+ );
/**
Remove Simple Text Ex Device in Consplitter Absolute Pointer list.
@@ -1355,8 +1322,7 @@ EFI_STATUS
ConSplitterTextInExDeleteDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *TextInEx
- )
-;
+ );
//
// Simple Text Input Ex protocol function prototypes
@@ -1379,8 +1345,7 @@ EFIAPI
ConSplitterTextInResetEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
@@ -1404,8 +1369,7 @@ EFIAPI
ConSplitterTextInReadKeyStrokeEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
OUT EFI_KEY_DATA *KeyData
- )
-;
+ );
/**
@@ -1428,8 +1392,7 @@ EFIAPI
ConSplitterTextInSetState (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_KEY_TOGGLE_STATE *KeyToggleState
- )
-;
+ );
/**
@@ -1458,8 +1421,7 @@ ConSplitterTextInRegisterKeyNotify (
IN EFI_KEY_DATA *KeyData,
IN EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction,
OUT EFI_HANDLE *NotifyHandle
- )
-;
+ );
/**
@@ -1480,8 +1442,7 @@ EFIAPI
ConSplitterTextInUnregisterKeyNotify (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_HANDLE NotificationHandle
- )
-;
+ );
/**
This event agregates all the events of the ConIn devices in the spliter.
@@ -1501,8 +1462,7 @@ EFIAPI
ConSplitterTextInWaitForKey (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
Return TRUE if StdIn is locked. The ConIn device on the virtual handle is
the only device locked.
@@ -1516,8 +1476,7 @@ ConSplitterTextInWaitForKey (
BOOLEAN
ConSpliterConssoleControlStdInLocked (
VOID
- )
-;
+ );
/**
This timer event will fire when StdIn is locked. It will check the key
sequence on StdIn to see if it matches the password. Any error in the
@@ -1536,8 +1495,7 @@ EFIAPI
ConSpliterConsoleControlLockStdInEvent (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
If Password is NULL unlock the password state variable and set the event
@@ -1557,8 +1515,7 @@ EFIAPI
ConSpliterConsoleControlLockStdIn (
IN EFI_CONSOLE_CONTROL_PROTOCOL *This,
IN CHAR16 *Password
- )
-;
+ );
/**
Reads the next keystroke from the input device. The WaitForKey Event can
@@ -1578,8 +1535,7 @@ EFIAPI
ConSplitterTextInPrivateReadKeyStroke (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
OUT EFI_INPUT_KEY *Key
- )
-;
+ );
/**
Reset the input device and optionaly run diagnostics
@@ -1597,8 +1553,7 @@ EFIAPI
ConSplitterSimplePointerReset (
IN EFI_SIMPLE_POINTER_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Reads the next keystroke from the input device. The WaitForKey Event can
@@ -1619,8 +1574,7 @@ EFIAPI
ConSplitterSimplePointerGetState (
IN EFI_SIMPLE_POINTER_PROTOCOL *This,
IN OUT EFI_SIMPLE_POINTER_STATE *State
- )
-;
+ );
/**
This event agregates all the events of the ConIn devices in the spliter.
@@ -1640,8 +1594,7 @@ EFIAPI
ConSplitterSimplePointerWaitForInput (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
//
// TextOut I/O Functions
@@ -1664,8 +1617,7 @@ EFIAPI
ConSplitterTextOutReset (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Write a Unicode string to the output device.
@@ -1691,8 +1643,7 @@ EFIAPI
ConSplitterTextOutOutputString (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN CHAR16 *WString
- )
-;
+ );
/**
Verifies that all characters in a Unicode string can be output to the
@@ -1714,8 +1665,7 @@ EFIAPI
ConSplitterTextOutTestString (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN CHAR16 *WString
- )
-;
+ );
/**
Returns information for an available text mode that the output device(s)
@@ -1741,8 +1691,7 @@ ConSplitterTextOutQueryMode (
IN UINTN ModeNumber,
OUT UINTN *Columns,
OUT UINTN *Rows
- )
-;
+ );
/**
Sets the output device(s) to a specified mode.
@@ -1761,8 +1710,7 @@ EFIAPI
ConSplitterTextOutSetMode (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN ModeNumber
- )
-;
+ );
/**
Sets the background and foreground colors for the OutputString () and
@@ -1786,8 +1734,7 @@ EFIAPI
ConSplitterTextOutSetAttribute (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN Attribute
- )
-;
+ );
/**
Clears the output device(s) display to the currently selected background
@@ -1805,8 +1752,7 @@ EFI_STATUS
EFIAPI
ConSplitterTextOutClearScreen (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This
- )
-;
+ );
/**
Sets the current coordinates of the cursor position
@@ -1833,8 +1779,7 @@ ConSplitterTextOutSetCursorPosition (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN Column,
IN UINTN Row
- )
-;
+ );
/**
@@ -1856,8 +1801,7 @@ EFIAPI
ConSplitterTextOutEnableCursor (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN BOOLEAN Visible
- )
-;
+ );
/**
Take the passed in Buffer of size SizeOfCount and grow the buffer
@@ -1879,8 +1823,7 @@ ConSplitterGrowBuffer (
IN UINTN SizeOfCount,
IN UINTN *Count,
IN OUT VOID **Buffer
- )
-;
+ );
/**
Return the current video mode information. Also returns info about existence
@@ -1903,8 +1846,7 @@ ConSpliterConsoleControlGetMode (
OUT EFI_CONSOLE_CONTROL_SCREEN_MODE *Mode,
OUT BOOLEAN *GopExists,
OUT BOOLEAN *StdInLocked
- )
-;
+ );
/**
Set the current mode to either text or graphics. Graphics is
@@ -1923,8 +1865,7 @@ EFIAPI
ConSpliterConsoleControlSetMode (
IN EFI_CONSOLE_CONTROL_PROTOCOL *This,
IN EFI_CONSOLE_CONTROL_SCREEN_MODE Mode
- )
-;
+ );
/**
Return the current video mode information.
@@ -1951,8 +1892,7 @@ ConSpliterGraphicsOutputQueryMode (
IN UINT32 ModeNumber,
OUT UINTN *SizeOfInfo,
OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION **Info
- )
-;
+ );
/**
Graphics output protocol interface to set video mode.
@@ -1971,8 +1911,7 @@ EFIAPI
ConSpliterGraphicsOutputSetMode (
IN EFI_GRAPHICS_OUTPUT_PROTOCOL * This,
IN UINT32 ModeNumber
- )
-;
+ );
/**
The following table defines actions for BltOperations.
@@ -2033,8 +1972,7 @@ ConSpliterGraphicsOutputBlt (
IN UINTN Width,
IN UINTN Height,
IN UINTN Delta OPTIONAL
- )
-;
+ );
/**
Write data from the buffer to video display based on Graphics Output setting.
@@ -2055,8 +1993,7 @@ DevNullGopSync (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *GraphicsOutput,
IN EFI_UGA_DRAW_PROTOCOL *UgaDraw
- )
-;
+ );
/**
Return the current video mode information.
@@ -2080,8 +2017,7 @@ ConSpliterUgaDrawGetMode (
OUT UINT32 *VerticalResolution,
OUT UINT32 *ColorDepth,
OUT UINT32 *RefreshRate
- )
-;
+ );
/**
Return the current video mode information.
@@ -2105,8 +2041,7 @@ ConSpliterUgaDrawSetMode (
IN UINT32 VerticalResolution,
IN UINT32 ColorDepth,
IN UINT32 RefreshRate
- )
-;
+ );
/**
The following table defines actions for BltOperations.
@@ -2167,8 +2102,7 @@ ConSpliterUgaDrawBlt (
IN UINTN Width,
IN UINTN Height,
IN UINTN Delta OPTIONAL
- )
-;
+ );
/**
Write data from the buffer to video display based on UGA Draw setting.
@@ -2188,8 +2122,7 @@ DevNullUgaSync (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *GraphicsOutput,
IN EFI_UGA_DRAW_PROTOCOL *UgaDraw
- )
-;
+ );
/**
Write a Unicode string to the output device.
@@ -2215,8 +2148,7 @@ EFI_STATUS
DevNullTextOutOutputString (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN CHAR16 *WString
- )
-;
+ );
/**
Sets the output device(s) to a specified mode.
@@ -2235,8 +2167,7 @@ EFI_STATUS
DevNullTextOutSetMode (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN UINTN ModeNumber
- )
-;
+ );
/**
Clears the output device(s) display to the currently selected background
@@ -2253,8 +2184,7 @@ DevNullTextOutSetMode (
EFI_STATUS
DevNullTextOutClearScreen (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private
- )
-;
+ );
/**
Sets the current coordinates of the cursor position.
@@ -2278,8 +2208,7 @@ DevNullTextOutSetCursorPosition (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN UINTN Column,
IN UINTN Row
- )
-;
+ );
/**
Implements SIMPLE_TEXT_OUTPUT.EnableCursor().
@@ -2296,8 +2225,7 @@ EFI_STATUS
DevNullTextOutEnableCursor (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN BOOLEAN Visible
- )
-;
+ );
/**
Take the DevNull TextOut device and update the Simple Text Out on every
@@ -2312,7 +2240,6 @@ DevNullTextOutEnableCursor (
EFI_STATUS
DevNullSyncStdOut (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.h b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.h
index 9fa72ad0f4..e3e5c38159 100644
--- a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.h
+++ b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.h
@@ -525,8 +525,7 @@ GraphicsConsoleControllerDriverStop (
EFI_STATUS
EfiLocateHiiProtocol (
VOID
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h
index 7da100c66e..862826c83e 100644
--- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h
+++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h
@@ -181,8 +181,7 @@ EFIAPI
InitializeTerminal (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_INPUT_PROTOCOL.Reset().
@@ -201,8 +200,7 @@ EFIAPI
TerminalConInReset (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
@@ -223,8 +221,7 @@ EFIAPI
TerminalConInReadKeyStroke (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,
OUT EFI_INPUT_KEY *Key
- )
-;
+ );
/**
Check if the key already has been registered.
@@ -244,8 +241,7 @@ BOOLEAN
IsKeyRegistered (
IN EFI_KEY_DATA *RegsiteredData,
IN EFI_KEY_DATA *InputData
- )
-;
+ );
/**
Event notification function for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.WaitForKeyEx event
@@ -262,8 +258,7 @@ EFIAPI
TerminalConInWaitForKeyEx (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
//
// Simple Text Input Ex protocol prototypes
@@ -285,8 +280,7 @@ EFIAPI
TerminalConInResetEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Reads the next keystroke from the input device. The WaitForKey Event can
@@ -309,8 +303,7 @@ EFIAPI
TerminalConInReadKeyStrokeEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
OUT EFI_KEY_DATA *KeyData
- )
-;
+ );
/**
Set certain state for the input device.
@@ -332,8 +325,7 @@ EFIAPI
TerminalConInSetState (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_KEY_TOGGLE_STATE *KeyToggleState
- )
-;
+ );
/**
Register a notification function for a particular keystroke for the input device.
@@ -361,8 +353,7 @@ TerminalConInRegisterKeyNotify (
IN EFI_KEY_DATA *KeyData,
IN EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction,
OUT EFI_HANDLE *NotifyHandle
- )
-;
+ );
/**
Remove a registered notification function from a particular keystroke.
@@ -382,8 +373,7 @@ EFIAPI
TerminalConInUnregisterKeyNotify (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_HANDLE NotificationHandle
- )
-;
+ );
/**
Event notification function for EFI_SIMPLE_TEXT_INPUT_PROTOCOL.WaitForKey event
@@ -400,8 +390,7 @@ EFIAPI
TerminalConInWaitForKey (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.Reset().
@@ -423,8 +412,7 @@ EFIAPI
TerminalConOutReset (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.OutputString().
@@ -447,8 +435,7 @@ EFIAPI
TerminalConOutOutputString (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN CHAR16 *WString
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.TestString().
@@ -469,8 +456,7 @@ EFIAPI
TerminalConOutTestString (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN CHAR16 *WString
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.QueryMode().
@@ -496,8 +482,7 @@ TerminalConOutQueryMode (
IN UINTN ModeNumber,
OUT UINTN *Columns,
OUT UINTN *Rows
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUT.SetMode().
@@ -518,8 +503,7 @@ EFIAPI
TerminalConOutSetMode (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN ModeNumber
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.SetAttribute().
@@ -538,8 +522,7 @@ EFIAPI
TerminalConOutSetAttribute (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN Attribute
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.ClearScreen().
@@ -557,8 +540,7 @@ EFI_STATUS
EFIAPI
TerminalConOutClearScreen (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.SetCursorPosition().
@@ -579,8 +561,7 @@ TerminalConOutSetCursorPosition (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN Column,
IN UINTN Row
- )
-;
+ );
/**
Implements SIMPLE_TEXT_OUTPUT.EnableCursor().
@@ -599,8 +580,7 @@ EFIAPI
TerminalConOutEnableCursor (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN BOOLEAN Visible
- )
-;
+ );
/**
Test to see if this driver supports Controller.
@@ -816,8 +796,7 @@ TerminalComponentNameGetControllerName (
EFI_STATUS
TerminalConInCheckForKey (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This
- )
-;
+ );
/**
Update terminal device path in Console Device Environment Variables.
@@ -832,8 +811,7 @@ VOID
TerminalUpdateConsoleDevVariable (
IN CHAR16 *VariableName,
IN EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath
- )
-;
+ );
/**
Remove console device variable.
@@ -848,8 +826,7 @@ VOID
TerminalRemoveConsoleDevVariable (
IN CHAR16 *VariableName,
IN EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath
- )
-;
+ );
/**
Read the EFI variable (VendorGuid/Name) and return a dynamically allocated
@@ -869,8 +846,7 @@ TerminalGetVariableAndSize (
IN CHAR16 *Name,
IN EFI_GUID *VendorGuid,
OUT UINTN *VariableSize
- )
-;
+ );
/**
Build termial device path according to terminal type.
@@ -889,8 +865,7 @@ SetTerminalDevicePath (
IN UINT8 TerminalType,
IN EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath,
OUT EFI_DEVICE_PATH_PROTOCOL **TerminalDevicePath
- )
-;
+ );
/**
Initialize the Raw Data FIFO.
@@ -903,8 +878,7 @@ SetTerminalDevicePath (
VOID
InitializeRawFiFo (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Initialize the Unicode FIFO.
@@ -917,8 +891,7 @@ InitializeRawFiFo (
VOID
InitializeUnicodeFiFo (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Initialize the EFI Key FIFO.
@@ -931,8 +904,7 @@ InitializeUnicodeFiFo (
VOID
InitializeEfiKeyFiFo (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Get one key out of serial buffer.
@@ -950,8 +922,7 @@ EFI_STATUS
GetOneKeyFromSerial (
EFI_SERIAL_IO_PROTOCOL *SerialIo,
UINT8 *Input
- )
-;
+ );
/**
Insert one byte raw data into the Raw Data FIFO.
@@ -968,8 +939,7 @@ BOOLEAN
RawFiFoInsertOneKey (
TERMINAL_DEV *TerminalDevice,
UINT8 Input
- )
-;
+ );
/**
Remove one pre-fetched key out of the Raw Data FIFO.
@@ -985,8 +955,7 @@ BOOLEAN
RawFiFoRemoveOneKey (
TERMINAL_DEV *TerminalDevice,
UINT8 *Output
- )
-;
+ );
/**
Clarify whether Raw Data FIFO buffer is empty.
@@ -1000,8 +969,7 @@ RawFiFoRemoveOneKey (
BOOLEAN
IsRawFiFoEmpty (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Clarify whether Raw Data FIFO buffer is full.
@@ -1015,8 +983,7 @@ IsRawFiFoEmpty (
BOOLEAN
IsRawFiFoFull (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Insert one pre-fetched key into the FIFO buffer.
@@ -1033,8 +1000,7 @@ BOOLEAN
EfiKeyFiFoInsertOneKey (
TERMINAL_DEV *TerminalDevice,
EFI_INPUT_KEY Key
- )
-;
+ );
/**
Remove one pre-fetched key out of the FIFO buffer.
@@ -1050,8 +1016,7 @@ BOOLEAN
EfiKeyFiFoRemoveOneKey (
TERMINAL_DEV *TerminalDevice,
EFI_INPUT_KEY *Output
- )
-;
+ );
/**
Clarify whether FIFO buffer is empty.
@@ -1065,8 +1030,7 @@ EfiKeyFiFoRemoveOneKey (
BOOLEAN
IsEfiKeyFiFoEmpty (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Clarify whether FIFO buffer is full.
@@ -1080,8 +1044,7 @@ IsEfiKeyFiFoEmpty (
BOOLEAN
IsEfiKeyFiFoFull (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Insert one pre-fetched key into the Unicode FIFO buffer.
@@ -1098,8 +1061,7 @@ BOOLEAN
UnicodeFiFoInsertOneKey (
TERMINAL_DEV *TerminalDevice,
UINT16 Input
- )
-;
+ );
/**
Remove one pre-fetched key out of the Unicode FIFO buffer.
@@ -1115,8 +1077,7 @@ BOOLEAN
UnicodeFiFoRemoveOneKey (
TERMINAL_DEV *TerminalDevice,
UINT16 *Output
- )
-;
+ );
/**
Clarify whether Unicode FIFO buffer is empty.
@@ -1130,8 +1091,7 @@ UnicodeFiFoRemoveOneKey (
BOOLEAN
IsUnicodeFiFoEmpty (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Clarify whether Unicode FIFO buffer is full.
@@ -1145,8 +1105,7 @@ IsUnicodeFiFoEmpty (
BOOLEAN
IsUnicodeFiFoFull (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Count Unicode FIFO buffer.
@@ -1159,8 +1118,7 @@ IsUnicodeFiFoFull (
UINT8
UnicodeFiFoGetKeyCount (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Translate raw data into Unicode (according to different encode), and
@@ -1174,8 +1132,7 @@ UnicodeFiFoGetKeyCount (
VOID
TranslateRawDataToEfiKey (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
//
// internal functions for PC ANSI
@@ -1193,8 +1150,7 @@ TranslateRawDataToEfiKey (
VOID
AnsiRawDataToUnicode (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Converts a stream of Unicode characters from a terminal input device into EFI Keys that
@@ -1264,8 +1220,7 @@ AnsiRawDataToUnicode (
VOID
UnicodeToEfiKey (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Check if input string is valid Ascii string, valid EFI control characters
@@ -1282,8 +1237,7 @@ EFI_STATUS
AnsiTestString (
IN TERMINAL_DEV *TerminalDevice,
IN CHAR16 *WString
- )
-;
+ );
//
// internal functions for VTUTF8
@@ -1301,8 +1255,7 @@ AnsiTestString (
VOID
VTUTF8RawDataToUnicode (
IN TERMINAL_DEV *VtUtf8Device
- )
-;
+ );
/**
Check if input string is valid VT-UTF8 string.
@@ -1317,8 +1270,7 @@ EFI_STATUS
VTUTF8TestString (
IN TERMINAL_DEV *TerminalDevice,
IN CHAR16 *WString
- )
-;
+ );
/**
Translate one Unicode character into VT-UTF8 characters.
@@ -1343,8 +1295,7 @@ UnicodeToUtf8 (
IN CHAR16 Unicode,
OUT UTF8_CHAR *Utf8Char,
OUT UINT8 *ValidBytes
- )
-;
+ );
/**
Get one valid VT-UTF8 characters set from Raw Data FIFO.
@@ -1362,8 +1313,7 @@ GetOneValidUtf8Char (
IN TERMINAL_DEV *Utf8Device,
OUT UTF8_CHAR *Utf8Char,
OUT UINT8 *ValidBytes
- )
-;
+ );
/**
Translate VT-UTF8 characters into one Unicode character.
@@ -1387,8 +1337,7 @@ Utf8ToUnicode (
IN UTF8_CHAR Utf8Char,
IN UINT8 ValidBytes,
OUT CHAR16 *UnicodeChar
- )
-;
+ );
//
// functions for boxdraw unicode
@@ -1411,8 +1360,7 @@ TerminalIsValidTextGraphics (
IN CHAR16 Graphic,
OUT CHAR8 *PcAnsi, OPTIONAL
OUT CHAR8 *Ascii OPTIONAL
- )
-;
+ );
/**
Detects if a valid ASCII char.
@@ -1426,8 +1374,7 @@ TerminalIsValidTextGraphics (
BOOLEAN
TerminalIsValidAscii (
IN CHAR16 Ascii
- )
-;
+ );
/**
Detects if a valid EFI control character.
@@ -1441,7 +1388,6 @@ TerminalIsValidAscii (
BOOLEAN
TerminalIsValidEfiCntlChar (
IN CHAR16 CharC
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
index f19de75809..535bddde13 100644
--- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
+++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
@@ -97,8 +97,7 @@ EFI_STATUS
DebugPortEntryPoint (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -106,8 +105,7 @@ DebugPortSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -115,8 +113,7 @@ DebugPortStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -125,8 +122,7 @@ DebugPortStop (
IN EFI_HANDLE Controller,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
//
// EFI Component Name Functions
@@ -265,8 +261,7 @@ EFI_STATUS
EFIAPI
DebugPortReset (
IN EFI_DEBUGPORT_PROTOCOL *This
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -275,8 +270,7 @@ DebugPortRead (
IN UINT32 Timeout,
IN OUT UINTN *BufferSize,
IN VOID *Buffer
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -285,14 +279,12 @@ DebugPortWrite (
IN UINT32 Timeout,
IN OUT UINTN *BufferSize,
OUT VOID *Buffer
- )
-;
+ );
EFI_STATUS
EFIAPI
DebugPortPoll (
IN EFI_DEBUGPORT_PROTOCOL *This
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.h b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.h
index b8cd8eca04..0fa93de100 100644
--- a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.h
+++ b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.h
@@ -46,8 +46,7 @@ typedef
VOID
(*DEBUG_PROC) (
VOID
- )
-;
+ );
typedef struct {
DESCRIPTOR OrigDesc;
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/x64/plDebugSupport.h b/MdeModulePkg/Universal/DebugSupportDxe/x64/plDebugSupport.h
index f45ceffb55..b643ec44e2 100644
--- a/MdeModulePkg/Universal/DebugSupportDxe/x64/plDebugSupport.h
+++ b/MdeModulePkg/Universal/DebugSupportDxe/x64/plDebugSupport.h
@@ -49,8 +49,7 @@ typedef
VOID
(*DEBUG_PROC) (
VOID
- )
-;
+ );
typedef struct {
DESCRIPTOR OrigDesc;
diff --git a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h
index 90a9fd85d2..2a5195bb4f 100644
--- a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h
+++ b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h
@@ -150,8 +150,7 @@ EFIAPI
InitializeFtwLite (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
//
// Fault Tolerant Write Protocol API
@@ -189,8 +188,7 @@ FtwLiteWrite (
IN UINTN Offset,
IN OUT UINTN *NumBytes,
IN VOID *Buffer
- )
-;
+ );
//
// Internal functions
@@ -213,8 +211,7 @@ FtwLiteWrite (
EFI_STATUS
FtwRestart (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
Aborts all previous allocated writes.
@@ -230,8 +227,7 @@ FtwRestart (
EFI_STATUS
FtwAbort (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
@@ -252,8 +248,7 @@ EFI_STATUS
FtwWriteRecord (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice,
IN EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *Fvb
- )
-;
+ );
/**
To Erase one block. The size is FTW_BLOCK_SIZE
@@ -272,8 +267,7 @@ FtwEraseBlock (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice,
EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *FvBlock,
EFI_LBA Lba
- )
-;
+ );
/**
@@ -299,8 +293,7 @@ FtwEraseBlock (
EFI_STATUS
FtwEraseSpareBlock (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
Retrive the proper FVB protocol interface by HANDLE.
@@ -318,8 +311,7 @@ EFI_STATUS
FtwGetFvbByHandle (
IN EFI_HANDLE FvBlockHandle,
OUT EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL **FvBlock
- )
-;
+ );
/**
@@ -337,8 +329,7 @@ EFI_STATUS
GetFvbByAddress (
IN EFI_PHYSICAL_ADDRESS Address,
OUT EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL **FvBlock
- )
-;
+ );
/**
@@ -357,8 +348,7 @@ IsInWorkingBlock (
EFI_FTW_LITE_DEVICE *FtwLiteDevice,
EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *FvBlock,
EFI_LBA Lba
- )
-;
+ );
/**
@@ -378,8 +368,7 @@ IsBootBlock (
EFI_FTW_LITE_DEVICE *FtwLiteDevice,
EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *FvBlock,
EFI_LBA Lba
- )
-;
+ );
/**
Copy the content of spare block to a target block. Size is FTW_BLOCK_SIZE.
@@ -403,8 +392,7 @@ FlushSpareBlockToTargetBlock (
EFI_FTW_LITE_DEVICE *FtwLiteDevice,
EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *FvBlock,
EFI_LBA Lba
- )
-;
+ );
/**
Copy the content of spare block to working block. Size is FTW_BLOCK_SIZE.
@@ -428,8 +416,7 @@ FlushSpareBlockToTargetBlock (
EFI_STATUS
FlushSpareBlockToWorkingBlock (
EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
Copy the content of spare block to a boot block. Size is FTW_BLOCK_SIZE.
@@ -450,8 +437,7 @@ FlushSpareBlockToWorkingBlock (
EFI_STATUS
FlushSpareBlockToBootBlock (
EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
Update a bit of state on a block device. The location of the bit is
@@ -477,8 +463,7 @@ FtwUpdateFvState (
IN EFI_LBA Lba,
IN UINTN Offset,
IN UINT8 NewBit
- )
-;
+ );
/**
Get the last Write record pointer.
@@ -497,8 +482,7 @@ EFI_STATUS
FtwGetLastRecord (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice,
OUT EFI_FTW_LITE_RECORD **FtwLastRecord
- )
-;
+ );
/**
@@ -517,8 +501,7 @@ IsErasedFlashBuffer (
IN BOOLEAN Polarity,
IN UINT8 *Buffer,
IN UINTN BufferSize
- )
-;
+ );
/**
Initialize a work space when there is no work space.
@@ -533,8 +516,7 @@ IsErasedFlashBuffer (
EFI_STATUS
InitWorkSpaceHeader (
IN EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER *WorkingHeader
- )
-;
+ );
/**
Read from working block to refresh the work space in memory.
@@ -549,8 +531,7 @@ InitWorkSpaceHeader (
EFI_STATUS
WorkSpaceRefresh (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
Check to see if it is a valid work space.
@@ -565,8 +546,7 @@ WorkSpaceRefresh (
BOOLEAN
IsValidWorkSpace (
IN EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER *WorkingHeader
- )
-;
+ );
/**
Reclaim the work space on the working block.
@@ -584,7 +564,6 @@ EFI_STATUS
FtwReclaimWorkSpace (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice,
IN BOOLEAN PreserveRecord
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h
index d559c82841..4b53e8762d 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h
@@ -305,8 +305,7 @@ typedef struct _HII_DATABASE_PRIVATE_DATA {
BOOLEAN
IsHiiHandleValid (
EFI_HII_HANDLE Handle
- )
-;
+ );
/**
@@ -338,8 +337,7 @@ IsFontInfoExisted (
IN EFI_FONT_INFO_MASK *FontInfoMask, OPTIONAL
IN EFI_FONT_HANDLE FontHandle, OPTIONAL
OUT HII_GLOBAL_FONT_INFO **GlobalFontInfo OPTIONAL
- )
-;
+ );
/**
@@ -362,8 +360,7 @@ GetSystemFont (
IN HII_DATABASE_PRIVATE_DATA *Private,
OUT EFI_FONT_DISPLAY_INFO **FontInfo,
OUT UINTN *FontInfoSize OPTIONAL
- )
-;
+ );
/**
@@ -399,8 +396,7 @@ FindStringBlock (
OUT UINT8 **StringBlockAddr, OPTIONAL
OUT UINTN *StringTextOffset, OPTIONAL
OUT EFI_STRING_ID *LastStringId OPTIONAL
- )
-;
+ );
/**
@@ -431,8 +427,7 @@ FindGlyphBlock (
OUT UINT8 **GlyphBuffer, OPTIONAL
OUT EFI_HII_GLYPH_INFO *Cell, OPTIONAL
OUT UINTN *GlyphBufferLen OPTIONAL
- )
-;
+ );
//
// EFI_HII_FONT_PROTOCOL protocol interfaces
@@ -506,8 +501,7 @@ HiiStringToImage (
OUT EFI_HII_ROW_INFO **RowInfoArray OPTIONAL,
OUT UINTN *RowInfoArraySize OPTIONAL,
OUT UINTN *ColumnInfoArray OPTIONAL
- )
-;
+ );
/**
@@ -586,8 +580,7 @@ HiiStringIdToImage (
OUT EFI_HII_ROW_INFO **RowInfoArray OPTIONAL,
OUT UINTN *RowInfoArraySize OPTIONAL,
OUT UINTN *ColumnInfoArray OPTIONAL
- )
-;
+ );
/**
@@ -620,8 +613,7 @@ HiiGetGlyph (
IN CONST EFI_FONT_DISPLAY_INFO *StringInfo,
OUT EFI_IMAGE_OUTPUT **Blt,
OUT UINTN *Baseline OPTIONAL
- )
-;
+ );
/**
@@ -661,8 +653,7 @@ HiiGetFontInfo (
IN CONST EFI_FONT_DISPLAY_INFO *StringInfoIn, OPTIONAL
OUT EFI_FONT_DISPLAY_INFO **StringInfoOut,
IN CONST EFI_STRING String OPTIONAL
- )
-;
+ );
//
// EFI_HII_IMAGE_PROTOCOL interfaces
@@ -694,8 +685,7 @@ HiiNewImage (
IN EFI_HII_HANDLE PackageList,
OUT EFI_IMAGE_ID *ImageId,
IN CONST EFI_IMAGE_INPUT *Image
- )
-;
+ );
/**
@@ -726,8 +716,7 @@ HiiGetImage (
IN EFI_HII_HANDLE PackageList,
IN EFI_IMAGE_ID ImageId,
OUT EFI_IMAGE_INPUT *Image
- )
-;
+ );
/**
@@ -753,8 +742,7 @@ HiiSetImage (
IN EFI_HII_HANDLE PackageList,
IN EFI_IMAGE_ID ImageId,
IN CONST EFI_IMAGE_INPUT *Image
- )
-;
+ );
/**
@@ -795,8 +783,7 @@ HiiDrawImage (
IN OUT EFI_IMAGE_OUTPUT **Blt,
IN UINTN BltX,
IN UINTN BltY
- )
-;
+ );
/**
@@ -893,8 +880,7 @@ HiiNewString (
IN CONST CHAR16 *LanguageName, OPTIONAL
IN CONST EFI_STRING String,
IN CONST EFI_FONT_INFO *StringFontInfo OPTIONAL
- )
-;
+ );
/**
@@ -941,8 +927,7 @@ HiiGetString (
OUT EFI_STRING String,
IN OUT UINTN *StringSize,
OUT EFI_FONT_INFO **StringFontInfo OPTIONAL
- )
-;
+ );
/**
@@ -976,8 +961,7 @@ HiiSetString (
IN CONST CHAR8 *Language,
IN CONST EFI_STRING String,
IN CONST EFI_FONT_INFO *StringFontInfo OPTIONAL
- )
-;
+ );
/**
@@ -1008,8 +992,7 @@ HiiGetLanguages (
IN EFI_HII_HANDLE PackageList,
IN OUT CHAR8 *Languages,
IN OUT UINTN *LanguagesSize
- )
-;
+ );
/**
@@ -1051,8 +1034,7 @@ HiiGetSecondaryLanguages (
IN CONST CHAR8 *FirstLanguage,
IN OUT CHAR8 *SecondaryLanguages,
IN OUT UINTN *SecondaryLanguagesSize
- )
-;
+ );
//
// EFI_HII_DATABASE_PROTOCOL protocol interfaces
@@ -1085,8 +1067,7 @@ HiiNewPackageList (
IN CONST EFI_HII_PACKAGE_LIST_HEADER *PackageList,
IN CONST EFI_HANDLE DriverHandle,
OUT EFI_HII_HANDLE *Handle
- )
-;
+ );
/**
@@ -1109,8 +1090,7 @@ EFIAPI
HiiRemovePackageList (
IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN EFI_HII_HANDLE Handle
- )
-;
+ );
/**
@@ -1137,8 +1117,7 @@ HiiUpdatePackageList (
IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN EFI_HII_HANDLE Handle,
IN CONST EFI_HII_PACKAGE_LIST_HEADER *PackageList
- )
-;
+ );
/**
@@ -1183,8 +1162,7 @@ HiiListPackageLists (
IN CONST EFI_GUID *PackageGuid,
IN OUT UINTN *HandleBufferLength,
OUT EFI_HII_HANDLE *Handle
- )
-;
+ );
/**
@@ -1221,8 +1199,7 @@ HiiExportPackageLists (
IN EFI_HII_HANDLE Handle,
IN OUT UINTN *BufferSize,
OUT EFI_HII_PACKAGE_LIST_HEADER *Buffer
- )
-;
+ );
/**
@@ -1270,8 +1247,7 @@ HiiRegisterPackageNotify (
IN CONST EFI_HII_DATABASE_NOTIFY PackageNotifyFn,
IN EFI_HII_DATABASE_NOTIFY_TYPE NotifyType,
OUT EFI_HANDLE *NotifyHandle
- )
-;
+ );
/**
@@ -1292,8 +1268,7 @@ EFIAPI
HiiUnregisterPackageNotify (
IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN EFI_HANDLE NotificationHandle
- )
-;
+ );
/**
@@ -1325,8 +1300,7 @@ HiiFindKeyboardLayouts (
IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN OUT UINT16 *KeyGuidBufferLength,
OUT EFI_GUID *KeyGuidBuffer
- )
-;
+ );
/**
@@ -1357,8 +1331,7 @@ HiiGetKeyboardLayout (
IN CONST EFI_GUID *KeyGuid,
IN OUT UINT16 *KeyboardLayoutLength,
OUT EFI_HII_KEYBOARD_LAYOUT *KeyboardLayout
- )
-;
+ );
/**
@@ -1383,8 +1356,7 @@ EFIAPI
HiiSetKeyboardLayout (
IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN CONST EFI_GUID *KeyGuid
- )
-;
+ );
/**
@@ -1409,8 +1381,7 @@ HiiGetPackageListHandle (
IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN EFI_HII_HANDLE PackageListHandle,
OUT EFI_HANDLE *DriverHandle
- )
-;
+ );
//
// EFI_HII_CONFIG_ROUTING_PROTOCOL interfaces
@@ -1463,8 +1434,7 @@ HiiConfigRoutingExtractConfig (
IN CONST EFI_STRING Request,
OUT EFI_STRING *Progress,
OUT EFI_STRING *Results
- )
-;
+ );
/**
@@ -1493,8 +1463,7 @@ EFIAPI
HiiConfigRoutingExportConfig (
IN CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *This,
OUT EFI_STRING *Results
- )
-;
+ );
/**
@@ -1528,8 +1497,7 @@ HiiConfigRoutingRouteConfig (
IN CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *This,
IN CONST EFI_STRING Configuration,
OUT EFI_STRING *Progress
- )
-;
+ );
@@ -1581,8 +1549,7 @@ HiiBlockToConfig (
IN CONST UINTN BlockSize,
OUT EFI_STRING *Config,
OUT EFI_STRING *Progress
- )
-;
+ );
/**
@@ -1639,8 +1606,7 @@ HiiConfigToBlock (
IN OUT UINT8 *Block,
IN OUT UINTN *BlockSize,
OUT EFI_STRING *Progress
- )
-;
+ );
/**
@@ -1693,8 +1659,7 @@ HiiGetAltCfg (
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,
IN CONST UINT16 *AltCfgId,
OUT EFI_STRING *AltCfgResp
- )
-;
+ );
//
diff --git a/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.h b/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.h
index a71e6a24fd..15dad80b22 100644
--- a/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.h
+++ b/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.h
@@ -79,8 +79,7 @@ InitializeMemoryTest (
IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,
IN EXTENDMEM_COVERAGE_LEVEL Level,
OUT BOOLEAN *RequireSoftECCInit
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -90,15 +89,13 @@ GenPerformMemoryTest (
OUT UINT64 *TotalMemorySize,
OUT BOOLEAN *ErrorOut,
IN BOOLEAN TestAbort
- )
-;
+ );
EFI_STATUS
EFIAPI
GenMemoryTestFinished (
IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -106,7 +103,6 @@ GenCompatibleRangeTest (
IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,
IN EFI_PHYSICAL_ADDRESS StartAddress,
IN UINT64 Length
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounter.h b/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounter.h
index 4fac2a00c9..0c40cd9c63 100644
--- a/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounter.h
+++ b/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounter.h
@@ -41,7 +41,6 @@ EFIAPI
MonotonicCounterDriverInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/Md5.h b/MdeModulePkg/Universal/Network/IScsiDxe/Md5.h
index dd59626f37..fca782ce34 100644
--- a/MdeModulePkg/Universal/Network/IScsiDxe/Md5.h
+++ b/MdeModulePkg/Universal/Network/IScsiDxe/Md5.h
@@ -48,8 +48,7 @@ typedef struct _MD5_CTX {
EFI_STATUS
MD5Init (
IN MD5_CTX *Md5Ctx
- )
-;
+ );
/**
the external interface of Md5 algorithm
@@ -69,8 +68,7 @@ MD5Update (
IN MD5_CTX *Md5Ctx,
IN VOID *Data,
IN UINTN DataLen
- )
-;
+ );
/**
accumulate the MD5 value of every data segment and generate the finial
@@ -88,7 +86,6 @@ EFI_STATUS
MD5Final (
IN MD5_CTX *Md5Ctx,
OUT UINT8 *HashVal
- )
-;
+ );
#endif // _MD5_H
diff --git a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h
index 0d1e3f7868..56c139371f 100644
--- a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h
+++ b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h
@@ -188,16 +188,14 @@ PxebcBisStart (
PXE_BASECODE_DEVICE *Private,
BIS_APPLICATION_HANDLE *BisAppHandle,
EFI_BIS_DATA **BisDataSigInfo
- )
-;
+ );
VOID
PxebcBisStop (
EFI_BIS_PROTOCOL *Bis,
BIS_APPLICATION_HANDLE BisAppHandle,
EFI_BIS_DATA *BisDataSigInfo
- )
-;
+ );
BOOLEAN
PxebcBisVerify (
@@ -206,14 +204,12 @@ PxebcBisVerify (
UINTN FileBufferLength,
VOID *CredentialBuffer,
UINTN CredentialBufferLength
- )
-;
+ );
BOOLEAN
PxebcBisDetect (
PXE_BASECODE_DEVICE *Private
- )
-;
+ );
//
// Global Variables
@@ -240,31 +236,27 @@ EFIAPI
InitializeBCDriver (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
EFI_STATUS
EFIAPI
BcStart (
IN EFI_PXE_BASE_CODE_PROTOCOL *This,
IN BOOLEAN UseIpv6
- )
-;
+ );
EFI_STATUS
EFIAPI
BcStop (
IN EFI_PXE_BASE_CODE_PROTOCOL *This
- )
-;
+ );
EFI_STATUS
EFIAPI
BcDhcp (
IN EFI_PXE_BASE_CODE_PROTOCOL *This,
IN BOOLEAN SortOffers
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -274,8 +266,7 @@ BcDiscover (
IN UINT16 *Layer,
IN BOOLEAN UseBis,
IN EFI_PXE_BASE_CODE_DISCOVER_INFO * Info OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -290,8 +281,7 @@ BcMtftp (
IN UINT8 *Filename,
IN EFI_PXE_BASE_CODE_MTFTP_INFO * Info OPTIONAL,
IN BOOLEAN DontUseBuffer
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -307,8 +297,7 @@ BcUdpWrite (
IN VOID *HeaderPtr, OPTIONAL
IN UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -323,8 +312,7 @@ BcUdpRead (
IN VOID *HeaderPtr, OPTIONAL
IN OUT UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -345,8 +333,7 @@ BcTcpWrite (
IN VOID *HeaderPtr, OPTIONAL
IN UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -361,8 +348,7 @@ BcTcpRead (
IN VOID *HeaderPtr, OPTIONAL
IN OUT UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -370,16 +356,14 @@ BcArp (
IN EFI_PXE_BASE_CODE_PROTOCOL * This,
IN EFI_IP_ADDRESS * IpAddr,
IN EFI_MAC_ADDRESS * MacAddr OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
BcIpFilter (
IN EFI_PXE_BASE_CODE_PROTOCOL *This,
IN EFI_PXE_BASE_CODE_IP_FILTER *NewFilter
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -390,8 +374,7 @@ BcSetParameters (
IN UINT8 *NewTTL, OPTIONAL
IN UINT8 *NewToS, OPTIONAL
IN BOOLEAN *NewMakeCallback OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -399,8 +382,7 @@ BcSetStationIP (
IN EFI_PXE_BASE_CODE_PROTOCOL * This,
IN EFI_IP_ADDRESS * NewStationIp, OPTIONAL
IN EFI_IP_ADDRESS * NewSubnetMask OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -418,8 +400,7 @@ BcSetPackets (
IN EFI_PXE_BASE_CODE_PACKET * NewPxeDiscover, OPTIONAL
IN EFI_PXE_BASE_CODE_PACKET * NewPxeReply, OPTIONAL
IN EFI_PXE_BASE_CODE_PACKET * NewPxeBisReply OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -429,15 +410,13 @@ LoadFile (
IN BOOLEAN BootPolicy,
IN OUT UINTN *BufferSize,
IN VOID *Buffer
- )
-;
+ );
EFI_STATUS
PxeBcLibGetSmbiosSystemGuidAndSerialNumber (
IN EFI_GUID *SystemGuid,
OUT CHAR8 **SystemSerialNumber
- )
-;
+ );
#include "Ip.h"
#include "Dhcp.h"
diff --git a/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h b/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h
index 29f143961a..158fce60ad 100644
--- a/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h
+++ b/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h
@@ -431,8 +431,7 @@ EFI_STATUS
IpFilter (
PXE_BASECODE_DEVICE *Private,
IN EFI_PXE_BASE_CODE_IP_FILTER *Filter
- )
-;
+ );
//
// //////////////////////////////////////////////////////////////////////
@@ -452,8 +451,7 @@ UdpWrite (
IN VOID *HeaderPtr, OPTIONAL
IN UINTN *BufferSizePtr,
IN VOID *BufferPtr
- )
-;
+ );
//
// /////////////////////////////////////////////////////////////////////
@@ -473,22 +471,19 @@ UdpRead (
IN OUT UINTN *BufferSizePtr,
IN VOID *BufferPtr,
IN EFI_EVENT TimeoutEvent
- )
-;
+ );
VOID
IgmpLeaveGroup (
PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *
- )
-;
+ );
VOID
IgmpJoinGroup (
PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *
- )
-;
+ );
//
// convert number to zero filled ascii value of length lth
@@ -498,8 +493,7 @@ CvtNum (
UINTN Number,
UINT8 *BufferPtr,
INTN BufferLen
- )
-;
+ );
//
// convert number to ascii string at ptr
@@ -508,8 +502,7 @@ VOID
UtoA10 (
UINTN Number,
UINT8 *BufferPtr
- )
-;
+ );
//
// convert ascii numeric string to UINTN
@@ -517,14 +510,12 @@ UtoA10 (
UINTN
AtoU (
UINT8 *BufferPtr
- )
-;
+ );
UINT64
AtoU64 (
UINT8 *BufferPtr
- )
-;
+ );
//
// calculate the internet checksum (RFC 1071)
@@ -534,8 +525,7 @@ UINT16
IpChecksum (
UINT16 *MessagePtr,
UINTN ByteLength
- )
-;
+ );
//
// do checksum on non contiguous header and data
@@ -546,8 +536,7 @@ IpChecksum2 (
UINTN HeaderLength,
UINT16 *Message,
UINTN MessageLength
- )
-;
+ );
//
// update checksum when only a single word changes
@@ -557,21 +546,18 @@ UpdateChecksum (
UINT16 OldChecksum,
UINT16 OldWord,
UINT16 NewWord
- )
-;
+ );
VOID
SeedRandom (
IN PXE_BASECODE_DEVICE *Private,
IN UINT16 InitialSeed
- )
-;
+ );
UINT16
Random (
IN PXE_BASECODE_DEVICE *Private
- )
-;
+ );
EFI_STATUS
SendPacket (
@@ -582,30 +568,26 @@ SendPacket (
VOID *HardwareAddress,
UINT16 MediaProtocol,
IN EFI_PXE_BASE_CODE_FUNCTION Function
- )
-;
+ );
VOID
HandleArpReceive (
PXE_BASECODE_DEVICE *Private,
ARP_PACKET *ArpPacketPtr,
VOID *HeaderPtr
- )
-;
+ );
VOID
HandleIgmp (
PXE_BASECODE_DEVICE *Private,
IGMPV2_MESSAGE *IgmpMessageptr,
UINTN IgmpMessageLen
- )
-;
+ );
VOID
IgmpCheckTimers (
PXE_BASECODE_DEVICE *Private
- )
-; // poll when doing a receive
+ ); // poll when doing a receive
// return hw add of IP and TRUE if available, otherwise FALSE
//
BOOLEAN
@@ -613,16 +595,14 @@ GetHwAddr (
IN PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *ProtocolAddressPtr,
EFI_MAC_ADDRESS *HardwareAddressPtr
- )
-;
+ );
EFI_STATUS
DoArp (
IN PXE_BASECODE_DEVICE *Private,
IN EFI_IP_ADDRESS *ProtocolAddressPtr,
OUT EFI_MAC_ADDRESS *HardwareAddressptr
- )
-;
+ );
BOOLEAN
OnSameSubnet (
@@ -630,15 +610,13 @@ OnSameSubnet (
EFI_IP_ADDRESS *Ip1,
EFI_IP_ADDRESS *Ip2,
EFI_IP_ADDRESS *SubnetMask
- )
-;
+ );
VOID
IpAddRouter (
PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *RouterIp
- )
-;
+ );
#define Ip4AddRouter(Private, Ipv4Ptr) IpAddRouter (Private, (EFI_IP_ADDRESS *) Ipv4Ptr)
@@ -656,8 +634,7 @@ Ipv4Xmt (
VOID *Data,
UINTN DataLen,
EFI_PXE_BASE_CODE_FUNCTION Function
- )
-;
+ );
//
// send ipv4 packet with ipv4 option
@@ -673,8 +650,7 @@ Ipv4SendWOp (
UINTN OptionLen,
UINT32 DestIp,
EFI_PXE_BASE_CODE_FUNCTION Function
- )
-;
+ );
//
// send MsgLth message at MsgPtr - higher level protocol header already in xmtbuf, length HdrSize
@@ -690,8 +666,7 @@ Ip4Send (
IN UINTN HeaderSize, // protocol header byte length
IN UINT8 *MsgPtr, // pointer to data
IN UINTN MsgLength
- )
-; // data byte length
+ ); // data byte length
// receive up to MsgLth message into MsgPtr for protocol Prot
// return message length, src/dest ips if select any, and pointer to protocol header
//
@@ -707,15 +682,13 @@ IpReceive (
UINT8 *MsgPtr, // pointer to data buffer
UINTN *MsgLenPtr, // pointer to data buffer length/ O - returned data length
IN EFI_EVENT TimeoutEvent
- )
-;
+ );
#if 0
VOID
WaitForTxComplete (
IN PXE_BASECODE_DEVICE *Private
- )
-;
+ );
#endif
//
// routine to cycle waiting for a receive or timeout
@@ -728,8 +701,7 @@ WaitForReceive (
IN OUT UINTN *HeaderSizePtr,
IN OUT UINTN *BufferSizePtr,
IN OUT UINT16 *ProtocolPtr
- )
-;
+ );
#endif /* _IP_H_ */
diff --git a/MdeModulePkg/Universal/Network/PxeDhcp4Dxe/PxeDhcp4.h b/MdeModulePkg/Universal/Network/PxeDhcp4Dxe/PxeDhcp4.h
index c923ccedbc..cefe52d08c 100644
--- a/MdeModulePkg/Universal/Network/PxeDhcp4Dxe/PxeDhcp4.h
+++ b/MdeModulePkg/Universal/Network/PxeDhcp4Dxe/PxeDhcp4.h
@@ -120,8 +120,7 @@ PxeDhcp4Run (
IN EFI_PXE_DHCP4_PROTOCOL *This,
IN OPTIONAL UINTN OpLen,
IN OPTIONAL VOID *OpList
- )
-;
+ );
extern
EFI_STATUS
@@ -129,8 +128,7 @@ EFIAPI
PxeDhcp4Setup (
IN EFI_PXE_DHCP4_PROTOCOL *This,
IN EFI_PXE_DHCP4_DATA *Data
- )
-;
+ );
extern
EFI_STATUS
@@ -140,8 +138,7 @@ PxeDhcp4Init (
IN UINTN seconds_timeout,
OUT UINTN *offer_list_entries,
OUT DHCP4_PACKET **offer_list
- )
-;
+ );
extern
EFI_STATUS
@@ -150,8 +147,7 @@ PxeDhcp4Select (
IN EFI_PXE_DHCP4_PROTOCOL *This,
IN UINTN seconds_timeout,
IN DHCP4_PACKET *offer_list
- )
-;
+ );
extern
EFI_STATUS
@@ -159,8 +155,7 @@ EFIAPI
PxeDhcp4Renew (
IN EFI_PXE_DHCP4_PROTOCOL *This,
UINTN seconds_timeout
- )
-;
+ );
extern
EFI_STATUS
@@ -168,16 +163,14 @@ EFIAPI
PxeDhcp4Rebind (
IN EFI_PXE_DHCP4_PROTOCOL *This,
UINTN seconds_timeout
- )
-;
+ );
extern
EFI_STATUS
EFIAPI
PxeDhcp4Release (
IN EFI_PXE_DHCP4_PROTOCOL *This
- )
-;
+ );
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@@ -188,15 +181,13 @@ extern
UINT16
htons (
UINTN n
- )
-;
+ );
extern
UINT32
htonl (
UINTN n
- )
-;
+ );
extern
VOID
@@ -204,8 +195,7 @@ EFIAPI
timeout_notify (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
extern
VOID
@@ -213,8 +203,7 @@ EFIAPI
periodic_notify (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
extern
EFI_STATUS
@@ -223,16 +212,14 @@ find_opt (
IN UINT8 OpCode,
IN UINTN Skip,
OUT DHCP4_OP **OpPtr
- )
-;
+ );
extern
EFI_STATUS
add_opt (
IN DHCP4_PACKET *Packet,
IN DHCP4_OP *OpPtr
- )
-;
+ );
extern
EFI_STATUS
@@ -240,30 +227,26 @@ start_udp (
IN PXE_DHCP4_PRIVATE_DATA *Private,
IN OPTIONAL EFI_IP_ADDRESS *station_ip,
IN OPTIONAL EFI_IP_ADDRESS *subnet_mask
- )
-;
+ );
extern
VOID
stop_udp (
IN PXE_DHCP4_PRIVATE_DATA *Private
- )
-;
+ );
extern
EFI_STATUS
start_receive_events (
IN PXE_DHCP4_PRIVATE_DATA *Private,
IN UINTN seconds_timeout
- )
-;
+ );
extern
VOID
stop_receive_events (
IN PXE_DHCP4_PRIVATE_DATA *Private
- )
-;
+ );
extern
EFI_STATUS
@@ -274,8 +257,7 @@ tx_udp (
IN EFI_IP_ADDRESS *src_ip,
IN VOID *buffer,
IN UINTN BufferSize
- )
-;
+ );
extern
EFI_STATUS
@@ -286,8 +268,7 @@ rx_udp (
IN OUT EFI_IP_ADDRESS *dest_ip,
IN OUT EFI_IP_ADDRESS *src_ip,
IN UINT16 op_flags
- )
-;
+ );
extern
EFI_STATUS
@@ -309,8 +290,7 @@ tx_rx_udp (
IN UINTN rx_pkt_size
),
IN UINTN seconds_timeout
- )
-;
+ );
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
diff --git a/MdeModulePkg/Universal/Network/SnpDxe/Snp.h b/MdeModulePkg/Universal/Network/SnpDxe/Snp.h
index b6e58c4d27..4532ab4796 100644
--- a/MdeModulePkg/Universal/Network/SnpDxe/Snp.h
+++ b/MdeModulePkg/Universal/Network/SnpDxe/Snp.h
@@ -148,35 +148,30 @@ add_v2p (
EFI_PCI_IO_PROTOCOL_OPERATION type,
VOID *vaddr,
UINTN bsize
- )
-;
+ );
EFI_STATUS
find_v2p (
struct s_v2p **v2p,
VOID *vaddr
- )
-;
+ );
EFI_STATUS
del_v2p (
VOID *vaddr
- )
-;
+ );
extern
VOID
snp_undi32_callback_block_30 (
IN UINT32 Enable
- )
-;
+ );
extern
VOID
snp_undi32_callback_delay_30 (
IN UINT64 MicroSeconds
- )
-;
+ );
extern
VOID
@@ -185,32 +180,28 @@ snp_undi32_callback_memio_30 (
IN UINT8 NumBytes,
IN UINT64 MemOrPortAddress,
IN OUT UINT64 BufferPtr
- )
-;
+ );
extern
VOID
snp_undi32_callback_v2p_30 (
IN UINT64 CpuAddr,
IN OUT UINT64 DeviceAddrPtr
- )
-;
+ );
extern
VOID
snp_undi32_callback_block (
IN UINT64 UniqueId,
IN UINT32 Enable
- )
-;
+ );
extern
VOID
snp_undi32_callback_delay (
IN UINT64 UniqueId,
IN UINT64 MicroSeconds
- )
-;
+ );
extern
VOID
@@ -220,8 +211,7 @@ snp_undi32_callback_memio (
IN UINT8 NumBytes,
IN UINT64 MemOrPortAddr,
IN OUT UINT64 BufferPtr
- )
-;
+ );
extern
VOID
@@ -231,8 +221,7 @@ snp_undi32_callback_map (
IN UINT32 NumBytes,
IN UINT32 Direction,
IN OUT UINT64 DeviceAddrPtr
- )
-;
+ );
extern
VOID
@@ -242,8 +231,7 @@ snp_undi32_callback_unmap (
IN UINT32 NumBytes,
IN UINT32 Direction,
IN UINT64 DeviceAddr // not a pointer to device address
- )
-;
+ );
extern
VOID
@@ -253,24 +241,21 @@ snp_undi32_callback_sync (
IN UINT32 NumBytes,
IN UINT32 Direction,
IN UINT64 DeviceAddr // not a pointer to device address
- )
-;
+ );
extern
EFI_STATUS
EFIAPI
snp_undi32_start (
IN EFI_SIMPLE_NETWORK_PROTOCOL *this
- )
-;
+ );
extern
EFI_STATUS
EFIAPI
snp_undi32_stop (
IN EFI_SIMPLE_NETWORK_PROTOCOL *this
- )
-;
+ );
extern
EFI_STATUS
@@ -279,8 +264,7 @@ snp_undi32_initialize (
IN EFI_SIMPLE_NETWORK_PROTOCOL *this,
IN UINTN extra_rx_buffer_size OPTIONAL,
IN UINTN extra_tx_buffer_size OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -288,16 +272,14 @@ EFIAPI
snp_undi32_reset (
IN EFI_SIMPLE_NETWORK_PROTOCOL *this,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
extern
EFI_STATUS
EFIAPI
snp_undi32_shutdown (
IN EFI_SIMPLE_NETWORK_PROTOCOL *this
- )
-;
+ );
extern
EFI_STATUS
@@ -309,8 +291,7 @@ snp_undi32_receive_filters (
IN BOOLEAN reset_mcast_filter,
IN UINTN mcast_filter_count OPTIONAL,
IN EFI_MAC_ADDRESS * mcast_filter OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -319,8 +300,7 @@ snp_undi32_station_address (
IN EFI_SIMPLE_NETWORK_PROTOCOL * this,
IN BOOLEAN reset,
IN EFI_MAC_ADDRESS *new OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -330,8 +310,7 @@ snp_undi32_statistics (
IN BOOLEAN reset,
IN OUT UINTN *statistics_size OPTIONAL,
IN OUT EFI_NETWORK_STATISTICS * statistics_table OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -341,8 +320,7 @@ snp_undi32_mcast_ip_to_mac (
IN BOOLEAN IPv6,
IN EFI_IP_ADDRESS *IP,
OUT EFI_MAC_ADDRESS *MAC
- )
-;
+ );
extern
EFI_STATUS
@@ -353,8 +331,7 @@ snp_undi32_nvdata (
IN UINTN offset,
IN UINTN buffer_size,
IN OUT VOID *buffer
- )
-;
+ );
extern
EFI_STATUS
@@ -363,8 +340,7 @@ snp_undi32_get_status (
IN EFI_SIMPLE_NETWORK_PROTOCOL * this,
OUT UINT32 *interrupt_status OPTIONAL,
OUT VOID **tx_buffer OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -377,8 +353,7 @@ snp_undi32_transmit (
IN EFI_MAC_ADDRESS * src_addr OPTIONAL,
IN EFI_MAC_ADDRESS * dest_addr OPTIONAL,
IN UINT16 *protocol OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -391,8 +366,7 @@ snp_undi32_receive (
OUT EFI_MAC_ADDRESS * src_addr OPTIONAL,
OUT EFI_MAC_ADDRESS * dest_addr OPTIONAL,
OUT UINT16 *protocol OPTIONAL
- )
-;
+ );
typedef
EFI_STATUS
@@ -424,8 +398,7 @@ EFIAPI
InitializeSnpNiiDriver (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
#define SNP_MEM_PAGES(x) (((x) - 1) / 4096 + 1)
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c
index c6108e2514..d63c294945 100644
--- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c
+++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c
@@ -141,8 +141,7 @@ Tcp4GetMode (
Option->EnableNagle = (BOOLEAN) (!TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_NAGLE));
Option->EnableTimeStamp = (BOOLEAN) (!TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_TS));
- Option->EnableWindowScaling = (BOOLEAN) (!TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_WS))
-;
+ Option->EnableWindowScaling = (BOOLEAN) (!TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_WS));
Option->EnableSelectiveAck = FALSE;
Option->EnablePathMtuDiscovery = FALSE;
diff --git a/MdeModulePkg/Universal/PCD/Dxe/Service.h b/MdeModulePkg/Universal/PCD/Dxe/Service.h
index 4b56e43071..cb5dd6cf09 100644
--- a/MdeModulePkg/Universal/PCD/Dxe/Service.h
+++ b/MdeModulePkg/Universal/PCD/Dxe/Service.h
@@ -75,8 +75,7 @@ VOID
EFIAPI
DxePcdSetSku (
IN UINTN SkuId
- )
-;
+ );
/**
Retrieves an 8-bit value for a given PCD token.
@@ -93,8 +92,7 @@ UINT8
EFIAPI
DxePcdGet8 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 16-bit value for a given PCD token.
@@ -111,8 +109,7 @@ UINT16
EFIAPI
DxePcdGet16 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 32-bit value for a given PCD token.
@@ -129,8 +126,7 @@ UINT32
EFIAPI
DxePcdGet32 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 64-bit value for a given PCD token.
@@ -147,8 +143,7 @@ UINT64
EFIAPI
DxePcdGet64 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a pointer to a value for a given PCD token.
@@ -167,8 +162,7 @@ VOID *
EFIAPI
DxePcdGetPtr (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a Boolean value for a given PCD token.
@@ -187,8 +181,7 @@ BOOLEAN
EFIAPI
DxePcdGetBool (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves the size of the value for a given PCD token.
@@ -205,8 +198,7 @@ UINTN
EFIAPI
DxePcdGetSize (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 8-bit value for a given PCD token.
@@ -227,8 +219,7 @@ EFIAPI
DxePcdGet8Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 16-bit value for a given PCD token.
@@ -249,8 +240,7 @@ EFIAPI
DxePcdGet16Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 32-bit value for a given PCD token.
@@ -271,8 +261,7 @@ EFIAPI
DxePcdGet32Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 64-bit value for a given PCD token.
@@ -293,8 +282,7 @@ EFIAPI
DxePcdGet64Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a pointer to a value for a given PCD token.
@@ -315,8 +303,7 @@ EFIAPI
DxePcdGetPtrEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an Boolean value for a given PCD token.
@@ -337,8 +324,7 @@ EFIAPI
DxePcdGetBoolEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves the size of the value for a given PCD token.
@@ -357,8 +343,7 @@ EFIAPI
DxePcdGetSizeEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Sets an 8-bit value for a given PCD token.
@@ -382,8 +367,7 @@ EFIAPI
DxePcdSet8 (
IN UINTN TokenNumber,
IN UINT8 Value
- )
-;
+ );
/**
Sets an 16-bit value for a given PCD token.
@@ -407,8 +391,7 @@ EFIAPI
DxePcdSet16 (
IN UINTN TokenNumber,
IN UINT16 Value
- )
-;
+ );
/**
Sets an 32-bit value for a given PCD token.
@@ -432,8 +415,7 @@ EFIAPI
DxePcdSet32 (
IN UINTN TokenNumber,
IN UINT32 Value
- )
-;
+ );
/**
Sets an 64-bit value for a given PCD token.
@@ -457,8 +439,7 @@ EFIAPI
DxePcdSet64 (
IN UINTN TokenNumber,
IN UINT64 Value
- )
-;
+ );
/**
@@ -488,8 +469,7 @@ DxePcdSetPtr (
IN UINTN TokenNumber,
IN OUT UINTN *SizeOfBuffer,
IN VOID *Buffer
- )
-;
+ );
/**
Sets an Boolean value for a given PCD token.
@@ -513,8 +493,7 @@ EFIAPI
DxePcdSetBool (
IN UINTN TokenNumber,
IN BOOLEAN Value
- )
-;
+ );
/**
@@ -541,8 +520,7 @@ DxePcdSet8Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT8 Value
- )
-;
+ );
/**
Sets an 16-bit value for a given PCD token.
@@ -568,8 +546,7 @@ DxePcdSet16Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT16 Value
- )
-;
+ );
/**
Sets an 32-bit value for a given PCD token.
@@ -595,8 +572,7 @@ DxePcdSet32Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT32 Value
- )
-;
+ );
/**
Sets an 64-bit value for a given PCD token.
@@ -622,8 +598,7 @@ DxePcdSet64Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT64 Value
- )
-;
+ );
/**
Sets a value of a specified size for a given PCD token.
@@ -654,8 +629,7 @@ DxePcdSetPtrEx (
IN UINTN TokenNumber,
IN OUT UINTN *SizeOfBuffer,
IN VOID *Buffer
- )
-;
+ );
/**
Sets an Boolean value for a given PCD token.
@@ -681,8 +655,7 @@ DxePcdSetBoolEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN BOOLEAN Value
- )
-;
+ );
/**
Specifies a function to be called anytime the value of a designated token is changed.
@@ -702,8 +675,7 @@ DxeRegisterCallBackOnSet (
IN CONST EFI_GUID *Guid, OPTIONAL
IN UINTN TokenNumber,
IN PCD_PROTOCOL_CALLBACK CallBackFunction
- )
-;
+ );
/**
Cancels a previously set callback function for a particular PCD token number.
@@ -723,8 +695,7 @@ DxeUnRegisterCallBackOnSet (
IN CONST EFI_GUID *Guid, OPTIONAL
IN UINTN TokenNumber,
IN PCD_PROTOCOL_CALLBACK CallBackFunction
- )
-;
+ );
/**
Retrieves the next valid PCD token for a given namespace.
@@ -749,8 +720,7 @@ EFIAPI
DxePcdGetNextToken (
IN CONST EFI_GUID *Guid, OPTIONAL
IN OUT UINTN *TokenNumber
- )
-;
+ );
/**
Get next token space in PCD database according to given token space guid.
@@ -771,8 +741,7 @@ EFI_STATUS
EFIAPI
DxePcdGetNextTokenSpace (
IN OUT CONST EFI_GUID **Guid
- )
-;
+ );
typedef struct {
LIST_ENTRY Node;
@@ -800,8 +769,7 @@ SetValueWorker (
IN UINTN TokenNumber,
IN VOID *Data,
IN UINTN Size
- )
-;
+ );
/**
Set value for an PCD entry
@@ -824,8 +792,7 @@ SetWorker (
IN VOID *Data,
IN OUT UINTN *Size,
IN BOOLEAN PtrType
- )
-;
+ );
/**
Wrapper function for set PCD value for non-Pointer type dynamic-ex PCD.
@@ -844,8 +811,7 @@ ExSetValueWorker (
IN CONST EFI_GUID *Guid,
IN VOID *Data,
IN UINTN SetSize
- )
-;
+ );
/**
Set value for a dynamic PCD entry.
@@ -872,8 +838,7 @@ ExSetWorker (
IN VOID *Data,
IN OUT UINTN *Size,
IN BOOLEAN PtrType
- )
-;
+ );
/**
Get the PCD entry pointer in PCD database.
@@ -893,8 +858,7 @@ VOID *
GetWorker (
IN UINTN TokenNumber,
IN UINTN GetSize
- )
-;
+ );
/**
Wrapper function for get PCD value for dynamic-ex PCD.
@@ -911,8 +875,7 @@ ExGetWorker (
IN CONST EFI_GUID *Guid,
IN UINTN ExTokenNumber,
IN UINTN GetSize
- )
-;
+ );
/**
Find the local token number according to system SKU ID.
@@ -930,8 +893,7 @@ GetSkuEnabledTokenNumber (
UINT32 LocalTokenNumber,
UINTN Size,
BOOLEAN IsPeiDb
- )
-;
+ );
/**
Get Variable which contains HII type PCD entry.
@@ -949,8 +911,7 @@ GetHiiVariable (
IN UINT16 *VariableName,
OUT UINT8 **VariableData,
OUT UINTN *VariableSize
- )
-;
+ );
/**
Set value for HII-type PCD.
@@ -974,8 +935,7 @@ SetHiiVariable (
IN CONST VOID *Data,
IN UINTN DataSize,
IN UINTN Offset
- )
-;
+ );
/**
Register the callback function for a PCD entry.
@@ -996,8 +956,7 @@ DxeRegisterCallBackWorker (
IN UINTN TokenNumber,
IN CONST EFI_GUID *Guid, OPTIONAL
IN PCD_PROTOCOL_CALLBACK CallBackFunction
- )
-;
+ );
/**
UnRegister the callback function for a PCD entry.
@@ -1018,8 +977,7 @@ DxeUnRegisterCallBackWorker (
IN UINTN TokenNumber,
IN CONST EFI_GUID *Guid, OPTIONAL
IN PCD_PROTOCOL_CALLBACK CallBackFunction
- )
-;
+ );
/**
Initialize the PCD database in DXE phase.
@@ -1031,8 +989,7 @@ DxeUnRegisterCallBackWorker (
VOID
BuildPcdDxeDataBase (
VOID
- )
-;
+ );
/**
Get local token number according to dynamic-ex PCD's {token space guid:token number}
@@ -1051,8 +1008,7 @@ UINTN
GetExPcdTokenNumber (
IN CONST EFI_GUID *Guid,
IN UINT32 ExTokenNumber
- )
-;
+ );
/**
Get next token number in given token space.
@@ -1087,8 +1043,7 @@ ExGetNextTokeNumber (
IN UINTN SizeOfGuidTable,
IN DYNAMICEX_MAPPING *ExMapTable,
IN UINTN SizeOfExMapTable
- )
-;
+ );
/**
Get size of POINTER type PCD value.
@@ -1103,8 +1058,7 @@ UINTN
GetPtrTypeSize (
IN UINTN LocalTokenNumberTableIdx,
OUT UINTN *MaxSize
- )
-;
+ );
/**
Set size of POINTER type PCD value. The size should not exceed the maxmium size
@@ -1120,8 +1074,7 @@ BOOLEAN
SetPtrTypeSize (
IN UINTN LocalTokenNumberTableIdx,
IN OUT UINTN *CurrentSize
- )
-;
+ );
extern EFI_GUID gPcdDataBaseHobGuid;
diff --git a/MdeModulePkg/Universal/PCD/Pei/Service.h b/MdeModulePkg/Universal/PCD/Pei/Service.h
index 006681c494..438b70bbce 100644
--- a/MdeModulePkg/Universal/PCD/Pei/Service.h
+++ b/MdeModulePkg/Universal/PCD/Pei/Service.h
@@ -76,8 +76,7 @@ VOID
EFIAPI
PeiPcdSetSku (
IN UINTN SkuId
- )
-;
+ );
/**
Retrieves an 8-bit value for a given PCD token.
@@ -94,8 +93,7 @@ UINT8
EFIAPI
PeiPcdGet8 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 16-bit value for a given PCD token.
@@ -112,8 +110,7 @@ UINT16
EFIAPI
PeiPcdGet16 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 32-bit value for a given PCD token.
@@ -130,8 +127,7 @@ UINT32
EFIAPI
PeiPcdGet32 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 64-bit value for a given PCD token.
@@ -148,8 +144,7 @@ UINT64
EFIAPI
PeiPcdGet64 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a pointer to a value for a given PCD token.
@@ -168,8 +163,7 @@ VOID *
EFIAPI
PeiPcdGetPtr (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a Boolean value for a given PCD token.
@@ -188,8 +182,7 @@ BOOLEAN
EFIAPI
PeiPcdGetBool (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves the size of the value for a given PCD token.
@@ -206,8 +199,7 @@ UINTN
EFIAPI
PeiPcdGetSize (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 8-bit value for a given PCD token.
@@ -228,8 +220,7 @@ EFIAPI
PeiPcdGet8Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 16-bit value for a given PCD token.
@@ -250,8 +241,7 @@ EFIAPI
PeiPcdGet16Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 32-bit value for a given PCD token.
@@ -272,8 +262,7 @@ EFIAPI
PeiPcdGet32Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 64-bit value for a given PCD token.
@@ -294,8 +283,7 @@ EFIAPI
PeiPcdGet64Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a pointer to a value for a given PCD token.
@@ -316,8 +304,7 @@ EFIAPI
PeiPcdGetPtrEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an Boolean value for a given PCD token.
@@ -338,8 +325,7 @@ EFIAPI
PeiPcdGetBoolEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves the size of the value for a given PCD token.
@@ -358,8 +344,7 @@ EFIAPI
PeiPcdGetSizeEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Sets an 8-bit value for a given PCD token.
@@ -383,8 +368,7 @@ EFIAPI
PeiPcdSet8 (
IN UINTN TokenNumber,
IN UINT8 Value
- )
-;
+ );
/**
Sets an 16-bit value for a given PCD token.
@@ -408,8 +392,7 @@ EFIAPI
PeiPcdSet16 (
IN UINTN TokenNumber,
IN UINT16 Value
- )
-;
+ );
/**
Sets an 32-bit value for a given PCD token.
@@ -433,8 +416,7 @@ EFIAPI
PeiPcdSet32 (
IN UINTN TokenNumber,
IN UINT32 Value
- )
-;
+ );
/**
Sets an 64-bit value for a given PCD token.
@@ -458,8 +440,7 @@ EFIAPI
PeiPcdSet64 (
IN UINTN TokenNumber,
IN UINT64 Value
- )
-;
+ );
/**
Sets a value of a specified size for a given PCD token.
@@ -488,8 +469,7 @@ PeiPcdSetPtr (
IN UINTN TokenNumber,
IN OUT UINTN *SizeOfBuffer,
IN VOID *Buffer
- )
-;
+ );
/**
Sets an Boolean value for a given PCD token.
@@ -513,8 +493,7 @@ EFIAPI
PeiPcdSetBool (
IN UINTN TokenNumber,
IN BOOLEAN Value
- )
-;
+ );
/**
Sets an 8-bit value for a given PCD token.
@@ -540,8 +519,7 @@ PeiPcdSet8Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT8 Value
- )
-;
+ );
/**
Sets an 16-bit value for a given PCD token.
@@ -567,8 +545,7 @@ PeiPcdSet16Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT16 Value
- )
-;
+ );
/**
Sets an 32-bit value for a given PCD token.
@@ -594,8 +571,7 @@ PeiPcdSet32Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT32 Value
- )
-;
+ );
/**
Sets an 64-bit value for a given PCD token.
@@ -621,8 +597,7 @@ PeiPcdSet64Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT64 Value
- )
-;
+ );
/**
Sets a value of a specified size for a given PCD token.
@@ -653,8 +628,7 @@ PeiPcdSetPtrEx (
IN UINTN TokenNumber,
IN OUT UINTN *SizeOfBuffer,
IN VOID *Buffer
- )
-;
+ );
/**
Sets an Boolean value for a given PCD token.
@@ -680,8 +654,7 @@ PeiPcdSetBoolEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN BOOLEAN Value
- )
-;
+ );
/**
Specifies a function to be called anytime the value of a designated token is changed.
@@ -701,8 +674,7 @@ PeiRegisterCallBackOnSet (
IN CONST EFI_GUID *Guid, OPTIONAL
IN UINTN TokenNumber,
IN PCD_PPI_CALLBACK CallBackFunction
- )
-;
+ );
/**
Cancels a previously set callback function for a particular PCD token number.
@@ -722,8 +694,7 @@ PcdUnRegisterCallBackOnSet (
IN CONST EFI_GUID *Guid, OPTIONAL
IN UINTN TokenNumber,
IN PCD_PPI_CALLBACK CallBackFunction
- )
-;
+ );
/**
Retrieves the next valid PCD token for a given namespace.
@@ -748,8 +719,7 @@ EFIAPI
PeiPcdGetNextToken (
IN CONST EFI_GUID *Guid, OPTIONAL
IN OUT UINTN *TokenNumber
- )
-;
+ );
/**
Retrieves the next valid PCD token namespace for a given namespace.
@@ -776,8 +746,7 @@ EFI_STATUS
EFIAPI
PeiPcdGetNextTokenSpace (
IN OUT CONST EFI_GUID **Guid
- )
-;
+ );
/* Internal Function definitions */
@@ -790,8 +759,7 @@ PeiPcdGetNextTokenSpace (
PEI_PCD_DATABASE *
GetPcdDatabase (
VOID
- )
-;
+ );
/**
Wrapper function for setting non-pointer type value for a PCD entry.
@@ -808,8 +776,7 @@ SetValueWorker (
IN UINTN TokenNumber,
IN VOID *Data,
IN UINTN Size
- )
-;
+ );
/**
Set value for an PCD entry
@@ -832,8 +799,7 @@ SetWorker (
IN VOID *Data,
IN OUT UINTN *Size,
IN BOOLEAN PtrType
- )
-;
+ );
/**
Wrapper function for set PCD value for non-Pointer type dynamic-ex PCD.
@@ -852,8 +818,7 @@ ExSetValueWorker (
IN CONST EFI_GUID *Guid,
IN VOID *Data,
IN UINTN Size
- )
-;
+ );
/**
Set value for a dynamic PCD entry.
@@ -880,8 +845,7 @@ ExSetWorker (
IN VOID *Data,
IN OUT UINTN *Size,
IN BOOLEAN PtrType
- )
-;
+ );
/**
Get the PCD entry pointer in PCD database.
@@ -901,8 +865,7 @@ VOID *
GetWorker (
IN UINTN TokenNumber,
IN UINTN GetSize
- )
-;
+ );
/**
Wrapper function for get PCD value for dynamic-ex PCD.
@@ -919,8 +882,7 @@ ExGetWorker (
IN CONST EFI_GUID *Guid,
IN UINTN ExTokenNumber,
IN UINTN GetSize
- )
-;
+ );
typedef struct {
UINTN TokenNumber;
@@ -945,8 +907,7 @@ UINTN
GetExPcdTokenNumber (
IN CONST EFI_GUID *Guid,
IN UINTN ExTokenNumber
- )
-;
+ );
/**
The function registers the CallBackOnSet fucntion
@@ -976,8 +937,7 @@ PeiRegisterCallBackWorker (
VOID
BuildPcdDatabase (
VOID
- )
-;
+ );
/**
Get SKU ID tabble from PCD database.
@@ -992,8 +952,7 @@ SKU_ID *
GetSkuIdArray (
IN UINTN LocalTokenNumberTableIdx,
IN PEI_PCD_DATABASE *Database
- )
-;
+ );
/**
Get index of PCD entry in size table.
@@ -1008,8 +967,7 @@ UINTN
GetSizeTableIndex (
IN UINTN LocalTokenNumberTableIdx,
IN PEI_PCD_DATABASE *Database
- )
-;
+ );
/**
Get PCD value's size for POINTER type PCD.
@@ -1029,8 +987,7 @@ GetPtrTypeSize (
IN UINTN LocalTokenNumberTableIdx,
OUT UINTN *MaxSize,
IN PEI_PCD_DATABASE *Database
- )
-;
+ );
/**
Set PCD value's size for POINTER type PCD.
@@ -1051,8 +1008,7 @@ SetPtrTypeSize (
IN UINTN LocalTokenNumberTableIdx,
IN OUT UINTN *CurrentSize,
IN PEI_PCD_DATABASE *Database
- )
-;
+ );
extern EFI_GUID gPcdDataBaseHobGuid;
diff --git a/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.h b/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.h
index 8d1dbe19d3..cebcd23add 100644
--- a/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.h
+++ b/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.h
@@ -419,8 +419,7 @@ ConvertRtcTimeToEfiTime (
IN OUT EFI_TIME *Time,
IN UINT8 Century,
IN RTC_REGISTER_B RegisterB
- )
-;
+ );
EFI_STATUS
RtcWaitToUpdate (
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h
index e41f953ac9..9dcfdb6ee5 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h
@@ -511,8 +511,7 @@ extern EFI_GUID gTianoHiiIfrGuid;
VOID
InitializeBrowserStrings (
VOID
- )
-;
+ );
/**
Prints a unicode string to the default console,
@@ -526,8 +525,7 @@ InitializeBrowserStrings (
UINTN
PrintString (
IN CHAR16 *String
- )
-;
+ );
/**
Prints a chracter to the default console,
@@ -541,8 +539,7 @@ PrintString (
UINTN
PrintChar (
CHAR16 Character
- )
-;
+ );
/**
Prints a formatted unicode string to the default console, at
@@ -562,8 +559,7 @@ PrintAt (
IN UINTN Row,
IN CHAR16 *Fmt,
...
- )
-;
+ );
/**
Prints a unicode string to the default console, at
@@ -581,8 +577,7 @@ PrintStringAt (
IN UINTN Column,
IN UINTN Row,
IN CHAR16 *String
- )
-;
+ );
/**
Prints a chracter to the default console, at
@@ -600,8 +595,7 @@ PrintCharAt (
IN UINTN Column,
IN UINTN Row,
CHAR16 Character
- )
-;
+ );
/**
Parse opcodes in the formset IFR binary.
@@ -615,8 +609,7 @@ PrintCharAt (
EFI_STATUS
ParseOpCodes (
IN FORM_BROWSER_FORMSET *FormSet
- )
-;
+ );
/**
Free resources allocated for a FormSet.
@@ -627,8 +620,7 @@ ParseOpCodes (
VOID
DestroyFormSet (
IN OUT FORM_BROWSER_FORMSET *FormSet
- )
-;
+ );
/**
This function displays the page frame.
@@ -637,8 +629,7 @@ DestroyFormSet (
VOID
DisplayPageFrame (
VOID
- )
-;
+ );
/**
Create a new string in HII Package List.
@@ -654,8 +645,7 @@ EFI_STRING_ID
NewString (
IN CHAR16 *String,
IN EFI_HII_HANDLE HiiHandle
- )
-;
+ );
/**
Delete a string from HII Package List.
@@ -670,8 +660,7 @@ EFI_STATUS
DeleteString (
IN EFI_STRING_ID StringId,
IN EFI_HII_HANDLE HiiHandle
- )
-;
+ );
/**
Get the string based on the StringId and HII Package List Handle.
@@ -687,8 +676,7 @@ CHAR16 *
GetToken (
IN EFI_STRING_ID Token,
IN EFI_HII_HANDLE HiiHandle
- )
-;
+ );
/**
Draw a pop up windows based on the dimension, number of lines and
@@ -704,8 +692,7 @@ CreateSharedPopUp (
IN UINTN RequestedWidth,
IN UINTN NumberOfLines,
IN VA_LIST Marker
- )
-;
+ );
/**
Routine used to abstract a generic dialog interface and return the selected key or string
@@ -742,8 +729,7 @@ CreateDialog (
OUT CHAR16 *StringBuffer,
OUT EFI_INPUT_KEY *KeyValue,
...
- )
-;
+ );
/**
Get Question's current Value.
@@ -763,8 +749,7 @@ GetQuestionValue (
IN FORM_BROWSER_FORM *Form,
IN OUT FORM_BROWSER_STATEMENT *Question,
IN BOOLEAN Cached
- )
-;
+ );
/**
Save Question Value to edit copy(cached) or Storage(uncached).
@@ -784,8 +769,7 @@ SetQuestionValue (
IN FORM_BROWSER_FORM *Form,
IN OUT FORM_BROWSER_STATEMENT *Question,
IN BOOLEAN Cached
- )
-;
+ );
/**
Perform inconsistent check for a Form.
@@ -805,8 +789,7 @@ ValidateQuestion (
IN FORM_BROWSER_FORM *Form,
IN FORM_BROWSER_STATEMENT *Question,
IN UINTN Type
- )
-;
+ );
/**
Submit a Form.
@@ -821,8 +804,7 @@ EFI_STATUS
SubmitForm (
IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form
- )
-;
+ );
/**
Reset Question to its default value.
@@ -841,8 +823,7 @@ GetQuestionDefault (
IN FORM_BROWSER_FORM *Form,
IN FORM_BROWSER_STATEMENT *Question,
IN UINT16 DefaultId
- )
-;
+ );
/**
Get current setting of Questions.
@@ -855,8 +836,7 @@ GetQuestionDefault (
EFI_STATUS
InitializeCurrentSetting (
IN OUT FORM_BROWSER_FORMSET *FormSet
- )
-;
+ );
/**
Initialize the internal data structure of a FormSet.
@@ -876,8 +856,7 @@ InitializeFormSet (
IN EFI_HII_HANDLE Handle,
IN OUT EFI_GUID *FormSetGuid,
OUT FORM_BROWSER_FORMSET *FormSet
- )
-;
+ );
/**
Reset Questions in a Form to their default value.
@@ -894,8 +873,7 @@ ExtractFormDefault (
IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form,
IN UINT16 DefaultId
- )
-;
+ );
/**
Initialize Question's Edit copy from Storage.
@@ -910,8 +888,7 @@ EFI_STATUS
LoadFormConfig (
IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form
- )
-;
+ );
/**
Convert setting of Buffer Storage or NameValue Storage to <ConfigResp>.
@@ -927,8 +904,7 @@ EFI_STATUS
StorageToConfigResp (
IN FORMSET_STORAGE *Storage,
IN CHAR16 **ConfigResp
- )
-;
+ );
/**
Convert <ConfigResp> to settings in Buffer Storage or NameValue Storage.
@@ -944,8 +920,7 @@ EFI_STATUS
ConfigRespToStorage (
IN FORMSET_STORAGE *Storage,
IN CHAR16 *ConfigResp
- )
-;
+ );
/**
Fill storage's edit copy with settings requested from Configuration Driver.
@@ -960,8 +935,7 @@ EFI_STATUS
LoadStorage (
IN FORM_BROWSER_FORMSET *FormSet,
IN FORMSET_STORAGE *Storage
- )
-;
+ );
/**
Fetch the Ifr binary data of a FormSet.
@@ -986,8 +960,7 @@ GetIfrBinaryData (
IN OUT EFI_GUID *FormSetGuid,
OUT UINTN *BinaryLength,
OUT UINT8 **BinaryData
- )
-;
+ );
/**
This is the routine which an external caller uses to direct the browser
@@ -1027,8 +1000,7 @@ SendForm (
IN UINT16 FormId, OPTIONAL
IN CONST EFI_SCREEN_DESCRIPTOR *ScreenDimensions, OPTIONAL
OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest OPTIONAL
- )
-;
+ );
/**
This function is called by a callback handler to retrieve uncommitted state
@@ -1066,7 +1038,6 @@ BrowserCallback (
IN BOOLEAN RetrieveData,
IN CONST EFI_GUID *VariableGuid, OPTIONAL
IN CONST CHAR16 *VariableName OPTIONAL
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h
index 444961c9dd..1eaeb59aba 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h
@@ -180,8 +180,7 @@ extern UI_MENU_SELECTION *gCurrentSelection;
VOID
UiInitMenu (
VOID
- )
-;
+ );
/**
Initialize Menu option list.
@@ -190,8 +189,7 @@ UiInitMenu (
VOID
UiInitMenuList (
VOID
- )
-;
+ );
/**
Remove a Menu in list, and return FormId/QuestionId for previous Menu.
@@ -202,8 +200,7 @@ UiInitMenuList (
VOID
UiRemoveMenuListEntry (
OUT UI_MENU_SELECTION *Selection
- )
-;
+ );
/**
Free Menu option linked list.
@@ -212,8 +209,7 @@ UiRemoveMenuListEntry (
VOID
UiFreeMenuList (
VOID
- )
-;
+ );
/**
Add one menu entry to the linked lst
@@ -224,8 +220,7 @@ UiFreeMenuList (
VOID
UiAddMenuListEntry (
IN UI_MENU_SELECTION *Selection
- )
-;
+ );
/**
Free Menu option linked list.
@@ -234,8 +229,7 @@ UiAddMenuListEntry (
VOID
UiFreeMenu (
VOID
- )
-;
+ );
/**
Add one menu option by specified description and context.
@@ -254,8 +248,7 @@ UiAddMenuOption (
IN FORM_BROWSER_STATEMENT *Statement,
IN UINT16 NumberOfLines,
IN UINT16 MenuItemCount
- )
-;
+ );
/**
Display menu and wait for user to select one menu option, then return it.
@@ -271,8 +264,7 @@ UiAddMenuOption (
EFI_STATUS
UiDisplayMenu (
IN OUT UI_MENU_SELECTION *Selection
- )
-;
+ );
/**
Free up the resource allocated for all strings required
@@ -282,8 +274,7 @@ UiDisplayMenu (
VOID
FreeBrowserStrings (
VOID
- )
-;
+ );
/**
The worker function that send the displays to the screen. On output,
@@ -301,8 +292,7 @@ FreeBrowserStrings (
EFI_STATUS
SetupBrowser (
IN OUT UI_MENU_SELECTION *Selection
- )
-;
+ );
/**
VSPrint worker function that prints a Value as a decimal number in Buffer.
@@ -320,8 +310,7 @@ ValueToString (
IN CHAR16 *Buffer,
IN BOOLEAN Flags,
IN INT64 Value
- )
-;
+ );
/**
Set Buffer to Value for Size bytes.
@@ -336,8 +325,7 @@ SetUnicodeMem (
IN VOID *Buffer,
IN UINTN Size,
IN CHAR16 Value
- )
-;
+ );
/**
Wait for a given event to fire, or for an optional timeout to expire.
@@ -355,8 +343,7 @@ UiWaitForSingleEvent (
IN EFI_EVENT Event,
IN UINT64 Timeout, OPTIONAL
IN UINT8 RefreshInterval OPTIONAL
- )
-;
+ );
/**
Draw a pop up windows based on the dimension, number of lines and
@@ -372,8 +359,7 @@ CreatePopUp (
IN UINTN ScreenWidth,
IN UINTN NumberOfLines,
...
- )
-;
+ );
/**
Get string or password input from user.
@@ -391,8 +377,7 @@ ReadString (
IN UI_MENU_OPTION *MenuOption,
IN CHAR16 *Prompt,
OUT CHAR16 *StringPtr
- )
-;
+ );
/**
Get selection for OneOf and OrderedList (Left/Right will be ignored).
@@ -408,8 +393,7 @@ EFI_STATUS
GetSelectionInputPopUp (
IN UI_MENU_SELECTION *Selection,
IN UI_MENU_OPTION *MenuOption
- )
-;
+ );
/**
This routine reads a numeric value from the user input.
@@ -425,8 +409,7 @@ EFI_STATUS
GetNumericInput (
IN UI_MENU_SELECTION *Selection,
IN UI_MENU_OPTION *MenuOption
- )
-;
+ );
/**
Update status bar on the bottom of menu.
@@ -441,8 +424,7 @@ UpdateStatusBar (
IN UINTN MessageType,
IN UINT8 Flags,
IN BOOLEAN State
- )
-;
+ );
/**
Process Question Config.
@@ -458,8 +440,7 @@ EFI_STATUS
ProcessQuestionConfig (
IN UI_MENU_SELECTION *Selection,
IN FORM_BROWSER_STATEMENT *Question
- )
-;
+ );
/**
Print Question Value according to it's storage width and display attributes.
@@ -477,8 +458,7 @@ PrintFormattedNumber (
IN FORM_BROWSER_STATEMENT *Question,
IN OUT CHAR16 *FormattedNumber,
IN UINTN BufferSize
- )
-;
+ );
/**
Search an Option of a Question by its value.
@@ -494,8 +474,7 @@ QUESTION_OPTION *
ValueToOption (
IN FORM_BROWSER_STATEMENT *Question,
IN EFI_HII_VALUE *OptionValue
- )
-;
+ );
/**
Process a Question's Option (whether selected or un-selected).
@@ -515,8 +494,7 @@ ProcessOptions (
IN UI_MENU_OPTION *MenuOption,
IN BOOLEAN Selected,
OUT CHAR16 **OptionString
- )
-;
+ );
/**
Process the help string: Split StringPtr to several lines of strings stored in
@@ -532,8 +510,7 @@ ProcessHelpString (
IN CHAR16 *StringPtr,
OUT CHAR16 **FormattedString,
IN UINTN RowCount
- )
-;
+ );
/**
Update key's help imformation.
@@ -546,8 +523,7 @@ VOID
UpdateKeyHelp (
IN UI_MENU_OPTION *MenuOption,
IN BOOLEAN Selected
- )
-;
+ );
/**
Clear retangle with specified text attribute.
@@ -566,8 +542,7 @@ ClearLines (
UINTN TopRow,
UINTN BottomRow,
UINTN TextAttribute
- )
-;
+ );
/**
Count the storage space of a Unicode string.
@@ -586,8 +561,7 @@ ClearLines (
UINTN
GetStringWidth (
CHAR16 *String
- )
-;
+ );
/**
Will copy LineWidth amount of a string in the OutputString buffer and return the
@@ -608,8 +582,7 @@ GetLineByWidth (
IN UINT16 LineWidth,
IN OUT UINTN *Index,
OUT CHAR16 **OutputString
- )
-;
+ );
/**
Get the supported width for a particular op-code
@@ -624,8 +597,7 @@ UINT16
GetWidth (
IN FORM_BROWSER_STATEMENT *Statement,
IN EFI_HII_HANDLE Handle
- )
-;
+ );
/**
Concatenate a narrow string to another string.
@@ -639,8 +611,7 @@ VOID
NewStrCat (
CHAR16 *Destination,
CHAR16 *Source
- )
-;
+ );
/**
Wait for a key to be pressed by user.
@@ -653,8 +624,7 @@ NewStrCat (
EFI_STATUS
WaitForKeyStroke (
OUT EFI_INPUT_KEY *Key
- )
-;
+ );
/**
Reset stack pointer to begin of the stack.
@@ -663,8 +633,7 @@ WaitForKeyStroke (
VOID
ResetScopeStack (
VOID
- )
-;
+ );
/**
Push an Operand onto the Stack
@@ -679,8 +648,7 @@ ResetScopeStack (
EFI_STATUS
PushScope (
IN UINT8 Operand
- )
-;
+ );
/**
Pop an Operand from the Stack
@@ -695,8 +663,7 @@ PushScope (
EFI_STATUS
PopScope (
OUT UINT8 *Operand
- )
-;
+ );
/**
Get Form given its FormId.
@@ -712,8 +679,7 @@ FORM_BROWSER_FORM *
IdToForm (
IN FORM_BROWSER_FORMSET *FormSet,
IN UINT16 FormId
- )
-;
+ );
/**
Search a Question in Formset scope using its QuestionId.
@@ -731,8 +697,7 @@ IdToQuestion (
IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form,
IN UINT16 QuestionId
- )
-;
+ );
/**
Zero extend integer/boolean/date/time to UINT64 for comparing.
@@ -743,8 +708,7 @@ IdToQuestion (
VOID
ExtendValueToU64 (
IN EFI_HII_VALUE *Value
- )
-;
+ );
/**
Compare two Hii value.
@@ -764,8 +728,7 @@ CompareHiiValue (
IN EFI_HII_VALUE *Value1,
IN EFI_HII_VALUE *Value2,
IN EFI_HII_HANDLE HiiHandle OPTIONAL
- )
-;
+ );
/**
Evaluate the result of a HII expression
@@ -788,7 +751,6 @@ EvaluateExpression (
IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form,
IN OUT FORM_EXPRESSION *Expression
- )
-;
+ );
#endif // _UI_H
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h
index 956e23d7c5..1688bf1b23 100644
--- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h
+++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h
@@ -86,24 +86,21 @@ EFIAPI
VariableCommonInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
EFI_STATUS
EFIAPI
VariableServiceInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
VOID
EFIAPI
VariableClassAddressChangeEvent (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -115,8 +112,7 @@ GetVariable (
OUT VOID *Data,
IN VARIABLE_GLOBAL * Global,
IN UINT32 Instance
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -126,8 +122,7 @@ GetNextVariableName (
IN OUT EFI_GUID *VendorGuid,
IN VARIABLE_GLOBAL *Global,
IN UINT32 Instance
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -141,8 +136,7 @@ SetVariable (
IN UINTN *VolatileOffset,
IN UINTN *NonVolatileOffset,
IN UINT32 Instance
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -153,7 +147,6 @@ QueryVariableInfo (
OUT UINT64 *MaximumVariableSize,
IN VARIABLE_GLOBAL *Global,
IN UINT32 Instance
- )
-;
+ );
#endif
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
diff --git a/Nt32Pkg/FvbServicesRuntimeDxe/FwBlockService.h b/Nt32Pkg/FvbServicesRuntimeDxe/FwBlockService.h
index 6e392084da..5ff7a89763 100644
--- a/Nt32Pkg/FvbServicesRuntimeDxe/FwBlockService.h
+++ b/Nt32Pkg/FvbServicesRuntimeDxe/FwBlockService.h
@@ -65,8 +65,7 @@ EFI_STATUS
GetFvbInfo (
IN UINT64 FvLength,
OUT EFI_FIRMWARE_VOLUME_HEADER **FvbInfo
- )
-;
+ );
EFI_STATUS
FvbReadBlock (
@@ -77,8 +76,7 @@ FvbReadBlock (
IN UINT8 *Buffer,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
FvbWriteBlock (
@@ -89,8 +87,7 @@ FvbWriteBlock (
IN CONST UINT8 *Buffer,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
FvbEraseBlock (
@@ -98,8 +95,7 @@ FvbEraseBlock (
IN EFI_LBA Lba,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
FvbSetVolumeAttributes (
@@ -107,8 +103,7 @@ FvbSetVolumeAttributes (
IN OUT EFI_FVB_ATTRIBUTES_2 *Attributes,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
FvbGetVolumeAttributes (
@@ -116,8 +111,7 @@ FvbGetVolumeAttributes (
OUT EFI_FVB_ATTRIBUTES_2 *Attributes,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
FvbGetPhysicalAddress (
@@ -125,16 +119,14 @@ FvbGetPhysicalAddress (
OUT EFI_PHYSICAL_ADDRESS *Address,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
EFI_STATUS
EFIAPI
FvbInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
VOID
@@ -142,8 +134,7 @@ EFIAPI
FvbClassAddressChangeEvent (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
EFI_STATUS
FvbGetLbaAddress (
@@ -154,8 +145,7 @@ FvbGetLbaAddress (
OUT UINTN *NumOfBlocks,
IN ESAL_FWB_GLOBAL *Global,
IN BOOLEAN Virtual
- )
-;
+ );
//
// Protocol APIs
@@ -165,24 +155,21 @@ EFIAPI
FvbProtocolGetAttributes (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
OUT EFI_FVB_ATTRIBUTES_2 *Attributes
- )
-;
+ );
EFI_STATUS
EFIAPI
FvbProtocolSetAttributes (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
IN OUT EFI_FVB_ATTRIBUTES_2 *Attributes
- )
-;
+ );
EFI_STATUS
EFIAPI
FvbProtocolGetPhysicalAddress (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
OUT EFI_PHYSICAL_ADDRESS *Address
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -191,8 +178,7 @@ FvbProtocolGetBlockSize (
IN CONST EFI_LBA Lba,
OUT UINTN *BlockSize,
OUT UINTN *NumOfBlocks
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -202,8 +188,7 @@ FvbProtocolRead (
IN CONST UINTN Offset,
IN OUT UINTN *NumBytes,
IN UINT8 *Buffer
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -213,16 +198,14 @@ FvbProtocolWrite (
IN CONST UINTN Offset,
IN OUT UINTN *NumBytes,
IN CONST UINT8 *Buffer
- )
-;
+ );
EFI_STATUS
EFIAPI
FvbProtocolEraseBlocks (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
...
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -232,7 +215,6 @@ FvbExtendProtocolEraseCustomBlockRange (
IN UINTN OffsetStartLba,
IN EFI_LBA LastLba,
IN UINTN OffsetLastLba
- )
-;
+ );
#endif
diff --git a/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h b/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h
index 39330cc48e..e824d1937d 100644
--- a/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h
+++ b/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h
@@ -81,39 +81,33 @@ typedef struct {
VOID
PlatformBdsGetDriverOption (
IN LIST_ENTRY *BdsDriverLists
- )
-;
+ );
EFI_STATUS
BdsMemoryTest (
EXTENDMEM_COVERAGE_LEVEL Level
- )
-;
+ );
VOID
PlatformBdsConnectSequence (
VOID
- )
-;
+ );
EFI_STATUS
ProcessCapsules (
EFI_BOOT_MODE BootMode
- )
-;
+ );
EFI_STATUS
PlatformBdsConnectConsole (
IN BDS_CONSOLE_CONNECT_ENTRY *PlatformConsole
- )
-;
+ );
EFI_STATUS
PlatformBdsNoConsoleAction (
VOID
- )
-;
+ );
VOID
PlatformBdsEnterFrontPage (
diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGop.h b/Nt32Pkg/WinNtGopDxe/WinNtGop.h
index cd52bc175a..ee2eb9a589 100644
--- a/Nt32Pkg/WinNtGopDxe/WinNtGop.h
+++ b/Nt32Pkg/WinNtGopDxe/WinNtGop.h
@@ -188,8 +188,7 @@ extern EFI_GUID gSimpleTextInExNotifyGuid;
EFI_STATUS
WinNtGopSupported (
IN EFI_WIN_NT_IO_PROTOCOL *WinNtIo
- )
-;
+ );
/**
@@ -203,8 +202,7 @@ WinNtGopSupported (
EFI_STATUS
WinNtGopConstructor (
IN GOP_PRIVATE_DATA *Private
- )
-;
+ );
/**
@@ -218,8 +216,7 @@ WinNtGopConstructor (
EFI_STATUS
WinNtGopDestructor (
IN GOP_PRIVATE_DATA *Private
- )
-;
+ );
//
// UEFI 2.0 driver model prototypes for Win NT GOP
@@ -240,8 +237,7 @@ EFIAPI
WinNtGopInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
/**
@@ -260,8 +256,7 @@ WinNtGopDriverBindingSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Handle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
@@ -280,8 +275,7 @@ WinNtGopDriverBindingStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Handle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
@@ -302,8 +296,7 @@ WinNtGopDriverBindingStop (
IN EFI_HANDLE Handle,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
@@ -319,8 +312,7 @@ EFI_STATUS
GopPrivateAddQ (
IN GOP_PRIVATE_DATA *Private,
IN EFI_INPUT_KEY Key
- )
-;
+ );
/**
@@ -334,8 +326,7 @@ GopPrivateAddQ (
EFI_STATUS
WinNtGopInitializeSimpleTextInForWindow (
IN GOP_PRIVATE_DATA *Private
- )
-;
+ );
/**
@@ -349,8 +340,7 @@ WinNtGopInitializeSimpleTextInForWindow (
EFI_STATUS
WinNtGopDestroySimpleTextInForWindow (
IN GOP_PRIVATE_DATA *Private
- )
-;
+ );
diff --git a/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.h b/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.h
index 02d73585ec..b726d54099 100644
--- a/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.h
+++ b/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.h
@@ -146,14 +146,12 @@ extern EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL gCirrusLogic5430DriverSupporte
EFI_STATUS
CirrusLogic5430UgaDrawConstructor (
CIRRUS_LOGIC_5430_PRIVATE_DATA *Private
- )
-;
+ );
EFI_STATUS
CirrusLogic5430UgaDrawDestructor (
CIRRUS_LOGIC_5430_PRIVATE_DATA *Private
- )
-;
+ );
//
// Graphics Output Hardware abstraction internal worker functions
@@ -161,14 +159,12 @@ CirrusLogic5430UgaDrawDestructor (
EFI_STATUS
CirrusLogic5430GraphicsOutputConstructor (
CIRRUS_LOGIC_5430_PRIVATE_DATA *Private
- )
-;
+ );
EFI_STATUS
CirrusLogic5430GraphicsOutputDestructor (
CIRRUS_LOGIC_5430_PRIVATE_DATA *Private
- )
-;
+ );
//
@@ -190,8 +186,7 @@ CirrusLogic5430ControllerDriverSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
TODO: Add function description
@@ -209,8 +204,7 @@ CirrusLogic5430ControllerDriverStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
TODO: Add function description
@@ -230,8 +224,7 @@ CirrusLogic5430ControllerDriverStop (
IN EFI_HANDLE Controller,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
//
// EFI Component Name Functions