summaryrefslogtreecommitdiff
path: root/ReferenceCode/ME/Protocol/MeRcInfo/MeRcInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ReferenceCode/ME/Protocol/MeRcInfo/MeRcInfo.h')
-rw-r--r--ReferenceCode/ME/Protocol/MeRcInfo/MeRcInfo.h88
1 files changed, 88 insertions, 0 deletions
diff --git a/ReferenceCode/ME/Protocol/MeRcInfo/MeRcInfo.h b/ReferenceCode/ME/Protocol/MeRcInfo/MeRcInfo.h
new file mode 100644
index 0000000..1862f0d
--- /dev/null
+++ b/ReferenceCode/ME/Protocol/MeRcInfo/MeRcInfo.h
@@ -0,0 +1,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