[edk2-devel] How to assign NULL to a VOID* PCD?

Tim Lewis tim.lewis at insyde.com
Wed Dec 16 19:05:30 UTC 2020


I want the PCD database to contain a NULL to a PCD that is of type VOID* but
this does not seem to be allowed in the .dsc files.

 

In .dec files, I can assign an <Expression> for the value, which lets me put
a 0. But the syntax for .dsc files only lets me put data. So for array cases
where I want 0 entries, I am always forced to put at least 1 dummy entry.
Normally, I would like to use PcdGetSize to get the total array size.

 

Any pointers?

 

Thanks,

 

Tim



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#69011): https://edk2.groups.io/g/devel/message/69011
Mute This Topic: https://groups.io/mt/79019311/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20201216/64df5bb4/attachment.htm>


More information about the edk2-devel-archive mailing list