2008-04-09 09:07:50 +02:00
|
|
|
/** @file
|
2009-06-11 16:17:23 +02:00
|
|
|
This file defines:
|
2010-03-17 21:48:52 +01:00
|
|
|
* the capsule vendor GUID for capsule variables and the HOB.
|
|
|
|
* the capsule variable name.
|
2009-10-29 02:49:20 +01:00
|
|
|
* the capsule GUID HOB data structure.
|
|
|
|
The capsule HOB and variable can be used to store the capsule image start address and length.
|
|
|
|
They are used by EDKII implementation of capsule update across a system reset.
|
2009-11-04 07:51:34 +01:00
|
|
|
|
2009-11-04 09:39:25 +01:00
|
|
|
@par Note: EDKII implementation of capsule updating has discarded this capsule GUID HOB data
|
2010-03-17 21:48:52 +01:00
|
|
|
structure and used one UEFI Capsule HOB (defined in PI Specification 1.2) instead.
|
2008-04-09 09:07:50 +02:00
|
|
|
|
2011-09-02 13:34:35 +02:00
|
|
|
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
2010-03-17 21:48:52 +01:00
|
|
|
This program and the accompanying materials are licensed and made available under
|
|
|
|
the terms and conditions of the BSD License that accompanies this distribution.
|
|
|
|
The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php.
|
2007-06-26 10:03:14 +02:00
|
|
|
|
2010-03-17 21:48:52 +01:00
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
2007-06-26 10:03:14 +02:00
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
2008-04-09 09:07:50 +02:00
|
|
|
**/
|
2007-06-26 10:03:14 +02:00
|
|
|
|
|
|
|
#ifndef __EFI_CAPSULE_VENDOR_GUID_H__
|
|
|
|
#define __EFI_CAPSULE_VENDOR_GUID_H__
|
|
|
|
|
2008-11-27 05:53:43 +01:00
|
|
|
///
|
2009-01-04 04:20:55 +01:00
|
|
|
/// This guid is used as a variable GUID for the capsule variable
|
|
|
|
/// if the capsule pointer is passed through reset via a variable.
|
|
|
|
///
|
|
|
|
/// This guid is also used as a hob GUID for the capsule data
|
|
|
|
/// when the capsule pointer is passed from PEI phase to DXE phase.
|
2008-11-27 05:53:43 +01:00
|
|
|
///
|
2007-06-26 10:03:14 +02:00
|
|
|
#define EFI_CAPSULE_VENDOR_GUID \
|
|
|
|
{ 0x711C703F, 0xC285, 0x4B10, { 0xA3, 0xB0, 0x36, 0xEC, 0xBD, 0x3C, 0x8B, 0xE2 } }
|
|
|
|
|
2008-11-27 05:53:43 +01:00
|
|
|
///
|
2010-03-17 21:48:52 +01:00
|
|
|
/// Name of capsule variable.
|
2008-11-27 05:53:43 +01:00
|
|
|
///
|
2007-07-24 12:52:02 +02:00
|
|
|
#define EFI_CAPSULE_VARIABLE_NAME L"CapsuleUpdateData"
|
|
|
|
|
2009-10-29 02:49:20 +01:00
|
|
|
///
|
2010-03-17 21:48:52 +01:00
|
|
|
/// The data structure of the capsule guid hob entry.
|
2009-11-04 09:39:25 +01:00
|
|
|
/// Note: EDKII implementation has discarded this structure and used
|
2009-11-04 07:51:34 +01:00
|
|
|
/// UEFI_CAPSULE_HOB instead.
|
2009-10-29 02:49:20 +01:00
|
|
|
///
|
|
|
|
typedef struct {
|
2010-03-17 21:48:52 +01:00
|
|
|
EFI_PHYSICAL_ADDRESS BaseAddress; ///< Capsule data start address.
|
2009-10-29 02:49:20 +01:00
|
|
|
UINT32 Length; ///< Length of capsule data.
|
|
|
|
} CAPSULE_HOB_INFO;
|
2007-12-05 08:07:13 +01:00
|
|
|
|
2011-09-02 13:34:35 +02:00
|
|
|
//
|
|
|
|
// The variable describes the long mode buffer used by IA32 Capsule PEIM
|
|
|
|
// to call X64 CapsuleCoalesce code to handle >4GB capsule blocks.
|
|
|
|
//
|
|
|
|
#define EFI_CAPSULE_LONG_MODE_BUFFER_NAME L"CapsuleLongModeBuffer"
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
EFI_PHYSICAL_ADDRESS PageTableAddress;
|
|
|
|
EFI_PHYSICAL_ADDRESS StackBaseAddress;
|
|
|
|
UINT64 StackSize;
|
|
|
|
} EFI_CAPSULE_LONG_MODE_BUFFER;
|
|
|
|
|
2009-01-04 04:20:55 +01:00
|
|
|
extern EFI_GUID gEfiCapsuleVendorGuid;
|
|
|
|
|
2007-06-26 10:03:14 +02:00
|
|
|
#endif // #ifndef _EFI_CAPSULE_VENDOR_GUID_H_
|