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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user