Home | History | Annotate | Download | only in Capsule
      1 /*++
      2 
      3 Copyright (c) 2006 - 2011, 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   Capsule update Guid definitions
     19 
     20 --*/
     21 
     22 #ifndef _EFI_CAPSULE_VENDOR_GUID_H_
     23 #define _EFI_CAPSULE_VENDOR_GUID_H_
     24 
     25 //
     26 // Note -- This guid is used as a vendor GUID (depending on implementation)
     27 // for the capsule variable if the capsule pointer is passes through reset
     28 // via a variable.
     29 //
     30 #define EFI_CAPSULE_VENDOR_GUID  \
     31   { 0x711C703F, 0xC285, 0x4B10, {0xA3, 0xB0, 0x36, 0xEC, 0xBD, 0x3C, 0x8B, 0xE2} }
     32 
     33 //
     34 // If capsule data is passed via a variable, then this name should be used.
     35 //
     36 #define EFI_CAPSULE_VARIABLE_NAME L"CapsuleUpdateData"
     37 
     38 //
     39 // The variable describes the long mode buffer used by IA32 Capsule PEIM
     40 // to call X64 CapsuleCoalesce code to handle >4GB capsule blocks.
     41 //
     42 #define EFI_CAPSULE_LONG_MODE_BUFFER_NAME L"CapsuleLongModeBuffer"
     43 
     44 typedef struct {
     45   EFI_PHYSICAL_ADDRESS   Base;
     46   EFI_PHYSICAL_ADDRESS   Length;
     47   UINT64                 StackSize;
     48 } EFI_CAPSULE_LONG_MODE_BUFFER;
     49 
     50 extern EFI_GUID gEfiCapsuleVendorGuid;
     51 
     52 #endif // #ifndef _EFI_CAPSULE_VENDOR_GUID_H_
     53