diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-04 09:37:28 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-04 09:37:28 +0000 |
commit | ed66e1bc0d2be0a185fc47adab4930c3b7e2767f (patch) | |
tree | 5709b407529f37f5a069d36ec5a0d3b04db9c3ba /IntelFrameworkModulePkg/Bus | |
parent | 1f3a753ee68ac1c7a620e8064fdda718cf413761 (diff) | |
download | edk2-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
Diffstat (limited to 'IntelFrameworkModulePkg/Bus')
20 files changed, 318 insertions, 636 deletions
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
|