]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/Ppi/Capsule.h
Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / NorthCluster / Include / Ppi / Capsule.h
CommitLineData
3cbfba02
DW
1/*++\r
2\r
3Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r
4\r
5 This program and the accompanying materials are licensed and made available under\r
6 the terms and conditions of the BSD License that accompanies this distribution.\r
7 The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php.\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13\r
14\r
15Module Name:\r
16\r
17 Capsule.h\r
18\r
19Abstract:\r
20\r
21 Capsule PPI definitions.\r
22\r
23--*/\r
24//\r
25//\r
26#ifndef _PEI_CAPSULE_PPI_H_\r
27#define _PEI_CAPSULE_PPI_H_\r
28\r
29#define PEI_CAPSULE_PPI_GUID \\r
30 { \\r
31 0x3acf33ee, 0xd892, 0x40f4, 0xa2, 0xfc, 0x38, 0x54, 0xd2, 0xe1, 0x32, 0x3d \\r
32 }\r
33\r
34EFI_FORWARD_DECLARATION (PEI_CAPSULE_PPI);\r
35\r
36typedef\r
37EFI_STATUS\r
38(EFIAPI *PEI_CAPSULE_COALESCE) (\r
39 IN EFI_PEI_SERVICES **PeiServices,\r
40 IN OUT VOID **MemoryBase,\r
41 IN OUT UINTN *MemSize\r
42 );\r
43\r
44typedef\r
45EFI_STATUS\r
46(EFIAPI *PEI_CAPSULE_CREATE_STATE) (\r
47 IN EFI_PEI_SERVICES **PeiServices,\r
48 IN VOID *CapsuleBase, // returned from coalesce\r
49 IN UINTN CapsuleSize // returned from coalesce\r
50 );\r
51\r
52typedef\r
53EFI_STATUS\r
54(EFIAPI *PEI_CAPSULE_CHECK_CAPSULE_UPDATE) (\r
55 IN EFI_PEI_SERVICES **PeiServices\r
56 );\r
57\r
58typedef struct _PEI_CAPSULE_PPI {\r
59 PEI_CAPSULE_COALESCE Coalesce;\r
60 PEI_CAPSULE_CHECK_CAPSULE_UPDATE CheckCapsuleUpdate;\r
61 PEI_CAPSULE_CREATE_STATE CreateState;\r
62} PEI_CAPSULE_PPI;\r
63\r
64extern EFI_GUID gPeiCapsulePpiGuid;\r
65\r
66#endif // #ifndef _PEI_CAPSULE_PPI_H_\r