]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Sample/Platform/Generic/Pei/Capsule/Capsule.h
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Platform / Generic / Pei / Capsule / Capsule.h
1 /*++
2
3 Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 Capsule.h
15
16 Abstract:
17
18 --*/
19
20 #ifndef _CAPSULE_PEIM_H
21 #define _CAPSULE_PEIM_H
22
23 #include "Tiano.h"
24
25 //
26 // If capsule data is passed via a variable, then this name should be used.
27 //
28 #define EFI_CAPSULE_VARIABLE_NAME L"CapsuleUpdateData"
29
30 //
31 // The variable describes the long mode buffer used by IA32 Capsule PEIM
32 // to call X64 CapsuleCoalesce code to handle >4GB capsule blocks.
33 //
34 #define EFI_CAPSULE_LONG_MODE_BUFFER_NAME L"CapsuleLongModeBuffer"
35 typedef struct {
36 UINT64 Base;
37 UINT64 Length;
38 } EFI_CAPSULE_LONG_MODE_BUFFER;
39
40 #endif