]> git.proxmox.com Git - mirror_edk2.git/commitdiff
RedfishPkg: Add PCD definition to RedfishPkg
authorAbner Chang <abner.chang@hpe.com>
Wed, 4 Nov 2020 08:17:14 +0000 (16:17 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 11 Nov 2020 07:25:16 +0000 (07:25 +0000)
This PCD is the UEFI device path which is used as the Redfish
host interface.

Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Signed-off-by: Ting Ye <ting.ye@intel.com>
Signed-off-by: Siyuan Fu <siyuan.fu@intel.com>
Signed-off-by: Fan Wang <fan.wang@intel.com>
Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Nickle Wang <nickle.wang@hpe.com>
Cc: Peter O'Hanley <peter.ohanley@hpe.com>
Reviewed-by: Nickle Wang <nickle.wang@hpe.com>
RedfishPkg/RedfishPkg.dec

index f12f83526c44e68ce01e9f610bfbfaefb84bc1f8..b38e9b4789519948a7f1633f31ab6ab86e89da91 100644 (file)
 [Guids]\r
   gEfiRedfishPkgTokenSpaceGuid      = { 0x4fdbccb7, 0xe829, 0x4b4c, { 0x88, 0x87, 0xb2, 0x3f, 0xd7, 0x25, 0x4b, 0x85 }}\r
 \r
+[PcdsFixedAtBuild, PcdsPatchableInModule]\r
+  #\r
+  # This PCD is the UEFI device path which is used as the Redfish host interface.\r
+  #\r
+  gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath|{0x0}|REST_EX_SERVICE_DEVICE_PATH_DATA|0x00001000 {\r
+  <HeaderFiles>\r
+    Pcd/RestExServiceDevicePath.h\r
+  <Packages>\r
+    MdePkg/MdePkg.dec\r
+    MdeModulePkg/MdeModulePkg.dec\r
+    RedfishPkg/RedfishPkg.dec\r
+  }\r
+  #\r
+  # This PCD indicates the EFI REST EX access mode to Redfish service.\r
+  # Default is set to out of band access.\r
+  #\r
+  gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|FALSE|BOOLEAN|0x00001001\r
+  #\r
+  # This PCD indicates the access mode EFI Discover protocol uses to look for the proper EFI REST EX\r
+  # protocol instance.\r
+  #\r
+  gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|FALSE|BOOLEAN|0x00001002\r