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
This commit is contained in:
vanjeff
2008-09-04 09:37:28 +00:00
parent 1f3a753ee6
commit ed66e1bc0d
134 changed files with 1345 additions and 2690 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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.