summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 02:03:33 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 02:03:33 +0000
commit6d6a1098d998e3b7cf6ef7fceee301d3065e86f6 (patch)
treec675a2135bcdddcb00664d522ccc0828376a2fdc
parent1d37ab9fb9714451a58023c2515d1c5f9cbf6a31 (diff)
downloadedk2-6d6a1098d998e3b7cf6ef7fceee301d3065e86f6.zip
edk2-6d6a1098d998e3b7cf6ef7fceee301d3065e86f6.tar.gz
edk2-6d6a1098d998e3b7cf6ef7fceee301d3065e86f6.tar.bz2
Function headers and comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6651 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Include/Library/ReportStatusCodeLib.h14
-rw-r--r--MdePkg/Include/Library/UefiDecompressLib.h2
-rw-r--r--MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c2
3 files changed, 15 insertions, 3 deletions
diff --git a/MdePkg/Include/Library/ReportStatusCodeLib.h b/MdePkg/Include/Library/ReportStatusCodeLib.h
index 65ae20d..8b71274 100644
--- a/MdePkg/Include/Library/ReportStatusCodeLib.h
+++ b/MdePkg/Include/Library/ReportStatusCodeLib.h
@@ -198,6 +198,8 @@ ReportStatusCode (
@retval EFI_OUT_OF_RESOURCES There were not enough resources to allocate the
extended data section.
@retval EFI_UNSUPPORTED Report status code is not supported
+ @retval EFI_DEVICE_ERROR A call to a Report Status Code Library function
+ is already in progress.
**/
EFI_STATUS
@@ -240,6 +242,8 @@ ReportStatusCodeWithDevicePath (
@retval EFI_OUT_OF_RESOURCES There were not enough resources to allocate the
extended data section.
@retval EFI_UNSUPPORTED Report status code is not supported
+ @retval EFI_DEVICE_ERROR A call to a Report Status Code Library function
+ is already in progress.
**/
EFI_STATUS
@@ -290,7 +294,9 @@ ReportStatusCodeWithExtendedData (
@retval EFI_SUCCESS The status code was reported.
@retval EFI_OUT_OF_RESOURCES There were not enough resources to allocate
the extended data section if it was specified.
- @retval EFI_UNSUPPORTED Report status code is not supported
+ @retval EFI_UNSUPPORTED Report status code is not supported.
+ @retval EFI_DEVICE_ERROR A call to a Report Status Code Library function
+ is already in progress.
**/
EFI_STATUS
@@ -405,6 +411,8 @@ ReportDebugCodeEnabled (
@retval EFI_OUT_OF_RESOURCES There were not enough resources to allocate the
extended data section.
@retval EFI_UNSUPPORTED Report status code is not supported
+ @retval EFI_DEVICE_ERROR A call to a Report Status Code Library function
+ is already in progress.
**/
#define REPORT_STATUS_CODE_WITH_DEVICE_PATH(Type,Value,DevicePathParameter) \
@@ -436,6 +444,8 @@ ReportDebugCodeEnabled (
@retval EFI_OUT_OF_RESOURCES There were not enough resources to allocate the
extended data section.
@retval EFI_UNSUPPORTED Report status code is not supported
+ @retval EFI_DEVICE_ERROR A call to a Report Status Code Library function
+ is already in progress.
**/
#define REPORT_STATUS_CODE_WITH_EXTENDED_DATA(Type,Value,ExtendedData,ExtendedDataSize) \
@@ -472,6 +482,8 @@ ReportDebugCodeEnabled (
@retval EFI_OUT_OF_RESOURCES There were not enough resources to allocate the
extended data section if it was specified.
@retval EFI_UNSUPPORTED Report status code is not supported
+ @retval EFI_DEVICE_ERROR A call to a Report Status Code Library function
+ is already in progress.
**/
#define REPORT_STATUS_CODE_EX(Type,Value,Instance,CallerId,ExtendedDataGuid,ExtendedData,ExtendedDataSize) \
diff --git a/MdePkg/Include/Library/UefiDecompressLib.h b/MdePkg/Include/Library/UefiDecompressLib.h
index 973fb2e..42af591 100644
--- a/MdePkg/Include/Library/UefiDecompressLib.h
+++ b/MdePkg/Include/Library/UefiDecompressLib.h
@@ -102,7 +102,7 @@ EFIAPI
UefiDecompress (
IN CONST VOID *Source,
IN OUT VOID *Destination,
- IN OUT VOID *Scratch
+ IN OUT VOID *Scratch OPTIONAL
);
#endif
diff --git a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
index 18555d1..98492c8 100644
--- a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
+++ b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
@@ -738,7 +738,7 @@ EFIAPI
UefiDecompress (
IN CONST VOID *Source,
IN OUT VOID *Destination,
- IN OUT VOID *Scratch
+ IN OUT VOID *Scratch OPTIONAL
)
{
volatile UINT32 Index;