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 /MdeModulePkg/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 'MdeModulePkg/Bus')
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.h | 9 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.h | 36 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.h | 30 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.h | 12 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h | 12 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h | 6 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.h | 24 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.h | 27 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.h | 30 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/UsbHcMem.h | 12 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 9 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h | 15 |
12 files changed, 74 insertions, 148 deletions
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
|