From nobody Mon Feb 9 03:31:22 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+91739+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+91739+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1658515604; cv=none; d=zohomail.com; s=zohoarc; b=W4Awx+feNkrfazY2+6PILwmpEhsgUk3tR2l3ic41BXMYDBouJ6SuHMUPBc0F30WGjPQpCkaT2G+l7+R6H+3AW+IePGFQ5va/FCcso9iETkPhLywpDqN/OSfRvYYVdDm+vj11Jf/aTsmDK3BIz/9LuoPA6DBKUovxqHH+cnXiaUU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1658515604; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=pkpKdGNiDMMAtl1Bw7gN9XGMIlRV8AhCAcCuuoU08kE=; b=flJc7GReBMHY/lb7x1YmtutoOYDhJC00n9xHD/4NaFK2wh6D5HQQkGVzBEJAwxOhjS6VknHtaKTqwLbty5cKRyoaC98oTXfDz2/Jg95vivNlreaxpNuUH2J/DRHYiGMLETWL1iTnBPfhDvzASZoZuJnezlqgE+o58VFAHBrveqw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+91739+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1658515604732409.11637377743637; Fri, 22 Jul 2022 11:46:44 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 5Fo6YY1788612xC44QZ4z1Nf; Fri, 22 Jul 2022 11:46:43 -0700 X-Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web10.11550.1658515598037244054 for ; Fri, 22 Jul 2022 11:46:39 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10416"; a="288138265" X-IronPort-AV: E=Sophos;i="5.93,186,1654585200"; d="scan'208";a="288138265" X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2022 11:46:38 -0700 X-IronPort-AV: E=Sophos;i="5.93,186,1654585200"; d="scan'208";a="666767973" X-Received: from iworam-desk.amr.corp.intel.com ([10.24.80.243]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2022 11:46:38 -0700 From: "Oram, Isaac W" To: devel@edk2.groups.io Cc: Isaac Oram , Eric Dong , Liming Gao Subject: [edk2-devel][edk2-platforms][PATCH V1 06/13] BoardModulePkg/Include: Add include for stage behavior logic Date: Fri, 22 Jul 2022 11:46:17 -0700 Message-Id: <4947838e5acd57ebb01bef4807d65e9f589ad99f.1658513099.git.isaac.w.oram@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,isaac.w.oram@intel.com X-Gm-Message-State: UGH3wynMFyIG4fdsdMMqmfTdx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1658515603; bh=3xRW1oMUJ2SKbIM8ZKo2rxZNjhKYOtqyJkOBxKeDFVM=; h=Cc:Date:From:Reply-To:Subject:To; b=JJHS4bVXxBrkG4rpr06hcw5vuj/Vs/kFp+B+JZR87W5f513kcKsUSiUPQwexEVbqAwN o0mk6Wqj7fEwQsQacuN/9MTA7lIu/GeutfS7sV5EJSiojUZRmEUjsj95LhGR5+6epXQ/M s+J9hhoAGdP+oc2m9Hd+DkX9BAYBX6o4Mig= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1658515605134100009 Content-Type: text/plain; charset="utf-8" This is a commonly used set of settings modifications based on the boot stage targeted. Cc: Eric Dong Cc: Liming Gao Signed-off-by: Isaac Oram --- .../Include/Dsc/CommonStageConfig.dsc.inc | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Platform/Intel/BoardModulePkg/Include/Dsc/CommonStageCo= nfig.dsc.inc diff --git a/Platform/Intel/BoardModulePkg/Include/Dsc/CommonStageConfig.ds= c.inc b/Platform/Intel/BoardModulePkg/Include/Dsc/CommonStageConfig.dsc.inc new file mode 100644 index 0000000000..6927b5c9c2 --- /dev/null +++ b/Platform/Intel/BoardModulePkg/Include/Dsc/CommonStageConfig.dsc.inc @@ -0,0 +1,37 @@ +## @file +# Commonly used stage configuration logic +# +# Copyright (C) 2022 Intel Corporation +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[PcdsFeatureFlag.Common] + !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >=3D 1 + gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|TRUE + !endif + + !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >=3D 2 + gMinPlatformPkgTokenSpaceGuid.PcdStopAfterDebugInit|FALSE + gMinPlatformPkgTokenSpaceGuid.PcdStopAfterMemInit|TRUE + !endif + + !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >=3D 3 + gMinPlatformPkgTokenSpaceGuid.PcdStopAfterMemInit|FALSE + gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly|TRUE + !endif + + !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >=3D 4 + gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly|FALSE + !endif + + !if gMinPlatformPkgTokenSpaceGuid.PcdBootStage >=3D 5 + gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable|TRUE + gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable|TRUE + !endif + +[PcdsFixedAtBuild.Common] + !if $(TARGET) !=3D RELEASE + gEfiMdeModulePkgTokenSpaceGuid.PcdSmiHandlerProfilePropertyMask|0x1 + !endif --=20 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 (#91739): https://edk2.groups.io/g/devel/message/91739 Mute This Topic: https://groups.io/mt/92554233/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-