From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web11.9365.1595379511385837110 for ; Tue, 21 Jul 2020 17:58:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=rRrsiUxv; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: guomin.jiang@intel.com) IronPort-SDR: Ax345QhNkKLchYjuXL9T7lZ2rOWZGxJJ4EK7YF9fr2PU1zzC5j8ChW+V5GwD8kf7up6qO+Xt6k ONfs5YoFfsLA== X-IronPort-AV: E=McAfee;i="6000,8403,9689"; a="149418713" X-IronPort-AV: E=Sophos;i="5.75,381,1589266800"; d="scan'208";a="149418713" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2020 17:58:24 -0700 IronPort-SDR: GoJXY2UTeUE8LAF3O7zZHIGR/201o84k4nGhGvINzlThisY+9XocNQgdEeyc+5zKP0yYX1MBbl DlwZORikDfLg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,381,1589266800"; d="scan'208";a="320100772" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga002.fm.intel.com with ESMTP; 21 Jul 2020 17:58:23 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 21 Jul 2020 17:58:23 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 21 Jul 2020 17:58:23 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.102) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 21 Jul 2020 17:58:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RuORLaTB13VVkZIPr/DsyUNt3MB0WX/1JBKjYsKzi0YLAREmNmqJ+JgQ1pCwf/TjZT6g/7KGzW+ayBBKDSXE9SgsGbz29+bZs1xWUuZnsg3bt+RpWjVYKaeEpfqmCsA5O3iWrxpvwD69sJKcbcvKzc7NoOUitdHNJ9huZ5knOvMJ6AO43QBD8ryOYyidpOUiWbEbQTJfwCn4qmPeuWB6f4oHIuiDfTYWPJQp2ovnpG4lDQFnaXc7aAy3WsgWhwx5DWJxbmj1+PdLI9mypEPdNUANMjmJnvJkUiNTH+iCVjz1XFHofWybVxxJV6KM2LEIJ/dNXMGoSJuZW107dVftkQ== 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=GbsHWepWRR/rJpe2YcVfolDPh4SBlZyIVGMU26Srvho=; b=Dgd4bUgSQtICXEcdXsI3SVUTsU+v2i1nRBeN+shtjl9tsMz5fPcCklnXjC6cgZ1cCVRf5x3BEH6RRAfkIEU7xsU74hjVsSaZvhN/yHBkGNdDyDBIUTt5U7fwlLr4joY2g4a6D666SPg0UhlZgxopIbXj2DEPDQAmttt87Hbu4KJHE9IPH4r5gm059vRoG0skQnzfSlIiNgvMnoX+4GZVoL9K9kQUmafatM24xmUAw2Tn/fXdWpEOon3W6VqRt9lqPA6wZf+mZj0i4xD9+/Y2KdrUaDzns4UiC+BnZZe4Nk+ueuauxTChTan/mt3+PYMzBUWBT/s0m3+elOBFhJaczw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GbsHWepWRR/rJpe2YcVfolDPh4SBlZyIVGMU26Srvho=; b=rRrsiUxvTYAvgrPjgyPIWPKH14panYyctEzjZWbXbNmczcLLglER3VZiGJzaMgbtbIntNbO18exGUGJSUDweGuPjpxPcGd4jD3hL6vo+ANtM6FfjW2cEbHiQ+LenRtortvqbeB8YSI7R8eNHOt5tdKpBEKhncc52hBVoYDW7Ruo= Received: from DM6PR11MB2955.namprd11.prod.outlook.com (2603:10b6:5:65::31) by DM6PR11MB4298.namprd11.prod.outlook.com (2603:10b6:5:204::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17; Wed, 22 Jul 2020 00:58:21 +0000 Received: from DM6PR11MB2955.namprd11.prod.outlook.com ([fe80::e916:c766:fc41:b51d]) by DM6PR11MB2955.namprd11.prod.outlook.com ([fe80::e916:c766:fc41:b51d%5]) with mapi id 15.20.3174.027; Wed, 22 Jul 2020 00:58:21 +0000 From: "Guomin Jiang" To: "devel@edk2.groups.io" , "abner.chang@hpe.com" CC: Daniel Schaefer , "Wang, Jian J" , "Lu, XiaoyuX" , Leif Lindholm , Gilbert Chen Subject: Re: [edk2-devel] [edk2/master PATCH RISC-V CI Code Changes v1 05/11] CryptoPkg: Add RISC-V architecture for EDK2 CI. Thread-Topic: [edk2-devel] [edk2/master PATCH RISC-V CI Code Changes v1 05/11] CryptoPkg: Add RISC-V architecture for EDK2 CI. Thread-Index: AQHV835VFQLkdWfbWU+V+4ukjGRNp6kTn0tA Date: Wed, 22 Jul 2020 00:58:21 +0000 Message-ID: References: <20200306053620.12131-1-abner.chang@hpe.com> <20200306053620.12131-6-abner.chang@hpe.com> In-Reply-To: <20200306053620.12131-6-abner.chang@hpe.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.203] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0a4883d5-2772-428b-9fc0-08d82dda5465 x-ms-traffictypediagnostic: DM6PR11MB4298: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9nLvIq9Ma2Iy/7r5kItrxVWqPc53P6Sm86AFnmv+ODzPZ9ghCpXc9VPnH/IeOFrA1vzqGvSAJ8U8WnNZKLFFsO0WY43z1RuXCrq5BPTed17kd57KR8ws2xnSo2CNOxr7bqBPvolH2XzN+CGj1tirKc0NREY0gpBmzGHaHgRrtF9desBZHHu7QNXfWZDhTeoQN9tDR0VCg6OYK3fyARvOKg8P92vLhjwz8/CizLfJxAYLw5ZfNsZdDfApRXhZypYUhki+4wCACSLqWLkp9VqhVi+gcdmMNwOcESRFmUy6i/TKLr0bsEYyCKmJJAXOhZcSmDznEZmBP7GteLiRO4vCsHi2JP/JAFwrPX1VmddFISKJix8YcfrVlYV4ygljWrQK43+zBdv39LZgf/7Tmfznhw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB2955.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(346002)(376002)(366004)(136003)(396003)(39860400002)(7696005)(66946007)(55016002)(8936002)(9686003)(52536014)(8676002)(66446008)(64756008)(66556008)(66476007)(966005)(5660300002)(76116006)(2906002)(26005)(83380400001)(53546011)(86362001)(54906003)(71200400001)(110136005)(33656002)(30864003)(6506007)(478600001)(186003)(45080400002)(316002)(4326008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 2cFL+3LWpQeXlP3blfoEULUhBOMBz01vufQtMnVd8NnELZdD8KtJ7hMn3pVllP6ZTQtjc2mfleCL/ee/vV9PQCN4TtGai0xYHPRYL2qpsDxuPW1sQXIZiUwwYrZ/NrqQqq/xw/GVsOd5sUqL7LewF5gQhGbUtnFhYCcBb1j6PjfSQ5awcgkfboFlyeCTG7uik2aSG4sP9hrYys7RzsCkJ7KiiiGRGX6MgQK70KX87kchr+k2xkdj4XSmK/p1qdXek+pzvS4PDBv8dYV/N9ihetA7A+R9PAC7csfa39amVUDAZyeQ61n+WQN62EF8frrBOYCquvlwO74/C2HlGAtrm+Lw+/ypptLtQdtiVugWopFz/0S5fAK/CoGcSLURh/zHwjSxU+l8nPaJtGXVn2+Ionh/o360d8EoKSk9KCDYe7xQbP/SqScZ/IJWqIiQN7EbLJk8sQh9zmGujzQqXfQZ+4Ha9kV1VlCb4gOh+oZ7AeDL8izae2lT8jnrFLiBK2pj MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB2955.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a4883d5-2772-428b-9fc0-08d82dda5465 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jul 2020 00:58:21.4022 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: asL4e4RfkzFwt+NTEjzgn5NZGDR7Lt4wzdPqY1N1Pfsy7Xe5rO2spmhiYCC0tr+gkv2LMph2v8VK/aBSct2UQg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4298 Return-Path: guomin.jiang@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Guomin Jiang > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Abner > Chang > Sent: Friday, March 6, 2020 1:36 PM > To: devel@edk2.groups.io > Cc: abner.chang@hpe.com; Daniel Schaefer ; > Wang, Jian J ; Lu, XiaoyuX ; > Leif Lindholm ; Gilbert Chen > Subject: [edk2-devel] [edk2/master PATCH RISC-V CI Code Changes v1 > 05/11] CryptoPkg: Add RISC-V architecture for EDK2 CI. >=20 > Add RISC-V architecture for EDK2 CI testing. >=20 > BZ:2562: > https://bugzilla.tianocore.org/show_bug.cgi?id=3D2562 >=20 > Signed-off-by: Abner Chang > Co-authored-by: Daniel Schaefer >=20 > Cc: Jian J Wang > Cc: Xiaoyu Lu > Cc: Leif Lindholm > Cc: Gilbert Chen > --- > CryptoPkg/CryptoPkg.dsc | 3 ++- > CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 6 +++++- > CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 4 ++++ > CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf | 3 ++- > CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf | 3 ++- > CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf | 3 ++- > CryptoPkg/Library/OpensslLib/OpensslLib.inf | 2 ++ > CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 2 ++ > CryptoPkg/Library/TlsLib/TlsLib.inf | 4 ++-- > CryptoPkg/Library/TlsLibNull/TlsLibNull.inf | 4 ++-- > CryptoPkg/Library/Include/CrtLibSupport.h | 3 ++- > 11 files changed, 27 insertions(+), 10 deletions(-) >=20 > diff --git a/CryptoPkg/CryptoPkg.dsc b/CryptoPkg/CryptoPkg.dsc > index 4cb37b1349..f79ff331cf 100644 > --- a/CryptoPkg/CryptoPkg.dsc > +++ b/CryptoPkg/CryptoPkg.dsc > @@ -3,6 +3,7 @@ > # PEIM, DXE Driver, and SMM Driver with all crypto services enabled. >=20 > # >=20 > # Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved. >=20 > +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All ri= ghts > reserved.
>=20 > # SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > # >=20 > ## >=20 > @@ -18,7 +19,7 @@ > PLATFORM_VERSION =3D 0.98 >=20 > DSC_SPECIFICATION =3D 0x00010005 >=20 > OUTPUT_DIRECTORY =3D Build/CryptoPkg >=20 > - SUPPORTED_ARCHITECTURES =3D IA32|X64|ARM|AARCH64 >=20 > + SUPPORTED_ARCHITECTURES =3D IA32|X64|ARM|AARCH64|RISCV64 >=20 > BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT >=20 > SKUID_IDENTIFIER =3D DEFAULT >=20 >=20 >=20 > diff --git a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf > b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf > index 1bbe4f435a..a63ad66b4f 100644 > --- a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf > +++ b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf > @@ -7,6 +7,7 @@ > # buffer overflow or integer overflow. >=20 > # >=20 > # Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved. >=20 > +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All ri= ghts > reserved.
>=20 > # SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > # >=20 > ## >=20 > @@ -23,7 +24,7 @@ > # >=20 > # The following information is for reference only and not required by th= e > build tools. >=20 > # >=20 > -# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 >=20 > +# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 RISCV64 >=20 > # >=20 >=20 >=20 > [Sources] >=20 > @@ -72,6 +73,9 @@ > [Sources.AARCH64] >=20 > Rand/CryptRand.c >=20 >=20 >=20 > +[Sources.RISCV64] >=20 > + Rand/CryptRand.c >=20 > + >=20 > [Packages] >=20 > MdePkg/MdePkg.dec >=20 > CryptoPkg/CryptoPkg.dec >=20 > diff --git a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > index bff308a4f5..e5b8ececc1 100644 > --- a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > +++ b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > @@ -12,6 +12,7 @@ > # authenticode signature verification functions are not supported in th= is > instance. >=20 > # >=20 > # Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved. >=20 > +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All ri= ghts > reserved.
>=20 > # SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > # >=20 > ## >=20 > @@ -77,6 +78,9 @@ > [Sources.AARCH64] >=20 > Rand/CryptRand.c >=20 >=20 >=20 > +[Sources.RISCV64] >=20 > + Rand/CryptRand.c >=20 > + >=20 > [Packages] >=20 > MdePkg/MdePkg.dec >=20 > CryptoPkg/CryptoPkg.dec >=20 > diff --git a/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf > b/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf > index 8f53b0dfd0..9b4991cbb0 100644 > --- a/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf > +++ b/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf > @@ -7,6 +7,7 @@ > # buffer overflow or integer overflow. >=20 > # >=20 > # Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved. >=20 > +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All ri= ghts > reserved.
>=20 > # SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > # >=20 > ## >=20 > @@ -23,7 +24,7 @@ > # >=20 > # The following information is for reference only and not required by th= e > build tools. >=20 > # >=20 > -# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 >=20 > +# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 RISCV64 >=20 > # >=20 >=20 >=20 > [Sources] >=20 > diff --git a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf > b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf > index 9282b0fd6b..baa4433cbe 100644 > --- a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf > +++ b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf > @@ -3,6 +3,7 @@ > # Protocol. >=20 > # >=20 > # Copyright (C) Microsoft Corporation. All rights reserved. >=20 > +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rig= hts > reserved.
>=20 > # SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > # >=20 > ## >=20 > @@ -21,7 +22,7 @@ > # >=20 > # The following information is for reference only and not required by th= e > build tools. >=20 > # >=20 > -# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 >=20 > +# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 RISCV64 >=20 > # >=20 >=20 >=20 > [Packages] >=20 > diff --git a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf > b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf > index 5c56e3320e..038ca71890 100644 > --- a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf > +++ b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf > @@ -3,6 +3,7 @@ > # PPI. >=20 > # >=20 > # Copyright (C) Microsoft Corporation. All rights reserved. >=20 > +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rig= hts > reserved.
>=20 > # SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > # >=20 > ## >=20 > @@ -20,7 +21,7 @@ > # >=20 > # The following information is for reference only and not required by th= e > build tools. >=20 > # >=20 > -# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 >=20 > +# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 RISCV64 >=20 > # >=20 >=20 >=20 > [Packages] >=20 > diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf > b/CryptoPkg/Library/OpensslLib/OpensslLib.inf > index 3fa52f5543..01ee665183 100644 > --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf > +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf > @@ -2,6 +2,7 @@ > # This module provides OpenSSL Library implementation. >=20 > # >=20 > # Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved. >=20 > +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
>=20 > # SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > # >=20 > ## >=20 > @@ -661,6 +662,7 @@ > GCC:*_*_X64_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) - > Wno-error=3Dmaybe-uninitialized -Wno-error=3Dformat -Wno-format -Wno- > error=3Dunused-but-set-variable -DNO_MSABI_VA_FUNCS >=20 > GCC:*_*_ARM_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe- > uninitialized -Wno-error=3Dunused-but-set-variable >=20 > GCC:*_*_AARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe- > uninitialized -Wno-format -Wno-error=3Dunused-but-set-variable >=20 > + GCC:*_*_RISCV64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dformat - > Wno-error=3Dmaybe-uninitialized -Wno-format -Wno-error=3Dunused-but-set- > variable >=20 > GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized >=20 > GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized >=20 > GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized - > Wno-error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno- > error=3Dimplicit-function-declaration -Wno-error=3Dignored-pragma-optimiz= e >=20 > diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf > b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf > index f1f9fbb938..5c2206f6fb 100644 > --- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf > +++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf > @@ -2,6 +2,7 @@ > # This module provides OpenSSL Library implementation. >=20 > # >=20 > # Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved. >=20 > +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
>=20 > # SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > # >=20 > ## >=20 > @@ -610,6 +611,7 @@ > GCC:*_*_X64_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) - > Wno-error=3Dmaybe-uninitialized -Wno-error=3Dformat -Wno-format -Wno- > error=3Dunused-but-set-variable -DNO_MSABI_VA_FUNCS >=20 > GCC:*_*_ARM_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe- > uninitialized -Wno-error=3Dunused-but-set-variable >=20 > GCC:*_*_AARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe- > uninitialized -Wno-format -Wno-error=3Dunused-but-set-variable >=20 > + GCC:*_*_RISCV64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe- > uninitialized -Wno-format -Wno-error=3Dunused-but-set-variable >=20 > GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized >=20 > GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized >=20 > GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized - > Wno-error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno- > error=3Dimplicit-function-declaration -Wno-error=3Dignored-pragma-optimiz= e >=20 > diff --git a/CryptoPkg/Library/TlsLib/TlsLib.inf > b/CryptoPkg/Library/TlsLib/TlsLib.inf > index 2f3ce695c3..27209f4d7f 100644 > --- a/CryptoPkg/Library/TlsLib/TlsLib.inf > +++ b/CryptoPkg/Library/TlsLib/TlsLib.inf > @@ -2,7 +2,7 @@ > # SSL/TLS Wrapper Library Instance based on OpenSSL. >=20 > # >=20 > # Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved. >=20 > -# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
>=20 > +# (C) Copyright 2016-2020 Hewlett Packard Enterprise Development > LP
>=20 > # SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > # >=20 > ## >=20 > @@ -19,7 +19,7 @@ > # >=20 > # The following information is for reference only and not required by th= e > build tools. >=20 > # >=20 > -# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 >=20 > +# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 RISCV64 >=20 > # >=20 >=20 >=20 > [Sources] >=20 > diff --git a/CryptoPkg/Library/TlsLibNull/TlsLibNull.inf > b/CryptoPkg/Library/TlsLibNull/TlsLibNull.inf > index 33f0e7493f..b2920ddacf 100644 > --- a/CryptoPkg/Library/TlsLibNull/TlsLibNull.inf > +++ b/CryptoPkg/Library/TlsLibNull/TlsLibNull.inf > @@ -2,7 +2,7 @@ > # SSL/TLS Wrapper Null Library Instance. >=20 > # >=20 > # Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved. >=20 > -# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
>=20 > +# (C) Copyright 2016-2020 Hewlett Packard Enterprise Development > LP
>=20 > # SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > # >=20 > ## >=20 > @@ -19,7 +19,7 @@ > # >=20 > # The following information is for reference only and not required by th= e > build tools. >=20 > # >=20 > -# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 >=20 > +# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 RISCV64 >=20 > # >=20 >=20 >=20 > [Sources] >=20 > diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h > b/CryptoPkg/Library/Include/CrtLibSupport.h > index 5a20ba636f..7a82f1d406 100644 > --- a/CryptoPkg/Library/Include/CrtLibSupport.h > +++ b/CryptoPkg/Library/Include/CrtLibSupport.h > @@ -3,6 +3,7 @@ > cryptographic library. >=20 >=20 >=20 > Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.
>=20 > +Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s > reserved.
>=20 > SPDX-License-Identifier: BSD-2-Clause-Patent >=20 >=20 >=20 > **/ >=20 > @@ -43,7 +44,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent >=20 >=20 > #define CONFIG_HEADER_BN_H >=20 >=20 >=20 > -#if defined(MDE_CPU_X64) || defined(MDE_CPU_AARCH64) || > defined(MDE_CPU_IA64) >=20 > +#if defined(MDE_CPU_X64) || defined(MDE_CPU_AARCH64) || > defined(MDE_CPU_IA64) || defined(MDE_CPU_RISCV64) >=20 > // >=20 > // With GCC we would normally use SIXTY_FOUR_BIT_LONG, but MSVC > needs >=20 > // SIXTY_FOUR_BIT, because 'long' is 32-bit and only 'long long' is >=20 > -- > 2.25.0 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. >=20 > View/Reply Online (#55577): https://edk2.groups.io/g/devel/message/55577 > Mute This Topic: https://groups.io/mt/71767313/4399222 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub > [guomin.jiang@intel.com] > -=3D-=3D-=3D-=3D-=3D-=3D