summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Bus
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-22 06:40:11 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-22 06:40:11 +0000
commitfdb05fa33021288c20e17264b0947a2525e19825 (patch)
tree4f52b156e44db574fc26c4ce65a86321f9f2a859 /IntelFrameworkModulePkg/Bus
parent01aef47bbe11b3961da5136b064d947540a38060 (diff)
downloadedk2-platforms-fdb05fa33021288c20e17264b0947a2525e19825.tar.xz
Fix missing include header file and fix typo in comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5111 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus')
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaIo.c10
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.c2
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.h23
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyBlock.c4
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyCtrl.c17
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c2
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c2
7 files changed, 31 insertions, 29 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaIo.c b/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaIo.c
index a86b0c37ba..2caaed3dc8 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaIo.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaIo.c
@@ -85,7 +85,7 @@ static EFI_ISA_DMA_REGISTERS DmaRegisters[8] = {
@param Code - The error status code.
- @Return EFI_SUCCESS - Success to report status code.
+ @return EFI_SUCCESS - Success to report status code.
**/
EFI_STATUS
ReportErrorStatusCode (
@@ -204,10 +204,10 @@ IsaIoIoRead (
@param Count - The number of I/O operations to perform.
@param Buffer - The source buffer to write data from
- @Retval EFI_SUCCESS - The data was writen to the device sucessfully.
- @Retval EFI_UNSUPPORTED - The Offset is not valid for this device.
- @Retval EFI_INVALID_PARAMETER - Width or Count, or both, were invalid.
- @Retval EFI_OUT_OF_RESOURCES - The request could not be completed due to a lack of resources.
+ @retval EFI_SUCCESS - The data was writen to the device sucessfully.
+ @retval EFI_UNSUPPORTED - The Offset is not valid for this device.
+ @retval EFI_INVALID_PARAMETER - Width or Count, or both, were invalid.
+ @retval EFI_OUT_OF_RESOURCES - The request could not be completed due to a lack of resources.
**/
EFI_STATUS
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.c b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.c
index e1d6566666..e819a1d132 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.c
@@ -361,7 +361,7 @@ Done:
created by this driver.
@param This Protocol instance pointer.
- @param ControllerHandle Handle of device to stop driver on
+ @param Controller Handle of device to stop driver on
@param NumberOfChildren Number of Handles in ChildHandleBuffer. If number of
children is zero stop the entire bus driver.
@param ChildHandleBuffer List of Child Handles to Stop.
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.h b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.h
index f2f701f901..520a41aa45 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.h
@@ -534,7 +534,7 @@ FdcControllerDriverStart (
created by this driver.
@param This Protocol instance pointer.
- @param ControllerHandle Handle of device to stop driver on
+ @param Controller Handle of device to stop driver on
@param NumberOfChildren Number of Handles in ChildHandleBuffer. If number of
children is zero stop the entire bus driver.
@param ChildHandleBuffer List of Child Handles to Stop.
@@ -759,7 +759,7 @@ DisketChanged (
and the initial values for each of the three internal
times: HUT, SRT and HLT
- @param This Pointer to instance of FDC_BLK_IO_DEV
+ @param FdcDev Pointer to instance of FDC_BLK_IO_DEV
@retval EFI_SUCCESS: Execute the Specify command successfully
@retval EFI_DEVICE_ERROR: Fail to execute the command
@@ -806,7 +806,7 @@ Seek (
Do the Sense Interrupt Status command, this command
resets the interrupt signal
-
+ @param FdcDev FDC_BLK_IO_DEV *: A pointer to Data Structure FDC_BLK_IO_DEV
@param StatusRegister0 UINT8 *: Be used to save Status Register 0 read from FDC
@param PresentCylinderNumber UINT8 *: Be used to save present cylinder number
read from FDC
@@ -947,7 +947,7 @@ DataOutByte (
Detect the specified floppy logic drive is busy or
not within a period of time
- @param Disk Indicate it is drive A or drive B
+ @param FdcDev Indicate it is drive A or drive B
@param TimeoutInSeconds the time period for waiting
@retval EFI_SUCCESS: The drive and command are not busy
@@ -989,10 +989,10 @@ FddDRQReady (
@param Result Point to result structure
@param FdcDev FDC control structure
- @param EFI_DEVICE_ERROR - GC_TODO: Add description for return value
- @param EFI_DEVICE_ERROR - GC_TODO: Add description for return value
- @param EFI_DEVICE_ERROR - GC_TODO: Add description for return value
- @param EFI_SUCCESS - GC_TODO: Add description for return value
+ @retval EFI_DEVICE_ERROR - GC_TODO: Add description for return value
+ @retval EFI_DEVICE_ERROR - GC_TODO: Add description for return value
+ @retval EFI_DEVICE_ERROR - GC_TODO: Add description for return value
+ @retval EFI_SUCCESS - GC_TODO: Add description for return value
**/
EFI_STATUS
@@ -1072,7 +1072,8 @@ FdcReadPort (
@param FdcDev FDC_BLK_IO_DEV *: A pointer to Data Structure FDC_BLK_IO_DEV
@param Offset The offset address of port
-
+ @param Data Value written to port
+
**/
VOID
FdcWritePort (
@@ -1090,7 +1091,7 @@ FdcWritePort (
@param LBA The starting logic block address to read from on the device
@param BufferSize The size of the Buffer in bytes
@param Operation - GC_TODO: add argument description
- Buffer - GC_TODO: add argument description
+ @param Buffer - GC_TODO: add argument description
@retval EFI_INVALID_PARAMETER - GC_TODO: Add description for return value
@retval EFI_SUCCESS - GC_TODO: Add description for return value
@@ -1122,7 +1123,7 @@ FddReadWriteBlocks (
/**
Common interface for free cache
- @param FdcDec Pointer of FDC_BLK_IO_DEV instance
+ @param FdcDev Pointer of FDC_BLK_IO_DEV instance
**/
VOID
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyBlock.c b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyBlock.c
index 6b254cd6a5..36280becad 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyBlock.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyBlock.c
@@ -191,7 +191,7 @@ FddWriteBlocks (
@param LBA The starting logic block address to read from on the device
@param BufferSize The size of the Buffer in bytes
@param Operation - GC_TODO: add argument description
- Buffer - GC_TODO: add argument description
+ @param Buffer - GC_TODO: add argument description
@retval EFI_INVALID_PARAMETER - GC_TODO: Add description for return value
@retval EFI_SUCCESS - GC_TODO: Add description for return value
@@ -384,7 +384,7 @@ FddReadWriteBlocks (
/**
Common interface for free cache
- @param FdcDec Pointer of FDC_BLK_IO_DEV instance
+ @param FdcDev Pointer of FDC_BLK_IO_DEV instance
**/
VOID
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyCtrl.c b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyCtrl.c
index da6af56a43..fab96051fd 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyCtrl.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyCtrl.c
@@ -408,7 +408,7 @@ DisketChanged (
and the initial values for each of the three internal
times: HUT, SRT and HLT
- @param This Pointer to instance of FDC_BLK_IO_DEV
+ @param FdcDev Pointer to instance of FDC_BLK_IO_DEV
@retval EFI_SUCCESS: Execute the Specify command successfully
@retval EFI_DEVICE_ERROR: Fail to execute the command
@@ -627,7 +627,7 @@ Seek (
Do the Sense Interrupt Status command, this command
resets the interrupt signal
-
+ @param FdcDev FDC_BLK_IO_DEV *: A pointer to Data Structure FDC_BLK_IO_DEV
@param StatusRegister0 UINT8 *: Be used to save Status Register 0 read from FDC
@param PresentCylinderNumber UINT8 *: Be used to save present cylinder number
read from FDC
@@ -1111,7 +1111,7 @@ DataOutByte (
Detect the specified floppy logic drive is busy or
not within a period of time
- @param Disk Indicate it is drive A or drive B
+ @param FdcDev Indicate it is drive A or drive B
@param TimeoutInSeconds the time period for waiting
@retval EFI_SUCCESS: The drive and command are not busy
@@ -1232,10 +1232,10 @@ FddDRQReady (
@param Result Point to result structure
@param FdcDev FDC control structure
- @param EFI_DEVICE_ERROR - GC_TODO: Add description for return value
- @param EFI_DEVICE_ERROR - GC_TODO: Add description for return value
- @param EFI_DEVICE_ERROR - GC_TODO: Add description for return value
- @param EFI_SUCCESS - GC_TODO: Add description for return value
+ @retval EFI_DEVICE_ERROR - GC_TODO: Add description for return value
+ @retval EFI_DEVICE_ERROR - GC_TODO: Add description for return value
+ @retval EFI_DEVICE_ERROR - GC_TODO: Add description for return value
+ @retval EFI_SUCCESS - GC_TODO: Add description for return value
**/
EFI_STATUS
@@ -1407,7 +1407,8 @@ FdcReadPort (
@param FdcDev FDC_BLK_IO_DEV *: A pointer to Data Structure FDC_BLK_IO_DEV
@param Offset The offset address of port
-
+ @param Data Value written to port
+
**/
VOID
FdcWritePort (
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c b/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c
index ac208dbe09..f4c00bb770 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c
@@ -520,7 +520,7 @@ Error:
@param This - A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.
@param Controller - The handle of the controller to test.
@param NumberOfChildren - Number of child device.
- @param RemainingDevicePath - A pointer to the remaining portion of a device path.
+ @param ChildHandleBuffer - A pointer to the remaining portion of a device path.
@retval EFI_SUCCESS - Operation successfully
@retval EFI_DEVICE_ERROR - Cannot stop the driver successfully
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
index 6ca9ece4c1..211bcc2542 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
@@ -2008,7 +2008,7 @@ DisableKeyboard (
If Keyboard receives 0xF4, it will respond with 'ACK'. If it doesn't respond, the device
should not be in system.
- @param[in] BiosKeyboardPrivate Keyboard Private Data Structure
+ @param[in] ConsoleIn Keyboard Private Data Structure
@retval TRUE Keyboard in System.
@retval FALSE Keyboard not in System.