summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbner Chang <abner.chang@hpe.com>2020-10-13 09:29:21 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-11-02 05:50:17 +0000
commit1946bee22adbaaf6be422f3b65050122ec3c762f (patch)
treeccedb013fa91faaa8498c8b4a211acde7df516fb
parentd4fae44d0dc260b66046fc233f09897b38d2b7d2 (diff)
downloadedk2-1946bee22adbaaf6be422f3b65050122ec3c762f.tar.gz
edk2-1946bee22adbaaf6be422f3b65050122ec3c762f.tar.bz2
edk2-1946bee22adbaaf6be422f3b65050122ec3c762f.zip
RedfishPkg: Add RedfishHostInterfaceDxe to RedfishPkg
Add RedfishHostInterfaceDxe and PlatformHostInterfaceLibNull to Redfish package. Signed-off-by: Abner Chang <abner.chang@hpe.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Fan Wang <fan.wang@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Nickle Wang <nickle.wang@hpe.com> Reviewed-by: Nickle Wang <nickle.wang@hpe.com>
-rw-r--r--RedfishPkg/RedfishPkg.dec5
-rw-r--r--RedfishPkg/RedfishPkg.dsc4
2 files changed, 9 insertions, 0 deletions
diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec
index de3611252e..65e21f6bd6 100644
--- a/RedfishPkg/RedfishPkg.dec
+++ b/RedfishPkg/RedfishPkg.dec
@@ -16,6 +16,11 @@
[Includes]
Include
+[LibraryClasses]
+ ## @libraryclass Platform Redfish Host Interface Library
+ # Platform implementation-specific Redfish Host Interface.
+ RedfishPlatformHostInterfaceLib|Include/Library/RedfishHostInterfaceLib.h
+
[Guids]
gEfiRedfishPkgTokenSpaceGuid = { 0x4fdbccb7, 0xe829, 0x4b4c, { 0x88, 0x87, 0xb2, 0x3f, 0xd7, 0x25, 0x4b, 0x85 }}
diff --git a/RedfishPkg/RedfishPkg.dsc b/RedfishPkg/RedfishPkg.dsc
index f0c6740fac..c6e79f5645 100644
--- a/RedfishPkg/RedfishPkg.dsc
+++ b/RedfishPkg/RedfishPkg.dsc
@@ -38,6 +38,7 @@
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
+ RedfishPlatformHostInterfaceLib|RedfishPkg/Library/PlatformHostInterfaceLibNull/PlatformHostInterfaceLibNull.inf
[LibraryClasses.ARM, LibraryClasses.AARCH64]
#
@@ -48,4 +49,7 @@
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
[Components]
+ RedfishPkg/Library/PlatformHostInterfaceLibNull/PlatformHostInterfaceLibNull.inf
+
RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.inf
+ RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.inf