summaryrefslogtreecommitdiffstats
path: root/PcAtChipsetPkg/Bus
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2010-09-17 10:42:10 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2010-09-17 10:42:10 +0000
commit24115e44926b33c763f81026690f20efd913daf2 (patch)
tree165010ef17af178cec3f4da9c0470cb0016de86b /PcAtChipsetPkg/Bus
parent36b4e01a25a4abb68cdac3d40fd2c08c3f3722c4 (diff)
downloadedk2-24115e44926b33c763f81026690f20efd913daf2.tar.gz
edk2-24115e44926b33c763f81026690f20efd913daf2.tar.bz2
edk2-24115e44926b33c763f81026690f20efd913daf2.zip
RefRefine soma code to make code run safely.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10885 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg/Bus')
-rw-r--r--PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c2
-rw-r--r--PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c
index 5e56a62f47..a78bed7572 100644
--- a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c
+++ b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c
@@ -107,7 +107,7 @@ IdeControllerComponentNameGetDriverName (
@param ControllerHandle The handle of a controller that the driver specified by
This is managing. This handle specifies the controller
whose name is to be returned.
- @param OPTIONAL The handle of the child controller to retrieve the name
+ @param ChildHandle OPTIONAL The handle of the child controller to retrieve the name
of. This is an optional parameter that may be NULL. It
will be NULL for device drivers. It will also be NULL
for a bus drivers that wish to retrieve the name of the
diff --git a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
index 581361d24f..79763496ee 100644
--- a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
+++ b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
@@ -12,8 +12,8 @@
**/
-#ifndef _IDE_CONTROLLER_H
-#define _IDE_CONTROLLER_H
+#ifndef _IDE_CONTROLLER_H_
+#define _IDE_CONTROLLER_H_
#include <Uefi.h>
#include <Protocol/ComponentName.h>
@@ -155,7 +155,7 @@ EFIAPI
IdeInitNotifyPhase (
IN EFI_IDE_CONTROLLER_INIT_PROTOCOL *This,
IN EFI_IDE_CONTROLLER_ENUM_PHASE Phase,
- OUT UINT8 Channel
+ IN UINT8 Channel
)
;
@@ -219,7 +219,7 @@ IdeInitCalculateMode (
IN EFI_IDE_CONTROLLER_INIT_PROTOCOL *This,
IN UINT8 Channel,
IN UINT8 Device,
- IN EFI_ATA_COLLECTIVE_MODE **SupportedModes
+ OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes
)
;
@@ -285,7 +285,7 @@ IdeControllerComponentNameGetDriverName (
@param ControllerHandle The handle of a controller that the driver specified by
This is managing. This handle specifies the controller
whose name is to be returned.
- @param OPTIONAL The handle of the child controller to retrieve the name
+ @param OPTIONAL ChildHandle The handle of the child controller to retrieve the name
of. This is an optional parameter that may be NULL. It
will be NULL for device drivers. It will also be NULL
for a bus drivers that wish to retrieve the name of the