From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ma1-aaemail-dr-lapp01.apple.com (ma1-aaemail-dr-lapp01.apple.com [17.171.2.60]) by mx.groups.io with SMTP id smtpd.web12.3212.1645068340094735640 for ; Wed, 16 Feb 2022 19:25:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=mc3gtNQ8; spf=pass (domain: apple.com, ip: 17.171.2.60, mailfrom: afish@apple.com) Received: from pps.filterd (ma1-aaemail-dr-lapp01.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp01.apple.com (8.16.0.42/8.16.0.42) with SMTP id 21H3OcJi049662; Wed, 16 Feb 2022 19:25:39 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=20180706; bh=eA5Mw8pWkqBlEj0p0vuaYoPTfiy3RHPDKmcetDu0DZU=; b=mc3gtNQ8BHNXCBk4bAr3fZ7XvlnQCR4kl8M8EYfMWAlNbD7mzyOVNauMbOkFxbK9i5aP RPCDyNqF1DIXL2Q2S9UDw6kGYzpHXzfnKGeTmBlqKzJ4b87xLWLaafXa7iji4+vGVkzD iKHs0VGSOTYApaL2TK9mUSO/PsrE2mmHxic0oUVivkpb2GPxNA/GGLKJwyvPWCc+Vagn VWZTV8AmQg9YCLBE+K72seiwPT5fHrR+TZeR+JHjBOlfL0K3uTe3ir8ptPgCngT8lHFz uKLXudJTT9943eY9Iank2AEiUSEv6McOLdvFSjBuGQ16LOVMbHLFwJWS4CYsKfXxztQ2 vw== Received: from rn-mailsvcp-mta-lapp01.rno.apple.com (rn-mailsvcp-mta-lapp01.rno.apple.com [10.225.203.149]) by ma1-aaemail-dr-lapp01.apple.com with ESMTP id 3e8n5p3a35-13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 16 Feb 2022 19:25:39 -0800 Received: from rn-mailsvcp-mmp-lapp01.rno.apple.com (rn-mailsvcp-mmp-lapp01.rno.apple.com [17.179.253.14]) by rn-mailsvcp-mta-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.12.20210903 64bit (built Sep 3 2021)) with ESMTPS id <0R7F00218IUQVAA0@rn-mailsvcp-mta-lapp01.rno.apple.com>; Wed, 16 Feb 2022 19:25:38 -0800 (PST) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp01.rno.apple.com by rn-mailsvcp-mmp-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.12.20210903 64bit (built Sep 3 2021)) id <0R7F00U00IT1CV00@rn-mailsvcp-mmp-lapp01.rno.apple.com>; Wed, 16 Feb 2022 19:25:38 -0800 (PST) X-Va-A: X-Va-T-CD: da3a4df698400084da27c6ab403bcb35 X-Va-E-CD: b4e68defa9e0cdcf9b419f92bf7ff0ae X-Va-R-CD: 38fdcdd2bec7603660fe65a0f44d4f0c X-Va-CD: 0 X-Va-ID: 48c29e4b-acd0-4739-bc96-b6e66855ae5a X-V-A: X-V-T-CD: da3a4df698400084da27c6ab403bcb35 X-V-E-CD: b4e68defa9e0cdcf9b419f92bf7ff0ae X-V-R-CD: 38fdcdd2bec7603660fe65a0f44d4f0c X-V-CD: 0 X-V-ID: 384e3034-d08d-4142-956a-208b04fbceaa X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425,18.0.816 definitions=2022-02-17_01:2022-02-15,2022-02-17 signatures=0 Received: from smtpclient.apple (unknown [17.235.16.35]) by rn-mailsvcp-mmp-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.12.20210903 64bit (built Sep 3 2021)) with ESMTPSA id <0R7F00O4DIUPYU00@rn-mailsvcp-mmp-lapp01.rno.apple.com>; Wed, 16 Feb 2022 19:25:37 -0800 (PST) MIME-version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: [edk2-devel] PcdDebugPropertyMask in DSC: How to I set different values for PEI and DXE? From: "Andrew Fish" In-reply-to: Date: Wed, 16 Feb 2022 19:25:36 -0800 Cc: "devel@edk2.groups.io" Message-id: <102943BC-8926-4C62-AB1D-580286CDAD17@apple.com> References: <885704FE-E5FC-40DF-B145-B97B00B2E02D@apple.com> To: Mike Kinney X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425,18.0.816 definitions=2022-02-17_01:2022-02-15,2022-02-17 signatures=0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable > On Feb 16, 2022, at 2:10 PM, Kinney, Michael D wrote: >=20 > Hi Andrew, >=20 > Current DSC syntax for platform scoped [PcdsXXX] sections only supports > CPU Arch and SKUID. >=20 > So there is no mechanism today to specify different PCD values based on > module type. >=20 > You can manage this in the DSC file, but it does require the module > scoped section for each module INF that requires a different > value that the platform scoped [PcdXXX] section. >=20 Mike, That is what I ended up doing, but it required overriding every PEIM and PE= I Core. Seemed kind of excessive.=20 I think people cheat and use IA32 vs X64 to mean PEI vs. DXE on X64 platfor= ms.=20 Thanks, Andrew Fish > Mike >=20 >> -----Original Message----- >> From: devel@edk2.groups.io On Behalf Of Andrew Fi= sh via groups.io >> Sent: Wednesday, February 16, 2022 1:02 PM >> To: edk2-devel-groups-io >> Subject: [edk2-devel] PcdDebugPropertyMask in DSC: How to I set differen= t values for PEI and DXE? >>=20 >> I=E2=80=99m trying to have a different platform policy for PcdDebugPrope= rtyMask in PEI and DXE. I can=E2=80=99t figure out how to do without >> overriding every PEIM that I build? >>=20 >> My PEI and DXE has the same arch so I can=E2=80=99t use the CPU Arch to = tell them apart. >>=20 >> Is there something I=E2=80=99m missing? >>=20 >> Thanks, >>=20 >> Andrew Fish >>=20 >>=20 >>=20 >=20