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.1868.1587436913118172330 for ; Mon, 20 Apr 2020 19:41:53 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0380a9ba4c=abner.chang@hpe.com) Received: from pps.filterd (m0134420.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03L2XdsJ011869 for ; Tue, 21 Apr 2020 02:41:52 GMT Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 30h6m37ar2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 21 Apr 2020 02:41:52 +0000 Received: from G2W6310.americas.hpqcorp.net (g2w6310.austin.hp.com [16.197.64.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5008.houston.hpe.com (Postfix) with ESMTPS id E448C68 for ; Tue, 21 Apr 2020 02:41:51 +0000 (UTC) Received: from G1W8108.americas.hpqcorp.net (2002:10c1:483c::10c1:483c) by G2W6310.americas.hpqcorp.net (2002:10c5:4034::10c5:4034) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 21 Apr 2020 02:41:05 +0000 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (15.241.52.13) by G1W8108.americas.hpqcorp.net (16.193.72.60) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 21 Apr 2020 02:41:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IB8jot32BifmMa5IylFP9wGt0q0WQfzX1WQLaS7fnGqdo5EaCyQgPnnzfDQ6OG1ooXMqapiOw9lld98yuTFrku5J+aJy8lJyNeauCyZGur9l5brQ9aGSXLRfzD9Otn8AEndiIeJG4JxXWM9g+Ky3G+Hm932bECjL4I+YQ7p6fqF75B8lBxOzl+1u5RQDZdrRdgsFK2ihdSwpCitXWrD30c3mxRl9dnsu6rtOYU333oaRm4SCBBjyqYNCbEmnskpSGwHth5vklnotOB8vGF8ig2IcxBOmYte/TcKx+PSuOeUOPltyRJpIJSOgN6+Dd2rXIVrAKxyaUQpc1m6RJJN1HA== 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=q7yEqdQgtCtVu4BTdVGFhBOEs5B/9AxvBONzuW6h6K0=; b=c/Ar2Scu4LQ9oL6ypFyLb5GarjinaprijtEtRnqvYDKIzGxm3HAJg8ZtXyOCuDlJgzP/hA1pWvWKg5yGitWbRpapyS+DQtaEXSjZK+NSpVAE0hopgQDuKJFkZkXeqitM9K0Wo4lK6BaF8TxNHg37x5yjWUeVTuUMO5qEkMsKjGRZFhz2qioBfYOmzWKj8MmZB35o84x2O2z8u67412qeOH3wRyuENRsD5s8c1c4RJWeDJpBns2eQXVu8YrDHczxqs98QppgnhZtK8dUASkFUDYwGlizjfkbqGVCogNku+QLEBphcpNBJU9gAmORlS7nzQGXMApSewhFH9/Z7YXSMOg== 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 TU4PR8401MB0429.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:770a::14) by TU4PR8401MB0429.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:770a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Tue, 21 Apr 2020 02:41:03 +0000 Received: from TU4PR8401MB0429.NAMPRD84.PROD.OUTLOOK.COM ([fe80::38ba:b525:f979:8411]) by TU4PR8401MB0429.NAMPRD84.PROD.OUTLOOK.COM ([fe80::38ba:b525:f979:8411%11]) with mapi id 15.20.2921.030; Tue, 21 Apr 2020 02:41:03 +0000 From: "Abner Chang" To: "Gao, Liming" , "devel@edk2.groups.io" Subject: Re: [edk2-devel] [PATCH v1 0/1] BaseTools: BaseTools changes for RISC-V platform. Thread-Topic: [edk2-devel] [PATCH v1 0/1] BaseTools: BaseTools changes for RISC-V platform. Thread-Index: AQHWDxGD7MQk8Z3zB0SWTs7D9Vw/66iC0SZwgAAdPSA= Date: Tue, 21 Apr 2020 02:41:03 +0000 Message-ID: References: <160467C9AEFA0F66.7555@groups.io> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [16.242.247.131] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7f52082f-dba2-4f25-efd5-08d7e59d6f1a x-ms-traffictypediagnostic: TU4PR8401MB0429: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:47; x-forefront-prvs: 038002787A x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TU4PR8401MB0429.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFTY:;SFS:(10019020)(39860400002)(366004)(376002)(346002)(136003)(396003)(186003)(19627235002)(26005)(52536014)(86362001)(9686003)(8676002)(71200400001)(81156014)(478600001)(55016002)(316002)(110136005)(5660300002)(966005)(76116006)(66446008)(33656002)(66946007)(8936002)(64756008)(66556008)(66476007)(6506007)(2906002)(7696005)(53546011);DIR:OUT;SFP:1102; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MH00JLMAL0ozxjhaN5jHnIaEfvBGhFUx1Sc0IksDZYfqJ7UF6oEGk8ZCwbcaE/EW8X4FdYl5YwsLoUXPCa8IsCSSthjOtdQW/+VYMKfuwi5Zul2w0ZRbpzyZAirm/Ib+SIYP/5gkDwG+sAzNie4YFCDqR4kA9petMTWht/SBIozIZQ5m15OZg4oS/v07CtV2tQlK6A/ub/7fkopycfL83XAnmVYyBylB3WgmW7myirb9ZOYayL+YzkIMEQb0TBs1fW6x64kEQTF8Zubp11Apl+PHg1H/ZcXIlB/i4ct546IdbWi1Wg7gA4djg/ixkACyRZXYTzMOxPThatuNTfo4591glOIv+bBCD+FKV3i+AHGOVkwJlrtDdRKSLRI1gkcXiQFyPLuqlcdr480XvyJpDPt8qCYZ7knIXhHvoWX0b/fuBzwE1IXhJxhPUIFNIk04CjJBZfIXulyjZTbxnU3+adWBkEGnUX1orsskZORPz2MzdiEt6M3fVD1kCd+rSG0b3/we4Oi72V0mpkPGM1LQmQ== x-ms-exchange-antispam-messagedata: 9iyEDc0TlNnqv/N1KT/i/HpH8EqggpWq0PjzAyD1F6xIBHLcuSDYLgklwcRlFHEAXy1P4IIjjhlt8zfNZuyun3LiOg0p7HgCYEU4BybBOBRme1wTdkEMTeicaYjcIHhy9HUqIJpABX8cnDa6A44gtA== x-ms-exchange-transport-forked: True X-MS-Exchange-CrossTenant-Network-Message-Id: 7f52082f-dba2-4f25-efd5-08d7e59d6f1a X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2020 02:41:03.1597 (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: 7GMTmjU/PTFtuZL75/leuPaXrq9vLq3ZV6PIYYEV+YccHwwgx1pSSk0tZn5Mz8+cLr2O8xb60/OU3M/TLeWGng== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR8401MB0429 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.138,18.0.676 definitions=2020-04-20_09:2020-04-20,2020-04-20 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 impostorscore=0 clxscore=1015 malwarescore=0 phishscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004210018 Content-Language: en-US Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable PATCH V3 sent. > -----Original Message----- > From: Gao, Liming [mailto:liming.gao@intel.com] > Sent: Tuesday, April 21, 2020 8:57 AM > To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) > > Subject: RE: [edk2-devel] [PATCH v1 0/1] BaseTools: BaseTools changes fo= r > RISC-V platform. >=20 > For this change, I suggest to separate it to three patches. One is for > tools_def.template, another is for Build Python, last one is for BaseToo= ls C > tool. >=20 > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Chang, > Abner (HPS SW/FW Technologist) > Sent: 2020=1B$BG/=1B(B4=1B$B7n=1B(B10=1B$BF|=1B(B 15:47 > To: devel@edk2.groups.io > Cc: Chang, Abner (HPS SW/FW Technologist) > Subject: [edk2-devel] [PATCH v1 0/1] BaseTools: BaseTools changes for RI= SC- > V platform. >=20 > BZ for entire RISC-V edk2 port, > INVALID URI REMOVED > 3A__bugzilla.tianocore.org_show-5Fbug.cgi-3Fid- > 3D2672&d=3DDwIFAg&c=3DC5b8zRQO1miGmBeVZ2LFWg&r=3D_SN6FZBN4Vgi4Ulks > kz6qU3NYRO03nHp9P7Z5q59A3E&m=3D- > F9g6mAm7GCIMh1Z99KMnTQ87UruBvEOFadrCxs6Fbs&s=3DsfGS0fehOwf4GO0 > C1RIwVQJU9RDUWNCfX6t9wxrc8QA&e=3D >=20 > These commits are verified by below PR, > https://github.com/tianocore/edk2/pull/512 >=20 > Abner Chang (1): > BaseTools: BaseTools changes for RISC-V platform. >=20 > BaseTools/Source/C/Common/PeCoffLib.h | 9 + > BaseTools/Source/C/GenFw/elf_common.h | 62 ++++ > .../C/Include/IndustryStandard/PeImage.h | 6 + > BaseTools/Source/C/Common/BasePeCoff.c | 15 +- > BaseTools/Source/C/Common/PeCoffLoaderEx.c | 86 ++++++ > BaseTools/Source/C/GenFv/GenFvInternalLib.c | 128 +++++++- > BaseTools/Source/C/GenFw/Elf32Convert.c | 5 +- > BaseTools/Source/C/GenFw/Elf64Convert.c | 282 +++++++++++++++++- > BaseTools/Conf/tools_def.template | 53 +++- > BaseTools/Source/Python/Common/DataType.py | 5 +- > BaseTools/Source/Python/build/buildoptions.py | 6 +- > 11 files changed, 638 insertions(+), 19 deletions(-) >=20 > -- > 2.25.0 >=20 >=20 >=20