summaryrefslogtreecommitdiff
path: root/ReferenceCode/ME/Include
diff options
context:
space:
mode:
authorraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
committerraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
commitb7c51c9cf4864df6aabb99a1ae843becd577237c (patch)
treeeebe9b0d0ca03062955223097e57da84dd618b9a /ReferenceCode/ME/Include
downloadzprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz
init. 1AQQW051HEADmaster
Diffstat (limited to 'ReferenceCode/ME/Include')
-rw-r--r--ReferenceCode/ME/Include/IntelMeSsdtAcpiTables.dsc67
-rw-r--r--ReferenceCode/ME/Include/MeDxe.dsc41
-rw-r--r--ReferenceCode/ME/Include/MeDxeLib.dsc31
-rw-r--r--ReferenceCode/ME/Include/MeInclude.cif13
-rw-r--r--ReferenceCode/ME/Include/MeInclude.sdl9
-rw-r--r--ReferenceCode/ME/Include/MePei.dsc25
-rw-r--r--ReferenceCode/ME/Include/MePeiLib.dsc30
7 files changed, 216 insertions, 0 deletions
diff --git a/ReferenceCode/ME/Include/IntelMeSsdtAcpiTables.dsc b/ReferenceCode/ME/Include/IntelMeSsdtAcpiTables.dsc
new file mode 100644
index 0000000..f6428ea
--- /dev/null
+++ b/ReferenceCode/ME/Include/IntelMeSsdtAcpiTables.dsc
@@ -0,0 +1,67 @@
+## @file
+# Build description file for building the ME SSDT ACPI tables
+#
+#@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
+#
+
+[=============================================================================]
+#
+# Instructions for building the ME SSDT ACPI table storage file
+#
+[=============================================================================]
+[Build.Ia32.ME_SSDT_ACPITABLE,Build.x64.ME_SSDT_ACPITABLE]
+#
+# Check if we have any source to work with.
+#
+!IFNDEF SECTIONS
+!IFNDEF ASL_FILES
+!ERROR No ASL source files to build were defined in the INF file
+!ENDIF
+!ENDIF
+
+#
+# Define some macros to simplify changes
+#
+TARGET_FFS_FILE = $(BIN_DIR)\$(FILE_GUID)-$(BASE_NAME).ffs
+
+$(DEST_DIR)\MeSsdt.sec : $(ASL_SOURCE_FILES) $(ASL_FILES)
+ $(ASL) $(ASL_FLAGS) $(DEST_DIR)\MeSsdt.asl
+ -copy $(DEST_DIR)\MeSsdt.aml $(DEST_DIR)\MeSsdt.acpi
+ $(GENSECTION) -I $(DEST_DIR)\MeSsdt.acpi -O $(DEST_DIR)\MeSsdt.sec -S EFI_SECTION_RAW
+
+#
+# Build FFS file
+#
+$(TARGET_FFS_FILE) : $(SECTIONS) $(DEST_DIR)\MeSsdt.sec
+ $(GENFFSFILE) -B $(DEST_DIR) -P1 $(DEST_DIR)\$(BASE_NAME).pkg -V
+
+all : $(TARGET_FFS_FILE)
+
+[=============================================================================]
+[Package.ME_SSDT_ACPITABLE.Default]
+PACKAGE.INF
+\[.]
+BASE_NAME = $(BASE_NAME)
+FFS_FILEGUID = $(FILE_GUID)
+FFS_FILETYPE = EFI_FV_FILETYPE_FREEFORM
+FFS_ATTRIB_CHECKSUM = TRUE
+
+IMAGE_SCRIPT =
+{
+ Compress (Dummy) {
+ $(DEST_DIR)\MeSsdt.sec
+ }
+}
diff --git a/ReferenceCode/ME/Include/MeDxe.dsc b/ReferenceCode/ME/Include/MeDxe.dsc
new file mode 100644
index 0000000..3c3791d
--- /dev/null
+++ b/ReferenceCode/ME/Include/MeDxe.dsc
@@ -0,0 +1,41 @@
+## @file
+# Build description file DXE Drivers for building the Me
+#
+#@copyright
+# Copyright (c) 1999 - 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 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
+#
+
+$(PROJECT_ME_ROOT)\Heci\Dxe\Hecidrv.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+$(PROJECT_ME_ROOT)\ActiveManagement\AlertStandardFormat\Heci\Dxe\AlertStandardFormatDxe.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+$(PROJECT_ME_ROOT)\ActiveManagement\AmtBootOptions\Dxe\ActiveManagement.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+$(PROJECT_ME_ROOT)\BiosExtension\Efi\BiosExtensionLoader\Dxe\BiosExtensionLoader.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+$(PROJECT_ME_ROOT)\ActiveManagement\ider\Dxe\IdeRController.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+$(PROJECT_ME_ROOT)\ActiveManagement\sol\Dxe\PciSerial.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+$(PROJECT_ME_ROOT)\FwUpdate\MeFwDowngrade\Dxe\MeFwDowngrade.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+$(PROJECT_ME_ROOT)\At\AtAm\Dxe\AtAm.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+#
+# Disable the following driver if PTT is not supported
+#
+$(PROJECT_ME_ROOT)\Ptt\Smm\PttHciSmm.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+$(PROJECT_ME_ROOT)\Acpitables\MeSsdt\MeSsdt_Edk.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+
+#
+# Uncomment the following line if the Mebx and MebxSetupBrowser are included by this build description
+#
+# $(PROJECT_ME_ROOT)\BiosExtension\Efi\Mebx\Mebx.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+# $(PROJECT_ME_ROOT)\BiosExtension\Efi\MebxSetupBrowser\MebxSetupBrowser.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+
diff --git a/ReferenceCode/ME/Include/MeDxeLib.dsc b/ReferenceCode/ME/Include/MeDxeLib.dsc
new file mode 100644
index 0000000..efab364
--- /dev/null
+++ b/ReferenceCode/ME/Include/MeDxeLib.dsc
@@ -0,0 +1,31 @@
+## @file
+# Build description file for building the Me Libries for DXE
+#
+#@copyright
+# Copyright (c) 2008 - 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
+#
+
+$(PROJECT_ME_ROOT)\Guid\MeGuidLib.inf
+$(PROJECT_ME_ROOT)\Protocol\MeProtocolLib.inf
+$(PROJECT_ME_ROOT)\Library\MeKernel\Common\MeChipsetLib\MeChipsetLib.inf
+$(PROJECT_ME_ROOT)\Library\MeKernel\Dxe\MeLib.inf
+$(PROJECT_ME_ROOT)\Library\AMT\Dxe\AmtLib.inf
+$(PROJECT_ME_ROOT)\Library\AtLibrary\Dxe\AtDxeLib.inf
+#
+# Disable the following library if PTT is not supported
+#
+$(PROJECT_ME_ROOT)\Library\Ptt\Dxe\PttHciDeviceDxeLib.inf
diff --git a/ReferenceCode/ME/Include/MeInclude.cif b/ReferenceCode/ME/Include/MeInclude.cif
new file mode 100644
index 0000000..b45f94f
--- /dev/null
+++ b/ReferenceCode/ME/Include/MeInclude.cif
@@ -0,0 +1,13 @@
+<component>
+ name = "MeInclude"
+ category = ModulePart
+ LocalRoot = "ReferenceCode\ME\Include\"
+ RefName = "MeInclude"
+[files]
+"MeInclude.sdl"
+"MePeiLib.dsc"
+"MeDxe.dsc"
+"MeDxeLib.dsc"
+"MePei.dsc"
+"IntelMeSsdtAcpiTables.dsc"
+<endComponent>
diff --git a/ReferenceCode/ME/Include/MeInclude.sdl b/ReferenceCode/ME/Include/MeInclude.sdl
new file mode 100644
index 0000000..ccba82a
--- /dev/null
+++ b/ReferenceCode/ME/Include/MeInclude.sdl
@@ -0,0 +1,9 @@
+PATH
+ Name = "MeInclude_DIR"
+End
+
+ELINK
+ Name = "/I$(MeInclude_DIR)"
+ Parent = "ME_INCLUDES"
+ InvokeOrder = AfterParent
+End \ No newline at end of file
diff --git a/ReferenceCode/ME/Include/MePei.dsc b/ReferenceCode/ME/Include/MePei.dsc
new file mode 100644
index 0000000..5110525
--- /dev/null
+++ b/ReferenceCode/ME/Include/MePei.dsc
@@ -0,0 +1,25 @@
+## @file
+# Build description file PEI Drivers for building
+#
+#@copyright
+# Copyright (c) 1999 - 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
+#
+
+$(PROJECT_ME_ROOT)\PchMeUma\PchMeUma.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+$(PROJECT_ME_ROOT)\Heci\Pei\HeciInit.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+$(PROJECT_ME_ROOT)\ActiveManagement\StartWatchDog\Pei\StartWatchDog.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
+$(PROJECT_ME_ROOT)\ActiveManagement\AlertStandardFormat\Heci\Pei\AlertStandardFormatPei.inf SOURCE_OVERRIDE_PATH = $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\EntryPoints
diff --git a/ReferenceCode/ME/Include/MePeiLib.dsc b/ReferenceCode/ME/Include/MePeiLib.dsc
new file mode 100644
index 0000000..e5fc450
--- /dev/null
+++ b/ReferenceCode/ME/Include/MePeiLib.dsc
@@ -0,0 +1,30 @@
+## @file
+# Build description file for building the Libraries for PEIM
+#
+#@copyright
+# Copyright (c) 2008 - 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
+#
+
+$(PROJECT_ME_ROOT)\Guid\MeGuidLib.inf
+$(PROJECT_ME_ROOT)\Ppi\MeLibPpi.inf
+$(PROJECT_ME_ROOT)\Library\MeKernel\Pei\MeLibPei.inf
+$(PROJECT_ME_ROOT)\Library\AMT\Pei\AmtLibPei.inf
+#
+# Disable the following library if PTT is not supported
+#
+$(PROJECT_ME_ROOT)\Library\Ptt\Pei\PttHciDevicePeiLib.inf
+