Fix some cleanall issues
[mirror_edk2.git] / EdkModulePkg / Include / Common / DecompressLibraryHob.h
1 /*++
2
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 DecompressLibraryHob.h
15
16 Abstract:
17
18 Declaration of HOB that is used to pass decompressor library functions from PEI to DXE
19
20 --*/
21
22 #ifndef __DECOMPRESS_LIBRARY_HOB_H__
23 #define __DECOMPRESS_LIBRARY_HOB_H__
24
25 typedef
26 RETURN_STATUS
27 (EFIAPI *DECOMPRESS_LIBRARY_GET_INFO) (
28 IN CONST VOID *Source,
29 IN UINT32 SourceSize,
30 OUT UINT32 *DestinationSize,
31 OUT UINT32 *ScratchSize
32 );
33
34 typedef
35 RETURN_STATUS
36 (EFIAPI *DECOMPRESS_LIBRARY_DECOMPRESS) (
37 IN CONST VOID *Source,
38 IN OUT VOID *Destination,
39 IN OUT VOID *Scratch
40 );
41
42 typedef struct {
43 DECOMPRESS_LIBRARY_GET_INFO GetInfo;
44 DECOMPRESS_LIBRARY_DECOMPRESS Decompress;
45 } DECOMPRESS_LIBRARY;
46
47 #endif