From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 82AFCAC1AE2 for ; Thu, 14 Sep 2023 22:39:02 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=7TDrAFSLctSSDwi8nUsVhr0QhYq8n2S6eOBxdHhktOA=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1694731141; v=1; b=TdxTvPeIOCoJw6yfhNdBIccb6SFcocP7GYfI+sDO5onByng94kufn/OfI55rbD4hHR0ZNnlY vA1EGq/edLkIkgN3eIOFE5j4RpI1P8J2qod6UWjRRl7r4kkU/8iS1Z0FhatxXhgHkQrWOYxtEp0 IAXTxvkdzzxdLiQ+1gCSaOJ8= X-Received: by 127.0.0.2 with SMTP id IUN1YY7687511x6xBdZSaB0u; Thu, 14 Sep 2023 15:39:01 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web10.8449.1694731139889457108 for ; Thu, 14 Sep 2023 15:39:00 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="445542680" X-IronPort-AV: E=Sophos;i="6.02,147,1688454000"; d="scan'208";a="445542680" X-Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2023 15:23:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="991545727" X-IronPort-AV: E=Sophos;i="6.02,147,1688454000"; d="scan'208";a="991545727" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 14 Sep 2023 15:23:37 -0700 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Thu, 14 Sep 2023 15:23:37 -0700 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Thu, 14 Sep 2023 15:23:36 -0700 X-Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Thu, 14 Sep 2023 15:23:36 -0700 X-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.172) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Thu, 14 Sep 2023 15:23:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fm/j/wlOTqup57+67HHCHvJbwBRnMMhhtpESAKUkuzbLI7Z+gIY29St3n+F+HVS30RF/0jxuMpOk57GzHlsL/kdrNanPkFTOlUOarQcruJtp2kIavnqxjvNTxdoPDYVPdrz7DonAtYTnAk7TqMQkcH97bBJFwKO5sESkU2lN/NF8jgz7U9T3OgEN9yAo5pQUR5XD0jia7tVpd7QxJc6PpVN5ZunhMKRZMvoOaxskNVPZwMo6UWYvr2rruLTeN44rz8Ww3qg1pniONNfAUvBKCsHUTpQfKM+bSb0wS7dWhEc7XVOSMi940glSAJyji7R847Gz5fb+CvmdyFVKO90rDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pV+sXmTgoswVr02nfvsAlNVCPr5pdlswMQrzcQBe/+Y=; b=nt86pLHmMToLlPkPFMeJhGbU9VmvdQzc4H/p9ZJ3Yg7kzZ0qQQoxHyeFaov152nVPEqBTWionMha03CfY5d/y38+qdCsL4GrgAvuw7HXW1irb/A8h0m1aN7t28B+BHq10NerOsNg/XN/7sKca1MgX3kV83Dl1QtDStg1jfnwPWbrsSzjQDTb8t+2IpIjQ+Uc4WMAajQfd7Fs6RE7C8Btq7Pad+yJ3sv9y/g54UvK0K0ay/XD6SxZL9ZH4H9S58IRACJCkG7CTcmTikQl491OKOmQIToCgTDm6RF/w3auhCjgT6RA4CK3pcRmHI1qzoI/cUdNUZgmcFGje0Qjj/IrTQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from MW4PR11MB5776.namprd11.prod.outlook.com (2603:10b6:303:183::9) by PH0PR11MB5205.namprd11.prod.outlook.com (2603:10b6:510:3d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.20; Thu, 14 Sep 2023 22:23:32 +0000 X-Received: from MW4PR11MB5776.namprd11.prod.outlook.com ([fe80::2ec0:108e:7afe:f1a4]) by MW4PR11MB5776.namprd11.prod.outlook.com ([fe80::2ec0:108e:7afe:f1a4%5]) with mapi id 15.20.6768.029; Thu, 14 Sep 2023 22:23:32 +0000 From: "Chaganty, Rangasai V" To: "Kasbekar, Saloni" , "devel@edk2.groups.io" CC: "Desimone, Nathaniel L" , "Chuang, Rosen" Subject: Re: [edk2-devel] [PATCH 10/10] AlderlakeSiliconPkg: Add Alderlake Product and SiPkg.dec Thread-Topic: [PATCH 10/10] AlderlakeSiliconPkg: Add Alderlake Product and SiPkg.dec Thread-Index: AQHZ5o+yAYHrnSA8eUy/c0Q+h+KeerAa5wmQ Date: Thu, 14 Sep 2023 22:23:32 +0000 Message-ID: References: <6516de72a4bf2d741fabe468015fbf9bba895f34.1694643161.git.saloni.kasbekar@intel.com> In-Reply-To: <6516de72a4bf2d741fabe468015fbf9bba895f34.1694643161.git.saloni.kasbekar@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5776:EE_|PH0PR11MB5205:EE_ x-ms-office365-filtering-correlation-id: 315f754f-c78d-4bc1-502d-08dbb5713aa7 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: HTL2wsqzqwu+SskO3PsBYTN0UYOmj+Y+nPqX+7FB9Jb/RFUj8Avu96j22gpq4WSV0uTxxelvDYDuRbo2Lua34PIdtlAY0/FO7qqLj+R5rFt1xqhrj6R3ZSdBPPZMNsd4yf+oOga/8FrjhAsI09Oh8r/PZ01S/Sf6p4rJqQHNwU26piZfITbl/m4k6q8kZaFMVofFEvEJ1qQvp6zNxbbCGU9xi6lvcAlJ9MTrIvyR2eqm/mHA63ZlMbWi1wlLM04/4AcD+QpGp+shzFJ5JYG1IRPHMs1uK7kQHKAH+h4fHpOsFU8F4tB5D2IF/RWUWj2nyGmDTgaQiGN5BTe69RMorC2Z2FoIHO4Crom00cw4uKzP3NIDHZvK5IQviN+jxYlDoFR6XnYsds2w6t8Ia+W8M5JnYWa2UBGy/aNnsxQMAVx32AlflmfLAQ5JtR+PZk6DkviW/CCrQaC7r7edZ/kas7s7oFmgBzAjdk0sjSbg17DZsl4VZMcEu96nNVFU80qd6X10MjH+BTIXc/5Se/ulHd6l62H3oHwGzoSTakviPKNJui38i3Bo87DZnRlKitwgHPfIfuLHikBSKKTAFucCJATpT3vXK8S+xlMDTTtqSKBhOq7LFK7n9eXwqOUgYgiJ x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?IAFbQDxBhZiXez/PR1rfsQTsOWW/zCHoM4GqyhE2uykT90CzIrPokXtIdyR/?= =?us-ascii?Q?izBP1N87pMqrBVhpqp9jMBnLz9M5W6xX4/5dHh7G9l2nr7EMu0eIiFktVoAw?= =?us-ascii?Q?W533CTElXSZhQr/sO7yA83yJxNF7Uy2odj7riK5mhqDpIOvw/Ytd7HHfOjet?= =?us-ascii?Q?yARg+ew5LPSrETmRWBpDIslxGPHo9Y/V8fj9OR9blt00JlM2p+o/LCm8sokE?= =?us-ascii?Q?whzcykjhYaXLg2p9GH1CCSfMal8xAtApUWfWqgvifDL0hwE3ygOUrK+x2CJZ?= =?us-ascii?Q?YA/3xF2wfxGLDJssWlJkL9auQdFoFoqkiMrPA97cXdWUDuE6Z5Lm0WGKjgzA?= =?us-ascii?Q?ZV9yt04Ga9VI7H4Juz4EB/pPZBxs86hI6Y4gElt75RYqZFDoclVUfSpA+8mr?= =?us-ascii?Q?CfbGZbGqQg8LSf1cLa7ybWp7r+UKIa36Q/U7J+2KjvKMtYillN0w1tSWJ7Ss?= =?us-ascii?Q?6445GOFNMW8GQ+TCYB/5p597QMYYm/hV/Ed7+52121IJujYeYVctriqIZKW6?= =?us-ascii?Q?Y4zeS3p5Dr7T2hC7peCPnTbQYeoXRz9sPOsOMecvLp6k7Bs1QR3phsjWrruv?= =?us-ascii?Q?gYcPVUFyd2ObcPAxZ+clbhUxjOFm6qbHpW8VcFZLxSHPskF18Pq3o25vyfsW?= =?us-ascii?Q?BZumPR7xnP2LJ/KsHTZiUe366UV0QYpuLgv50cHUC5zxz5lWBPiRzth1kNrC?= =?us-ascii?Q?myDLjQt2j7S6SrZV2KjAfKBWL8yjgZZoAV0Gqoh81QzWrsumQI47BpJvrOKL?= =?us-ascii?Q?cBhJiDVTr8VyJ6S51Um51CKRHf2tUgXdM9XLVm8z3E/qs5roDFo/IrsSOvyL?= =?us-ascii?Q?zXq9NC3AEMuift3VhQNxbjZPRxJsz8vPZoGVi040iUT8zB8ft4bLIlBuqYzS?= =?us-ascii?Q?T8rqwgROW0XLsbPmINC+OKiEdtY/V/de7mwGi905oL4GD9x52Zl2ssgf8a2K?= =?us-ascii?Q?PElQGVWcRRQx7ZvQ3pZf0VXHGNfmUmQDQEVs7rWofofBuybqwCBeg9AeDjgP?= =?us-ascii?Q?aqu9oXGMDf267B3k5LrFUebSYf8zMHkZ9kpkbUC3OPSOPg5Dbam/ZASEtdL1?= =?us-ascii?Q?gpNcx2zLXSAiqRuHJ957w7eEjHii6rZKCRn4qX38SIr6AzSAm2XTcISw+Kuy?= =?us-ascii?Q?5Sxe4nAhRD/ZraglQriobBwLY6Xlu32DDsvE6HeauFTCsqJG+X/zTYvzLjnc?= =?us-ascii?Q?cBtUmtq6QCdAD50Pg3T6WIJHtvvDa23oiTgE9DP1Vq8TiD9wgEr2melOqG9A?= =?us-ascii?Q?RoCIKicUhptu9xs7gnsuy5t2QZJhkgFR1CdRJvxNzW2czTV1fv3O/PJS8Xrw?= =?us-ascii?Q?Vgvdl7/+2qWzLepTudgXvGFVRzJEmvXf2t5yY1EJIOiJYYHpeIJOvr9b07EJ?= =?us-ascii?Q?cz7ph6orzsm6kQFsDXOrss9xEREIkFxk3NEloopFgHKAA7hH5Q/+aY/nS7E2?= =?us-ascii?Q?w4uIaDBLErPTU28OcXx6dYd/rwoGpftgiQpiA26/Soo21LPTidb/ToOWeabI?= =?us-ascii?Q?EyxqJlEkbbcDPzyQLBUx5rGVx8iStFlZgsiSeeOEZDoFCPDjRzOW3DjMw/LJ?= =?us-ascii?Q?sul626CYGoIVC/4/2bFukOvZ0FKACdVCTuTfCm2U0jT4nHRNzBvZjjWzD5vb?= =?us-ascii?Q?9A=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5776.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 315f754f-c78d-4bc1-502d-08dbb5713aa7 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2023 22:23:32.2627 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TU6PHMpX43ts84vfn80KlY0HpJEsxWkLSCBtLAHufWZT3P2CCf5IaTqRHeVcqlWiDDU6hkSusSm+KXkMZjRPj9EBr5NKPO5aDHFD+Bov+sM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5205 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rangasai.v.chaganty@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: W0vLNRhIHPMP6X1w3KSRF1pPx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=TdxTvPeI; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Reviewed-by: Sai Chaganty -----Original Message----- From: Kasbekar, Saloni =20 Sent: Wednesday, September 13, 2023 3:14 PM To: devel@edk2.groups.io Cc: Kasbekar, Saloni ; Chaganty, Rangasai V ; Desimone, Nathaniel L ; Chuang, Rosen Subject: [PATCH 10/10] AlderlakeSiliconPkg: Add Alderlake Product and SiPkg= .dec Adds the following modules: - Product/Alderlake/Include - Product/Alderlake/Library - Product/Alderlake DSCs - SiPkg.dec Cc: Sai Chaganty Cc: Nate DeSimone Cc: Rosen Chuang Signed-off-by: Saloni Kasbekar --- .../Product/Alderlake/Include/Ppi/SiPolicy.h | 55 ++ .../Library/PeiSiPolicyLib/PeiSiPolicyLib.c | 47 ++ .../Library/PeiSiPolicyLib/PeiSiPolicyLib.inf | 47 ++ .../PeiSiPolicyLib/PeiSiPolicyLibPreMem.c | 47 ++ .../PeiSiPolicyLib/PeiSiPolicyLibrary.h | 21 + .../Product/Alderlake/SiPkgBuildOption.dsc | 122 ++++ .../Product/Alderlake/SiPkgCommonLib.dsc | 36 + .../Product/Alderlake/SiPkgDxe.dsc | 32 + .../Product/Alderlake/SiPkgDxeLib.dsc | 23 + .../Product/Alderlake/SiPkgPeiLib.dsc | 19 + Silicon/Intel/AlderlakeSiliconPkg/SiPkg.dec | 625 ++++++++++++++++++ 11 files changed, 1074 insertions(+) create mode 100644 Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Inc= lude/Ppi/SiPolicy.h create mode 100644 Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Lib= rary/PeiSiPolicyLib/PeiSiPolicyLib.c create mode 100644 Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Lib= rary/PeiSiPolicyLib/PeiSiPolicyLib.inf create mode 100644 Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Lib= rary/PeiSiPolicyLib/PeiSiPolicyLibPreMem.c create mode 100644 Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Lib= rary/PeiSiPolicyLib/PeiSiPolicyLibrary.h create mode 100644 Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiP= kgBuildOption.dsc create mode 100644 Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiP= kgCommonLib.dsc create mode 100644 Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiP= kgDxe.dsc create mode 100644 Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiP= kgDxeLib.dsc create mode 100644 Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiP= kgPeiLib.dsc create mode 100644 Silicon/Intel/AlderlakeSiliconPkg/SiPkg.dec diff --git a/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Include/Pp= i/SiPolicy.h b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Include/= Ppi/SiPolicy.h new file mode 100644 index 0000000000..703f0221bd --- /dev/null +++ b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Include/Ppi/Si +++ Policy.h @@ -0,0 +1,55 @@ +/** @file + Silicon Policy PPI is used for specifying platform + related Intel silicon information and policy setting. + This PPI is consumed by the silicon PEI modules and carried + over to silicon DXE modules. + + Copyright (c) 2022, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent **/ + +#ifndef _SI_POLICY_PPI_H_ +#define _SI_POLICY_PPI_H_ + +#include +#include +#include +#include +#include +#include +#include + +#ifndef DISABLED +#define DISABLED 0 +#endif +#ifndef ENABLED +#define ENABLED 1 +#endif + +extern EFI_GUID gSiPreMemPolicyPpiGuid; extern EFI_GUID=20 +gSiPolicyPpiGuid; + + +#include + + +#include +#include +extern EFI_GUID gCpuPciePeiPreMemConfigGuid; extern EFI_GUID=20 +gCpuPcieRpConfigGuid; + +#include +extern EFI_GUID gMemoryConfigGuid; +extern EFI_GUID gMemoryConfigNoCrcGuid; + +#include +extern EFI_GUID gSaMiscPeiPreMemConfigGuid; + +#include +extern EFI_GUID gHostBridgePeiPreMemConfigGuid; extern EFI_GUID=20 +gHostBridgePeiConfigGuid; + +typedef struct _SI_PREMEM_POLICY_STRUCT SI_PREMEM_POLICY_PPI; typedef=20 +struct _SI_POLICY_STRUCT SI_POLICY_PPI; + +#endif // _SI_POLICY_PPI_H_ diff --git a/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Library/Pe= iSiPolicyLib/PeiSiPolicyLib.c b/Silicon/Intel/AlderlakeSiliconPkg/Product/A= lderlake/Library/PeiSiPolicyLib/PeiSiPolicyLib.c new file mode 100644 index 0000000000..886415bdaa --- /dev/null +++ b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Library/PeiSiP +++ olicyLib/PeiSiPolicyLib.c @@ -0,0 +1,47 @@ +/** @file + This file is PeiSiPolicyLib library creates default settings of RC + Policy and installs RC Policy PPI. + + Copyright (c) 2022, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include=20 +"PeiSiPolicyLibrary.h" +#include +#include + + +/** + SiInstallPolicyReadyPpi installs SiPolicyReadyPpi. + While installed, RC assumes the Policy is ready and finalized. So=20 +please update and override + any setting before calling this function. + + @retval EFI_SUCCESS The policy is installed. + @retval EFI_OUT_OF_RESOURCES Insufficient resources to create buffer +**/ +EFI_STATUS +EFIAPI +SiInstallPolicyReadyPpi ( + VOID + ) +{ + EFI_STATUS Status; + EFI_PEI_PPI_DESCRIPTOR *SiPolicyReadyPpiDesc; + + SiPolicyReadyPpiDesc =3D (EFI_PEI_PPI_DESCRIPTOR *) AllocateZeroPool=20 + (sizeof (EFI_PEI_PPI_DESCRIPTOR)); if (SiPolicyReadyPpiDesc =3D=3D NULL)= { + ASSERT (FALSE); + return EFI_OUT_OF_RESOURCES; + } + + SiPolicyReadyPpiDesc->Flags =3D EFI_PEI_PPI_DESCRIPTOR_PPI |=20 + EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST; + SiPolicyReadyPpiDesc->Guid =3D &gSiPolicyReadyPpiGuid; + SiPolicyReadyPpiDesc->Ppi =3D NULL; + + // + // Install Silicon Policy Ready PPI + // + Status =3D PeiServicesInstallPpi (SiPolicyReadyPpiDesc); + ASSERT_EFI_ERROR (Status); + return Status; +} + diff --git a/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Library/Pe= iSiPolicyLib/PeiSiPolicyLib.inf b/Silicon/Intel/AlderlakeSiliconPkg/Product= /Alderlake/Library/PeiSiPolicyLib/PeiSiPolicyLib.inf new file mode 100644 index 0000000000..7dab1ff510 --- /dev/null +++ b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Library/PeiSiP +++ olicyLib/PeiSiPolicyLib.inf @@ -0,0 +1,47 @@ +## @file +# Component description file for the PeiSiPolicyLib library. +# +# Copyright (c) 2022, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## + + +[Defines] +INF_VERSION =3D 0x00010017 +BASE_NAME =3D PeiSiPolicyLib +FILE_GUID =3D 97584FAE-9299-4202-9889-2D339E4BFA5B +VERSION_STRING =3D 1.0 +MODULE_TYPE =3D PEIM +LIBRARY_CLASS =3D SiPolicyLib + + +[LibraryClasses] +DebugLib +IoLib +PeiServicesLib +BaseMemoryLib +MemoryAllocationLib +ConfigBlockLib +PcdLib +CpuPlatformLib + +[Packages] +MdePkg/MdePkg.dec +AlderlakeSiliconPkg/SiPkg.dec + +[Sources] +PeiSiPolicyLib.c +PeiSiPolicyLibrary.h +PeiSiPolicyLibPreMem.c + + +[Guids] +gSiConfigGuid ## CONSUMES +gSiPreMemConfigGuid ## CONSUMES +gPciePreMemConfigGuid ## CONSUMES + +[Ppis] +gSiPolicyPpiGuid ## PRODUCES +gSiPreMemPolicyPpiGuid ## PRODUCES +gSiPolicyReadyPpiGuid ## CONSUMES +gSiPreMemPolicyReadyPpiGuid ## CONSUMES diff --git a/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Library/Pe= iSiPolicyLib/PeiSiPolicyLibPreMem.c b/Silicon/Intel/AlderlakeSiliconPkg/Pro= duct/Alderlake/Library/PeiSiPolicyLib/PeiSiPolicyLibPreMem.c new file mode 100644 index 0000000000..93bffac2b0 --- /dev/null +++ b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Library/PeiSiP +++ olicyLib/PeiSiPolicyLibPreMem.c @@ -0,0 +1,47 @@ +/** @file + This file is PeiSiPolicyLib library creates default settings of RC + Policy and installs RC Policy PPI. + + Copyright (c) 2022, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include=20 +"PeiSiPolicyLibrary.h" +#include +#include +#include +#include + +/** + SiPreMemInstallPolicyReadyPpi installs SiPreMemPolicyReadyPpi. + While installed, RC assumes the Policy is ready and finalized. So=20 +please update and override + any setting before calling this function. + + @retval EFI_SUCCESS The policy is installed. + @retval EFI_OUT_OF_RESOURCES Insufficient resources to create buffer +**/ +EFI_STATUS +EFIAPI +SiPreMemInstallPolicyReadyPpi ( + VOID + ) +{ + EFI_STATUS Status; + EFI_PEI_PPI_DESCRIPTOR *SiPolicyReadyPreMemPpiDesc; + + SiPolicyReadyPreMemPpiDesc =3D (EFI_PEI_PPI_DESCRIPTOR *)=20 + AllocateZeroPool (sizeof (EFI_PEI_PPI_DESCRIPTOR)); if (SiPolicyReadyPre= MemPpiDesc =3D=3D NULL) { + ASSERT (FALSE); + return EFI_OUT_OF_RESOURCES; + } + + SiPolicyReadyPreMemPpiDesc->Flags =3D EFI_PEI_PPI_DESCRIPTOR_PPI |=20 + EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST; + SiPolicyReadyPreMemPpiDesc->Guid =3D &gSiPreMemPolicyReadyPpiGuid; + SiPolicyReadyPreMemPpiDesc->Ppi =3D NULL; + + // + // Install PreMem Silicon Policy Ready PPI + // + Status =3D PeiServicesInstallPpi (SiPolicyReadyPreMemPpiDesc); + ASSERT_EFI_ERROR (Status); + return Status; +} diff --git a/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Library/Pe= iSiPolicyLib/PeiSiPolicyLibrary.h b/Silicon/Intel/AlderlakeSiliconPkg/Produ= ct/Alderlake/Library/PeiSiPolicyLib/PeiSiPolicyLibrary.h new file mode 100644 index 0000000000..aac24cf187 --- /dev/null +++ b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/Library/PeiSiP +++ olicyLib/PeiSiPolicyLibrary.h @@ -0,0 +1,21 @@ +/** @file + Header file for the PeiSiPolicyLib library. + + Copyright (c) 2022, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef=20 +_PEI_SI_POLICY_LIBRARY_H_ #define _PEI_SI_POLICY_LIBRARY_H_ + +#include +#include +#include +#include +#include #include=20 + #include #include=20 + + + + +#endif // _PEI_SI_POLICY_LIBRARY_H_ diff --git a/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgBuild= Option.dsc b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgBuild= Option.dsc new file mode 100644 index 0000000000..290d6eb885 --- /dev/null +++ b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgBuildOpti +++ on.dsc @@ -0,0 +1,122 @@ +## @file +# Silicon build option configuration file. +# +# Copyright (c) 2022, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +[BuildOptions] +# Define Build Options both for EDK and EDKII drivers. + +# SA +!if gSiPkgTokenSpaceGuid.PcdAdlLpSupport =3D=3D TRUE DEFINE=20 +PCH_BUILD_OPTIONS =3D -DPCH_ADPP !else DEFINE PCH_BUILD_OPTIONS =3D=20 +-DPCH_ADL !endif # # SA # !if gSiPkgTokenSpaceGuid.PcdBdatEnable =3D=3D=20 +TRUE + DEFINE BDAT_BUILD_OPTION =3D -DBDAT_SUPPORT=3D1 !else + DEFINE BDAT_BUILD_OPTION =3D +!endif + + DEFINE SLE_BUILD_OPTIONS =3D +!if $(TARGET) =3D=3D RELEASE +!if gSiPkgTokenSpaceGuid.PcdSiCatalogDebugEnable =3D=3D TRUE + DEFINE DEBUG_BUILD_OPTIONS =3D +!else + # MDEPKG_NDEBUG is introduced for the intention + # of size reduction when compiler optimization is disabled. If=20 +MDEPKG_NDEBUG is + # defined, then debug and assert related macros wrapped by it are the NU= LL implementations. + DEFINE DEBUG_BUILD_OPTIONS =3D -DMDEPKG_NDEBUG !endif !else + DEFINE DEBUG_BUILD_OPTIONS =3D +!endif + +!if ($(TARGET) =3D=3D RELEASE) AND=20 +(gSiPkgTokenSpaceGuid.PcdSiCatalogDebugEnable =3D=3D TRUE) + DEFINE RELEASE_CATALOG_BUILD_OPTIONS =3D -DRELEASE_CATALOG !else + DEFINE RELEASE_CATALOG_BUILD_OPTIONS =3D !endif + +!if gSiPkgTokenSpaceGuid.PcdOptimizeCompilerEnable =3D=3D FALSE + DEFINE OPTIMIZE_DISABLE_OPTIONS =3D -Od -GL- !else + DEFINE OPTIMIZE_DISABLE_OPTIONS =3D +!endif + + DEFINE HSLE_BUILD_OPTIONS =3D + + +DEFINE CPU_FLAGS =3D -DCPU_ADL + + +DEFINE DSC_SIPKG_FEATURE_BUILD_OPTIONS =3D $(BDAT_BUILD_OPTION)=20 +$(DEBUG_BUILD_OPTIONS) DEFINE DSC_SIPKG_FEATURE_BUILD_OPTIONS =3D=20 +$(DSC_SIPKG_FEATURE_BUILD_OPTIONS) $(PCH_BUILD_OPTIONS) $(CPU_FLAGS)=20 +$(HSLE_BUILD_OPTIONS) + +!if gSiPkgTokenSpaceGuid.PcdSourceDebugEnable =3D=3D TRUE + *_*_X64_GENFW_FLAGS =3D --keepexceptiontable !endif + +[BuildOptions.Common.EDKII] + +# +# For IA32 Global Build Flag +# + *_*_IA32_CC_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) -D PI= _SPECIFICATION_VERSION=3D0x00010015 -DASF_PEI + *_*_IA32_VFRPP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) + *_*_IA32_APP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) + *_*_IA32_ASLPP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) + *_*_IA32_ASLCC_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) + +# +# For IA32 Specific Build Flag +# +CLANGPDB:*_*_IA32_CC_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) -D PI= _SPECIFICATION_VERSION=3D0x00010015 -DASF_PEI -Wno-enum-conversion -Wno-inc= ompatible-pointer-types-discards-qualifiers -Wno-sometimes-uninitialized -W= no-braced-scalar-init -Wno-nonportable-include-path -Wno-misleading-indenta= tion +GCC: *_*_IA32_PP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) +MSFT: *_*_IA32_ASM_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) +MSFT: *_*_IA32_CC_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) $(OPT= IMIZE_DISABLE_OPTIONS) -D PI_SPECIFICATION_VERSION=3D0x00010015 -DASF_PEI /= w34668 +MSFT: *_*_IA32_VFRPP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) $(OPT= IMIZE_DISABLE_OPTIONS) +MSFT: *_*_IA32_APP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) $(OPT= IMIZE_DISABLE_OPTIONS) +MSFT: *_*_IA32_ASLPP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) $(OPT= IMIZE_DISABLE_OPTIONS) +MSFT: *_*_IA32_ASLCC_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) $(OPT= IMIZE_DISABLE_OPTIONS) + +# +# For X64 Global Build Flag +# + *_*_X64_CC_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) -D PI= _SPECIFICATION_VERSION=3D0x00010015 + *_*_X64_VFRPP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) + *_*_X64_APP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) + *_*_X64_ASLPP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) + *_*_X64_ASLCC_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) + +# +# For X64 Specific Build Flag +# +CLANGPDB:*_*_X64_CC_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) -D PI= _SPECIFICATION_VERSION=3D0x00010015 -Wno-enum-conversion -Wno-main-return-t= ype -Wno-incompatible-pointer-types -Wno-implicit-function-declaration -Wno= -unused-variable -Wno-incompatible-pointer-types-discards-qualifiers -Wno-i= gnored-pragma-optimize -Wno-bitwise-op-parentheses -Wno-sometimes-uninitia= lized -Wno-unused-function -Wno-misleading-indentation +GCC: *_*_X64_PP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) +MSFT: *_*_X64_ASM_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) +MSFT: *_*_X64_CC_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) $(OPT= IMIZE_DISABLE_OPTIONS) -D PI_SPECIFICATION_VERSION=3D0x00010015 /w34668 +MSFT: *_*_X64_VFRPP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) $(OPT= IMIZE_DISABLE_OPTIONS) +MSFT: *_*_X64_APP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) $(OPT= IMIZE_DISABLE_OPTIONS) +MSFT: *_*_X64_ASLPP_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) +MSFT: *_*_X64_ASLCC_FLAGS =3D $(DSC_SIPKG_FEATURE_BUILD_OPTIONS) + +# +# For Xcode Specific Build Flag +# +# Override assembly code build order +*_XCODE5_*_*_BUILDRULEORDER =3D nasm S s +# Align 47bfbd7f8069e523798ef973c8eb0abd5c6b0746 to fix the usage of=20 +VA_START in undefined way *_XCODE5_*_CC_FLAGS =3D -Wno-varargs + +# Force PE/COFF sections to be aligned at 4KB boundaries to support=20 +page level protection of runtime modules [BuildOptions.common.EDKII.DXE_RU= NTIME_DRIVER] + MSFT: *_*_*_DLINK_FLAGS =3D /ALIGN:4096 + GCC: *_GCC*_*_DLINK_FLAGS =3D -z common-page-size=3D0x1000 + + diff --git a/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgCommo= nLib.dsc b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgCommonL= ib.dsc new file mode 100644 index 0000000000..69eca2ecc1 --- /dev/null +++ b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgCommonLib +++ .dsc @@ -0,0 +1,36 @@ +## @file +# Component description file for the AlderLake SiPkg both Pei and Dxe lib= raries DSC file. +# +# Copyright (c) 2022, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## +# +# +# FRUs +# +!include $(PLATFORM_SI_PACKAGE)/Fru/AdlCpu/CommonLib.dsc +!include $(PLATFORM_SI_PACKAGE)/Fru/AdlPch/CommonLib.dsc +# +# Common +# + PciSegmentLib|$(PLATFORM_SI_PACKAGE)/Library/BasePciSegmentMultiSegLib + PciSegmentLib|Pci/BasePciSegmentMultiSegLibPci.inf + +# +# Cpu +# + CpuPlatformLib|$(PLATFORM_SI_PACKAGE)/Cpu/Library/PeiDxeSmmCpuPlatform + CpuPlatformLib|Lib/PeiDxeSmmCpuPlatformLib.inf + +# +# Pch +# + PchCycleDecodingLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/PeiDxeSmmPchCyc + PchCycleDecodingLib|leDecodingLib/PeiDxeSmmPchCycleDecodingLib.inf + + ResetSystemLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/BaseResetSystemLib/B + ResetSystemLib|aseResetSystemLib.inf +#private + GpioPrivateLib|$(PLATFORM_SI_PACKAGE)/IpBlock/Gpio/LibraryPrivate/PeiD + GpioPrivateLib|xeSmmGpioPrivateLib/PeiDxeSmmGpioPrivateLibVer2.inf + PchPciBdfLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/BasePchPciBdfLib/BaseP + PchPciBdfLib|chPciBdfLib.inf + +# +# SA +# + GraphicsInfoLib|$(PLATFORM_SI_PACKAGE)/IpBlock/Graphics/Library/PeiDxe + GraphicsInfoLib|SmmGraphicsInfoLib/GraphicsInfoLibVer1.inf diff --git a/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgDxe.d= sc b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgDxe.dsc new file mode 100644 index 0000000000..97e63dcc96 --- /dev/null +++ b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgDxe.dsc @@ -0,0 +1,32 @@ +## @file +# Component description file for the AlderLake SiPkg DXE drivers. +# +# Copyright (c) 2022, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +# +# FRUs +# +!include $(PLATFORM_SI_PACKAGE)/Fru/AdlPch/Dxe.dsc +# +# Common +# + +# +# Pch +# + $(PLATFORM_SI_PACKAGE)/Pch/SmmControl/RuntimeDxe/SmmControl.inf + + $(PLATFORM_SI_PACKAGE)/Pch/PchSmiDispatcher/Smm/PchSmiDispatcher.inf{ + + =20 + SmiHandlerProfileLib|MdePkg/Library/SmiHandlerProfileLibNull/SmiHandle + rProfileLibNull.inf + } + +# +# SystemAgent +# + $(PLATFORM_SI_PACKAGE)/SystemAgent/SaInit/Dxe/SaInitDxe.inf + + + diff --git a/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgDxeLi= b.dsc b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgDxeLib.dsc new file mode 100644 index 0000000000..37876cbfc4 --- /dev/null +++ b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgDxeLib.ds +++ c @@ -0,0 +1,23 @@ +# @file +# Component description file for the AlderLake SiPkg DXE libraries. +# +# Copyright (c) 2022, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +# +# FRUs +# +!include $(PLATFORM_SI_PACKAGE)/Fru/AdlCpu/DxeLib.dsc +!include $(PLATFORM_SI_PACKAGE)/Fru/AdlPch/DxeLib.dsc + +# +# Common +# + AslUpdateLib|IntelSiliconPkg/Library/DxeAslUpdateLib/DxeAslUpdateLib.i + AslUpdateLib|nf + SiConfigBlockLib|$(PLATFORM_SI_PACKAGE)/Library/BaseSiConfigBlockLib/B + SiConfigBlockLib|aseSiConfigBlockLib.inf + +# +# SystemAgent +# + DxeSaPolicyLib|$(PLATFORM_SI_PACKAGE)/SystemAgent/Library/DxeSaPolicyL + DxeSaPolicyLib|ib/DxeSaPolicyLib.inf diff --git a/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgPeiLi= b.dsc b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgPeiLib.dsc new file mode 100644 index 0000000000..21e6ff3851 --- /dev/null +++ b/Silicon/Intel/AlderlakeSiliconPkg/Product/Alderlake/SiPkgPeiLib.ds +++ c @@ -0,0 +1,19 @@ +## @file +# Component description file for the AlderLake SiPkg PEI libraries. +# +# Copyright (c) 2022, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +# +# FRUs +# +!include $(PLATFORM_SI_PACKAGE)/Fru/AdlPch/PeiLib.dsc + + + SiPolicyLib|$(PLATFORM_SI_PACKAGE)/Product/Alderlake/Library/PeiSiPoli + SiPolicyLib|cyLib/PeiSiPolicyLib.inf + SiConfigBlockLib|$(PLATFORM_SI_PACKAGE)/Library/BaseSiConfigBlockLib/B + SiConfigBlockLib|aseSiConfigBlockLib.inf + + + + diff --git a/Silicon/Intel/AlderlakeSiliconPkg/SiPkg.dec b/Silicon/Intel/Al= derlakeSiliconPkg/SiPkg.dec new file mode 100644 index 0000000000..ce9cfe599a --- /dev/null +++ b/Silicon/Intel/AlderlakeSiliconPkg/SiPkg.dec @@ -0,0 +1,625 @@ +## @file +# Component description file for the Silicon Reference Code. +# +# Copyright (c) 2022, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## + + +[Defines] +DEC_SPECIFICATION =3D 0x00010017 +PACKAGE_NAME =3D SiPkg +PACKAGE_VERSION =3D 0.1 +PACKAGE_GUID =3D F245E276-44A0-46b3-AEB5-9898BBCF008D + +[Includes.Common.Private] + +# +# AlderLake Fru +# +Fru/AdlCpu/IncludePrivate +Fru/AdlPch/IncludePrivate + +## +# IpBlock IncludePrivate +# +IpBlock/Pmc/IncludePrivate +IpBlock/Graphics/IncludePrivate +IpBlock/PchDmi/IncludePrivate +IpBlock/P2sb/IncludePrivate +IpBlock/Spi/IncludePrivate +IpBlock/Gpio/IncludePrivate +IpBlock/HostBridge/IncludePrivate + +# Cpu +Cpu/IncludePrivate + +IncludePrivate + +[Includes] +Product/Alderlake/Include +# +# AlderLake +# +Fru/AdlCpu/Include +Fru/AdlPch/Include + + +# CPU PCIe +IpBlock/CpuPcieRp/Include + +# +# - Memory +Include/ConfigBlock/Memory/Ver2 +# +# - Graphics +Include/ConfigBlock/Graphics/Gen12 +IpBlock/Graphics/Include + +# +# - CPU PCIe +Include/ConfigBlock/CpuPcieRp/Gen4 + +# +# HostBridge +# +Include/ConfigBlock/HostBridge/Ver1 + +Include +# +# SystemAgent +# +SystemAgent/Include +Include/ConfigBlock/PcieRp +Include/ConfigBlock/Vmd +Include/ConfigBlock/CpuPcieRp/Gen4 +Include/ConfigBlock/CpuPcieRp/Gen3 + +# +# Cpu +# +Cpu/Include + + +# +# Pch +# +Pch/Include +Include/ConfigBlock/Espi +Include/ConfigBlock/Smbus +Include/ConfigBlock/Pmc +Include/ConfigBlock/PchDmi +Include/ConfigBlock/Wdt +Include/ConfigBlock/PcieRp/PchPcieRp +Include/ConfigBlock/PcieRp +Include/ConfigBlock/SerialIo + +[Guids.common.Private] +# +# PCH +# +gGpioLibUnlockHobGuid =3D { 0xA7892E49, 0x0F9F, 0x4166, { 0xB8, 0xD= 6, 0x8A, 0x9B, 0xD9, 0x8B, 0x17, 0x38 }} + +[Guids] +gSmbiosProcessorInfoHobGuid =3D {0xe6d73d92, 0xff56, 0x4146, {0xaf= , 0xac, 0x1c, 0x18, 0x81, 0x7d, 0x68, 0x71}} +gSmbiosCacheInfoHobGuid =3D {0xd805b74e, 0x1460, 0x4755, {0xbb= , 0x36, 0x1e, 0x8c, 0x8a, 0xd6, 0x78, 0xd7}} + +## +## MdeModulePkg +## +gEfiMemoryTypeInformationGuid =3D {0x4c19049f, 0x4137, 0x4dd3, {0x9c,=20 +0x10, 0x8b, 0x97, 0xa8, 0x3f, 0xfd, 0xfa}} gEfiCapsuleVendorGuid =3D =20 +{0x711c703f, 0xc285, 0x4b10, {0xa3, 0xb0, 0x36, 0xec, 0xbd, 0x3c, 0x8b,=20 +0xe2}} gEfiConsoleOutDeviceGuid =3D { 0xd3b36f2c, 0xd551, 0x11d4, { 0x9a,= =20 +0x46, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d}} ## ## Common ## ##=20 +Include/ConfigBlock/SiConfig.h gSiConfigGuid =3D {0x4ed6d282, 0x22f3,=20 +0x4fe1, {0xa6, 0x61, 0x6, 0x1a, 0x97, 0x38, 0x59, 0xd8}} ##=20 +gSiPreMemConfigGuid =3D {0xb94c004c, 0xa0ab, 0x40f0, {0x9b, 0x61, 0x0b,=20 +0x25, 0x88, 0xbe, 0xfd, 0xc6}} ## ## gPciePreMemConfigGuid =3D=20 +{0xd0f9c2a9, 0x7332, 0x4733, {0x8d, 0xb1, 0x98, 0x79, 0x27, 0x60, 0xda,=20 +0xe6}} ## gSiPkgTokenSpaceGuid =3D {0x977c97c1, 0x47e1, 0x4b6b, {0x96,= =20 +0x69, 0x43, 0x66, 0x99, 0xcb, 0xe4, 0x5b}} + +gSiConfigHobGuid =3D {0xb3903068, 0x7482, 0x4424, {0xba, 0x4b, 0x40,=20 +0x5f, 0x8f, 0xd7, 0x65, 0x4e}} + +## +## +## SystemAgent +## +gSaDataHobGuid =3D {0xe07d0bda, 0xbf90, 0x46a9, { 0xb0, 0x0e, 0xb2,=20 +0xc4, 0x4a, 0x0e, 0xd6, 0xd0}} gSaConfigHobGuid =3D {0x762fa2e6, 0xea3b,= =20 +0x41c8, { 0x8c, 0x52, 0x63, 0x76, 0x6d, 0x70, 0x39, 0xe0}}=20 +gSaMiscPeiPreMemConfigGuid =3D {0x4a525577, 0x3469, 0x4f11, { 0x99,=20 +0xcf, 0xfb, 0xcd, 0x5e, 0xf1, 0x84, 0xe4}} gCpuPciePeiPreMemConfigGuid = =3D { 0x81baf3c9, 0xf295, 0x4572, { 0x8b, 0x21, 0x79, 0x3f, 0xa3, 0x1b, 0x= a5, 0xdb}} gVmdPeiConfigGuid =3D { 0x79b52c74, 0xb9ba, 0x4f36, {0xa2, 0x40,= 0xf2, 0x41, 0x0d, 0x20, 0x84, 0x8a}} +gVmdInfoHobGuid =3D { 0xccd0306e, 0x7fa1, 0x4df5, {0x99, 0x99, = 0xc1, 0xf8, 0x9a, 0x1d, 0x1b, 0xa9}} +gMemoryConfigGuid =3D { 0x26cf084c, 0xc9db, 0x41bb, { 0x92, 0xc6, 0xd1,= =20 +0x97, 0xb8, 0xa1, 0xe4, 0xbf}} gMemoryConfigNoCrcGuid =3D { 0xc56c73d0,= =20 +0x1cdb, 0x4c0c, { 0xa9, 0x57, 0xea, 0x62, 0xa9, 0xe6, 0xf5, 0x0c}}=20 +gMemoryDxeConfigGuid =3D {0xa5c7dda8, 0x686b, 0x404f, {0x86, 0x40,=20 +0xf8, 0x2, 0xd, 0x84, 0x4c, 0x94}} gCpuPcieRpPrememConfigGuid =3D {=20 +0x41aef892, 0xc800, 0x4ac0, {0xa9, 0x30, 0x84, 0xac, 0x47, 0xca, 0xca, 0x7= e}} gCpuPcieRpConfigGuid =3D { 0x9749a5fb, 0x9130, 0x44f0, {0x8f, 0x61, 0xd= b, 0xff, 0x8e, 0xf2, 0xca, 0xc7}} ## IntelFsp2Pkg/IntelFsp2Pkg.dec gSiMemor= yS3DataGuid is the same as gFspNonVolatileStorageHobGuid +gSiMemoryS3DataGuid =3D { 0x721acf02, 0x4d77, 0x4c2a, { 0xb3, 0xdc, = 0x27, 0x0b, 0x7b, 0xa9, 0xe4, 0xb0 } } +gSiMemoryInfoDataGuid =3D { 0x9b2071d4, 0xb054, 0x4e0c, { 0x8d, 0x09, = 0x11, 0xcf, 0x8b, 0x9f, 0x03, 0x23 } } +gSiMemoryPlatformDataGuid =3D { 0x6210d62f, 0x418d, 0x4999, { 0xa2, 0x45,= =20 +0x22, 0x10, 0x0a, 0x5d, 0xea, 0x44 } } gSaPciePeiConfigGuid =3D {=20 +0xdaa929a9, 0x5ec9, 0x486a, { 0xb0, 0xf7, 0x82, 0x3a, 0x55, 0xc7, 0xb5,=20 +0xb3}} gSaPciePeiPreMemConfigGuid =3D { 0xfc5e01a3, 0x69f6, 0x4e35, {=20 +0x9f, 0xcf, 0x6, 0x68, 0x7b, 0xab, 0x31, 0xd7}} + +# +# Host Bridge +# +gHostBridgePeiPreMemConfigGuid =3D {0xbdef6805, 0x2080, 0x44ad, { 0x93,= =20 +0x2e, 0x00, 0x04, 0xf5, 0x2c, 0xb7, 0xa1}} gHostBridgePeiConfigGuid =3D = =20 +{0x3b6d998e, 0x8b6e, 0x4f53, { 0xbe, 0x41, 0x7, 0x41, 0x95, 0x53, 0x8a,=20 +0xaf}} gHostBridgeDataHobGuid =3D {0x3b682d57, 0xd402, 0x40a6, { 0xb1,= =20 +0x34, 0xa0, 0xc4, 0xf6, 0x31, 0x1d, 0x9}} + +# +# Graphics +# +gGraphicsPeiConfigGuid =3D {0x04249ac0, 0x0088, 0x439f, { 0xa7, 0x4e,=20 +0xa7, 0x04, 0x2a, 0x06, 0x2f, 0x5d}} gGraphicsDxeConfigGuid =3D =20 +{0x34d93161, 0xf78e, 0x4915, {0xad, 0xc4, 0xdb, 0x67, 0x16, 0x42, 0x39,=20 +0x24}} + +## Include/SsaCommonConfig.h +gSsaPostcodeHookGuid =3D {0xADF0A27B, 0x61A6, 0x4F18, {0x9E, 0xAC, 0x46,= =20 +0x87, 0xE7, 0x9E, 0x6F, 0xBB}} gSsaBiosVariablesGuid =3D {0x43eeffe8,=20 +0xa978, 0x41dc, {0x9d, 0xb6, 0x54, 0xc4, 0x27, 0xf2, 0x7e, 0x2a}}=20 +gSsaBiosResultsGuid =3D {0x8f4e928, 0xf5f, 0x46d4, {0x84, 0x10, 0x47,=20 +0x9f, 0xda, 0x27, 0x9d, 0xb6}} gHobUsageDataGuid =3D {0xc764a821, 0xec41,= =20 +0x450d, { 0x9c, 0x99, 0x27, 0x20, 0xfc, 0x7c, 0xe1, 0xf6 }} + +## +## Cpu +## +gCpuAcpiTableStorageGuid =3D {0xc38fb0e2, 0x0c43, 0x49c9, {0xb5, 0x44,= =20 +0x9b, 0x17, 0xaa, 0x4d, 0xcb, 0xa3}} gCpuSecurityPreMemConfigGuid =3D=20 +{0xfd5c346, 0x8260, 0x4067, {0x94, 0x69, 0xcf, 0x91, 0x68, 0xa3, 0x42,=20 +0x90}} gCpuConfigLibPreMemConfigGuid =3D {0xfc1c0ec2, 0xc6b4, 0x4f05,=20 +{0xbb, 0x85, 0xc8, 0x0, 0x8d, 0x5b, 0x4a, 0xb7}} gCpuConfigGuid =3D=20 +{0x48c3aac9, 0xd66c, 0x42e4, {0x9b, 0x1d, 0x39, 0x4, 0x5f, 0x46, 0x53,=20 +0x41}} gCpuDataHobGuid =3D {0x1eec629f, 0xf3cf, 0x4b02, { 0xa9, 0xa5,=20 +0x27, 0xa2, 0x33, 0x20, 0xbe, 0x5d}} ## ## Me ## gPciImrHobGuid =3D =20 +{0x49b1eac3, 0x0cd6, 0x451e, {0x96, 0x30, 0x92, 0x4b, 0xc2, 0x69, 0x35,=20 +0x86}} gTpm2AcpiTableStorageGuid =3D {0x7d279373, 0xeecc, 0x4d4f,=20 +{0xae, 0x2f, 0xce, 0xc4, 0xb7, 0x06, 0xb0, 0x6a}} gEdkiiTouchPanelGuid =20 +=3D {0x91b1d27b, 0xe126, 0x48d1, {0x82, 0x34, 0xd2, 0x8b, 0x81, 0xc8,=20 +0x83, 0x62}} gMeDidSentHobGuid =3D {0x4c3d3af1, 0x1720, 0x4c3f, {0xab,=20 +0x7c, 0x36, 0x50, 0xbb, 0x5b, 0x85, 0x7e}} + +## +## PCH +## +gPchGlobalResetGuid =3D { 0x9db31b4c, 0xf5ef, 0x48bb, { 0x94, 0x2b,=20 +0x18, 0x1f, 0x7e, 0x3a, 0x3e, 0x40 }} + +gPchGeneralPreMemConfigGuid =3D {0xC65F62FA, 0x52B9, 0x4837, {0x86,=20 +0xEB, 0x1A, 0xFB, 0xD4, 0xAD, 0xBB, 0x3E}} gWatchDogPreMemConfigGuid =3D = =20 +{0xFBCE08CC, 0x60F2, 0x4BDF, {0xB7, 0x88, 0x09, 0xBB, 0x81, 0x65, 0x52,=20 +0x2B}} gPcieRpPreMemConfigGuid =3D {0x8377AB38, 0xF8B0, 0x476A, { 0x9C,= =20 +0xA1, 0x68, 0xEA, 0x78, 0x57, 0xD8, 0x2A}} gSmbusPreMemConfigGuid =3D =20 +{0x77A6E62C, 0x716B, 0x4386, {0x9E, 0x9C, 0x23, 0xA0, 0x2E, 0x13, 0x7B,=20 +0x3A}} gLpcPreMemConfigGuid =3D {0xA6E6032F, 0x1E58, 0x407E, {0x9A,=20 +0xB8, 0xC6, 0x30, 0xC6, 0xC4, 0x11, 0x8E}} gPchDmiPreMemConfigGuid =3D = =20 +{0x4DA4AA22, 0xB54A, 0x43D7, {0x87, 0xC8, 0xA3, 0xCF, 0x53, 0xE6, 0xC1,=20 +0x8A}} + +gPchGeneralConfigGuid =3D {0x6ED94C8C, 0x25F7, 0x4686, {0xB2, 0x46,=20 +0xCA, 0x4D, 0xE2, 0x95, 0x4B, 0x5D}} gPchPcieConfigGuid =3D =20 +{0x0A53B507, 0x988B, 0x475C, {0xBF, 0x76, 0x33, 0xDE, 0x10, 0x6D, 0x94,=20 +0x84}} gPchPcieRpDxeConfigGuid =3D {0x475530EA, 0xBD72, 0x416F, {0x98,= =20 +0x9F,0x48, 0x70, 0x5F, 0x14, 0x4E, 0xD9}} gIoApicConfigGuid =3D =20 +{0x2873D0F1, 0x00F6, 0x40AB, {0xAC, 0x36, 0x9A, 0x68, 0xBA, 0x87, 0x3E,=20 +0x6C}} gPchDmiConfigGuid =3D {0xB3A61210, 0x1CD3, 0x4797, {0x8E, 0xE6,= =20 +0xD3, 0x42, 0x9C, 0x4F, 0x17, 0xBD}} gSerialIoConfigGuid =3D =20 +{0x6CC06EBF, 0x0D34, 0x4340, {0xBC, 0x16, 0xDA, 0x09, 0xE5, 0x78, 0x3A,=20 +0xDB}} + +## +## SecurityPkg +## +## GUID used to "Tcg2PhysicalPresence" variable and "Tcg2PhysicalPresenceF= lags" variable for TPM2 request and response. +# Include/Guid/Tcg2PhysicalPresenceData.h +gEfiTcg2PhysicalPresenceGuid =3D { 0xaeb9c5c1, 0x94f1, 0x4d02, { = 0xbf, 0xd9, 0x46, 0x2, 0xdb, 0x2d, 0x3c, 0x54 }} + +## +## FSP +## +gFspSiliconFvGuid =3D { 0x1b5c27fe, 0xf01c, 0x4fbc, { 0xae, 0x= ae, 0x34, 0x1b, 0x2e, 0x99, 0x2a, 0x17 }} +gFspTscFrequencyGuid =3D { 0x0e3b622a, 0xedbb, 0x4e30, { 0x93, 0x= 60, 0x69, 0x5c, 0xd4, 0xb3, 0x20, 0xc9 }} +gFspInfoGuid =3D { 0x067e0f25, 0x374f, 0x47c2, { 0x17, 0x= 92, 0x86, 0xdc, 0xdb, 0xc4, 0x8a, 0xc9 }} + +[Protocols] +## +## MdeModulePkg +## +gEdkiiSmmExitBootServicesProtocolGuid =3D { 0x296eb418, 0xc4c8, 0x4e05, {= =20 +0xab, 0x59, 0x39, 0xe8, 0xaf, 0x56, 0xf0, 0xa } } + +## +## SystemAgent +## +gIgdOpRegionProtocolGuid =3D {0x9e67aecf, 0x4fbb, 0x4c84, {0x99, 0= xa5, 0x10, 0x73, 0x40, 0x7, 0x6d, 0xb4}} +gSaPolicyProtocolGuid =3D {0xc6aa1f27, 0x5597, 0x4802, {0x9f, 0= x63, 0xd6, 0x28, 0x36, 0x59, 0x86, 0x35}} +gGopPolicyProtocolGuid =3D {0xec2e931b, 0x3281, 0x48a5, {0x81, 0= x07, 0xdf, 0x8a, 0x8b, 0xed, 0x3c, 0x5d}} + +## +## PCH +## +gPchSpiProtocolGuid =3D { 0xc7d289, 0x1347, 0x4de0, {0x= bf, 0x42, 0xe, 0x26, 0x9d, 0xe, 0xf3, 0x4a}} +gWdtProtocolGuid =3D {0xb42b8d12, 0x2acb, 0x499a, {0x= a9, 0x20, 0xdd, 0x5b, 0xe6, 0xcf, 0x09, 0xb1}} +gEfiSmmSmbusProtocolGuid =3D {0x72e40094, 0x2ee1, 0x497a, {0x= 8f, 0x33, 0x4c, 0x93, 0x4a, 0x9e, 0x9c, 0x0c}} +gPchSmmSpiProtocolGuid =3D {0x56521f06, 0xa62, 0x4822, {0x= 99, 0x63, 0xdf, 0x1, 0x9d, 0x72, 0xc7, 0xe1}} +gPchSmmIoTrapControlGuid =3D {0x514d2afd, 0x2096, 0x4283, {0x= 9d, 0xa6, 0x70, 0x0c, 0xd2, 0x7d, 0xc7, 0xa5}} +gPchTcoSmiDispatchProtocolGuid =3D {0x9e71d609, 0x6d24, 0x47fd, {0x= b5, 0x72, 0x61, 0x40, 0xf8, 0xd9, 0xc2, 0xa4}} +gPchPcieSmiDispatchProtocolGuid =3D {0x3e7d2b56, 0x3f47, 0x42aa, {0x= 8f, 0x6b, 0x22, 0xf5, 0x19, 0x81, 0x8d, 0xab}} +gPchAcpiSmiDispatchProtocolGuid =3D {0xd52bb262, 0xf022, 0x49ec, {0x= 86, 0xd2, 0x7a, 0x29, 0x3a, 0x7a, 0x05, 0x4b}} +gPchSmiDispatchProtocolGuid =3D {0xE6A81BBF, 0x873D, 0x47FD, {0x= B6, 0xBE, 0x61, 0xB3, 0xE5, 0x72, 0x09, 0x93}} +gPchEspiSmiDispatchProtocolGuid =3D {0xB3C14FF3, 0xBAE8, 0x456C, {0x= 86, 0x31, 0x27, 0xFE, 0x0C, 0xEB, 0x34, 0x0C}} +gPchSmmPeriodicTimerControlGuid =3D {0x6906E93B, 0x603B, 0x4A0F, {0x= 86, 0x92, 0x83, 0x20, 0x04, 0xAA, 0xF2, 0xDB}} +## +## Silicon Policy +## +## Include/Protocol/SiPolicyProtocol.h +gDxeSiPolicyProtocolGuid =3D { 0xeca27516, 0x306c, 0x4e28, { 0x8c, 0x94,= =20 +0x4e, 0x52, 0x10, 0x96, 0x69, 0x5e }} + +[Ppis.common.Private] + +[Ppis] +## +## MdeModulePkg +## +gEdkiiPlatformSpecificResetFilterPpiGuid =3D { 0x8c9f4de3, 0x7b90,=20 +0x47ef, { 0x93, 0x8, 0x28, 0x7c, 0xec, 0xd6, 0x6d, 0xe8 } } + +## +## SecurityPkg +## +gPeiTpmInitializationDonePpiGuid =3D {0xa030d115, 0x54dd, 0x447b, { 0x90,= =20 +0x64, 0xf2, 0x6, 0x88, 0x3d, 0x7c, 0xcc}} ## ## Common ## ##=20 +Include/Ppi/SiPolicy.h gSiPolicyPpiGuid =3D {0xaebffa01, 0x7edc,=20 +0x49ff, {0x8d, 0x88, 0xcb, 0x84, 0x8c, 0x5e, 0x86, 0x70}} ##=20 +Include/Ppi/SiPolicy.h gSiPreMemPolicyPpiGuid =3D {0xc133fe57, 0x17c7,=20 +0x4b09, {0x8b, 0x3c, 0x97, 0xc1, 0x89, 0xd0, 0xab, 0x8d}} ## Silicon=20 +Initialization PPI is used to export End of Silicon init. +gEndOfSiInitPpiGuid =3D {0xE2E3D5D1, 0x8356, 0x4F96, {0x9C, 0x9E, = 0x2E, 0xC3, 0x48, 0x1D, 0xEA, 0x88}} +gEfiEndOfPeiSignal2PpiGuid =3D {0x22918381, 0xd018, 0x4d7c, {0x9d, 0x62, = 0xf5, 0xa5, 0x70, 0x1c, 0x66, 0x80}} +gFspTempRamExitPpiGuid =3D {0xbc1cfbdb, 0x7e50, 0x42be, {0xb4, 0x87, = 0x22, 0xe0, 0xa9, 0x0c, 0xb0, 0x52}} +gFspmArchConfigPpiGuid =3D {0x824d5a3a, 0xaf92, 0x4c0c, {0x9f, 0x19, = 0x19, 0x52, 0x6d, 0xca, 0x4a, 0xbb}} +gSiPreMemDefaultPolicyInitPpiGuid =3D {0xfec36242, 0xf8d8, 0x4b43,=20 +{0x87, 0x94, 0x4f, 0x1f, 0x9f, 0x63, 0x8d, 0xdc}}=20 +gSiPreMemPolicyReadyPpiGuid =3D {0x85270bef, 0x6984, 0x4375, {0xa6, 0xea, = 0xb5, 0xaa, 0x90, 0x6e, 0xdd, 0x4a}} gSiDefaultPolicyInitPpiGuid =3D {0xf69= abf86, 0x4048, 0x44ef, { 0xa8, 0xef, 0x6c, 0x7f, 0x20, 0x4a, 0xc8, 0xda}} +gSiPolicyReadyPpiGuid =3D {0xd570de8c, 0xb9c4, 0x4ffa, {0xad, 0xee, = 0xa5, 0x82, 0x7c, 0xe3, 0x17, 0x79}} +gPeiBeforeGraphicsDetectionPpiGuid =3D {0xa494060d, 0x98c5, 0x4948,=20 +{0x84, 0x57, 0x74, 0xd7, 0x1a, 0x3d, 0x0e, 0x85}} + +## +## UEFI Variable Support (Override Until BP1.5) ##=20 +gEdkiiVariableStoragePpiGuid =3D { 0x90d915c5, 0xe4c1, 0x4da8, {0xa7,=20 +0x6f, 0x9, 0xe5, 0x78, 0x91, 0x65, 0x48}}=20 +gEdkiiVariableStorageSelectorPpiGuid =3D { 0x782546d1, 0x03ab, 0x41e4,= =20 +{0xa0, 0x1d, 0x7a, 0x9b, 0x22, 0xba, 0x2e, 0x1e}}=20 +gReadOnlyVariablePreMemoryDescriptorPpiGuid =3D { 0xbe136fc9, 0xc277,=20 +0x4dd1, {0xbe, 0x42, 0xce, 0xf0, 0x9f, 0xf4, 0x3f, 0x55}}=20 +gEfiReadyToInstallEndOfPei2PpiGuid =3D {0xeef72924, 0x2db2, 0x4569, {=20 +0x86, 0x3f, 0xd4, 0x86, 0xae, 0x7a, 0xe4, 0x12}} + +## +## SystemAgent +## +gEnablePeiGraphicsPpiGuid =3D {0x8e3bb474, 0x545, 0x4902, {0x86, 0xb0,= =20 +0x6c, 0xb5, 0xe2, 0x64, 0xb4, 0xa5}}=20 +gPeiGraphicsFramebufferReadyPpiGuid =3D {0x590ad868, 0xb0b1, 0x4d20,=20 +{0x91, 0xff, 0xc2, 0xa9, 0xd6, 0x88, 0x81, 0x94}}=20 +gPeiGraphicsPlatformPpiGuid =3D {0x4eabcd09, 0x43d3, 0x4b4d, {0xb7, 0x3d, = 0x43, 0xc8, 0xd9, 0x89, 0x99, 0x05}} ## X Compatibility support PPI gCompat= ibleMemoryInitPpiGuid =3D {0xca311f82, 0xf490, 0x4b12, {0x9e, 0xe1, 0x2b, 0= x66, 0xa3, 0x6c, 0x3e, 0xa}} +gVmdInitDonePpiGuid =3D {0x42a187c8, 0xca0a, 0x4750, {0x82, 0xfd,= 0xc9, 0xa0, 0xd5, 0x9, 0xfe, 0xd1}} + +## +## Cpu +## +gPeiCachePpiGuid =3D {0xC153205A, 0xE898, 0x4C24, {0x86, 0x89, 0xA4,=20 +0xB4, 0xBC, 0xC5, 0xC8, 0xA2}} gPeiTxtMemoryUnlockedPpiGuid =3D =20 +{0x38cdd10b, 0x767d, 0x4f6e, {0xa7, 0x44, 0x67, 0xee, 0x1d, 0xfe, 0x2f,=20 +0xa5}} gPeiTxtReadyToRunMemoryInitPpiGuid =3D {0x9ecafd30, 0x29e2,=20 +0x42f6, {0xba, 0xf3, 0x8b, 0x7d, 0xb8, 0xfe, 0x1f, 0x22}}=20 +gPeiReadyToInstallMpPpiGuid =3D { 0x1a266768, 0xfd43, 0x4e18, { 0xa8,=20 +0x8a, 0x35, 0xc7, 0x94, 0xc3, 0x91, 0x0e }} + +## +## PCH +## +gWdtPpiGuid =3D {0xf38d1338, 0xaf7a, 0x4fb6, {0x91, 0xdb, 0x1a, 0x9c,=20 +0x21, 0x83, 0x57, 0x0d}} gPchSpiPpiGuid =3D {0xdade7ce3, 0x6971,=20 +0x4b75, {0x82, 0x5e, 0xe, 0xe0, 0xeb, 0x17, 0x72, 0x2d}}=20 +gPeiSmbusPolicyPpiGuid =3D {0x63b6e435, 0x32bc, 0x49c6, {0x81, 0xbd,=20 +0xb7, 0xa1, 0xa0, 0xfe, 0x1a, 0x6c}} gPchIoExpanderInfoPpiGuid =3D {=20 +0xf4a29776, 0x0ff9, 0x4b5c, { 0xb6, 0x9d, 0x88, 0x45, 0x09, 0x9b, 0x8d,=20 +0xa5 }} + +## +## TCSS +## +gTcssPeiInitDonePpiGuid =3D {0x5ad291b8, 0xace4, 0x416a, {0xb7, 0x50,=20 +0x7, 0x63, 0x59, 0xfc, 0xc1, 0x5b}} + +## +## ExtendedBiosDecodeReady PPI +## +gExtendedBiosDecodeReadyPpiGuid =3D {0x54b522bc, 0xbef2, 0x419b, {0xa9,=20 +0x66, 0x7e, 0xc4, 0xf0, 0x15, 0xe8, 0x21}} + +## +## FSP## +gFsptUpdLocationPpiGuid =3D { 0xfc4dd4f2, = 0x179e, 0x41f8, { 0x9d, 0x6d, 0xfa, 0xd6, 0xf9, 0xd7, 0xb8, 0xb9 }} + +[LibraryClasses] +## @libraryclass +## Common +## +SiPolicyLib|Include/Library/SiPolicyLib.h +PeiPolicyUpdateLib|Include/Library/PeiSiPolicyUpdateLib.h +ProcessorTraceMemoryAllocationLib|Include/Library/ProcessorTraceMemoryA +ProcessorTraceMemoryAllocationLib|llocationLib.h +PlatformSecLib|Include/Library/SecPlatformLib.h +SiAssertErrorHandlerLib|Include/Library/SiAssertErrorHandlerLib.h +SiConfigBlockLib|Include/Library/SiConfigBlockLib.h +## @libraryclass +## SampleCode +## +## CPU +## +CpuPlatformLib|Cpu/Include/Library/CpuPlatformLib.h + + +## @libraryclass +## Pch +## +GpioLib|Include/Library/GpioLib.h +GpioLib|Include/Library/GpioNativeLib.h +PchCycleDecodingLib|Pch/Include/Library/PchCycleDecodingLib.h +EspiLib|Include/Library/EspiLib.h +PchInfoLib|Pch/Include/Library/PchInfoLib.h +PchPcieRpLib|Include/Library/PchPcieRpLib.h +PchPcrLib|Include/Library/PchPcrLib.h +PchSbiAccessLib|IpBlock/P2sb/IncludePrivate/Library/PchSbiAccessLib.h +PchPciBdfLib|Pch/Include/Library/PchPciBdfLib.h +PchRasLib|Pch/Include/Library/PchRasLib.h +PchRtcLib|Pch/Include/Library/PchRtcLib.h +ResetSystemLib|Include/Library/ResetSystemLib.h +## @libraryclass +## Sa +## +DxeSaPolicyLib|SystemAgent/Include/Library/DxeSaPolicyLib.h +## @libraryclass +## Fru +## +CpuInfoFruLib|Cpu/IncludePrivate/Library/CpuInfoFruLib.h +## @libraryclass +## IpBlock +## +PmcPrivateLib|IpBlock/Pmc/IncludePrivate/Library/PmcPrivateLib.h +IehInitLib|IpBlock/Ieh/IncludePrivate/Library/PeiIehInitLib.h +PeiIehPolicyLib|IpBlock/Ieh/IncludePrivate/Library/PeiIehPolicyLib.h +DxeGraphicsPolicyLib|IpBlock/Graphics/IncludePrivate/Library/DxeGraphic +DxeGraphicsPolicyLib|sPolicyLib.h +DxeIgdOpRegionInitLib|IpBlock/Graphics/IncludePrivate/Library/DxeIgdOpR +DxeIgdOpRegionInitLib|egionInitLib.h +PchDmiLib|IpBlock/PchDmi/IncludePrivate/Library/PchDmiLib.h +P2SbSidebandAccessLib|IpBlock/P2sb/IncludePrivate/Library/P2SbSidebandA +P2SbSidebandAccessLib|ccessLib.h +SpiCommonLib|IpBlock/Spi/IncludePrivate/Library/SpiCommonLib.h +GpioHelpersLib|IpBlock/Gpio/IncludePrivate/Library/GpioHelpersLib.h +GpioPrivateLib|IpBlock/Gpio/IncludePrivate/Library/GpioPrivateLib.h +PeiDmiSipInitLib|IpBlock/PcieRp/IncludePrivate/Library/PeiDmiSipInitLib +PeiDmiSipInitLib|.h +PeiEnterprisePcieRpInitLib|IpBlock/PcieRp/IncludePrivate/Library/PeiEnt +PeiEnterprisePcieRpInitLib|erprisePcieRpInitLib.h +PeiDpInInitLib|IpBlock/Tcss/IncludePrivate/Library/PeiDpInInitLib.h +CpuPcieRpLib|IpBlock/CpuPcieRp/Include/Library/CpuPcieRpLib.h +GpioGsxLib|Include/Library/GpioGsxLib.h +GraphicsInfoLib|Include/Library/GraphicsInfoLib.h +HeciCommonLib|Include/Library/HeciCommonLib.h +HeciConfigureLib|Include/Library/HeciConfigureLib.h +HeciTraceLib|Include/Library/HeciTraceLib.h +HeciTransportCoreLib|Include/Library/HeciTransportCoreLib.h +OcPlatformLib|Include/Library/OcPlatformLib.h +PeiSpsPreMemPolicyLib|Include/Library/PeiSpsPreMemPolicyLib.h +PmcLib|Include/Library/PmcLib.h +PmcSsramLib|Include/Library/PmcSsramLib.h +SpiLib|Include/Library/SpiLib.h +SpsDxeLib|Include/Library/SpsDxeLib.h +SpsGetDxeConfigBlockLib|Include/Library/SpsGetDxeConfigBlock.h +MeGetPeiConfigBlock|Include/Library/MeGetConfigBlock.h +## @libraryclass +## Fsp +## +FspHelperLib|Fsp/Include/Library/FspHelperLib.h +FspInfoLib|Fsp/Include/Library/FspInfoLib.h +FspSerialIoUartDebugHelperLib|Fsp/Include/Library/FspSerialIoUartDebugH +FspSerialIoUartDebugHelperLib|elperLib.h + + +CpuPcieInfoFruLib|Fru/AdlCpu/Include/Library/CpuPcieInfoFruLib.h + +[PcdsFixedAtBuild] +## From MdeModulePkg.dec +## Progress Code for S3 Suspend start. +## PROGRESS_CODE_S3_SUSPEND_START =3D (EFI_SOFTWARE_SMM_DRIVER | (EFI_OE= M_SPECIFIC | 0x00000000)) =3D 0x03078000 +gSiPkgTokenSpaceGuid.PcdProgressCodeS3SuspendStart|0x03078000|UINT32|0x +30001032 +## Progress Code for S3 Suspend end. +## PROGRESS_CODE_S3_SUSPEND_END =3D (EFI_SOFTWARE_SMM_DRIVER | (EFI_OEM_= SPECIFIC | 0x00000001)) =3D 0x03078001 +gSiPkgTokenSpaceGuid.PcdProgressCodeS3SuspendEnd|0x03078001|UINT32|0x30 +001033 +## +## PcdNemCodeCacheBase is usally the same as PEI FV Base address, ##=20 +FLASH_BASE+FLASH_REGION_FV_RECOVERY_OFFSET from PlatformPkg.fdf. +## +## Restriction: +## 1) PcdNemCodeCacheBase - (PcdTemporaryRamBase + PcdTemporaryRamSize)=20 +>=3D 4K ## 2) PcdTemporaryRamBase >=3D 4G - 64M ## +gSiPkgTokenSpaceGuid.PcdNemCodeCacheBase|0xFFF80000|UINT32|0x20000009 +## +## NemCodeCacheSize is usally the same as PEI FV Size, ##=20 +FLASH_REGION_FV_RECOVERY_SIZE from PlatformPkg.fdf. +## +## Restriction: +## 1) PcdNemTotalCacheSize =3D NemCodeCacheSize + PcdTemporaryRamSize ##= =20 +<=3D Maximun CPU NEM total size (Code + Data) ## =3D LLC size - 0.5M ## 2)= =20 +PcdTemporaryRamSize <=3D Maximum CPU NEM data size ## =3D MLC size ##=20 +NOTE: The size restriction may be changed in next generation processor. +## Please refer to Processor BWG for detail. +## +gSiPkgTokenSpaceGuid.PcdBiosAreaBaseAddress|0xFF800000|UINT32|0x1000000 +1 +gSiPkgTokenSpaceGuid.PcdBiosSize|0x00800000|UINT32|0x10000002 +gSiPkgTokenSpaceGuid.PcdTemporaryRamBase|0xfef00000|UINT32|0x00010028 +gSiPkgTokenSpaceGuid.PcdTemporaryRamSize|0x2000|UINT32|0x00010029 +gSiPkgTokenSpaceGuid.PcdTopMemoryCacheSize|0x0|UINT32|0x0001002A +gSiPkgTokenSpaceGuid.PcdFlashMicrocodeOffset|0x00000060|UINT32|0x300000 +13 + +gSiPkgTokenSpaceGuid.PcdFspWrapperEnable |FALSE|BOOLEAN|0x3000000F + + +# +# PCD is using for SOC core boot +# + +# +# PCD is using for AlderLakeL P/M/S +# True: ADL-P/M +# False: ADL-S +# +gSiPkgTokenSpaceGuid.PcdAdlLpSupport|TRUE|BOOLEAN|0x30000014 + +# +# PCD is using for AlderLakeL S +# +gSiPkgTokenSpaceGuid.PcdAdlSSupport|FALSE|BOOLEAN|0x30000015 + +## +## PcdEfiGcdAllocateType is using for EFI_GCD_ALLOCATE_TYPE selection=20 +## value of the struct ## 0x00 EfiGcdAllocateAnySearchBottomUp ## =20 +0x01 EfiGcdAllocateMaxAddressSearchBottomUp +## 0x03 EfiGcdAllocateAnySearchTopDown ## 0x04=20 +EfiGcdAllocateMaxAddressSearchTopDown +## +## below value should not using in this situation ## 0x05=20 +EfiGcdMaxAllocateType : design for max value of struct ## 0x02=20 +EfiGcdAllocateAddress : design for speccification address allocate ## +gSiPkgTokenSpaceGuid.PcdEfiGcdAllocateType|0x01|UINT8|0x40000000 + + +## +## Those PCDs are used to control build process. +## +gSiPkgTokenSpaceGuid.PcdSmmVariableEnable |TRUE |BOOLEAN|0xF000= 0002 +gSiPkgTokenSpaceGuid.PcdAcpiEnable |TRUE |BOOLEAN|0xF000= 0009 +gSiPkgTokenSpaceGuid.PcdSourceDebugEnable |FALSE|BOOLEAN|0xF000= 000B +gSiPkgTokenSpaceGuid.PcdTxtEnable |FALSE|BOOLEAN|0xF000= 000D + +gSiPkgTokenSpaceGuid.PcdSmbiosEnable |TRUE |BOOLEAN|0xF000= 0014 +gSiPkgTokenSpaceGuid.PcdIgdEnable |TRUE |BOOLEAN|0xF000= 001A +gSiPkgTokenSpaceGuid.PcdSaDmiEnable |TRUE |BOOLEAN|0xF000= 001C +gSiPkgTokenSpaceGuid.PcdBdatEnable |TRUE |BOOLEAN|0xF000= 0023 +gSiPkgTokenSpaceGuid.PcdOptimizeCompilerEnable |TRUE |BOOLEAN|0xF000= 0024 +gSiPkgTokenSpaceGuid.PcdPeiDisplayEnable |TRUE |BOOLEAN|0xF000= 0025 +gSiPkgTokenSpaceGuid.PcdSerialIoUartEnable |TRUE |BOOLEAN|0xF000= 0033 +gSiPkgTokenSpaceGuid.PcdSiCatalogDebugEnable |FALSE|BOOLEAN|0xF000= 0037 + +gSiPkgTokenSpaceGuid.PcdCpuPcieEnable |TRUE |BOOLEAN|0xF000= 0043 +gSiPkgTokenSpaceGuid.PcdMrcTraceMessageSupported |TRUE |BOOLEAN|0xF000= 0045 + +[PcdsDynamic, PcdsPatchableInModule] +## Default OEM Table ID for ACPI table creation, it is "EDK2 ". +gSiPkgTokenSpaceGuid.PcdAcpiDefaultOemTableId|0x20202020324B4445|UINT64 +|0x30001035 + +[PcdsFixedAtBuild, PcdsPatchableInModule] ## This value is used to set=20 +the base address of PCH devices +gSiPkgTokenSpaceGuid.PcdSmbusBaseAddress|0x0000EFA0|UINT16|0x00010031 +gSiPkgTokenSpaceGuid.PcdTcoBaseAddress|0x0400|UINT16|0x00010033 +gSiPkgTokenSpaceGuid.PcdAcpiBaseAddress|0x1800|UINT16|0x00010035 + +## +## FSP +## +## The PCD value here are either dummy or generic for all platforms ##=20 +Some of them are expected to have different value in platform FSP package = DSC. +## +## Examples: +## PcdFspImageIdString, PcdFspVersionRevision, PcdFspVersionBuild, PcdFs= pVersionMinor +## +gSiPkgTokenSpaceGuid.PcdFspImageIdString |0x0|UINT64|0x0001005A +gSiPkgTokenSpaceGuid.PcdFspVersionRevision |0x00|UINT8|0x0001005C +gSiPkgTokenSpaceGuid.PcdFspVersionBuild |0x00|UINT8|0x0001005D +gSiPkgTokenSpaceGuid.PcdFspVersionMinor |0x00|UINT8|0x0001005E + + +## This value is used to set the base address of MCH +gSiPkgTokenSpaceGuid.PcdMchBaseAddress|0xFEDC0000|UINT64|0x00010030 + +## +## Allocate 56 KB [0x2000..0xFFFF] of I/O space for Pci Devices ## If=20 +PcdPciReservedMemLimit =3D0 Pci Reserved default MMIO Limit is 0xE000000= 0 else use PcdPciReservedMemLimit . +## +gSiPkgTokenSpaceGuid.PcdPciReservedMemLimit |0x0000 |UINT32|0x00010043 + +## +## Default 8MB TSEG for Release build BIOS when IED disabled (Also a=20 +default) ## +gSiPkgTokenSpaceGuid.PcdTsegSize|0x00800000|UINT32|0x00010046 + +## +## Silicon Reference Code versions +## +gSiPkgTokenSpaceGuid.PcdSiliconInitVersionMajor |0x0C|UINT8|0x00010049 + +##Minor:the program that supported by same core generation. +gSiPkgTokenSpaceGuid.PcdSiliconInitVersionMinor |0x00|UINT8|0x00010050 + +##Revision:Weekly build number +gSiPkgTokenSpaceGuid.PcdSiliconInitVersionRevision|0x82|UINT8|0x0001005 +1 + +##Build[7:4]:Daily build number. +##Build[3:0]:Patch build number. + +gSiPkgTokenSpaceGuid.PcdSiliconInitVersionBuild |0x30|UINT8|0x00010052 + + + +## +## This PCD specifies the base address of the HPET timer. +## The acceptable values are 0xFED00000, 0xFED01000, 0xFED02000, and=20 +0xFED03000 ## +gSiPkgTokenSpaceGuid.PcdSiHpetBaseAddress |0xFED00000|UINT32|0x00010057 +## +## This PCD specifies the base address of the IO APIC. +## The acceptable values are 0xFECxx000. +## +gSiPkgTokenSpaceGuid.PcdSiIoApicBaseAddress =20 +|0xFEC00000|UINT32|0x00010058 + +[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]=20 +## ## SerialIo Uart Configuration ## +gSiPkgTokenSpaceGuid.PcdSerialIoUartDebugEnable |0 |UINT8 |0x00= 210001 # 0:Disable, 1:Enable and Initialize, 2:Enable without Initializing +gSiPkgTokenSpaceGuid.PcdSerialIoUartNumber |2 |UINT8 |0x00= 210002 +gSiPkgTokenSpaceGuid.PcdSerialIoUartMode |2 |UINT8 |0x00= 210003 # 0:Disabled, 1:Enabled, 2:Hidden, 3:COM, 4:SkipInit +gSiPkgTokenSpaceGuid.PcdSerialIoUartBaudRate |115200 |UINT32|0x00= 210004 # 0:Default, Max:6000000 +gSiPkgTokenSpaceGuid.PcdSerialIoUartParity |1 |UINT8 |0x00= 210008 # 0:DefaultParity, 1:NoParity, 2:EvenParity, 3:OddParity +gSiPkgTokenSpaceGuid.PcdSerialIoUartDataBits |8 |UINT8 |0x00= 210009 # 0:Default, 5,6,7,8 +gSiPkgTokenSpaceGuid.PcdSerialIoUartStopBits |1 |UINT8 |0x00= 21000A # 0:DefaultStopBits, 1:OneStopBit, 2:OneFiveStopBits, 3:TwoStopBits +gSiPkgTokenSpaceGuid.PcdSerialIoUartAutoFlow |0 |UINT8 |0x00= 21000B # 0:No HW flow control, Only RX/TX Enabled; 1:HW Flow Control On, Rt= s/Cts lines enabled; +gSiPkgTokenSpaceGuid.PcdSerialIoUartRxPinMux |0x0 |UINT32|0x00= 21000C # Pin muxing config for UART Rx pin +gSiPkgTokenSpaceGuid.PcdSerialIoUartTxPinMux |0x0 |UINT32|0x00= 210010 # Pin muxing config for UART Tx pin +gSiPkgTokenSpaceGuid.PcdSerialIoUartRtsPinMux |0x0 |UINT32|0x00= 210014 # Pin muxing config for UART Rts pin +gSiPkgTokenSpaceGuid.PcdSerialIoUartCtsPinMux |0x0 |UINT32|0x00= 210018 # Pin muxing config for UART Cts pin +gSiPkgTokenSpaceGuid.PcdSerialIoUartDebugMmioBase |0xFE036000=20 +|UINT32|0x0021001C # PcdSerialIoUartMode =3D Enabled, need to assign MMIO= =20 +Resource in SEC/PEI Phase + +gSiPkgTokenSpaceGuid.PcdLpcUartDebugEnable |0x1 |UINT8 |0x00= 210026 # 0:Disable, 1:Enable +gSiPkgTokenSpaceGuid.PcdDebugInterfaceFlags |0x12 |UINT8 |0x00= 210027 # BIT0-RAM, BIT1-UART, BIT3-USB3, BIT4-Serial IO, BIT5-TraceHub, BIT= 2 - Not used. +gSiPkgTokenSpaceGuid.PcdSerialDebugLevel |0x3 |UINT8 |0x00= 210028 # {0:Disable, 1:Error Only, 2:Error and Warnings, 3:Load Error Warni= ngs and Info, 4:Load Error Warnings and Info, 5:Load Error Warnings Info an= d Verbose +gSiPkgTokenSpaceGuid.PcdIsaSerialUartBase |0x0 |UINT8 |0x00= 210029 # 0:0x3F8, 1:0x2F8 + + +## +## SerialIo 2nd Uart Configuration +## +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartEnable |0 |UINT8 |0x002= 1002A # 0:Disable, 1:Enable and Initialize, 2:Enable without Initializing +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartNumber |2 |UINT8 |0x002= 1002B +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartMode |2 |UINT8 |0x002= 1002C # 0:Disabled, 1:Enabled, 2:Hidden, 3:COM, 4:SkipInit +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartBaudRate |115200 |UINT32|0x002= 1002D # 0:Default, Max:6000000 +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartParity |1 |UINT8 |0x002= 10031 # 0:DefaultParity, 1:NoParity, 2:EvenParity, 3:OddParity +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartDataBits |8 |UINT8 |0x002= 10032 # 0:Default, 5,6,7,8 +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartStopBits |1 |UINT8 |0x002= 10033 # 0:DefaultStopBits, 1:OneStopBit, 2:OneFiveStopBits, 3:TwoStopBits +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartAutoFlow |0 |UINT8 |0x002= 10034 # 0:No HW flow control, Only RX/TX Enabled; 1:HW Flow Control On, Rts= /Cts lines enabled; +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartRxPinMux |0x0 |UINT32|0x002= 10035 # Pin muxing config for UART Rx pin +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartTxPinMux |0x0 |UINT32|0x002= 10039 # Pin muxing config for UART Tx pin +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartRtsPinMux |0x0 |UINT32|0x002= 1003D # Pin muxing config for UART Rts pin +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartCtsPinMux |0x0 |UINT32|0x002= 10041 # Pin muxing config for UART Cts pin +gSiPkgTokenSpaceGuid.PcdSerialIo2ndUartMmioBase |0xFE034000=20 +|UINT32|0x00210045 # PcdSerialIoUartMode =3D Enabled, need to assign MMIO= =20 +Resource in SEC/PEI Phase + +## +## PCI Express MMIO region length +## Valid settings: 0x20000000/512MB, 0x10000000/256MB, 0x8000000/128MB,=20 +0x4000000/64MB ## +gSiPkgTokenSpaceGuid.PcdPciExpressRegionLength|0x10000000|UINT32|0x0020 +0001 +## +## Typically this should be the same with gEfiMdePkgTokenSpaceGuid.PcdPciE= xpressBaseAddress. +## This PCD is added for supporting different PCD type in different phases= . +## +gSiPkgTokenSpaceGuid.PcdSiPciExpressBaseAddress=20 +|0xC0000000|UINT64|0x00200002 ## ## PCI Express MMIO temporary region=20 +length in SEC phase. +## Valid settings: 0x20000000/512MB, 0x10000000/256MB, 0x8000000/128MB,=20 +0x4000000/64MB ## +gSiPkgTokenSpaceGuid.PcdTemporaryPciExpressRegionLength|0x10000000|UINT +32|0x00200005 -- 2.36.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108659): https://edk2.groups.io/g/devel/message/108659 Mute This Topic: https://groups.io/mt/101347736/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-