]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Guid/CapsuleVendor.h
dc6cb2fefada0844259f8c36a5d985b0de55b804
[mirror_edk2.git] / MdeModulePkg / Include / Guid / CapsuleVendor.h
1 /** @file
2 This file defines capsule vendor guid for capsule variable and hob.
3 It also defines capsule variable name and capsule guid hob data structure,
4 which can be used to store the capsule image start address and length.
5 They are used by EDKII implementation of capsule update across a system reset.
6
7 Copyright (c) 2006 - 2008, Intel Corporation
8 All rights reserved. This program and the accompanying materials
9 are licensed and made available under the terms and conditions of the BSD License
10 which accompanies this distribution. The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15
16 **/
17
18 #ifndef __EFI_CAPSULE_VENDOR_GUID_H__
19 #define __EFI_CAPSULE_VENDOR_GUID_H__
20
21 ///
22 /// This guid is used as a variable GUID for the capsule variable
23 /// if the capsule pointer is passed through reset via a variable.
24 ///
25 /// This guid is also used as a hob GUID for the capsule data
26 /// when the capsule pointer is passed from PEI phase to DXE phase.
27 ///
28 #define EFI_CAPSULE_VENDOR_GUID \
29 { 0x711C703F, 0xC285, 0x4B10, { 0xA3, 0xB0, 0x36, 0xEC, 0xBD, 0x3C, 0x8B, 0xE2 } }
30
31 ///
32 /// Name of capsule variable
33 ///
34 #define EFI_CAPSULE_VARIABLE_NAME L"CapsuleUpdateData"
35
36 ///
37 /// Data structure of capsule guid hob entry
38 ///
39 typedef struct {
40 EFI_PHYSICAL_ADDRESS BaseAddress; ///> Capsule data start address
41 UINT32 Length; ///> Length of capsule data.
42 } CAPSULE_HOB_INFO;
43
44 extern EFI_GUID gEfiCapsuleVendorGuid;
45
46 #endif // #ifndef _EFI_CAPSULE_VENDOR_GUID_H_