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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
/** @file
This file defines the ME RC Info Protocol.
@copyright
Copyright (c) 2011 - 2014 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 _ME_RC_INFO_H_
#define _ME_RC_INFO_H_
///
/// ME RC INFO protocol GUID
/// This protocol provides the version information for Me RC.
///
#define EFI_ME_RC_INFO_PROTOCOL_GUID \
{ \
0x11fbfdfb, 0x10d2, 0x43e6, 0xb5, 0xb1, 0xb4, 0x38, 0x6e, 0xdc, 0xcb, 0x9a \
}
//
// Extern the GUID for protocol users.
//
extern EFI_GUID gEfiMeRcInfoProtocolGuid;
///
/// Revision 1: Original version
///
#define ME_RC_INFO_PROTOCOL_REVISION_1 1
/**
Me Reference Code formats 0xAABBCCDD
DD - Build Number
CC - Reference Code Revision
BB - Reference Code Minor Version
AA - Reference Code Major Version
Example: Me Reference Code 0.7.1 should be 00 07 01 00 (0x00070100)
**/
#define ME_RC_VERSION 0x01090000
#define ME_FVI_STRING "Reference Code - ME 9.0"
#define ME_FVI_SMBIOS_TYPE 0xDD ///< Default value
#define ME_FVI_SMBIOS_INSTANCE 0x03
#define MEBX_RC_VERSION 0xFFFFFFFF
#define MEBX_FVI_STRING "MEBx version"
#define MEFW_VERSION \
{ \
0xFF, 0xFF, 0xFF, 0xFFFF \
}
#define MEFW_FVI_STRING "ME Firmware Version"
#define MEFW_1_5M_STRING "1.5MB SKU"
#define MEFW_5M_STRING "5MB SKU "
enum {
EnumMeRc = 0, ///< ME Reference Code Version
EnumMebx, ///< MEBx Version
EnumMeFw ///< ME FW Version
} ME_FVI_INDEX;
///
/// ME RC INFO protocol
/// This protocol provides the version information for Me RC.
///
typedef struct _EFI_ME_RC_INFO_PROTOCOL {
///
/// Revision for the protocol structure
///
UINT8 Revision;
/**
Me Reference Code formats 0xAABBCCDD
DD - Build Number
CC - Reference Code Revision
BB - Reference Code Minor Version
AA - Reference Code Major Version
**/
UINT32 RCVersion;
} EFI_ME_RC_INFO_PROTOCOL;
#endif
|