From 4ef55dfc766c2206378ab7e5a3101a2a7a32d569 Mon Sep 17 00:00:00 2001 From: gikidy Date: Thu, 11 Dec 2008 05:23:13 +0000 Subject: Synchronize MdePkg/Library *.h files with c files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6985 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/PeiServicesTablePointerLib.h | 2 +- MdePkg/Library/PeiIoLibCpuIo/IoLib.c | 6 ++++++ .../Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointer.c | 6 +++--- MdePkg/Library/UefiDebugLibConOut/DebugLib.c | 2 +- MdePkg/Library/UefiDebugLibStdErr/DebugLib.c | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/MdePkg/Include/Library/PeiServicesTablePointerLib.h b/MdePkg/Include/Library/PeiServicesTablePointerLib.h index 5bbbea6a34..a366c98f1b 100644 --- a/MdePkg/Include/Library/PeiServicesTablePointerLib.h +++ b/MdePkg/Include/Library/PeiServicesTablePointerLib.h @@ -21,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. The function returns the pointer to PEI services. It will ASSERT() if the pointer to PEI services is NULL. - @retval The pointer to PeiServices. + @return The pointer to PeiServices. **/ CONST EFI_PEI_SERVICES ** diff --git a/MdePkg/Library/PeiIoLibCpuIo/IoLib.c b/MdePkg/Library/PeiIoLibCpuIo/IoLib.c index 57d84cfd5c..c9260ab9c5 100644 --- a/MdePkg/Library/PeiIoLibCpuIo/IoLib.c +++ b/MdePkg/Library/PeiIoLibCpuIo/IoLib.c @@ -337,6 +337,8 @@ MmioRead8 ( @param Address The MMIO register to write. @param Value The value to write to the MMIO register. + + @return Value. **/ UINT8 @@ -404,6 +406,8 @@ MmioRead16 ( @param Address The MMIO register to write. @param Value The value to write to the MMIO register. + + @return Value. **/ UINT16 @@ -474,6 +478,8 @@ MmioRead32 ( @param Address The MMIO register to write. @param Value The value to write to the MMIO register. + + @return Value. **/ UINT32 diff --git a/MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointer.c b/MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointer.c index ebfec4be6c..d6927999cc 100644 --- a/MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointer.c +++ b/MdePkg/Library/PeiServicesTablePointerLibKr7/PeiServicesTablePointer.c @@ -18,10 +18,10 @@ #include /** - The function returns the pointer to PeiServices. + The function returns the pointer to PEI services. - The function returns the pointer to PeiServices. - It will ASSERT() if the pointer to PeiServices is NULL. + The function returns the pointer to PEI services. + It will ASSERT() if the pointer to PEI services is NULL. @return The pointer to PeiServices. diff --git a/MdePkg/Library/UefiDebugLibConOut/DebugLib.c b/MdePkg/Library/UefiDebugLibConOut/DebugLib.c index f416bcb3c0..be98b52731 100644 --- a/MdePkg/Library/UefiDebugLibConOut/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibConOut/DebugLib.c @@ -149,7 +149,7 @@ DebugAssert ( PcdDebugClearMemoryValue, and returns Buffer. If Buffer is NULL, then ASSERT(). - If Length is greater than (MAX_ADDRESS -Buffer + 1), then ASSERT(). + If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). @param Buffer Pointer to the target buffer to be filled with PcdDebugClearMemoryValue. @param Length Number of bytes in Buffer to fill with zeros PcdDebugClearMemoryValue. diff --git a/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c b/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c index 6d5ae16e73..60b83b0772 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c @@ -150,7 +150,7 @@ DebugAssert ( PcdDebugClearMemoryValue, and returns Buffer. If Buffer is NULL, then ASSERT(). - If Length is greater than (MAX_ADDRESS -Buffer + 1), then ASSERT(). + If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). @param Buffer Pointer to the target buffer to be filled with PcdDebugClearMemoryValue. @param Length Number of bytes in Buffer to fill with zeros PcdDebugClearMemoryValue. -- cgit v1.2.3