summaryrefslogtreecommitdiff
path: root/ReferenceCode/ME/Guid
diff options
context:
space:
mode:
Diffstat (limited to 'ReferenceCode/ME/Guid')
-rw-r--r--ReferenceCode/ME/Guid/AmtForcePushPetPolicy/AmtForcePushPetPolicy.c33
-rw-r--r--ReferenceCode/ME/Guid/AmtForcePushPetPolicy/AmtForcePushPetPolicy.h36
-rw-r--r--ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.c35
-rw-r--r--ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.h39
-rw-r--r--ReferenceCode/ME/Guid/MeBiosExtensionSetup/MeBiosExtensionSetup.c35
-rw-r--r--ReferenceCode/ME/Guid/MeBiosExtensionSetup/MeBiosExtensionSetup.h95
-rw-r--r--ReferenceCode/ME/Guid/MeDataHob/MeDataHob.c27
-rw-r--r--ReferenceCode/ME/Guid/MeDataHob/MeDataHob.h55
-rw-r--r--ReferenceCode/ME/Guid/MeGuidLib.cif22
-rw-r--r--ReferenceCode/ME/Guid/MeGuidLib.inf55
-rw-r--r--ReferenceCode/ME/Guid/MeGuidLib.mak49
-rw-r--r--ReferenceCode/ME/Guid/MeGuidLib.sdl24
-rw-r--r--ReferenceCode/ME/Guid/MePlatformReadyToBoot/MePlatformReadyToBoot.c33
-rw-r--r--ReferenceCode/ME/Guid/MePlatformReadyToBoot/MePlatformReadyToBoot.h31
-rw-r--r--ReferenceCode/ME/Guid/MeSsdtTableStorage/MeSsdtTableStorage.c27
-rw-r--r--ReferenceCode/ME/Guid/MeSsdtTableStorage/MeSsdtTableStorage.h31
16 files changed, 627 insertions, 0 deletions
diff --git a/ReferenceCode/ME/Guid/AmtForcePushPetPolicy/AmtForcePushPetPolicy.c b/ReferenceCode/ME/Guid/AmtForcePushPetPolicy/AmtForcePushPetPolicy.c
new file mode 100644
index 0000000..ed9ab5e
--- /dev/null
+++ b/ReferenceCode/ME/Guid/AmtForcePushPetPolicy/AmtForcePushPetPolicy.c
@@ -0,0 +1,33 @@
+/** @file
+ AmtForcePushPetPolicy Guid data declarations.
+
+@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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+
+//
+// External include files do NOT need to be explicitly specified in real EDKII
+// environment
+//
+#if !defined(EDK_RELEASE_VERSION) || (EDK_RELEASE_VERSION < 0x00020000)
+#include "EdkIIGlueDxe.h"
+#include EFI_GUID_DEFINITION (AmtForcePushPetPolicy)
+#endif
+
+EFI_GUID gAmtForcePushPetPolicyGuid = AMT_FORCE_PUSH_PET_POLICY_GUID;
+
+EFI_GUID_STRING(&gAmtForcePushPetPolicyGuid, "AmtForcePushPetPolicy GUID", "AmtForcePushPetPolicy GUID")
diff --git a/ReferenceCode/ME/Guid/AmtForcePushPetPolicy/AmtForcePushPetPolicy.h b/ReferenceCode/ME/Guid/AmtForcePushPetPolicy/AmtForcePushPetPolicy.h
new file mode 100644
index 0000000..872045f
--- /dev/null
+++ b/ReferenceCode/ME/Guid/AmtForcePushPetPolicy/AmtForcePushPetPolicy.h
@@ -0,0 +1,36 @@
+/** @file
+ AmtForcePushPetPolicy Guid definitions
+
+@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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+#ifndef _EFI_AMT_FORCE_PUSH_PET_POLICY_GUID_H_
+#define _EFI_AMT_FORCE_PUSH_PET_POLICY_GUID_H_
+
+#define AMT_FORCE_PUSH_PET_POLICY_GUID \
+ { \
+ 0xacc8e1e4, 0x9f9f, 0x4e40, 0xa5, 0x7e, 0xf9, 0x9e, 0x52, 0xf3, 0x4c, 0xa5 \
+ }
+
+typedef struct {
+ EFI_HOB_GUID_TYPE EfiHobGuidType;
+ INT32 MessageType[1];
+} AMT_FORCE_PUSH_PET_POLICY_HOB;
+
+extern EFI_GUID gAmtForcePushPetPolicyGuid;
+
+#endif
diff --git a/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.c b/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.c
new file mode 100644
index 0000000..ad71b6e
--- /dev/null
+++ b/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.c
@@ -0,0 +1,35 @@
+/** @file
+ Console Lock Guid data declarations.
+
+@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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+
+//
+// External include files do NOT need to be explicitly specified in real EDKII
+// environment
+//
+#if !defined(EDK_RELEASE_VERSION) || (EDK_RELEASE_VERSION < 0x00020000)
+#include "EdkIIGlueDxe.h"
+#include EFI_GUID_DEFINITION (ConsoleLock)
+#endif
+
+EFI_GUID gEfiConsoleLockGuid = EFI_CONSOLE_LOCK_GUID;
+
+EFI_GUID_STRING(&gEfiConsoleLockGuid, "EFI", "Efi Console Lock GUID")
+
+CHAR16 gEfiConsoleLockName[] = EFI_CONSOLE_LOCK_VARIABLE_NAME;
diff --git a/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.h b/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.h
new file mode 100644
index 0000000..9e7acf9
--- /dev/null
+++ b/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.h
@@ -0,0 +1,39 @@
+/** @file
+ Console Lock Guid definitions
+
+@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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+#ifndef _EFI_CONSOLE_LOCK_GUID_H_
+#define _EFI_CONSOLE_LOCK_GUID_H_
+
+#define EFI_CONSOLE_LOCK_GUID \
+ { \
+ 0x368cda0d, 0xcf31, 0x4b9b, 0x8c, 0xf6, 0xe7, 0xd1, 0xbf, 0xff, 0x15, 0x7e \
+ }
+
+#define EFI_CONSOLE_LOCK_VARIABLE_NAME (L"ConsoleLock")
+#define EFI_CONSOLE_LOCK_FORMAT_VARIABLE_NAME ("ConsoleLock")
+
+extern CHAR16 gEfiConsoleLockName[];
+
+extern EFI_GUID gEfiConsoleLockGuid;
+
+#define LOCK_CONSOLE 1
+#define NO_LOCK_CONSOLE 0
+
+#endif
diff --git a/ReferenceCode/ME/Guid/MeBiosExtensionSetup/MeBiosExtensionSetup.c b/ReferenceCode/ME/Guid/MeBiosExtensionSetup/MeBiosExtensionSetup.c
new file mode 100644
index 0000000..d3d76c5
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MeBiosExtensionSetup/MeBiosExtensionSetup.c
@@ -0,0 +1,35 @@
+/** @file
+ ME BIOS Extension 16 Setup Options Guid data declarations.
+
+@copyright
+ Copyright (c) 2005 - 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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+
+//
+// External include files do NOT need to be explicitly specified in real EDKII
+// environment
+//
+#if !defined(EDK_RELEASE_VERSION) || (EDK_RELEASE_VERSION < 0x00020000)
+#include "EdkIIGlueDxe.h"
+#include EFI_GUID_DEFINITION (MeBiosExtensionSetup)
+#endif
+
+EFI_GUID gEfiMeBiosExtensionSetupGuid = EFI_ME_BIOS_EXTENSION_SETUP_GUID;
+
+EFI_GUID_STRING(&gEfiMeBiosExtensionSetupGuid, "EFI", "Efi Me Bios Extension 16 Setup Options GUID")
+
+CHAR16 gEfiMeBiosExtensionSetupName[] = EFI_ME_BIOS_EXTENSION_SETUP_VARIABLE_NAME;
diff --git a/ReferenceCode/ME/Guid/MeBiosExtensionSetup/MeBiosExtensionSetup.h b/ReferenceCode/ME/Guid/MeBiosExtensionSetup/MeBiosExtensionSetup.h
new file mode 100644
index 0000000..24e5c75
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MeBiosExtensionSetup/MeBiosExtensionSetup.h
@@ -0,0 +1,95 @@
+/** @file
+ Me Bios Extension 16 Setup Options Guid definitions
+
+@copyright
+ Copyright (c) 2005 - 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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+#ifndef _EFI_ME_BIOS_EXTENSION_SETUP_GUID_H_
+#define _EFI_ME_BIOS_EXTENSION_SETUP_GUID_H_
+
+///
+/// A NV-RAM variable for storing Intel MEBX setup option settings is created if this variable is not
+/// present. Those settings are used by BIOS during POST to bypass portions of the code if the
+/// Intel ME features are not available
+///
+#define EFI_ME_BIOS_EXTENSION_SETUP_GUID \
+ { \
+ 0x1bad711c, 0xd451, 0x4241, 0xb1, 0xf3, 0x85, 0x37, 0x81, 0x2e, 0xc, 0x70 \
+ }
+
+#define EFI_ME_BIOS_EXTENSION_SETUP_VARIABLE_NAME (L"MeBiosExtensionSetup")
+#define EFI_ME_BIOS_EXTENSION_SETUP_FORMAT_VARIABLE_NAME ("MeBiosExtensionSetup")
+
+extern CHAR16 gEfiMeBiosExtensionSetupName[];
+
+extern EFI_GUID gEfiMeBiosExtensionSetupGuid;
+
+#pragma pack(1)
+
+///
+/// A NV-RAM variable for storing Intel MEBX setup option settings is created if this variable is not
+/// present. Those settings are used by BIOS during POST to bypass portions of the code if the
+/// Intel ME features are not available. The information is obtained from Intel MEBx BIOS sync data
+/// structure
+///
+typedef struct {
+ ///
+ /// Sync Data Structure Version, a non-zero version indicates the variable is being initialized or valid
+ ///
+ UINT16 InterfaceVersion;
+ UINT16 Reserved;
+ ///
+ /// Bit 0 - UPDATED - this structure has been updated by MEBX
+ ///
+ UINT32 Flags;
+ ///
+ /// Platform Manageability Selection
+ /// 00h - Off
+ /// 01h - On
+ ///
+ UINT8 PlatformMngSel;
+ UINT8 Reserved4;
+ UINT8 AmtSolIder;
+ UINT8 Reserved1[2];
+ ///
+ /// CIRA Feature
+ /// 00h - DISABLED
+ /// 01h - ENABLED
+ ///
+ UINT8 RemoteAssistanceTriggerAvailablilty;
+ ///
+ /// KVM state (0 - DISABLED, 1 - ENABLED)
+ ///
+ UINT8 KvmEnable;
+ ///
+ /// 0 - On every later boot after BIOS 1st boot
+ /// 1 - Mebx will not require a reboot for synchronizing SOL/IDER state, used when BIOS 1st boot only.
+ ///
+ UINT8 MebxDefaultSolIder;
+ UINT8 Reserved2[10];
+} ME_BIOS_EXTENSION_SETUP;
+
+#define MNT_OFF 0x00
+#define MNT_ON 0x01
+#define LAN_ENABLE 0x01
+#define SOL_ENABLE 0x01
+#define IDER_ENABLE 0x02
+#define KVM_ENABLE 0x01
+
+#pragma pack()
+
+#endif
diff --git a/ReferenceCode/ME/Guid/MeDataHob/MeDataHob.c b/ReferenceCode/ME/Guid/MeDataHob/MeDataHob.c
new file mode 100644
index 0000000..bb07932
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MeDataHob/MeDataHob.c
@@ -0,0 +1,27 @@
+/** @file
+ The GUID definition for MeDataHob
+
+@copyright
+ Copyright (c) 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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+
+#include "Tiano.h"
+#include "MeDataHob.h"
+
+EFI_GUID gMeDataHobGuid = ME_DATA_HOB_GUID;
+
+EFI_GUID_STRING(&gMeDataHobGuid, "ME Data HOB", "GUID for ME Data HOB");
diff --git a/ReferenceCode/ME/Guid/MeDataHob/MeDataHob.h b/ReferenceCode/ME/Guid/MeDataHob/MeDataHob.h
new file mode 100644
index 0000000..69c1c5f
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MeDataHob/MeDataHob.h
@@ -0,0 +1,55 @@
+/** @file
+ The GUID definition for MeDataHob
+
+@copyright
+ Copyright (c) 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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+
+#ifndef _ME_DATA_HOB_H_
+#define _ME_DATA_HOB_H_
+
+#define ME_DATA_HOB_GUID \
+ { 0x1e94f097, 0x5acd, 0x4089, 0xb2, 0xe3, 0xb9, 0xa5, 0xc8, 0x79, 0xa7, 0x0c }
+
+extern EFI_GUID gMeDataHobGuid;
+
+#ifndef _PEI_HOB_H_
+#ifndef __HOB__H__
+#ifndef __PI_HOB_H__
+typedef struct _EFI_HOB_GENERIC_HEADER {
+ UINT16 HobType;
+ UINT16 HobLength;
+ UINT32 Reserved;
+} EFI_HOB_GENERIC_HEADER;
+
+typedef struct _EFI_HOB_GUID_TYPE {
+ EFI_HOB_GENERIC_HEADER Header;
+ EFI_GUID Name;
+ //
+ // Guid specific data goes here
+ //
+} EFI_HOB_GUID_TYPE;
+#endif
+#endif
+#endif
+
+typedef struct {
+ EFI_HOB_GUID_TYPE EfiHobGuidType;
+ UINT64 FtpmBufferAddress;
+} ME_DATA_HOB;
+
+#endif
diff --git a/ReferenceCode/ME/Guid/MeGuidLib.cif b/ReferenceCode/ME/Guid/MeGuidLib.cif
new file mode 100644
index 0000000..79c935b
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MeGuidLib.cif
@@ -0,0 +1,22 @@
+<component>
+ name = "MeGuidLib"
+ category = ModulePart
+ LocalRoot = "ReferenceCode\ME\Guid\"
+ RefName = "MeGuidLib"
+[files]
+"MeGuidLib.sdl"
+"MeGuidLib.mak"
+"MeGuidLib.inf"
+"AmtForcePushPetPolicy\AmtForcePushPetPolicy.h"
+"AmtForcePushPetPolicy\AmtForcePushPetPolicy.c"
+"ConsoleLock\ConsoleLock.h"
+"ConsoleLock\ConsoleLock.c"
+"MeBiosExtensionSetup\MeBiosExtensionSetup.c"
+"MeBiosExtensionSetup\MeBiosExtensionSetup.h"
+"MePlatformReadyToBoot\MePlatformReadyToBoot.c"
+"MePlatformReadyToBoot\MePlatformReadyToBoot.h"
+"MeDataHob\MeDataHob.c"
+"MeDataHob\MeDataHob.h"
+"MeSsdtTableStorage\MeSsdtTableStorage.c"
+"MeSsdtTableStorage\MeSsdtTableStorage.h"
+<endComponent>
diff --git a/ReferenceCode/ME/Guid/MeGuidLib.inf b/ReferenceCode/ME/Guid/MeGuidLib.inf
new file mode 100644
index 0000000..d0809c5
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MeGuidLib.inf
@@ -0,0 +1,55 @@
+## @file
+# Component description file for MeGuidLib
+#
+#@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
+#
+
+[defines]
+BASE_NAME = MeGuidLib
+COMPONENT_TYPE = LIBRARY
+
+[sources.common]
+ AmtForcePushPetPolicy/AmtForcePushPetPolicy.h
+ AmtForcePushPetPolicy/AmtForcePushPetPolicy.c
+ ConsoleLock/ConsoleLock.h
+ ConsoleLock/ConsoleLock.c
+ MeBiosExtensionSetup/MeBiosExtensionSetup.h
+ MeBiosExtensionSetup/MeBiosExtensionSetup.c
+ MePlatformReadyToBoot/MePlatformReadyToBoot.h
+ MePlatformReadyToBoot/MePlatformReadyToBoot.c
+ MeDataHob/MeDataHob.c
+ MeDataHob/MeDataHob.h
+ MeSsdtTableStorage/MeSsdtTableStorage.h
+ MeSsdtTableStorage/MeSsdtTableStorage.c
+[includes.common]
+ $(EFI_SOURCE)/$(PROJECT_ME_ROOT)
+
+#
+# EDK II Glue Library utilizes some standard headers from EDK
+#
+ $(EDK_SOURCE)/Foundation
+ $(EDK_SOURCE)/Foundation/Core/Dxe
+ $(EDK_SOURCE)/Foundation/Efi
+ $(EDK_SOURCE)/Foundation/Efi/Include
+ $(EDK_SOURCE)/Foundation/Framework
+ $(EDK_SOURCE)/Foundation/Framework/Include
+ $(EDK_SOURCE)/Foundation/Include
+ $(EDK_SOURCE)/Foundation/Include/IndustryStandard
+ $(EDK_SOURCE)/Foundation/Library/Dxe/Include
+ $(EDK_SOURCE)/Foundation/Library/EdkIIGlueLib/Include
+
+[nmake.common]
+C_STD_INCLUDE=
diff --git a/ReferenceCode/ME/Guid/MeGuidLib.mak b/ReferenceCode/ME/Guid/MeGuidLib.mak
new file mode 100644
index 0000000..3d88d99
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MeGuidLib.mak
@@ -0,0 +1,49 @@
+# /*++
+# Copyright (c) 2009 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.
+# --*/
+all : MeGuidLib
+
+$(MeGuidLib_LIB) : MeGuidLib
+
+MeGuidLib : $(BUILD_DIR)\MeGuidLib.mak MeGuidLibBin
+
+$(BUILD_DIR)\MeGuidLib.mak : $(MeGuidLib_DIR)\$(@B).cif $(MeGuidLib_DIR)\$(@B).mak $(BUILD_RULES)
+ $(CIF2MAK) $(MeGuidLib_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS)
+
+
+MeGuidLib_INCLUDES=\
+ $(ME_INCLUDES)\
+ $(EDK_INCLUDES)\
+ $(EdkIIGlueLib_INCLUDES)\
+
+MeGuidLibBin :
+ $(MAKE) /$(MAKEFLAGS) $(EDKIIGLUE_DEFAULTS)\
+ /f $(BUILD_DIR)\MeGuidLib.mak all\
+ "MY_INCLUDES=$(MeGuidLib_INCLUDES)" \
+ TYPE=LIBRARY
+!IF "$(x64_BUILD)"=="1"
+ $(MAKE) /$(MAKEFLAGS) $(EDKIIGLUE_DEFAULTS) BUILD_DIR=$(BUILD_DIR)\IA32\
+ /f $(BUILD_DIR)\MeGuidLib.mak all\
+ "MY_INCLUDES=$(MeGuidLib_INCLUDES)" \
+ TYPE=PEI_LIBRARY
+!ENDIF
+#**********************************************************************
+#**********************************************************************
+#** **
+#** (C)Copyright 1985-2006, American Megatrends, Inc. **
+#** **
+#** All Rights Reserved. **
+#** **
+#** 6145-F Northbelt Pkwy, Norcross, GA 30071 **
+#** **
+#** Phone: (770)-246-8600 **
+#** **
+#**********************************************************************
+#********************************************************************** \ No newline at end of file
diff --git a/ReferenceCode/ME/Guid/MeGuidLib.sdl b/ReferenceCode/ME/Guid/MeGuidLib.sdl
new file mode 100644
index 0000000..cf56f0e
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MeGuidLib.sdl
@@ -0,0 +1,24 @@
+TOKEN
+ Name = "MeGuidLib_SUPPORT"
+ Value = "1"
+ Help = "Main switch to enable MeGuidLib support in Project"
+ TokenType = Boolean
+ TargetMAK = Yes
+ Master = Yes
+End
+
+PATH
+ Name = "MeGuidLib_DIR"
+End
+
+MODULE
+ Help = "Includes MeGuidLib.mak to Project"
+ File = "MeGuidLib.mak"
+End
+
+TOKEN
+ Name = "MeGuidLib_LIB"
+ Value = "$$(LIB_BUILD_DIR)\MeGuidLib.lib"
+ TokenType = Expression
+ TargetMAK = Yes
+End
diff --git a/ReferenceCode/ME/Guid/MePlatformReadyToBoot/MePlatformReadyToBoot.c b/ReferenceCode/ME/Guid/MePlatformReadyToBoot/MePlatformReadyToBoot.c
new file mode 100644
index 0000000..574f715
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MePlatformReadyToBoot/MePlatformReadyToBoot.c
@@ -0,0 +1,33 @@
+/** @file
+ EFI PlatformReadyToBoot Guid data declarations.
+
+@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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+
+//
+// External include files do NOT need to be explicitly specified in real EDKII
+// environment
+//
+#if !defined(EDK_RELEASE_VERSION) || (EDK_RELEASE_VERSION < 0x00020000)
+#include "EdkIIGlueDxe.h"
+#include EFI_GUID_DEFINITION (MePlatformReadyToBoot)
+#endif
+
+EFI_GUID gMePlatformReadyToBootGuid = EFI_EVENT_ME_PLATFORM_READY_TO_BOOT;
+
+EFI_GUID_STRING(&gMePlatformReadyToBootGuid, "MePlatformReadyToBoot GUID", "MePlatformReadyToBoot GUID")
diff --git a/ReferenceCode/ME/Guid/MePlatformReadyToBoot/MePlatformReadyToBoot.h b/ReferenceCode/ME/Guid/MePlatformReadyToBoot/MePlatformReadyToBoot.h
new file mode 100644
index 0000000..e1bd9ac
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MePlatformReadyToBoot/MePlatformReadyToBoot.h
@@ -0,0 +1,31 @@
+/** @file
+ MePlatformReadyToBoot Guid definitions
+
+@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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+#ifndef _EFI_ME_PLATFORM_READY_TO_BOOT_GUID_H_
+#define _EFI_ME_PLATFORM_READY_TO_BOOT_GUID_H_
+
+#define EFI_EVENT_ME_PLATFORM_READY_TO_BOOT \
+ { \
+ 0x3fdf171, 0x1d67, 0x4ace, 0xa9, 0x4, 0x3e, 0x36, 0xd3, 0x38, 0xfa, 0x74 \
+ }
+
+extern EFI_GUID gMePlatformReadyToBootGuid;
+
+#endif
diff --git a/ReferenceCode/ME/Guid/MeSsdtTableStorage/MeSsdtTableStorage.c b/ReferenceCode/ME/Guid/MeSsdtTableStorage/MeSsdtTableStorage.c
new file mode 100644
index 0000000..82816a1
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MeSsdtTableStorage/MeSsdtTableStorage.c
@@ -0,0 +1,27 @@
+/** @file
+ The GUID definition for ME ACPI table storage file name
+
+@copyright
+ Copyright (c) 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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+#include "Tiano.h"
+#include "MeSsdtTableStorage.h"
+
+EFI_GUID gMeSsdtAcpiTableStorageGuid = ME_SSDT_ACPI_TABLE_STORAGE_GUID;
+
+EFI_GUID_STRING
+ (&gMeSsdtAcpiTableStorageGuid, "ME SSDT ACPI Table Storage File Name", "ME SSDT ACPI Table Storage file name GUID");
diff --git a/ReferenceCode/ME/Guid/MeSsdtTableStorage/MeSsdtTableStorage.h b/ReferenceCode/ME/Guid/MeSsdtTableStorage/MeSsdtTableStorage.h
new file mode 100644
index 0000000..74b72c9
--- /dev/null
+++ b/ReferenceCode/ME/Guid/MeSsdtTableStorage/MeSsdtTableStorage.h
@@ -0,0 +1,31 @@
+/** @file
+ GUID definition for the ME SSDT ACPI table storage file name
+
+@copyright
+ Copyright (c) 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 an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+#ifndef _ME_SSDT_TABLE_STORAGE_H_
+#define _ME_SSDT_TABLE_STORAGE_H_
+
+#define ME_SSDT_ACPI_TABLE_STORAGE_GUID \
+ { \
+ 0x9A8F82D5, 0x39B1, 0x48DA, 0x92, 0xDC, 0xA2, 0x2D, 0xA8, 0x83, 0x4D, 0xF6 \
+ }
+
+extern EFI_GUID gMeSsdtAcpiTableStorageGuid;
+
+#endif