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