I want it to work for all types here VOID * is supported. Otherwise, there is 
no way to do a CopyMem from the data structure. And I would prefer to not have 
the module be dependent on Dynamic or DynamicEx

From: Gao, Liming [mailto:liming....@intel.com]
Sent: Friday, October 26, 2012 8:42 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] no PcdGetSize macro?

Lewis:
  Do you request this macro works for all PCD types (Fixed, Patchable, Dynamic, 
DynamicEx) or just for DynamicEx?

Thanks
Liming
From: Tim Lewis [mailto:tim.le...@insyde.com]
Sent: Saturday, October 27, 2012 7:34 AM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: [edk2] no PcdGetSize macro?

Part of the PCD infrastructure is the size of the data item. There are PPI and 
Protocol functions for this. And it is in the .DEC. But the EDK2 infrastructure 
does provide a way to get this in a generic fashion. It does not generate a 
#define for it, or provide a PcdLib.h macro.

Any plans to correct this issue? Right now I can use the LibPcdExGetSize() 
function (assuming I've declared it as DynamicEx).

Tim
------------------------------------------------------------------------------
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to