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