summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/Decompress.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 10:37:15 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 10:37:15 +0000
commit4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086 (patch)
tree9a160b769c30da11432d201c7ba7214ef452f650 /MdePkg/Include/Protocol/Decompress.h
parentbb80e3b213f1d9409cd97a63e4d40191ce502912 (diff)
downloadedk2-platforms-4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086.tar.xz
Code Scrub for Protocol and Ppi Definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5564 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/Decompress.h')
-rw-r--r--MdePkg/Include/Protocol/Decompress.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/MdePkg/Include/Protocol/Decompress.h b/MdePkg/Include/Protocol/Decompress.h
index 83d59a3dcd..0cc9bb7e36 100644
--- a/MdePkg/Include/Protocol/Decompress.h
+++ b/MdePkg/Include/Protocol/Decompress.h
@@ -1,7 +1,7 @@
/** @file
- The Decompress Protocol Interface
+ The Decompress Protocol Interface as defined in UEFI spec
- Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -109,6 +109,22 @@ EFI_STATUS
IN UINT32 ScratchSize
);
+/**
+ @par Protocol Description:
+ Provides a decompression service.
+
+ @param GetInfo
+ Given the compressed source buffer, this function retrieves the
+ size of the uncompressed destination buffer and the size of the
+ scratch buffer required to perform the decompression. It is the
+ caller's responsibility to allocate the destination buffer and the
+ scratch buffer prior to calling EFI_DECOMPRESS_PROTOCOL.Decompress().
+
+ @param Decompresss
+ Decompresses a compressed source buffer into an uncompressed
+ destination buffer. It is the caller's responsibility to allocate the
+ destination buffer and a scratch buffer prior to making this call.
+**/
struct _EFI_DECOMPRESS_PROTOCOL {
EFI_DECOMPRESS_GET_INFO GetInfo;
EFI_DECOMPRESS_DECOMPRESS Decompress;