From 24115e44926b33c763f81026690f20efd913daf2 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Fri, 17 Sep 2010 10:42:10 +0000 Subject: 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 --- PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c | 2 +- PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'PcAtChipsetPkg/Bus/Pci/IdeControllerDxe') 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 #include @@ -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 -- cgit v1.2.3