From: "Gao, Liming" <liming.gao@intel.com>
To: wang xiaofeng <winggundum82@163.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: Do edk2 support PcdGetEx64 in library
Date: Mon, 13 Mar 2017 02:34:09 +0000 [thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6EECFE@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <2d7c8500.3e19.15ab0f506bd.Coremail.winggundum82@163.com>
Xiaofeng:
Thanks for your reporting. This is a tool issue. Please submit one bug in bugzillar. We will fix it.
Thanks
Liming
>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>wang xiaofeng
>Sent: Thursday, March 09, 2017 10:46 AM
>To: edk2-devel@lists.01.org
>Subject: [edk2] Do edk2 support PcdGetEx64 in library
>
>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?
>
>
>
>
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel
next prev parent reply other threads:[~2017-03-13 2:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 2:45 Do edk2 support PcdGetEx64 in library wang xiaofeng
2017-03-13 2:34 ` Gao, Liming [this message]
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=4A89E2EF3DFEDB4C8BFDE51014F606A14D6EECFE@shsmsx102.ccr.corp.intel.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