public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Zhu, Yonghong" <yonghong.zhu@intel.com>
To: "Gao, Liming" <liming.gao@intel.com>,
	wang xiaofeng <winggundum82@163.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: Do edk2 support PcdGetEx64 in library
Date: Wed, 22 Mar 2017 01:48:17 +0000	[thread overview]
Message-ID: <B9726D6DCCFB8B4CA276A9169B02216D51E2F8F5@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6EECFE@shsmsx102.ccr.corp.intel.com>

Hi Xiaofeng,

Just sent out the patch BaseTools: Fix build failure for DynamicEx Pcd used in the Library
Thanks. 

Best Regards,
Zhu Yonghong


-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Gao, Liming
Sent: Monday, March 13, 2017 10:34 AM
To: wang xiaofeng <winggundum82@163.com>; edk2-devel@lists.01.org
Subject: Re: [edk2] Do edk2 support PcdGetEx64 in library

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
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

      reply	other threads:[~2017-03-22  1:48 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
2017-03-22  1:48   ` Zhu, Yonghong [this message]

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=B9726D6DCCFB8B4CA276A9169B02216D51E2F8F5@SHSMSX103.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