From: "Tim Lewis" <tim.lewis@insyde.com>
To: <devel@edk2.groups.io>
Subject: How to assign NULL to a VOID* PCD?
Date: Wed, 16 Dec 2020 11:05:30 -0800 [thread overview]
Message-ID: <041801d6d3de$6dd71160$49853420$@insyde.com> (raw)
[-- 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 --]
next reply other threads:[~2020-12-16 19:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-16 19:05 Tim Lewis [this message]
2020-12-16 21:28 ` [edk2-devel] How to assign NULL to a VOID* PCD? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='041801d6d3de$6dd71160$49853420$@insyde.com' \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox