summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IntelFrameworkPkg/Library/FrameworkHiiLib/HiiLib.c1
-rw-r--r--MdePkg/Include/Library/FvbServiceLib.h4
-rw-r--r--MdePkg/Include/Library/GraphicsLib.h28
-rw-r--r--MdePkg/Include/Library/HiiLib.h4
-rw-r--r--MdePkg/Library/HiiLib/HiiLib.c3
-rw-r--r--MdePkg/Library/HiiLib/HiiString.c1
6 files changed, 4 insertions, 37 deletions
diff --git a/IntelFrameworkPkg/Library/FrameworkHiiLib/HiiLib.c b/IntelFrameworkPkg/Library/FrameworkHiiLib/HiiLib.c
index f2edf44317..bfbfd5c957 100644
--- a/IntelFrameworkPkg/Library/FrameworkHiiLib/HiiLib.c
+++ b/IntelFrameworkPkg/Library/FrameworkHiiLib/HiiLib.c
@@ -287,7 +287,6 @@ HiiLibGetStringFromToken (
@retval EFI_NOT_FOUND String is not found.
@retval EFI_SUCCESS Operation is successful.
@retval EFI_OUT_OF_RESOURCES There is not enought memory in the system.
- @retval EFI_INVALID_PARAMETER The String is NULL.
**/
EFI_STATUS
diff --git a/MdePkg/Include/Library/FvbServiceLib.h b/MdePkg/Include/Library/FvbServiceLib.h
index b44b383f4f..cbbeabf0f9 100644
--- a/MdePkg/Include/Library/FvbServiceLib.h
+++ b/MdePkg/Include/Library/FvbServiceLib.h
@@ -24,7 +24,7 @@
@param[in, out] NumBytes Pointer that on input contains the total size of
the buffer. On output, it contains the total number
of bytes read.
- @param[in] Buffer Pointer to a caller allocated buffer that will be
+ @param[out] Buffer Pointer to a caller allocated buffer that will be
used to hold the data read.
@retval EFI_EFI_SUCCESS Buffer contains data read from FVB
@@ -38,7 +38,7 @@ EfiFvbReadBlock (
IN EFI_LBA Lba,
IN UINTN Offset,
IN OUT UINTN *NumBytes,
- OUT UINT8 *Buffer
+ OUT UINT8 *Buffer
);
diff --git a/MdePkg/Include/Library/GraphicsLib.h b/MdePkg/Include/Library/GraphicsLib.h
index 0c2812be2f..d056d5502f 100644
--- a/MdePkg/Include/Library/GraphicsLib.h
+++ b/MdePkg/Include/Library/GraphicsLib.h
@@ -72,34 +72,6 @@ GetGraphicsBitMapFromFVEx (
OUT UINTN *ImageSize
);
-/**
- Convert a *.BMP graphics image to a UGA blt buffer. If a NULL UgaBlt buffer
- is passed in a UgaBlt buffer will be allocated by this routine. If a UgaBlt
- buffer is passed in it will be used if it is big enough.
-
- @param[in] BmpImage Pointer to BMP file
- @param[in] BmpImageSize Number of bytes in BmpImage
- @param[in out] UgaBlt Buffer containing UGA version of BmpImage.
- @param[in out] UgaBltSize Size of UgaBlt in bytes.
- @param[out] PixelHeight Height of UgaBlt/BmpImage in pixels
- @param[out] PixelWidth Width of UgaBlt/BmpImage in pixels
-
- @retval EFI_SUCCESS UgaBlt and UgaBltSize are returned.
- @retval EFI_UNSUPPORTED BmpImage is not a valid *.BMP image
- @retval EFI_BUFFER_TOO_SMALL The passed in UgaBlt buffer is not big enough.
- UgaBltSize will contain the required size.
-**/
-EFI_STATUS
-EFIAPI
-ConvertBmpToUgaBlt (
- IN VOID *BmpImage,
- IN UINTN BmpImageSize,
- IN OUT VOID **UgaBlt,
- IN OUT UINTN *UgaBltSize,
- OUT UINTN *PixelHeight,
- OUT UINTN *PixelWidth
- );
-
/**
Use Console Control to turn off UGA based Simple Text Out consoles from going
diff --git a/MdePkg/Include/Library/HiiLib.h b/MdePkg/Include/Library/HiiLib.h
index e094fad28f..ea73100ddd 100644
--- a/MdePkg/Include/Library/HiiLib.h
+++ b/MdePkg/Include/Library/HiiLib.h
@@ -33,8 +33,7 @@
@param GuidId Package GUID.
@param ... Variable argument list for packages to be assembled.
- @return EFI_HII_PACKAGE_LIST_HEADER Pointer of EFI_HII_PACKAGE_LIST_HEADER. The function will ASSERT if system has
- not enough resource to complete the operation.
+ @return Pointer of EFI_HII_PACKAGE_LIST_HEADER.
**/
EFI_HII_PACKAGE_LIST_HEADER *
@@ -194,7 +193,6 @@ HiiLibGetString (
@retval EFI_NOT_FOUND String is not found.
@retval EFI_SUCCESS Operation is successful.
@retval EFI_OUT_OF_RESOURCES There is not enought memory in the system.
- @retval EFI_INVALID_PARAMETER The String is NULL.
**/
EFI_STATUS
diff --git a/MdePkg/Library/HiiLib/HiiLib.c b/MdePkg/Library/HiiLib/HiiLib.c
index db9112026f..d5d6670405 100644
--- a/MdePkg/Library/HiiLib/HiiLib.c
+++ b/MdePkg/Library/HiiLib/HiiLib.c
@@ -149,8 +149,7 @@ InternalHiiLibPreparePackages (
@param GuidId Package GUID.
@param ... Variable argument list for packages to be assembled.
- @return EFI_HII_PACKAGE_LIST_HEADER Pointer of EFI_HII_PACKAGE_LIST_HEADER. The function will ASSERT if system has
- not enough resource to complete the operation.
+ @return Pointer of EFI_HII_PACKAGE_LIST_HEADER.
**/
EFI_HII_PACKAGE_LIST_HEADER *
diff --git a/MdePkg/Library/HiiLib/HiiString.c b/MdePkg/Library/HiiLib/HiiString.c
index af867e1a1a..ed816c1b3b 100644
--- a/MdePkg/Library/HiiLib/HiiString.c
+++ b/MdePkg/Library/HiiLib/HiiString.c
@@ -301,7 +301,6 @@ HiiLibGetString (
@retval EFI_NOT_FOUND String is not found.
@retval EFI_SUCCESS Operation is successful.
@retval EFI_OUT_OF_RESOURCES There is not enought memory in the system.
- @retval EFI_INVALID_PARAMETER The String is NULL.
**/
EFI_STATUS