Chip -
It is legal. The types that are listed in the .dec file limit the types that a
.dsc file can use. If none is specified in the .dsc file, then the first one
will be used by default. So, for example, you may want to allow a .dsc file to
support either Dynamic, DynamicEx or FixedAtBuild. So the .dec file lists all
three. But if the .dsc file tries to use Patchable, it will fail.
So Set will not work on FixedAtBuild, right, because it is defined as CONST. So
you need to change the type in the .dsc file to Dynamic or DynamicEx or
Patchable (actually, I'm not sure if Patchable generates a CONST or not)
Tim
From: Chip Ueltschey [mailto:chipj...@gmail.com]
Sent: Wednesday, August 28, 2013 5:26 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Mixed Section Types for PCD
Is it legal to do this in a DEC file?
[PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]
That seems suspect since a PcdsFixedAtBuild type will not allow set, but a
PcdsDynamic will allow set.
What is AutoGen supposed to do?
Currently, I have an error where the C code wants to set a PCD in this section.
Thanks,
-chip
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel