summaryrefslogtreecommitdiff
path: root/ReferenceCode/ME/Library/Ptt/Dxe
diff options
context:
space:
mode:
Diffstat (limited to 'ReferenceCode/ME/Library/Ptt/Dxe')
-rw-r--r--ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.cif9
-rw-r--r--ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.h37
-rw-r--r--ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.inf73
3 files changed, 119 insertions, 0 deletions
diff --git a/ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.cif b/ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.cif
new file mode 100644
index 0000000..341920f
--- /dev/null
+++ b/ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.cif
@@ -0,0 +1,9 @@
+<component>
+ name = "PTT Dxe Library"
+ category = ModulePart
+ LocalRoot = "ReferenceCode\Me\Library\Ptt\Dxe\"
+ RefName = "PttHciDeviceDxeLib"
+[files]
+"PttHciDeviceDxeLib.inf"
+"PttHciDeviceDxeLib.h"
+<endComponent>
diff --git a/ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.h b/ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.h
new file mode 100644
index 0000000..c8a042f
--- /dev/null
+++ b/ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.h
@@ -0,0 +1,37 @@
+/** @file
+ Platform Trust Technology (FTPM) HCI Device Dxe Library
+
+@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 _PTT_HCI_DEVICE_DXE_LIB_H_
+#define _PTT_HCI_DEVICE_DXE_LIB_H_
+
+#ifdef PTT_FLAG
+///
+/// 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"
+#endif
+///
+/// Common header for HCI Library
+///
+#include "PttHciDeviceLib.h"
+#endif // PTT_FLAG
+#endif
diff --git a/ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.inf b/ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.inf
new file mode 100644
index 0000000..7bc28ad
--- /dev/null
+++ b/ReferenceCode/ME/Library/Ptt/Dxe/PttHciDeviceDxeLib.inf
@@ -0,0 +1,73 @@
+## @file
+# Component description file for PttHciDevice DXE Library.
+#
+#@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 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 = PttHciDeviceDxeLib
+COMPONENT_TYPE = LIBRARY
+
+[sources.common]
+ PttHciDeviceDxeLib.h
+ ../Common/PttHciDeviceLib.c
+ ../Include/PttHciRegs.h
+ ../Include/PttHciDeviceLib.h
+
+[includes.common]
+ $(EFI_SOURCE)/$(PROJECT_ME_ROOT)
+ $(EFI_SOURCE)/$(PROJECT_ME_ROOT)/Library/Ptt/Include
+#
+# Path to Tpm20.h should be updated when available in the code tree (core)
+# $(EFI_SOURCE)/SecurityPkg/Include/IndustryStandard
+
+#
+# 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
+
+#
+# Typically the sample code referenced will be available in the code base already
+# So keep this include at the end to defer to the source base definition
+# and only use the sample code definition if source base does not include these files.
+#
+ $(EFI_SOURCE)/$(PROJECT_ME_ROOT)/SampleCode
+ $(EFI_SOURCE)/$(PROJECT_ME_ROOT)/SampleCode/Include
+
+[libraries.common]
+ EdkIIGlueBaseLib
+ EdkIIGlueUefiLib
+ EdkIIGlueBaseMemoryLib
+ EdkIIGlueBaseIoLibIntrinsic
+ EdkIIGlueBaseTimerLibLocalApic
+ EdkIIGlueDxeDebugLibReportStatusCode
+
+[nmake.common]
+ C_FLAGS = $(C_FLAGS) -D __EDKII_GLUE_BASE_LIB__ \
+ -D __EDKII_GLUE_UEFI_LIB__ \
+ -D __EDKII_GLUE_BASE_MEMORY_LIB__ \
+ -D __EDKII_GLUE_BASE_IO_LIB_INTRINSIC__ \
+ -D __EDKII_GLUE_DXE_DEBUG_LIB_REPORT_STATUS_CODE__ \
+ -D PTT_FLAG