From 7cd6b97fc7c8494911f21daa5570eda8770c2969 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Mon, 17 Jul 2006 07:41:45 +0000 Subject: [PATCH] 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 --- MdePkg/Include/Library/PcdLib.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MdePkg/Include/Library/PcdLib.h b/MdePkg/Include/Library/PcdLib.h index 37d435596e..4902d2b3de 100644 --- a/MdePkg/Include/Library/PcdLib.h +++ b/MdePkg/Include/Library/PcdLib.h @@ -26,7 +26,7 @@ Module Name: PcdLib.h // // 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 -// -// BugBug: This works for strings, but not constants. -// #define FixedPcdGetPtr(TokenName) ((VOID *)_PCD_VALUE_##TokenName) -- 2.39.2