diff options
author | Chasel, Chiu <chasel.chiu@intel.com> | 2017-11-30 22:37:57 +0800 |
---|---|---|
committer | Chasel, Chiu <chasel.chiu@intel.com> | 2017-12-06 13:10:42 +0800 |
commit | 41a8bba3b198c7a11692e4d9404a86f5684efebd (patch) | |
tree | e2157f92d0f84be987f1a6b3c088a352acf843db /Silicon/Intel/KabylakeSiliconPkg/Library/PeiSiliconPolicyInitLibDependency/PeiPreMemSiliconPolicyInitLibDependency.inf | |
parent | 0791f3e77863e3d5bceb3da1b444f80fa6095a37 (diff) | |
download | edk2-platforms-41a8bba3b198c7a11692e4d9404a86f5684efebd.tar.xz |
edk2-platforms: Pre-allocate UPD buffer before FspWrapper
Customers request to initialize/update UPD buffer outside IntelFsp2Wrapper
for better code sharing and maintenance. Use MinPlatform SiliconPolicPei
to initialize UPD buffer and pass to FspWrapper by PCD. A new library
instance introduced to add dependency to FspWrapper to ensure
dispatching ordering.
Cc: Jiewen Yao <Jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Michael A Kubacki <michael.a.kubacki@intel.com>
Reviewed-by: Amy Chan <amy.chan@intel.com>
Diffstat (limited to 'Silicon/Intel/KabylakeSiliconPkg/Library/PeiSiliconPolicyInitLibDependency/PeiPreMemSiliconPolicyInitLibDependency.inf')
-rw-r--r-- | Silicon/Intel/KabylakeSiliconPkg/Library/PeiSiliconPolicyInitLibDependency/PeiPreMemSiliconPolicyInitLibDependency.inf | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Silicon/Intel/KabylakeSiliconPkg/Library/PeiSiliconPolicyInitLibDependency/PeiPreMemSiliconPolicyInitLibDependency.inf b/Silicon/Intel/KabylakeSiliconPkg/Library/PeiSiliconPolicyInitLibDependency/PeiPreMemSiliconPolicyInitLibDependency.inf new file mode 100644 index 0000000000..fd54b0bf7d --- /dev/null +++ b/Silicon/Intel/KabylakeSiliconPkg/Library/PeiSiliconPolicyInitLibDependency/PeiPreMemSiliconPolicyInitLibDependency.inf @@ -0,0 +1,37 @@ +## @file
+# Component information file for Silicon Policy Init Library
+# This library implements NULL functions and the purpose is to add Silicon Policy PPI
+# dependency to the PEIM.
+#
+# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
+#
+# This program and the accompanying materials are licensed and made available under
+# the terms and conditions of the BSD License which accompanies this distribution.
+# The full text of the license may be found at
+# http://opensource.org/licenses/bsd-license.php
+#
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+#
+##
+
+[Defines]
+ INF_VERSION = 0x00010005
+ BASE_NAME = PeiPreMemSiliconPolicyInitLibDependency
+ FILE_GUID = EE6573D8-2F04-4F03-A997-DC962FE770C1
+ MODULE_TYPE = PEIM
+ VERSION_STRING = 1.0
+ LIBRARY_CLASS = SiliconPolicyInitLib
+
+[LibraryClasses]
+ BaseLib
+
+[Packages]
+ MdePkg/MdePkg.dec
+ KabylakeSiliconPkg/SiPkg.dec
+
+[Sources]
+ PeiSiliconPolicyInitLibDependency.c
+
+[Depex]
+ gSiPreMemPolicyPpiGuid
|