diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2019-05-01 14:27:37 -0700 |
---|---|---|
committer | Michael D Kinney <michael.d.kinney@intel.com> | 2019-05-13 15:13:46 -0700 |
commit | 31a2b7d34b3e050992b33f05cea5e5411f9bf52e (patch) | |
tree | 91dc617238c30f96447e78c0ca4fe4e29a0cb6da /Platform/Intel/Vlv2TbltDevicePkg/PlatformInitPei/MchInit.c | |
parent | 27c4cbeb92322517a9c496b732769a6355f7be82 (diff) |
Platform/Vlv2TbltDevicePkg: Import Vlv2TbltDevicePkg from edk2
https://bugzilla.tianocore.org/show_bug.cgi?id=1374
Import Vlv2TbltDevicePkg from edk2/master.
Cc: Zailiang Sun <zailiang.sun@intel.com>
Cc: Yi Qian <yi.qian@intel.com>
Cc: Michael Kubacki <michael.a.kubacki@intel.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Zailiang Sun <zailiang.sun@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'Platform/Intel/Vlv2TbltDevicePkg/PlatformInitPei/MchInit.c')
-rw-r--r-- | Platform/Intel/Vlv2TbltDevicePkg/PlatformInitPei/MchInit.c | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformInitPei/MchInit.c b/Platform/Intel/Vlv2TbltDevicePkg/PlatformInitPei/MchInit.c new file mode 100644 index 00000000..7d1a20c1 --- /dev/null +++ b/Platform/Intel/Vlv2TbltDevicePkg/PlatformInitPei/MchInit.c @@ -0,0 +1,72 @@ +/** @file
+
+ Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
+
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+
+
+Module Name:
+
+
+ MchInit.c
+
+Abstract:
+
+
+--*/
+
+
+#include "PlatformEarlyInit.h"
+
+#define PSE_PAGE_SIZE 0x400000 // 4MB
+
+extern BOOLEAN ImageInMemory;
+
+
+VOID
+EfiCommonLibEnablePsePaging (
+ IN UINT32 PDBR
+ );
+
+VOID
+EfiCommonLibDisablePsePaging (
+ );
+
+/**
+
+ Initialize the MCH Thermal Sensor
+
+**/
+VOID
+InitMchThermalSensor()
+{
+}
+
+/**
+
+ Programs and enables the CRID for MCH and ICH
+
+**/
+VOID
+ProgramMchCRID(
+ IN CONST EFI_PEI_SERVICES **PeiServices
+ )
+{
+}
+
+/**
+
+ Initialize the GPIO IO selection, GPIO USE selection, and GPIO signal inversion registers
+
+**/
+VOID
+MchInit (
+ IN CONST EFI_PEI_SERVICES **PeiServices
+ )
+{
+
+ return;
+}
+
+
|