]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Framework/Ppi/Decompress/Decompress.h
Add in the 1st version of ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Ppi / Decompress / Decompress.h
1 /*++
2
3 Copyright (c) 2007, 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 Decompress.h
15
16 Abstract:
17
18 PI 1.0 spec definition.
19
20 --*/
21
22 #ifndef __DECOMPRESS_PPI_H__
23 #define __DECOMPRESS_PPI_H__
24
25
26 #define EFI_PEI_DECOMPRESS_PPI_GUID \
27 { 0x1a36e4e7, 0xfab6, 0x476a, 0x8e, 0x75, 0x69, 0x5a, 0x5, 0x76, 0xfd, 0xd7}
28
29 EFI_FORWARD_DECLARATION (EFI_PEI_DECOMPRESS_PPI);
30
31
32 typedef
33 EFI_STATUS
34 (EFIAPI *EFI_PEI_DECOMPRESS_DECOMPRESS)(
35 IN CONST EFI_PEI_DECOMPRESS_PPI *This,
36 IN CONST EFI_COMPRESSION_SECTION *InputSection,
37 OUT VOID **OutputBuffer,
38 OUT UINTN *OutputSize
39 );
40
41 typedef struct _EFI_PEI_DECOMPRESS_PPI {
42 EFI_PEI_DECOMPRESS_DECOMPRESS Decompress;
43 } EFI_PEI_DECOMPRESS_PPI;
44
45
46
47 extern EFI_GUID gEfiPeiDecompressPpiGuid;
48
49 #endif