[edk2-devel] [Platform Redfish Host Interface PATCH 1/6] RedfishPkg: Add PCD definition to RedfishPkg

Nickle Wang nickle.wang at hpe.com
Mon Nov 9 04:24:55 UTC 2020


Reviewed-by: Nickle Wang <nickle.wang at hpe.com>

> -----Original Message-----
> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Abner
> Chang
> Sent: Thursday, November 5, 2020 10:39 PM
> To: devel at edk2.groups.io
> Cc: Wang, Nickle (HPS SW) <nickle.wang at hpe.com>; O'Hanley, Peter (EXL)
> <peter.ohanley at hpe.com>
> Subject: [edk2-devel] [Platform Redfish Host Interface PATCH 1/6]
> 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 <jiaxin.wu at intel.com>
> Signed-off-by: Ting Ye <ting.ye at intel.com>
> Signed-off-by: Siyuan Fu <siyuan.fu at intel.com>
> Signed-off-by: Fan Wang <fan.wang at intel.com>
> Signed-off-by: Abner Chang <abner.chang at hpe.com>
> 
> Cc: Nickle Wang <nickle.wang at hpe.com>
> Cc: Peter O'Hanley <peter.ohanley at hpe.com>
> ---
>  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}
> |RE
> +ST_EX_SERVICE_DEVICE_PATH_DATA|0x00001000 {
> +  <HeaderFiles>
> +    Pcd/RestExServiceDevicePath.h
> +  <Packages>
> +    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.PcdRedfishRestExServiceAccessModeInBa
> nd|FA
> +LSE|BOOLEAN|0x00001001
> +  #
> +  # This PCD indicates the access mode EFI Discover protocol uses to
> +look for the proper EFI REST EX
> +  # protocol instance.
> +  #
> +
> +gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|FA
> LSE|B
> +OOLEAN|0x00001002
> --
> 2.17.1
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#67137): https://edk2.groups.io/g/devel/message/67137
Mute This Topic: https://groups.io/mt/78053310/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list