From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web10.4208.1594810144678184651 for ; Wed, 15 Jul 2020 03:49:04 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: chandana.c.kumar@intel.com) IronPort-SDR: Qen2U8gaZSbPsTWNk4j505yRE1/6vSkvWLPPHiMd4Tfb+HxGkQ9JxygZM6P8exx2vXY7LtRrPk 2N9jeV+pW1Jg== X-IronPort-AV: E=McAfee;i="6000,8403,9682"; a="233976489" X-IronPort-AV: E=Sophos;i="5.75,355,1589266800"; d="scan'208";a="233976489" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2020 03:49:03 -0700 IronPort-SDR: wQ9C/dNj+sGWdW0FkUVQ2twg2nLoACbR4PLbo/NpVPf+1+OvjCoy+zn1rB7+YZgJduACpJ7B5X mrKwXn4tIEUQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,355,1589266800"; d="scan'208";a="486200368" Received: from cckumar-desk1.gar.corp.intel.com ([10.66.179.82]) by fmsmga005.fm.intel.com with ESMTP; 15 Jul 2020 03:49:02 -0700 From: "Kumar, Chandana C" To: devel@edk2.groups.io Cc: Sai Chaganty , Chasel Chiu , Nate DeSimone Subject: [edk2-platforms: PATCH V1] MinPlatformPkg/PlatformInitPei: Date: Wed, 15 Jul 2020 16:19:00 +0530 Message-Id: <20200715104900.27552-1-chandana.c.kumar@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 Create an Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overriden using Library instance in Platform. Update ReportCpuHobLib to PlatformInitPreMem driver and dec file. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2674 Change-Id: Iad1be2612e0748d5c9a2a766cd2256dd9845ec13 Signed-off-by: Chandana Kumar Cc: Sai Chaganty Cc: Chasel Chiu Cc: Nate DeSimone --- Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec | 5 +++-- Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec index 7f74ac93..da312c86 100644 --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec @@ -6,7 +6,7 @@ # INF files to generate AutoGen.c and AutoGen.h files # for the build infrastructure. # -# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -68,7 +68,8 @@ TestPointLib|Include/Library/TestPointLib.h TestPointCheckLib|Include/Library/TestPointCheckLib.h -SetCacheMtrrLib|Include/Library/SetCacheMtrrLib.h + SetCacheMtrrLib|Include/Library/SetCacheMtrrLib.h + ReportCpuHobLib|Include/Library/ReportCpuHobLib.h [PcdsFixedAtBuild, PcdsPatchableInModule] diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf index 7ee18eb6..8e828ff2 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf @@ -1,7 +1,7 @@ ### @file # Component information file for the Platform Init Pre-Memory PEI module. # -# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -28,6 +28,7 @@ TestPointCheckLib TimerLib SetCacheMtrrLib + ReportCpuHobLib [Packages] MinPlatformPkg/MinPlatformPkg.dec -- 2.16.2.windows.1