Yes.

From: Tim Lewis [mailto:[email protected]]
Sent: Thursday, March 20, 2014 12:05 AM
To: [email protected]
Subject: Re: [edk2] FeatureFlagExpress

Liming -

So all of the current uses in MdeModulePkg and IntelFrameworkModulePkg have no 
effect, correct?

Tim

From: Gao, Liming [mailto:[email protected]]
Sent: Wednesday, March 19, 2014 12:47 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [edk2] FeatureFlagExpress

Lewis:
  No. It is not supported. EDKII INF lists them as the description for PCD 
relationship.

Thanks
Liming
From: Tim Lewis [mailto:[email protected]]
Sent: Wednesday, March 19, 2014 2:23 AM
To: [email protected]<mailto:[email protected]>
Subject: [edk2] FeatureFlagExpress

I note that <FeatureFlagExpress> is defined in the .INF grammar for [Source] 
and [Pcd] and [Protocol] sections. I also recall (from Mike Kinney) that these 
aren't currently supported. The spec says they are currently ignored. However, 
I see that they are now used in multiple places in MdeModulePkg.

What I want to know is: to what extent are they actually supported. And, if so, 
do we expect an update to the INF grammar to explicitly define the behavior? As 
a producer of tools that consume and produce INFs, I'd like to be able to 
handle EDK2 source without unexpected errors.

For example, in CapsuleRuntimeDxe.inf

[Pcd]
  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule
  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule || 
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset  ## Populate Image 
requires reset support.

Or StatusCodeRuntimeDxe.inf:

[Pcd]
  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize |128| 
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory

I presume means that this PCD is only used if 
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset is TRUE.

Or, in UnicodeCollation:

[Protocols]
  gEfiUnicodeCollationProtocolGuid  | 
gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollationSupport  ## PRODUCES
  gEfiUnicodeCollation2ProtocolGuid | 
gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollation2Support ## PRODUCES

Which only creates a reference to the GUID if the PCD is defined.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to