From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web12.326.1635474903773441073 for ; Thu, 28 Oct 2021 19:35:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=hoxC/Jd9; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0936a41adb=abner.chang@hpe.com) Received: from pps.filterd (m0134422.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19T0W86n002090; Fri, 29 Oct 2021 02:34:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pps0720; bh=MPL6IWIVCKrQP2NZnQjTa5aBXTURMW6oAKK4nENFtMk=; b=hoxC/Jd9PRSDmP/R5yQ07XJt/GlZKcCekDpcbIDfAIKzwJEv4FyW+n+TarGBxHBYqDVk nG3+RXuCpGh2tRVPYLAmxlmEiY1zDjpNINsQ5lbzqgItH5ip3MCs09BQQ5JLjCm071M2 GO+4+SsWgK1+0AbI1b+QmCsZgwb/3w6jc+ESBpRxbUigvzL7mzG5U6leYov5ygB2cfop loEPg1INNJcAf17k4YCDM/Jy9zIpES3hK0G0tRPV/Foy9xEjhOiUIjFnKxV9WXkIbnGB hzUo0YZUr2rgvvEMEr5jIkrCI5tn7oSCVbtKTeHwLkdPYfLQ26Of7+QWCCw7+6IL7RDO FA== Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 3bynu90vmu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Oct 2021 02:34:55 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id CED0D65; Fri, 29 Oct 2021 02:34:54 +0000 (UTC) Received: from SAC2XFT1JT.asiapacific.hpqcorp.net (unknown [10.43.62.133]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 71D7837; Fri, 29 Oct 2021 02:34:51 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: nickle.wang@hpe.com, Liming Gao , Andrew Fish , Ray Ni Subject: [PATCH] edk2-staging/EmulatorPkg: Build Redfish memory configuration HII sample driver Date: Fri, 29 Oct 2021 10:34:48 +0800 Message-Id: <20211029023448.155552-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 X-Proofpoint-GUID: 0-9B93M7GzcXLMNATeNwFhPpLMF87GKj X-Proofpoint-ORIG-GUID: 0-9B93M7GzcXLMNATeNwFhPpLMF87GKj X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-28_06,2021-10-26_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 lowpriorityscore=0 spamscore=0 adultscore=0 impostorscore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2110290013 Content-Transfer-Encoding: 8bit Enable Redfish memory configuration HII driver to build on EmulatorPkg. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Liming Gao Cc: Andrew Fish Cc: Ray Ni --- EmulatorPkg/EmulatorPkg.dec | 3 ++- EmulatorPkg/EmulatorPkg.dsc | 3 ++- EmulatorPkg/EmulatorPkg.fdf | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/EmulatorPkg/EmulatorPkg.dec b/EmulatorPkg/EmulatorPkg.dec index b9c70b63b3a..9e87b50afc5 100644 --- a/EmulatorPkg/EmulatorPkg.dec +++ b/EmulatorPkg/EmulatorPkg.dec @@ -4,7 +4,7 @@ # # Copyright (c) 2008 - 2019, Intel Corporation. All rights reserved.
# Portions copyright (c) 2011, Apple Inc. All rights reserved. -# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
+# (C) Copyright 2020-2021 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -47,6 +47,7 @@ gEmuVirtualDisksGuid = { 0xf2ba331a, 0x8985, 0x11db, { 0xa4, 0x06, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } } gEmuPhysicalDisksGuid = { 0xf2bdcc96, 0x8985, 0x11db, { 0x87, 0x19, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } } gEmuRedfishServiceGuid = { 0x3fb208ac, 0x2185, 0x498c, { 0xbf, 0x46, 0xdc, 0x23, 0xda, 0x58, 0x7b, 0x55 } } + gHii2RedfishMemoryFormsetGuid = { 0XC2BE579E, 0X3C57, 0X499C, { 0XA9, 0XDF, 0XE6, 0X23, 0X8A, 0X49, 0X64, 0XF8 }} [PcdsFeatureFlag] ## If TRUE, if symbols only load on breakpoints and gdb entry diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index 554c13ddb50..d261b53ff0a 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -7,6 +7,7 @@ # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
# Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.
# Copyright (c) Microsoft Corporation. +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -477,7 +478,7 @@ !include NetworkPkg/Network.dsc.inc !if $(REDFISH_ENABLE) == TRUE - EmulatorPkg/Application/RedfishPlatformConfig/RedfishPlatformConfig.inf + EmulatorPkg/Hii2RedfishMemoryDxe/Hii2RedfishMemoryDxe.inf !endif !include RedfishPkg/Redfish.dsc.inc diff --git a/EmulatorPkg/EmulatorPkg.fdf b/EmulatorPkg/EmulatorPkg.fdf index 5420756eaa6..1d5f67c2695 100644 --- a/EmulatorPkg/EmulatorPkg.fdf +++ b/EmulatorPkg/EmulatorPkg.fdf @@ -3,6 +3,7 @@ # # Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.
# Portions copyright (c) 2009 - 2011, Apple Inc. All rights reserved.
+# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -211,6 +212,9 @@ INF EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf # # EFI Redfish drivers # +!if $(REDFISH_ENABLE) == TRUE + INF EmulatorPkg/Hii2RedfishMemoryDxe/Hii2RedfishMemoryDxe.inf +!endif !include RedfishPkg/Redfish.fdf.inc INF FatPkg/EnhancedFatDxe/Fat.inf -- 2.21.0.windows.1