3 Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 Capsule PPI definitions.
26 #ifndef _PEI_CAPSULE_PPI_H_
27 #define _PEI_CAPSULE_PPI_H_
29 #define PEI_CAPSULE_PPI_GUID \
31 0x3acf33ee, 0xd892, 0x40f4, 0xa2, 0xfc, 0x38, 0x54, 0xd2, 0xe1, 0x32, 0x3d \
34 EFI_FORWARD_DECLARATION (PEI_CAPSULE_PPI
);
38 (EFIAPI
*PEI_CAPSULE_COALESCE
) (
39 IN EFI_PEI_SERVICES
**PeiServices
,
40 IN OUT VOID
**MemoryBase
,
46 (EFIAPI
*PEI_CAPSULE_CREATE_STATE
) (
47 IN EFI_PEI_SERVICES
**PeiServices
,
48 IN VOID
*CapsuleBase
, // returned from coalesce
49 IN UINTN CapsuleSize
// returned from coalesce
54 (EFIAPI
*PEI_CAPSULE_CHECK_CAPSULE_UPDATE
) (
55 IN EFI_PEI_SERVICES
**PeiServices
58 typedef struct _PEI_CAPSULE_PPI
{
59 PEI_CAPSULE_COALESCE Coalesce
;
60 PEI_CAPSULE_CHECK_CAPSULE_UPDATE CheckCapsuleUpdate
;
61 PEI_CAPSULE_CREATE_STATE CreateState
;
64 extern EFI_GUID gPeiCapsulePpiGuid
;
66 #endif // #ifndef _PEI_CAPSULE_PPI_H_