From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web12.7068.1604896002670699643 for ; Sun, 08 Nov 2020 20:26:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=LMDp9Mos; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0582fe335b=nickle.wang@hpe.com) Received: from pps.filterd (m0134425.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A94QBRg005097 for ; Mon, 9 Nov 2020 04:26:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pps0720; bh=tJJCG2L+tdCsMm73FS9QoExPNI6NGMJNhq1oaFWKUKI=; b=LMDp9MosN83Xb29VgIewqNrcFHtAL4sonnljdweSblXk8KcEtwGKHCaqRDzJ4BGKN8TT +pp9mA2DevvzIwfmeyRNm+S7pw+mMg7FvYDQQEXjzw2du2IYWH2ApCcHZrLCEb7EA3ih 8yOUMziZNtRFNDQGfYec5FpYycj7Mk+oxf13q4tkaIupF/YIhfnxAmbbkXiv1OpSl6rH sVMldhoIuOLx10cA8wkv6S0TKiWya52PovzoWjeUU3+2Sa2ek+/kijy3PE/GakT1vuk7 DdAS6gNWiIZciZTrLLsSq8NFFpgqfXlh8mf2nsSApgV7KRfEaQBU/Al5hnoQoBmDffpc IQ== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 34nmvphvy4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 09 Nov 2020 04:26:41 +0000 Received: from G1W8106.americas.hpqcorp.net (g1w8106.austin.hp.com [16.193.72.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id 543D14F for ; Mon, 9 Nov 2020 04:26:41 +0000 (UTC) Received: from G4W9334.americas.hpqcorp.net (16.208.32.120) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 9 Nov 2020 04:26:41 +0000 Received: from G9W9209.americas.hpqcorp.net (2002:10dc:429c::10dc:429c) by G4W9334.americas.hpqcorp.net (2002:10d0:2078::10d0:2078) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 9 Nov 2020 04:26:40 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (15.241.52.10) by G9W9209.americas.hpqcorp.net (16.220.66.156) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 9 Nov 2020 04:26:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=abQYNhNQiHz5TqQpysfLbb8Bx2+tv6b699X3EWXPOGb4sCN7yTG6ji33h70iBv/b0EB6T911v6PKOjvldIP0W8E3h2YL/nTMyai5A0I4ClG8v4Gasi7BbmXWlQzNbRcrn2t008zKWt+IlAnmKFgDXPXwp35rLxtRfYo8fuHMxdxl3vZYV96iYS2iITSSxiqNPs/WRu8yAMRo7pF5mn5LbTGR50yVXlUI/QRHDeI2A2tCVewUXIAumdPcNJyIzJFMdmtCODME6d5SYGBispSotqGcSZVlDTptMHOMIaHYezjkvfGpXDTiQ+O+VsVm5XRYZvfFQ2Cv4etRPaxoNHDomQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9yYORKgLTWTd0x00e3VUkJLSKIHCHEOFCgJqovhADMc=; b=bnBKNGC/+lX/vUIoghdweV6LdnK7VSVRV8e7d/YHwRPpCzsov+AoPJouX5GJr2NwA6qIl3Ha6d1HEW/0JTGZIuhcF4McjvfeE74ZKuwi0MzKi4RImJd72nL2xiGo/dzCS9WnpE8dhYHkR8CQ1LUfrVSgWdpnYLLf842BZW4AD9k3sCGX/Vhg7GwrNjjGptvPKmTJKmWXSnHmAUMwU76atrqbMRTqzi/C69pBG/hvAQ1sVIlaGMkOsCE5SutiWg5ol/kbxs0MaHSZ3GWgF+6WnTeTTdPC53s5kVUFHI6gyz1CeZtJXXvz0YvUiyuoENhwwO+7eP21Z12g5/e8suclaA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760d::7) by DF4PR8401MB1195.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.22; Mon, 9 Nov 2020 04:26:38 +0000 Received: from DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM ([fe80::e475:6a2b:ed1c:a060]) by DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM ([fe80::e475:6a2b:ed1c:a060%11]) with mapi id 15.20.3541.025; Mon, 9 Nov 2020 04:26:38 +0000 From: "Nickle Wang" To: "devel@edk2.groups.io" , "Chang, Abner (HPS SW/FW Technologist)" CC: Jiaxin Wu , Siyuan Fu , Fan Wang , "O'Hanley, Peter (EXL)" Subject: Re: [edk2-devel] [Platform Redfish Host Interface PATCH 2/6] RedfishPkg: DSC and FDF include files for enabling EFI Redfish support Thread-Topic: [edk2-devel] [Platform Redfish Host Interface PATCH 2/6] RedfishPkg: DSC and FDF include files for enabling EFI Redfish support Thread-Index: AQHWs4fOvmBz92bQUkSsIjmL5XEwXqm/OYuA Date: Mon, 9 Nov 2020 04:26:38 +0000 Message-ID: References: <20201105143853.2180-1-abner.chang@hpe.com> <20201105143853.2180-3-abner.chang@hpe.com> In-Reply-To: <20201105143853.2180-3-abner.chang@hpe.com> Accept-Language: zh-TW, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=hpe.com; x-originating-ip: [2001:b011:5c04:3606:5976:b1d6:8e55:21f4] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f421e22d-0a74-497c-7661-08d88467a6ca x-ms-traffictypediagnostic: DF4PR8401MB1195: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:813; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /TA3a2JH7DZQypXbzX8cRLsmxKOC6JK0ftVjlUdMW0zUN+idMSbc48z6jeJ+J+NvvAv3e/UKoqT4fzddO2zjq8E76ffIUbHK1GjtqPlxO8l+oKHdWEY/OWeNricB5m/JTB8OgTsQkIKqOJZgCh+bgom/BhT2i+4zW8sUEXjad4PpLQyggcvyBS7t62bMqYVD8ISezWwYLLo3wjcjnO8RRvG7g6XRxXM8++28PXbmkJbf7C81qSqTCCnujnd2piGVD1YhcPuyNwKFFRRDquRG6FnlmtKXxz9zI0VzshIjN7nrm/l/h8bwxGpiI74riB/gobw9/xozm/yxmxGgVazBqgQWQPcKnqIyUUoQUTAFkja6IgWJSDRP3Bbf4Cu1cxtjlfE/AKNCf7dRIOAMfTrgVQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(366004)(136003)(346002)(376002)(39860400002)(396003)(2906002)(83380400001)(52536014)(110136005)(54906003)(86362001)(4326008)(966005)(8936002)(186003)(6636002)(33656002)(71200400001)(316002)(66946007)(66446008)(76116006)(66476007)(66556008)(64756008)(5660300002)(7696005)(55016002)(19627235002)(6506007)(53546011)(9686003)(478600001)(8676002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: yKzDE34kcyNTEt9r/WXXy/gYd/zqjrUYWaFYeO6W7Dr4Us+A3B9xoe8ENw4HGM6lr0A6T1e+ZQWkf5edAK0lo5S9u9pejUu9Ca815vecCEO9tAN8vxGGHws6AcaeqFNLJBMjFGAGje5WhSvyMc91/h2idFTRgu4rDLakdBjhK+/nd28yzaWmglwmpSsUHyOYjkOG6xm7ZKYiZIBv1T0B3P8duZZWFA+kem/NmZaIlHHGQC32CcfAJTGtkMvAxovQUYFf+nHfdm+tcfIY2M7NYHfliRDK9O1jqyI9w8hLgFrjSyc3X5D+iEcaRv4eFrJ2Qpi0FGHjxqL+4FAI0YKU/9zwECAAe2Ir0HHVAgPURUJB5nsDlBwMWeexEIzWPu9Dbl+a7pNKWYiKw3TgdP/bILBnhlXJ/Igr7hBAx16mDjwIg5972m53tCOQ9jDZCmfma9TwkKLkkaEs3q0QCLaVHUc4Aw0UJ3Mahl1uB92LO12WRNwsJRs20S1Br4+yH1bgSrAd8If52GyuTobe2dxu/nETlvrh8n+WJH+jqm5d2MI3wNAcw4oSbzEJJR9XgwbwypcKnBFvbIZE7PI2zVuN6Q3Z4+bATQPesANJSx4g04JbK8fNho2pXA+GZ+ah1VfDkBV7gOQYBowWJZRbWcNg5Oag7cpvy08wtiJc9e4mKmNfSs0tPy7AORMS8UcDkP2PBIaR9n/oUMg+rwP+csOqQw== X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: f421e22d-0a74-497c-7661-08d88467a6ca X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2020 04:26:38.6630 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: m/7CRNvpKqQuyAUlzZSo7iSYQpi3vej9+Efnk8oVDODxE2c5GlwZXsxxrQtfINqu3X8NxqxhKvMHQKNErm6HPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB1195 X-OriginatorOrg: hpe.com X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-09_01:2020-11-05,2020-11-09 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 suspectscore=0 lowpriorityscore=0 adultscore=0 impostorscore=0 priorityscore=1501 malwarescore=0 mlxlogscore=999 phishscore=0 bulkscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011090025 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Nickle Wang > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Abner > Chang > Sent: Thursday, November 5, 2020 10:39 PM > To: devel@edk2.groups.io > Cc: Jiaxin Wu ; Siyuan Fu ; Fa= n > Wang ; Wang, Nickle (HPS SW) > ; O'Hanley, Peter (EXL) > Subject: [edk2-devel] [Platform Redfish Host Interface PATCH 2/6] > RedfishPkg: DSC and FDF include files for enabling EFI Redfish support >=20 > Signed-off-by: Abner Chang >=20 > Cc: Jiaxin Wu > Cc: Siyuan Fu > Cc: Fan Wang > Cc: Nickle Wang > Cc: Peter O'Hanley > --- > RedfishPkg/Redfish.dsc.inc | 21 +++++++++++++++++++++ > RedfishPkg/Redfish.fdf.inc | 16 ++++++++++++++++ > RedfishPkg/RedfishComponents.dsc.inc | 18 ++++++++++++++++++ > RedfishPkg/RedfishDefines.dsc.inc | 27 +++++++++++++++++++++++++++ > RedfishPkg/RedfishLibs.dsc.inc | 15 +++++++++++++++ > 5 files changed, 97 insertions(+) > create mode 100644 RedfishPkg/Redfish.dsc.inc create mode 100644 > RedfishPkg/Redfish.fdf.inc create mode 100644 > RedfishPkg/RedfishComponents.dsc.inc > create mode 100644 RedfishPkg/RedfishDefines.dsc.inc create mode 10064= 4 > RedfishPkg/RedfishLibs.dsc.inc >=20 > diff --git a/RedfishPkg/Redfish.dsc.inc b/RedfishPkg/Redfish.dsc.inc new= file > mode 100644 index 0000000000..ac72909ca2 > --- /dev/null > +++ b/RedfishPkg/Redfish.dsc.inc > @@ -0,0 +1,21 @@ > +## @file > +# Redfish DSC include file for Platform DSC # # This file includes all > +required information to enable Redfish features. > +# It can be included to a platform DSC file by using "!include > RedfishPkg/Redfish.dsc.inc". > +# > +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
# > +# SPDX-License-Identifier: BSD-2-Clause-Patent > +# > +## > + > +[Defines] > + !include RedfishPkg/RedfishDefines.dsc.inc > + > +[LibraryClasses] > + !include RedfishPkg/RedfishLibs.dsc.inc > + > +[Components] > + !include RedfishPkg/RedfishComponents.dsc.inc > + > diff --git a/RedfishPkg/Redfish.fdf.inc b/RedfishPkg/Redfish.fdf.inc new= file > mode 100644 index 0000000000..19de479a80 > --- /dev/null > +++ b/RedfishPkg/Redfish.fdf.inc > @@ -0,0 +1,16 @@ > +## @file > +# Redfish FDF include file for [FV*] section of all Architectures. > +# > +# This file can be included to the [FV*] section(s) of a platform FDF > +file # by using "!include RedfishPkg/RedfisLibs.fdf.inc" to specify the > +module instances # to be built in the firmware volume. > +# > +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
# > +# SPDX-License-Identifier: BSD-2-Clause-Patent > +# > +## > +!if $(REDFISH_ENABLE) =3D=3D TRUE > + INF RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.inf > + INF RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.inf > +!endif > diff --git a/RedfishPkg/RedfishComponents.dsc.inc > b/RedfishPkg/RedfishComponents.dsc.inc > new file mode 100644 > index 0000000000..ac1b57ed8f > --- /dev/null > +++ b/RedfishPkg/RedfishComponents.dsc.inc > @@ -0,0 +1,18 @@ > +## @file > +# Redfish DSC include file for [Components*] section of all Architectur= es. > +# > +# This file can be included to the [Components*] section(s) of a > +platform DSC file # by using "!include > +RedfishPkg/RedfishComponents.dsc.inc" to specify the INF files # of > +EDKII Redfish drivers according to the value of flags described in # > "RedfishDefines.dsc.inc". > +# > +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
# > +# SPDX-License-Identifier: BSD-2-Clause-Patent > +# > +## > + > +!if $(REDFISH_ENABLE) =3D=3D TRUE > + RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.inf > + RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.inf > +!endif > diff --git a/RedfishPkg/RedfishDefines.dsc.inc > b/RedfishPkg/RedfishDefines.dsc.inc > new file mode 100644 > index 0000000000..0049f92378 > --- /dev/null > +++ b/RedfishPkg/RedfishDefines.dsc.inc > @@ -0,0 +1,27 @@ > +## @file > +# RedfishPkg DSC include file for [Defines] section of all Architecture= s. > +# > +# This file can be included to the [Defines] section of a platform DSC > +file by # using "!include RedfishPkg/RedfishDefines.dsc.inc" to set > +value of # flags. > +# > +# These flags can be defined before the !include line, or changed on > +the command # line to enable or disable related feature support. > +# -D FLAG=3DVALUE > +# > +# The default value of these flags are: > +# DEFINE REDFISH_ENABLE =3D TRUE > +# > +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
# > +# SPDX-License-Identifier: BSD-2-Clause-Patent > +# > +## > + > +!ifndef REDFISH_ENABLE > + # > + # This flag is to enable or disable the whole Redfish support. > + # > + DEFINE REDFISH_ENABLE =3D TRUE > +!endif > + > diff --git a/RedfishPkg/RedfishLibs.dsc.inc b/RedfishPkg/RedfishLibs.dsc= .inc > new file mode 100644 index 0000000000..e780b5c270 > --- /dev/null > +++ b/RedfishPkg/RedfishLibs.dsc.inc > @@ -0,0 +1,15 @@ > +## @file > +# Redfish DSC include file for [LibraryClasses*] section of all Archite= ctures. > +# > +# This file can be included to the [LibraryClasses*] section(s) of a > +platform DSC file # by using "!include RedfishPkg/RedfisLibs.dsc.inc" > +to specify the library instances # of EDKII network library classes. > +# > +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
# > +# SPDX-License-Identifier: BSD-2-Clause-Patent > +# > +## > +!if $(REDFISH_ENABLE) =3D=3D TRUE > +!endif > + > -- > 2.17.1 >=20 >=20 >=20 >=20 >=20