From c8f56800fd3a280b1ce9ff6da7f9581304b6a40d Mon Sep 17 00:00:00 2001 From: Abner Chang Date: Mon, 18 Mar 2024 11:18:32 +0800 Subject: RedfishPkg/RedfishPlatformConfigDxe:Add RefishDebugLib support Add RedfishPlatformConfigDxe debug capability that aligns with edk2 Redfish debug mechanism. - PcdRedfishPlatformConfigDebugProperty, add PCD to control RedfishPlatformConfigDxe subordinate of Redfish debug capabilities. - PcdRedfishPlatformConfigFeatureProperty, add PCD to manage RedfishPlatformConfigDxe features. Signed-off-by: Abner Chang Co-authored-by: Nickle Wang Cc: Igor Kulchytskyy Reviewed-by: Nickle Wang Reviewed-by: Igor Kulchytskyy --- .../RedfishPlatformConfigImpl.h | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.h') diff --git a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.h b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.h index 8b8c544..24a7dae 100644 --- a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.h +++ b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.h @@ -418,4 +418,32 @@ HiiStrSize ( IN CONST CHAR16 *String ); +/** + Check if the debug property is enabled or not. + + @param[in] DebugType Debug enablement type + + @retval TRUE, the debug property is enabled. + FALSE, the debug property is not enabled. + +**/ +BOOLEAN +RedfishPlatformConfigDebugProp ( + IN UINT64 DebugProp + ); + +/** + Check if the Platform Configure feature is enabled or not. + + @param[in] FeatureType Redfish platform config feature enablement + + @retval TRUE, the feature is enabled. + FALSE, the feature is not enabled. + +**/ +BOOLEAN +RedfishPlatformConfigFeatureProp ( + IN UINT64 FeatureProp + ); + #endif -- cgit v1.1