mirror of https://github.com/acidanthera/audk.git
map FeaturePcdGet(TokenName) to _PCD_GET_MODE_BOOL_##TokenName to follow the build tool's autogen.h output.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1031 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d129bd96fa
commit
7cd6b97fc7
|
@ -26,7 +26,7 @@ Module Name: PcdLib.h
|
||||||
//
|
//
|
||||||
// Feature Flag is in the form of a global constant
|
// Feature Flag is in the form of a global constant
|
||||||
//
|
//
|
||||||
#define FeaturePcdGet(TokenName) _PCD_VALUE_##TokenName
|
#define FeaturePcdGet(TokenName) _PCD_GET_MODE_BOOL_##TokenName
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -39,9 +39,6 @@ Module Name: PcdLib.h
|
||||||
#define FixedPcdGetBool(TokenName) _PCD_VALUE_##TokenName
|
#define FixedPcdGetBool(TokenName) _PCD_VALUE_##TokenName
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// BugBug: This works for strings, but not constants.
|
|
||||||
//
|
|
||||||
#define FixedPcdGetPtr(TokenName) ((VOID *)_PCD_VALUE_##TokenName)
|
#define FixedPcdGetPtr(TokenName) ((VOID *)_PCD_VALUE_##TokenName)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue