From 419d98994418f2c8454cedf6269b35cfaa787f59 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Tue, 26 May 2015 04:52:09 +0000 Subject: [PATCH] * MdePkg: Move SIO header files to correct location. The patch also fixed some comments to align the code. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17507 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Ppi/{Ppi => }/IsaHc.h | 0 MdePkg/Include/Ppi/{Ppi => }/SuperIo.h | 11 +++++++---- MdePkg/Include/Protocol/{Protocol => }/IsaHc.h | 0 .../Include/Protocol/{Protocol => }/SuperIoControl.h | 0 4 files changed, 7 insertions(+), 4 deletions(-) rename MdePkg/Include/Ppi/{Ppi => }/IsaHc.h (100%) rename MdePkg/Include/Ppi/{Ppi => }/SuperIo.h (93%) rename MdePkg/Include/Protocol/{Protocol => }/IsaHc.h (100%) rename MdePkg/Include/Protocol/{Protocol => }/SuperIoControl.h (100%) diff --git a/MdePkg/Include/Ppi/Ppi/IsaHc.h b/MdePkg/Include/Ppi/IsaHc.h similarity index 100% rename from MdePkg/Include/Ppi/Ppi/IsaHc.h rename to MdePkg/Include/Ppi/IsaHc.h diff --git a/MdePkg/Include/Ppi/Ppi/SuperIo.h b/MdePkg/Include/Ppi/SuperIo.h similarity index 93% rename from MdePkg/Include/Ppi/Ppi/SuperIo.h rename to MdePkg/Include/Ppi/SuperIo.h index 6d81633746..21f91485c3 100644 --- a/MdePkg/Include/Ppi/Ppi/SuperIo.h +++ b/MdePkg/Include/Ppi/SuperIo.h @@ -38,7 +38,8 @@ typedef UINT16 EFI_SIO_REGISTER; The register is specified as an 8-bit logical device number and an 8-bit register value. The logical device numbers for specific SIO devices can be determined using the Info member of the PPI structure. - + + @param PeiServices A pointer to a pointer to the PEI Services. @param This A pointer to this instance of the EFI_SIO_PPI. @param ExitCfgMode A boolean specifying whether the driver should turn on configuration mode (FALSE) or turn off configuration mode @@ -53,7 +54,7 @@ typedef UINT16 EFI_SIO_REGISTER; @param IoData A pointer to the returned register value. @retval EFI_SUCCESS Success. - @regval EFI_TIMEOUT The register could not be read in the a reasonable + @retval EFI_TIMEOUT The register could not be read in the a reasonable amount of time. The exact time is device-specific. @retval EFI_INVALID_PARAMETERS Register was out of range for this device. @retval EFI_INVALID_PARAMETERS IoData was NULL @@ -76,6 +77,7 @@ EFI_STATUS value. The logical device numbers for specific SIO devices can be determined using the Info member of the PPI structure. + @param PeiServices A pointer to a pointer to the PEI Services. @param This A pointer to this instance of the EFI_SIO_PPI. @param ExitCfgMode A boolean specifying whether the driver should turn on configuration mode (FALSE) or turn off configuration mode @@ -90,7 +92,7 @@ EFI_STATUS @param IoData A pointer to the returned register value. @retval EFI_SUCCESS Success. - @regval EFI_TIMEOUT The register could not be read in the a reasonable + @retval EFI_TIMEOUT The register could not be read in the a reasonable amount of time. The exact time is device-specific. @retval EFI_INVALID_PARAMETERS Register was out of range for this device. @retval EFI_INVALID_PARAMETERS IoData was NULL @@ -117,7 +119,8 @@ EFI_STATUS must track the current state of the Super I/O and enable the configuration mode of Super I/O if necessary prior to table processing. Once the table is processed, the Super I/O device must be returned to the original state. - + + @param PeiServices A pointer to a pointer to the PEI Services. @param This A pointer to this instance of the EFI_SIO_PPI. @param Command A pointer to an array of NumberOfCommands EFI_SIO_REGISTER_MODIFY structures. Each structure specifies a single Super I/O register diff --git a/MdePkg/Include/Protocol/Protocol/IsaHc.h b/MdePkg/Include/Protocol/IsaHc.h similarity index 100% rename from MdePkg/Include/Protocol/Protocol/IsaHc.h rename to MdePkg/Include/Protocol/IsaHc.h diff --git a/MdePkg/Include/Protocol/Protocol/SuperIoControl.h b/MdePkg/Include/Protocol/SuperIoControl.h similarity index 100% rename from MdePkg/Include/Protocol/Protocol/SuperIoControl.h rename to MdePkg/Include/Protocol/SuperIoControl.h -- 2.39.2