On 03/26/18 22:16, Kinney, Michael D wrote:
> Jeff,
> 
> You can provide default values for structure fields
> in the DEC file.
> 
> Liming has an example posted in the following branch:
> 
> https://github.com/lgao4/edk2/tree/UDK2018
> 
> DEC file example in TestPkg:
> 
> https://github.com/lgao4/edk2/blob/UDK2018/TestPkg/TestPkg.dec

Liming also posted a DEC spec (i.e. documentation) patch recently:

  [edk2] [Patch] DecSpecification: Add structure PCD definition syntax

It's upstream now and the rendered version can be seen here:

https://edk2-docs.gitbooks.io/edk-ii-dec-specification/content/3_edk_ii_dec_file_format/310_pcd_sections.html

https://edk2-docs.gitbooks.io/edk-ii-dec-specification/content/3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.html

Laszlo

>> -----Original Message-----
>> From: edk2-devel [mailto:edk2-devel-
>> [email protected]] On Behalf Of jbrasen.qdt
>> Sent: Monday, March 26, 2018 11:51 AM
>> To: [email protected]
>> Subject: [edk2] Question regarding structure PCD
>>
>> Hello,
>>
>>    I was implementing support for PCDs in my platform
>> using the new structure PCD support, and I had a
>> question regarding this. Is it possible in the dec file
>> to define the default values of a PCD defined as a
>> structure using this format or just the byte array
>> format?
>>
>> Thanks,
>> Jeff Brasen
>>
>> _______________________________________________
>> edk2-devel mailing list
>> [email protected]
>> https://lists.01.org/mailman/listinfo/edk2-devel
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/edk2-devel
> 

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to