]>
Commit | Line | Data |
---|---|---|
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 | |
7be273b7 | 8 | \r |
44770e59 | 9 | @par Note: EDKII implementation of capsule updating has discarded this capsule GUID HOB data\r |
7be273b7 | 10 | structur and used one UEFI Capsule HOB (defined in PI Specification 1.2) instead.\r |
504214c4 | 11 | \r |
ea025430 | 12 | Copyright (c) 2006 - 2010, Intel Corporation\r |
88f20127 | 13 | All rights reserved. This program and the accompanying materials\r |
14 | are licensed and made available under the terms and conditions of the BSD License\r | |
15 | which accompanies this distribution. The full text of the license may be found at\r | |
16 | http://opensource.org/licenses/bsd-license.php\r | |
17 | \r | |
18 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
19 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
20 | \r | |
504214c4 | 21 | **/\r |
88f20127 | 22 | \r |
23 | #ifndef __EFI_CAPSULE_VENDOR_GUID_H__\r | |
24 | #define __EFI_CAPSULE_VENDOR_GUID_H__\r | |
25 | \r | |
ebafc55b | 26 | ///\r |
109e9a61 LG |
27 | /// This guid is used as a variable GUID for the capsule variable \r |
28 | /// if the capsule pointer is passed through reset via a variable.\r | |
29 | ///\r | |
30 | /// This guid is also used as a hob GUID for the capsule data \r | |
31 | /// when the capsule pointer is passed from PEI phase to DXE phase.\r | |
ebafc55b | 32 | ///\r |
88f20127 | 33 | #define EFI_CAPSULE_VENDOR_GUID \\r |
34 | { 0x711C703F, 0xC285, 0x4B10, { 0xA3, 0xB0, 0x36, 0xEC, 0xBD, 0x3C, 0x8B, 0xE2 } }\r | |
35 | \r | |
ebafc55b LG |
36 | ///\r |
37 | /// Name of capsule variable\r | |
38 | /// \r | |
3cfb790c | 39 | #define EFI_CAPSULE_VARIABLE_NAME L"CapsuleUpdateData"\r |
40 | \r | |
72f01d4b | 41 | ///\r |
42 | /// Data structure of capsule guid hob entry\r | |
44770e59 | 43 | /// Note: EDKII implementation has discarded this structure and used \r |
7be273b7 | 44 | /// UEFI_CAPSULE_HOB instead.\r |
72f01d4b | 45 | ///\r |
46 | typedef struct {\r | |
47 | EFI_PHYSICAL_ADDRESS BaseAddress; ///< Capsule data start address\r | |
48 | UINT32 Length; ///< Length of capsule data.\r | |
49 | } CAPSULE_HOB_INFO;\r | |
0537d50f | 50 | \r |
109e9a61 LG |
51 | extern EFI_GUID gEfiCapsuleVendorGuid;\r |
52 | \r | |
88f20127 | 53 | #endif // #ifndef _EFI_CAPSULE_VENDOR_GUID_H_\r |