xref: /illumos-gate/usr/src/boot/efi/include/Protocol/Capsule.h (revision 6faf52448e142b151fa3deade474be359e7c8698)
1 /** @file
2   Capsule Architectural Protocol as defined in PI1.0a Specification VOLUME 2 DXE
3 
4   The DXE Driver that produces this protocol must be a runtime driver.
5   The driver is responsible for initializing the CapsuleUpdate() and
6   QueryCapsuleCapabilities() fields of the UEFI Runtime Services Table.
7   After the two fields of the UEFI Runtime Services Table have been initialized,
8   the driver must install the EFI_CAPSULE_ARCH_PROTOCOL_GUID on a new handle
9   with a NULL interface pointer. The installation of this protocol informs
10   the DXE Foundation that the Capsule related services are now available and
11   that the DXE Foundation must update the 32-bit CRC of the UEFI Runtime Services Table.
12 
13 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
14 SPDX-License-Identifier: BSD-2-Clause-Patent
15 
16 **/
17 
18 #ifndef __ARCH_PROTOCOL_CAPSULE_ARCH_H__
19 #define __ARCH_PROTOCOL_CAPSULE_ARCH_H__
20 
21 //
22 // Global ID for the Capsule Architectural Protocol
23 //
24 #define EFI_CAPSULE_ARCH_PROTOCOL_GUID \
25   { 0x5053697e, 0x2cbc, 0x4819, {0x90, 0xd9, 0x05, 0x80, 0xde, 0xee, 0x57, 0x54 }}
26 
27 extern EFI_GUID  gEfiCapsuleArchProtocolGuid;
28 
29 #endif
30