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.781.1592444488006847229 for ; Wed, 17 Jun 2020 18:41:28 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=04385f46d4=abner.chang@hpe.com) Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05I1YRp8021436; Thu, 18 Jun 2020 01:41:26 GMT Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0b-002e3701.pphosted.com with ESMTP id 31qptnk317-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Jun 2020 01:41:26 +0000 Received: from G4W9119.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.210.20.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5009.houston.hpe.com (Postfix) with ESMTPS id 369FA5B; Thu, 18 Jun 2020 01:41:26 +0000 (UTC) Received: from G9W8455.americas.hpqcorp.net (2002:10d8:a15e::10d8:a15e) by G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 18 Jun 2020 01:41:26 +0000 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (15.241.52.10) by G9W8455.americas.hpqcorp.net (16.216.161.94) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 18 Jun 2020 01:41:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GW34csEPo0I90Ssgm/XhJNE9lJadmdvgRmz1htGyCTeMfpchJVKearlartpXalu4SHOCIXQPWaEHfynONj+j8AKOjyrAJ7YOoIz9agrRoS+Ot9G4/qWYJP6nVLq3fmgEHZHbdnarrK4QQdKFyqtSr0w8M2rbweUDOhWcsXzEKs2KSGB00/JdK7HioytLIX+llXIn8Dz4L+3p0VhJYSisIIeyhJua5Qd/PF8HkqsX7+px20+gtneMx/0nlNjuPXMmd2Zs2gFQDCWdwYryapFKj1KQixGIw+y3UlfSOg9gYJuLSy1ZiMk04P1wXn2dOZCvwshuqdPCuirpAx9WC4JgTw== 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=N7i1iAXFKiwiZsYbeD9hUoTegYrTRqws8gUDO1PjM5c=; b=eLQ4eSUbf/Foc6rN5oCGZ6SWTNtkXCqBbAP9eeuPxmdpvZv5EOKKbH/TMhxitIV/lhTTi4Yg22CxRjgzpRh6/qafZ3YLDaq0cB5I6fueBjMhpOt6wDs7fROkfNc+S9K4FXfdEmf4D2wOgfBaT+Bbb8Ypdiu4/XernrEeQOORCjax2jutSNFfi2Vfo6HZgNfvGi8HCn7+Hve62cmH3AfR16mCIBdbF2e/YiCmjkS6UgEAGCuv6t4yNEFE55+RT63ddGQkBstkTYPq/Kk8yB+UK6EykIxRtwsVQFuLZdXKJ92ovA0AVOlNVuZZalc+69IwbS1h0Rx4KBIQSjFh/TtpEA== 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 CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7508::16) by CS1PR8401MB1046.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7508::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.19; Thu, 18 Jun 2020 01:41:24 +0000 Received: from CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::58f4:cfb4:beb0:f5d5]) by CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::58f4:cfb4:beb0:f5d5%7]) with mapi id 15.20.3109.021; Thu, 18 Jun 2020 01:41:24 +0000 From: "Abner Chang" To: "devel@edk2.groups.io" , "yuwei.chen@intel.com" CC: "Feng, Bob C" , "Gao, Liming" , "Schaefer, Daniel (DualStudy)" , Leif Lindholm Subject: Re: [edk2-devel] [BaseTools PATCH v1] BaseTools: Add OpenSBI external definitions for RISC-V assembly build Thread-Topic: [edk2-devel] [BaseTools PATCH v1] BaseTools: Add OpenSBI external definitions for RISC-V assembly build Thread-Index: AQHWQGJZhFUeqJVqj0Kbq8HGyyUmYKjciCqAgAEZ5+A= Date: Thu, 18 Jun 2020 01:41:23 +0000 Message-ID: References: <20200612015641.23112-1-abner.chang@hpe.com> In-Reply-To: Accept-Language: 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: [1.34.113.40] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 4519a925-a18d-4f17-2c2a-08d81328b5c5 x-ms-traffictypediagnostic: CS1PR8401MB1046: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:224; x-forefront-prvs: 0438F90F17 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DcpfvZL7d2RCOBLlnUmFt6Vj+Y3XXvdsbQG6HnHSLIO5MbLk5RdCC7oFf72wSkdoNrmT6xaCWwtwv8KSrnbnPhB2kV2s65mMxHhCB8CvGpyosBa6tT+e2dzorhkabqd9w1FhlS2Jadh0p/4IlJJMiuzktwrsZwj5i2ytg0xBOcPKPUTvB7l2GeKYTn0FY6iTt0F/8TH2rYOupXv06/UaAerkV6BqfPbM4HK26/X1CSOtzrpVMn5r8wWjIAJTlhcJ3+34k10Yp93EPSyCL+01RBHTvbdEuP+x8d/+/qcsWROgJ/hDeLnq/1h67+f02y8E4RS6AEJKXDp26XwCcBVHCYNpddqWlF9JgiICFj7KymYdlcwHLK1qKYhM29hA8EbWjdmMYSKKXmdcMOOZEhyCPw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFTY:;SFS:(346002)(376002)(396003)(39860400002)(136003)(366004)(86362001)(186003)(478600001)(52536014)(966005)(2906002)(26005)(6506007)(55016002)(4326008)(53546011)(5660300002)(7696005)(110136005)(9686003)(71200400001)(66556008)(316002)(8676002)(33656002)(66946007)(66476007)(64756008)(19627235002)(8936002)(66446008)(76116006)(83380400001)(54906003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: lRm/dyk68LUabdfuQq76UJFpuw8GVJhUZZmXcKK7A+rpoqmDHHWsyTFHtdFsBDgxuZ6KOnrb4+8YeyXAl20tPWsazB7U3cXD42NaTg0aaYcv79d3z9pvFJF6mfb2W/r+eTRG8PoKiMR2HzywE2T7ov/pUydS9gRJnHrokp4RYxV1ErQ7PAZiA8o4O2N2559PLdH49SZZut51qPckVsA7rLV4RNPmEYFudf5UD22FyprBlcb3KH+xHNoE2Lns9SOcNx/JFzb/mtQWiWRyd+rkeRt2XvtrVE9011YmSEH8IzJJ5t8uk7V82gkU6bey/UPBB9Q+hndULF7wA8pXQpg9FSQIRuxewml5/QwFYF1mb6qfyjy7yOaWvWYYMbAiF7q1jwC4Tk79txmglZ2mKv9OT8IH3DI0E5BU/y0FSHri324vPNjUnbDizL0m6lJYaHVQ981lOKeMSRcByIUMlGPLN3G+GCWSFT9O5DloZlFDRRo= X-MS-Exchange-CrossTenant-Network-Message-Id: 4519a925-a18d-4f17-2c2a-08d81328b5c5 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2020 01:41:24.0233 (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: 4X0z6bS7VjGTfRZfTBKKIEU+hkB0R5fTCwCOgH1bFkba24nt3CJAKu5vdAc8fvGrf9XZoLVb21ngxeAUa9o9iA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB1046 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.216,18.0.687 definitions=2020-06-17_12:2020-06-17,2020-06-17 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 cotscore=-2147483648 clxscore=1015 phishscore=0 suspectscore=0 adultscore=0 mlxlogscore=999 mlxscore=0 impostorscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006180009 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sure YuWei, v2 patch is sent. Thanks Abner > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Yuwei Chen > Sent: Wednesday, June 17, 2020 4:51 PM > To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) > > Cc: Feng, Bob C ; Gao, Liming > ; Schaefer, Daniel (DualStudy) > ; Leif Lindholm > Subject: Re: [edk2-devel] [BaseTools PATCH v1] BaseTools: Add OpenSBI > external definitions for RISC-V assembly build >=20 > Hi, abner >=20 > I have a little suggestion for the patch format, it would be better if t= he length > of each commit line is less than 70 characters. > You can follow the Commit Message Format in the wiki of tianocore. >=20 > Thanks, > Yuwei >=20 > > -----Original Message----- > > From: devel@edk2.groups.io On Behalf Of Abner > > Chang > > Sent: Friday, June 12, 2020 9:57 AM > > To: devel@edk2.groups.io > > Cc: abner.chang@hpe.com; Feng, Bob C ; Gao, > > Liming ; Daniel Schaefer > > ; Leif Lindholm > > Subject: [edk2-devel] [BaseTools PATCH v1] BaseTools: Add OpenSBI > > external definitions for RISC-V assembly build > > > > Add opensbi external definitions to RISC-V build for assembly code. > > Use GCC5_RISCV_OPENSBI_TYPES to refer to edk2 data type for assembly > > files instead of using opensbi data type. > > > > Signed-off-by: Abner Chang > > > > Cc: Bob Feng > > Cc: Liming Gao > > Cc: Daniel Schaefer > > Cc: Leif Lindholm > > --- > > BaseTools/Conf/tools_def.template | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/BaseTools/Conf/tools_def.template > > b/BaseTools/Conf/tools_def.template > > index 923517b5c2..8aeb8a2a64 100755 > > --- a/BaseTools/Conf/tools_def.template > > +++ b/BaseTools/Conf/tools_def.template > > @@ -2037,6 +2037,7 @@ DEFINE GCC5_RISCV64_CC_FLAGS =3D > > DEF(GCC5_RISCV_ALL_CC_FLAGS) DEF(GC > > DEFINE GCC5_RISCV64_DLINK_FLAGS =3D > > DEF(GCC5_RISCV_ALL_DLINK_FLAGS) -Wl,-melf64lriscv,--oformat=3Delf64- > > littleriscv,--no-relax DEFINE GCC5_RISCV64_DLINK2_FLAGS =3D > > DEF(GCC5_RISCV_ALL_DLINK2_FLAGS) DEFINE > GCC5_RISCV64_ASM_FLAGS =3D > > DEF(GCC5_RISCV_ALL_ASM_FLAGS) -march=3DDEF(GCC5_RISCV64_ARCH) - > > mcmodel=3Dmedany -mabi=3Dlp64+DEFINE GCC_PP_FLAGS = =3D -E -x > > assembler-with-cpp -include AutoGen.h DEF(GCC5_RISCV_OPENSBI_TYPES) > > > ########################################################## > > ########################## #-- > > 2.25.0 > > > > > > -=3D-=3D-=3D-=3D-=3D-=3D > > Groups.io Links: You receive all messages sent to this group. > > > > View/Reply Online (#61183): > > INVALID URI REMOVED > 3A__edk2.groups.io_g_ > > > devel_message_61183&d=3DDwIFAg&c=3DC5b8zRQO1miGmBeVZ2LFWg&r=3D_SN > 6FZBN4Vgi4U > > > lkskz6qU3NYRO03nHp9P7Z5q59A3E&m=3DHQziIqz4xGRFswhRjSdNcWvHjUyN5 > ERpayXlIA > > wzXVQ&s=3DzErLdJ3LY3S3GTWvOAUkqNPWIFoCzpYBs1z5cDrsVCY&e=3D > > Mute This Topic: > > INVALID URI REMOVED > 3A__groups.io_mt_7483 > > > 2499_4546272&d=3DDwIFAg&c=3DC5b8zRQO1miGmBeVZ2LFWg&r=3D_SN6FZBN4V > gi4Ulkskz6q > > > U3NYRO03nHp9P7Z5q59A3E&m=3DHQziIqz4xGRFswhRjSdNcWvHjUyN5ERpayXl > IAwzXVQ&s > > =3DUG89s-i8w3cuIc12SggVYjjyUFkm-qVV0jHf1QBpgJc&e=3D > > Group Owner: devel+owner@edk2.groups.io > > Unsubscribe: > > INVALID URI REMOVED > 3A__edk2.groups.io_g_ > > > devel_unsub&d=3DDwIFAg&c=3DC5b8zRQO1miGmBeVZ2LFWg&r=3D_SN6FZBN4Vgi > 4Ulkskz6qU > > > 3NYRO03nHp9P7Z5q59A3E&m=3DHQziIqz4xGRFswhRjSdNcWvHjUyN5ERpayXlI > AwzXVQ&s=3D > > fL7a3sHzOxEGfYK7Nw8RAwRqQhjuOfNdhjyiGAlamyc&e=3D > > [yuwei.chen@intel.com] -=3D-=3D-=3D-=3D-=3D-=3D >=20 >=20 >=20