From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.8291.1591096509475240742 for ; Tue, 02 Jun 2020 04:15:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=LYutM4iL; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: bob.c.feng@intel.com) IronPort-SDR: JIAvUlZQuFVQW5t0kzBP6knz/4H/5lK4xmV9cYsVUuTpXEIfgDzdjfqs05hC9XgsD6GwJu5NrX y5pG+ipWjy0A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2020 04:15:07 -0700 IronPort-SDR: G7rax8Gg47H2wlRo+OtoHzR6hzW9j55pH8WfBJaT6sS3x8XOQZzZVFfq7EUGqT1tHpm00b1y4W 4RSf7+YIJRdw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,464,1583222400"; d="scan'208";a="444659382" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by orsmga005.jf.intel.com with ESMTP; 02 Jun 2020 04:15:06 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jun 2020 04:15:05 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 2 Jun 2020 04:15:05 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx607.amr.corp.intel.com (10.22.229.20) 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, 2 Jun 2020 04:15:05 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jun 2020 04:15:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i3hibBzFUrxqsqANV+CyNisYccvVtyobNdNRLOTBpJ+/sf6FF1IMiveIRwxn6Bwy0grj9k+49SfqsxGVwrh1E95Mb9fQPtC1WUKKEn0jxANfhbut5/Q9YsS0xvkLVoSMl6O2kAPK8hbYpvXmOxTEEA6qz8y7/3Dj8gRMprUhD9TLroJ6ZKoj5OriFkkijh/C0w35vRyVgqXO05lirWl0rS8HgDoKOVhMVe2a0M9eCVbF3aWU4wi6ra2Y9BgaJxNT2D6Gl7lCkq+GwaXSJmunEAWRTx6dHVkgDq9cYBfYFSAcDqNyp5B5eIfTg8ZRdF+MVaiF+v3Tso2FRvuapRf4sw== 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=L9LLUf+NRiHtP0ClK7mIBJpbu6yD0jk801yp1zBg5Kk=; b=TYW222N7wB8rSv5kkaYMYoeM049XwLL2eFVQg3H7lUfS1VfUwbLv/5Td4cuVvUutq2cdI7tUsYAVRrfKFUtB82IgwfFpO319D2/cLnooJg2NUEm5APnHBC4UuB66urXzV1gEjXoZMMjNsTqVszfC/RltSpMnaT5CHyMr58lpaZvBjAzw4IAg4qxNuZFlS0YfLmVzKjjMsEjdlNia2g3C7tlHDpaNY1FYP1Xuy2yCEHamr3j3bSGJs4i6BSvIkzapM3/jNXLjkJxnK/JDg3gNemUl/Gcn/xtyjwX31zUj5x8a9xtNg7kGzndmFoBYUtoAgFrK8bgY+83ff+Rdl2BNlQ== 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=L9LLUf+NRiHtP0ClK7mIBJpbu6yD0jk801yp1zBg5Kk=; b=LYutM4iLV+h7Cw68CBc7CkPGFt1dzfPC3slz8F/LINvNLNkEMFJ9Y/b2ccddAbAvPhxTWpcYKm0GpIelPIqQiK4r2evkHJ+g/vZzM6Z3pDBY70X0IQrJdcMV/LMa3yXYwQRYmngTT6QaIHU8Y05vItWnYNWzxKs8eb94NCV+Ye8= Received: from BN6PR11MB0068.namprd11.prod.outlook.com (2603:10b6:405:69::17) by BN6PR11MB2001.namprd11.prod.outlook.com (2603:10b6:404:49::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.25; Tue, 2 Jun 2020 11:15:03 +0000 Received: from BN6PR11MB0068.namprd11.prod.outlook.com ([fe80::2d53:d47c:1269:d601]) by BN6PR11MB0068.namprd11.prod.outlook.com ([fe80::2d53:d47c:1269:d601%6]) with mapi id 15.20.3045.022; Tue, 2 Jun 2020 11:15:02 +0000 From: "Bob Feng" To: "devel@edk2.groups.io" , "pierre.gondois@arm.com" CC: "Gao, Liming" , Sami Mujawar , Tomas Pilar , nd Subject: Re: [edk2-devel] [PATCH v1 0/3] Compile AML bytecode array into OBJ file Thread-Topic: [edk2-devel] [PATCH v1 0/3] Compile AML bytecode array into OBJ file Thread-Index: AQHWLR5XPbxyAP8+8ESbLOhBi3prcKit5swAgAYfppCACV58MIAH2ngA Date: Tue, 2 Jun 2020 11:15:02 +0000 Message-ID: References: <20200518141120.66132-1-pierre.gondois@arm.com> <161025E2E32EBB17.23434@groups.io> <161157FAC70B55F8.21259@groups.io> 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=intel.com; x-originating-ip: [192.55.46.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3942fd37-4dbd-4108-3124-08d806e63213 x-ms-traffictypediagnostic: BN6PR11MB2001: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0422860ED4 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WVZ6EG5BNl17akshcjP/1aTg11DKd5i/+VgIIbKbVhBzxQ1K+7EAXSnA+QPyUdPmvjmGOJ8X0SEwzWlTXmH8fOzuAK8LFyQMCRhC9Zo7ltX0vTGnBAEWErpO8sPru10VMVKzzGkje8smJmGyOj51yPNa5SUbaWqgaCICvkK04aSGx1lU37daM6twmGQi455ddV22jokIXuSsJIPgHydfK/hIEYZF3LeSfsG/SWv6ax9grRsgavS2KTwtvBaHh195nfZX9sZw3Vio8GiBo8nMvhu5X16M7OWGQrLSE7k1QiLqKQkQ6nG8FHL6a9aqJqbi1QpMxVb8n8lzMJvntz/1+In/OmVqZh9ZYFyS6mTRvh8kNsXNCg8pxxja9HAhhS8ReNa0meZWabOqroJnacSWpg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN6PR11MB0068.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(396003)(39860400002)(136003)(346002)(376002)(366004)(71200400001)(6506007)(53546011)(186003)(64756008)(66946007)(26005)(66476007)(86362001)(66446008)(66556008)(316002)(54906003)(7696005)(110136005)(76116006)(2906002)(83380400001)(8676002)(8936002)(55016002)(9686003)(52536014)(5660300002)(966005)(478600001)(33656002)(4326008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: Kn4ry810D07C10h0qsEsPPELlwGP+aPol4KeKn+xhPhFKDGPGcLLtjIdZV9y3N+qnb4TmOeQ35o8HqBfiKCsZiEOBmoLOQa2IGqRWXgC+hcCoj/U0r28nA6oXHlNfgeuWFmuJ7wvttEgqVFNdlDXo1na4SRQCpEHaDLPl7lwTiVrLzCrCMW/3pjhRMjrCTbu2Qfvx2poQw8MFOjYSb58Yg+l/hQS1X83W/SVXYk/wM7XSpNmVbGLxaeYkYD015NeNGakkQmtZGV+cYdEU1FNnyYrc8yZR2W83Za639I51WROceCu14WRmxWmoin710SYultcJzj8hnonHBCjqBJo4sQr1sf+GICSiy3w/ILzqRn7MziS28dhIUxEVQgKe/h8AkoQwLNc/+uqkxUxqKQ4KA1igbTGIWylim15NCdxiCIYgr5CFP07gaXIAW/dtk7g3mnOiPjpLKhh85rcenE3C5cckHwrgkUyHr4xnfnKEuQ= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 3942fd37-4dbd-4108-3124-08d806e63213 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jun 2020 11:15:02.4978 (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: V6FXKgZ+eYw15M8q45KNUrFtbdaR3w+S8RFD8oKwyX3cd478EW3EE9u3Rk4pxskEK7WHpLQR+BmBrGVflDsaWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB2001 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Pierre, I agree with your solution. My comments are in the 1/3 patch mail. Thanks, Bob -----Original Message----- From: devel@edk2.groups.io On Behalf Of PierreGondo= is Sent: Thursday, May 28, 2020 7:04 PM To: devel@edk2.groups.io; Pierre Gondois Cc: Feng, Bob C ; Gao, Liming = ; Sami Mujawar ; Tomas Pilar ; n= d Subject: Re: [edk2-devel] [PATCH v1 0/3] Compile AML bytecode array into O= BJ file Hello Bob and Liming, Just a message in case you missed the patch set, Regards, Pierre -----Original Message----- From: devel@edk2.groups.io On Behalf Of PierreGondo= is via groups.io Sent: Friday, May 22, 2020 1:01 PM To: devel@edk2.groups.io; Pierre Gondois Cc: bob.c.feng@intel.com; liming.gao@intel.com; Sami Mujawar ; Tomas Pilar ; nd Subject: Re: [edk2-devel] [PATCH v1 0/3] Compile AML bytecode array into O= BJ file Hello Bob and Liming, What do you think about the patch? Do you think it goes in the right direc= tion? Regards, Pierre -----Original Message----- From: devel@edk2.groups.io On Behalf Of PierreGondo= is via groups.io Sent: Monday, May 18, 2020 3:32 PM To: Pierre Gondois ; devel@edk2.groups.io Cc: bob.c.feng@intel.com; liming.gao@intel.com; Sami Mujawar ; Tomas Pilar ; nd Subject: Re: [edk2-devel] [PATCH v1 0/3] Compile AML bytecode array into O= BJ file [Bob] https://edk2.groups.io/g/devel/message/58782 I'd prefer the option 2#. I think that is the easiest way to meet the requ= irement. Since the aml file is the definite output of asl file, we can use = it to descript the dependency relationship between c source file and asl so= urce code. [Pierre] We have found what might be a better way to address the issue. If not conv= enient, we can still follow the option 2# that we discussed. Regards, Pierre -----Original Message----- From: PierreGondois =20 Sent: Monday, May 18, 2020 3:11 PM To: devel@edk2.groups.io Cc: Pierre Gondois ; bob.c.feng@intel.com; liming.= gao@intel.com; Sami Mujawar ; Tomas Pilar ; nd Subject: [PATCH v1 0/3] Compile AML bytecode array into OBJ file Following the BZ at https://bugzilla.tianocore.org/show_bug.cgi?id=3D2425 This patch serie is a another way to solve the dependency of C files over = ASL files. With this new method, the dependency is resolved at the linking = stage. The last method to solve this dependency was to add the possibility to mod= ify INF files to depict such a dependency. This method was not accepted. Th= e discussion is available at https://edk2.groups.io/g/devel/topic/72655342#= 56658 The last patch modifying the INF specification and INF parsing are availab= le at: https://edk2.groups.io/g/devel/topic/72655342#56658 https://edk2.groups.io/g/devel/topic/72656060#56662 Pierre Gondois (3): BaseTools: Generate multiple rules when multiple output files BaseTools: Rename AmlToHex script to AmlToC BaseTools: Compile AML bytecode arrays into .obj file BaseTools/BinWrappers/PosixLike/{AmlToHex =3D> AmlToC} | 28= +++---- BaseTools/BinWrappers/WindowsLike/{AmlToHex.bat =3D> AmlToC.bat} | 0 BaseTools/Conf/build_rule.template | 15 += ++- BaseTools/Source/Python/{AmlToHex/AmlToHex.py =3D> AmlToC/AmlToC.py} | 82= ++++++++------------ BaseTools/Source/Python/AutoGen/GenMake.py | 6 += + BaseTools/Source/Python/AutoGen/ModuleAutoGen.py | 40 += ++++----- 6 files changed, 86 insertions(+), 85 deletions(-) rename BaseTools/BinW= rappers/PosixLike/{AmlToHex =3D> AmlToC} (97%) rename BaseTools/BinWrapper= s/WindowsLike/{AmlToHex.bat =3D> AmlToC.bat} (100%) rename BaseTools/Sourc= e/Python/{AmlToHex/AmlToHex.py =3D> AmlToC/AmlToC.py} (52%) -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'