]> git.proxmox.com Git - mirror_edk2.git/commit - Tools/Source/PcdTools/org/tianocore/pcd/entity/UsageInstance.java
Modify autogen code for DynamicEx type PCD.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 20 Jun 2006 17:10:21 +0000 (17:10 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 20 Jun 2006 17:10:21 +0000 (17:10 +0000)
commit11e7b0f6dd28d03942494d3e18842d31421a9842
tree25c8e73be0420e7151121eb372e3363679983250
parentb9546cc80d2ebe1a4754d98c35c5b7b15f94556d
Modify autogen code for DynamicEx type PCD.
1) Roll back PcdSetEx/PcdGetEx macro, module developer must input the token space guid explicitly, because in a module maybe two PCD with same CName and token number but in different token space guid.
2) Modify the generated value for _PCD_MODE_xxx for DynamicEx PCD. This macro will be mapped to PcdLibSetEx/PcdLibGetEx directly, and the parameter of token space guid is auto generated.
3) For token space guid array variable autogened, only one copy will be exists in a module's autogen C file for different PCD which are in same token space guid.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@575 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Include/Library/PcdLib.h
Tools/Source/GenBuild/org/tianocore/build/pcd/action/PCDAutoGenAction.java
Tools/Source/GenBuild/org/tianocore/build/pcd/entity/UsageInstance.java