From nobody Sat May 4 15:05:24 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+82892+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+82892+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1635474909; cv=none; d=zohomail.com; s=zohoarc; b=VgVYdazzAfJecA1Q0NWyS8+7w0PTrVn1m5rI/dX2Mj2N2/73ZzFcs8RdOqw46U2O6+FjB7KSL+gS4f7+WRjlSIg3akweGmhsa+CSLXHjin9y77xIq2KbRS5jv8tTzu+r1NphPLkFVT/UNmlBSFDWk/jM3thLtyv8Ae66FPjBeD4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635474909; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=UN9puCY4zX8JgveBEtqXGO5ibE0iWVlwfrALRQQ4I0c=; b=gwjV4mH6TfyvfK2sBkGmczGXKs47YCeGCzjXKUlj0j9kiG7K0wQDCiWGOhYHGGdu3WxICz0/HLbq8ouNau2wG9XjOjkS4Yk9pnmt4Jn0Ip7pEie647O+FLiOYkndDwgwIrQWPaE5C9wrCsZfdnLi+UCZ/K5qch7tfMHUCPcR0ho= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+82892+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1635474909078179.57380397164695; Thu, 28 Oct 2021 19:35:09 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id zapMYY1788612x1fMcPtzRuU; Thu, 28 Oct 2021 19:35:08 -0700 X-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 X-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 X-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 X-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) X-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: [edk2-devel] [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> MIME-Version: 1.0 X-Proofpoint-GUID: 0-9B93M7GzcXLMNATeNwFhPpLMF87GKj X-Proofpoint-ORIG-GUID: 0-9B93M7GzcXLMNATeNwFhPpLMF87GKj X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,abner.chang@hpe.com X-Gm-Message-State: JuW209a5BxUuhhHtkMcTDYQqx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1635474908; bh=on+XVoAd6LtzNoynwrMOKUhWphSlzLDI1vDphm6Xmm4=; h=Cc:Date:From:Reply-To:Subject:To; b=DvMV840G1rP4Uf+SZ1HeREvh7ZUNUExvG1YYGULtUnzyBoIA48///2YrW746lkgMi/q gTbMII8gZ2/AyUM3f3ZRmvcGpX96BmyQn2z39kCMAI11mRp2/W1M6VemaBkBAZjEIwH3E JjPSTVk5KJg8fV8XZxSSsltcdHqg2v8GO6g= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1635474911275100002 Content-Type: text/plain; charset="utf-8" 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 =3D { 0xf2ba331a, 0x8985, 0x11db, { 0xa4, 0x0= 6, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } } gEmuPhysicalDisksGuid =3D { 0xf2bdcc96, 0x8985, 0x11db, { 0x87, 0x1= 9, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } } gEmuRedfishServiceGuid =3D { 0x3fb208ac, 0x2185, 0x498c, { 0xbf, 0x4= 6, 0xdc, 0x23, 0xda, 0x58, 0x7b, 0x55 } } + gHii2RedfishMemoryFormsetGuid =3D { 0XC2BE579E, 0X3C57, 0X499C, { 0XA9,= 0XDF, 0XE6, 0X23, 0X8A, 0X49, 0X64, 0XF8 }} =20 [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 =20 !if $(REDFISH_ENABLE) =3D=3D TRUE - EmulatorPkg/Application/RedfishPlatformConfig/RedfishPlatformConfig.inf + EmulatorPkg/Hii2RedfishMemoryDxe/Hii2RedfishMemoryDxe.inf !endif !include RedfishPkg/Redfish.dsc.inc =20 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) =3D=3D TRUE + INF EmulatorPkg/Hii2RedfishMemoryDxe/Hii2RedfishMemoryDxe.inf +!endif !include RedfishPkg/Redfish.fdf.inc =20 INF FatPkg/EnhancedFatDxe/Fat.inf --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#82892): https://edk2.groups.io/g/devel/message/82892 Mute This Topic: https://groups.io/mt/86668522/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-