From a4d2ddb947eb07c7b5cf85551377ae6959dbd424 Mon Sep 17 00:00:00 2001 From: Abner Chang Date: Wed, 4 Nov 2020 16:17:14 +0800 Subject: [PATCH] RedfishPkg: Add PCD definition to RedfishPkg This PCD is the UEFI device path which is used as the Redfish host interface. Signed-off-by: Jiaxin Wu Signed-off-by: Ting Ye Signed-off-by: Siyuan Fu Signed-off-by: Fan Wang Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Peter O'Hanley Reviewed-by: Nickle Wang --- RedfishPkg/RedfishPkg.dec | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec index f12f83526c..b38e9b4789 100644 --- a/RedfishPkg/RedfishPkg.dec +++ b/RedfishPkg/RedfishPkg.dec @@ -28,3 +28,25 @@ [Guids] gEfiRedfishPkgTokenSpaceGuid = { 0x4fdbccb7, 0xe829, 0x4b4c, { 0x88, 0x87, 0xb2, 0x3f, 0xd7, 0x25, 0x4b, 0x85 }} +[PcdsFixedAtBuild, PcdsPatchableInModule] + # + # This PCD is the UEFI device path which is used as the Redfish host interface. + # + gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath|{0x0}|REST_EX_SERVICE_DEVICE_PATH_DATA|0x00001000 { + + Pcd/RestExServiceDevicePath.h + + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + RedfishPkg/RedfishPkg.dec + } + # + # This PCD indicates the EFI REST EX access mode to Redfish service. + # Default is set to out of band access. + # + gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|FALSE|BOOLEAN|0x00001001 + # + # This PCD indicates the access mode EFI Discover protocol uses to look for the proper EFI REST EX + # protocol instance. + # + gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|FALSE|BOOLEAN|0x00001002