From: "wang xiaofeng" <winggundum82@163.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Do edk2 support PcdGetEx64 in library
Date: Thu, 9 Mar 2017 10:45:32 +0800 (CST) [thread overview]
Message-ID: <2d7c8500.3e19.15ab0f506bd.Coremail.winggundum82@163.com> (raw)
Hi ,
Anyone knows whether edk2 support PcdGetEx64 in library?
First I declare a PcdsDynamicEx in dec file
[PcdsDynamicEx]
gEfixxxTokenSpaceGuid.PcdPasswordToken|0|UINT64|0x10000009
Then I tried to use PcdGetEx64 in a library construct function
OldToken = PcdGetEx64((CONST GUID *)&gEfixxxTokenSpaceGuid,PcdPasswordToken);
There is a compile error:
warning C4013: '_PCD_TOKEN_EX_PcdPasswordToken' undefined; assuming extern returning int
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin\x86_amd64\cl.exe"' : return code '0x2'
But I can use PcdGetEx64 or PcdSetEx64S in DXE drivers, so is there a limitation to set/get PcdsDynamicEx with PcdGetEx64/ PcdSetEx64S in library��
next reply other threads:[~2017-03-09 2:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 2:45 wang xiaofeng [this message]
2017-03-13 2:34 ` Do edk2 support PcdGetEx64 in library Gao, Liming
2017-03-22 1:48 ` Zhu, Yonghong
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=2d7c8500.3e19.15ab0f506bd.Coremail.winggundum82@163.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