public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* How to assign NULL to a VOID* PCD?
@ 2020-12-16 19:05 Tim Lewis
  2020-12-16 21:28 ` [edk2-devel] " Michael D Kinney
  0 siblings, 1 reply; 7+ messages in thread
From: Tim Lewis @ 2020-12-16 19:05 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 2165 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-17  1:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16 19:05 How to assign NULL to a VOID* PCD? Tim Lewis
2020-12-16 21:28 ` [edk2-devel] " Michael D Kinney
2020-12-16 21:30   ` Tim Lewis
2020-12-16 23:22     ` Michael D Kinney
2020-12-17  0:06       ` Tim Lewis
2020-12-17  0:56         ` 回复: " gaoliming
2020-12-17  1:03           ` Tim Lewis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox