RedfishPkg/RedfishHostInterfaceDxe: Create SMBIOS type 42 record

This is the abstract driver to consume the contents of SMBIOS type 42h
device descriptor and protocol type data which provided by
PlatformHostInterfaceLib, and create SMBIOS type 42 record through
EFI SMBIOS protocol.

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>
This commit is contained in:
Abner Chang
2020-10-13 09:25:21 +08:00
committed by mergify[bot]
parent adad542ba1
commit d4fae44d0d
2 changed files with 293 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
## @file
# RedfishHostInterfaceDxe builds up SMBIOS Type 42h host interface
# record for Redfish service host interface using SMBIOS Protocol.
# RedfishHostInterfacePlatformLib is the platform-level library which
# provides the content of Redfish host interface type 42h record.
#
# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
[Defines]
INF_VERSION = 0x0001000b
BASE_NAME = RedfishHostInterfaceDxe
FILE_GUID = 592626DA-4A1E-8B39-28BA-FEAD92C4A0A4
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = RedfishHostInterfaceDxeEntryPoint
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
#
[Sources]
RedfishHostInterfaceDxe.c
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
RedfishPkg/RedfishPkg.dec
[LibraryClasses]
BaseLib
BaseMemoryLib
DebugLib
MemoryAllocationLib
PrintLib
RedfishPlatformHostInterfaceLib
UefiBootServicesTableLib
UefiDriverEntryPoint
UefiLib
[Protocols]
gEfiSmbiosProtocolGuid ## TO_START
[Depex]
gEfiSmbiosProtocolGuid