Home | History | Annotate | Download | only in Guid
      1 /*++
      2 
      3 Copyright (c) 2011  - 2014, Intel Corporation. All rights reserved
      4 
      5   This program and the accompanying materials are licensed and made available under
      6   the terms and conditions of the BSD License that accompanies this distribution.
      7   The full text of the license may be found at
      8   http://opensource.org/licenses/bsd-license.php.
      9 
     10   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     11   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     12 
     13 
     14 
     15 Module Name:
     16 
     17   PchInitVar.h
     18 
     19 Abstract:
     20 
     21   This file defines variable shared between PCH Init DXE driver and PCH
     22   Init S3 Resume PEIM.
     23 
     24 --*/
     25 #ifndef _PCH_INIT_VAR_H_
     26 #define _PCH_INIT_VAR_H_
     27 
     28 #include <Protocol/PchPlatformPolicy.h>
     29 //
     30 // Define the PCH Init Var GUID
     31 //
     32 #define PCH_INIT_VARIABLE_GUID {0xe6c2f70a, 0xb604, 0x4877,{0x85, 0xba, 0xde, 0xec, 0x89, 0xe1, 0x17, 0xeb}}
     33 //
     34 // Extern the GUID for PPI users.
     35 //
     36 extern EFI_GUID gPchInitVariableGuid;
     37 
     38 #define PCH_INIT_VARIABLE_NAME  L"PchInit"
     39 
     40 //
     41 // Define the Pch Init Variable structure
     42 //
     43 typedef struct {
     44   UINT32  StorePosition;
     45   UINT32  ExecutePosition;
     46 } PCH_S3_PARAMETER_HEADER;
     47 
     48 #pragma pack(1)
     49 typedef struct _PCH_INIT_VARIABLE {
     50   PCH_S3_PARAMETER_HEADER *PchS3Parameter;
     51 } PCH_INIT_VARIABLE;
     52 #pragma pack()
     53 
     54 #endif
     55