TianoCore EDK2 master
Loading...
Searching...
No Matches
RedfishPlatformConfigCapability.c
Go to the documentation of this file.
1
11
21BOOLEAN
23 IN UINT64 DebugType
24 )
25{
26 UINT64 DebugProp;
27
28 DebugProp = FixedPcdGet64 (PcdRedfishPlatformConfigDebugProperty);
29 if ((DebugProp & DebugType) != 0) {
30 return TRUE;
31 }
32
33 return FALSE;
34}
35
45BOOLEAN
47 IN UINT64 FeatureType
48 )
49{
50 UINT64 FeatureProp;
51
52 FeatureProp = FixedPcdGet64 (PcdRedfishPlatformConfigFeatureProperty);
53 if ((FeatureProp & FeatureType) != 0) {
54 return TRUE;
55 }
56
57 return FALSE;
58}
#define TRUE
Definition: Base.h:301
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define FixedPcdGet64(TokenName)
Definition: PcdLib.h:106
BOOLEAN RedfishPlatformConfigDebugProp(IN UINT64 DebugType)
BOOLEAN RedfishPlatformConfigFeatureProp(IN UINT64 FeatureType)