summaryrefslogtreecommitdiff
path: root/ReferenceCode/ME/Ppi/MePlatformPolicyPei/MePlatformPolicyPei.h
blob: 034b955a4f864e1aa1f71511ab86baff2ef4a9ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/** @file
  ME Platform Policy for ME PEIMs

@copyright
  Copyright (c) 2010 - 2012 Intel Corporation. All rights reserved
  This software and associated documentation (if any) is furnished
  under a license and may only be used or copied in accordance
  with the terms of the license. Except as permitted by such
  license, no part of this software or documentation may be
  reproduced, stored in a retrieval system, or transmitted in any
  form or by any means without the express written consent of
  Intel Corporation.

  This file contains a 'Sample Driver' and is licensed as such
  under the terms of your license agreement with Intel or your
  vendor.  This file may be modified by the user, subject to
  the additional terms of the license agreement
**/
#ifndef _PEI_ME_PLATFORM_POLICY_PPI_H_
#define _PEI_ME_PLATFORM_POLICY_PPI_H_

//
// Include other definitions
//
///
/// ME policy provided by platform for PEI phase
/// The Platform Policy PPI returns the Intel ME feature set in PEI phase
///
#define PEI_ME_PLATFORM_POLICY_PPI_GUID \
  { \
    0x7ae3ceb7, 0x2ee2, 0x48fa, 0xaa, 0x49, 0x35, 0x10, 0xbc, 0x83, 0xca, 0xbf \
  }

//
// Extern the GUID for PPI users.
//
extern EFI_GUID gPeiMePlatformPolicyPpiGuid;

//
// Revision
//
#define PEI_ME_PLATFORM_POLICY_PPI_REVISION_1 1
#define PEI_ME_PLATFORM_POLICY_PPI_REVISION_2 2

///
///
/// ME policy provided by platform for PEI phase
/// The Platform Policy PPI returns the Intel ME feature set in PEI phase
///
typedef struct _PEI_ME_PLATFORM_POLICY_PPI {
  UINT8 Revision;                 ///< Revision for the protocol structure
  UINT8 Reserved1 : 1;            ///< Reserved for Intel internal use
  UINT8 Reserved2 : 1;            ///< Reserved for Intel internal use
  UINT8 Reserved : 6;             ///< Reserved for Intel internal use
  UINT8 FTpmSwitch;
} PEI_ME_PLATFORM_POLICY_PPI;

#endif