From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web11.9742.1590664237505598360 for ; Thu, 28 May 2020 04:10:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=SEYqVYLu; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: bob.c.feng@intel.com) IronPort-SDR: ItRRQ/3vkfKGVSY2o9ewGCY/EDb5LVU1VcLkPNRBy+M3kX+Kny4VnMAVb5FypgODjdQx7eJffm 6Z3a+s0Ykwbw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2020 04:10:36 -0700 IronPort-SDR: ZH3u3EqUu1qBirSGukZjskkh1MBBDbz3EHTbgpScnah1b4p6DmUKiXiMQh4CLXmQCXWsG4a1z1 J1TbOhWvFB6w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,444,1583222400"; d="scan'208";a="257031394" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga008.fm.intel.com with ESMTP; 28 May 2020 04:10:36 -0700 Received: from fmsmsx161.amr.corp.intel.com (10.18.125.9) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 28 May 2020 04:10:35 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX161.amr.corp.intel.com (10.18.125.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 28 May 2020 04:10:36 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 28 May 2020 04:10:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ijvDqjLysqxAcqey043VCIXr8AYV9KTtnSTNWlBG0ne7FseL2NyszARSuOoLOHEHIv9gyGAzAxm1yRRjQZb39PxGJgz3ZiFoyoHrIhwPf3bO+P8UXt+QE3O/NusYefloKbJAflroZ7hErKWwfBUJvmsJSQQSg4vWBP4ywRT4Ge7dSgbj/G7oNuEApD6GfJZ9ixrmrW9Nd+cRucjGk7JZOXdngZXoAxSr1ceJv4z0oE0UMdeSVpBs/PspUT7VKqdnkkKLWptAykg7Hs8TXD/C1D4WpUTNWsCoY7l2/8MfPPmz7Hv3a7y523D1wQYH1QivP/dbadhFquoDI30Cx7GFwQ== 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=BgEr4hNwmLlF+zRPXl6JiYKdJJnf/UGEZseh2cPG3fU=; b=jko7Koom50k6AR//JgNMb5VHoZqB3aByTfY0b4uHMv/pd1hf5bAgX84CRkXLv6SmbwsJCxQSRfn+qfB/zeErSGRw9VmFec/5zJiAzpCZl1fsIKTBhpBKyeF8Ag9hcCLbhi/i4g/+ffXM7Ug8iBCuyNiHfv5eoQV9RcK7VgIghgTWdU4teaVWKlGFO2aqC8k8XWXwCgsJw0HDz+Qn4X+BUlPEbgPoc/98GYUOZARXOD2duGmbokBms5v5MKS1p0Mu5AFTE8/OQVgm0cdihX7/dpM9Vt3ACzq9IanA7BdngRcUf1O5A78Jt3vFmxhCKzKiuTJYhbZAw4992OLZyfHl/g== 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=BgEr4hNwmLlF+zRPXl6JiYKdJJnf/UGEZseh2cPG3fU=; b=SEYqVYLuAsHIBK09IgVv1C0Sg1xIv8J5OB2za5adsvFdD0mD+5LN/rKHBlcCmYll/J3bdomJuq0tftqp8OcgvAQpLyEQdLFke/WbNROR0PIZ1vINq8WHgrTN0Y1u9KaL0REIyGBsqsnqIA5OV0zwU7dKhUsJH1kxj8p4oqIFa+4= Received: from BN6PR11MB0068.namprd11.prod.outlook.com (2603:10b6:405:69::17) by BN6PR11MB1812.namprd11.prod.outlook.com (2603:10b6:404:101::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.24; Thu, 28 May 2020 11:10:33 +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.3021.030; Thu, 28 May 2020 11:10:33 +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+8ESbLOhBi3prcKit5swAgAYfppCACV58MIAAAaHw Date: Thu, 28 May 2020 11:10:33 +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.102.204.45] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 021a3cd7-e655-4eeb-b1bb-08d802f7bd81 x-ms-traffictypediagnostic: BN6PR11MB1812: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0417A3FFD2 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kDnMxAjQTggyTSJgayADr1Q0vKg9yzsfTx+G6t+h9SSDghBYUsDUQ9U8oJiX6Yer09TgDFn8/ipkerMQ6SQSFPz92JSmBfVyYxU1Mhl8pjUz83S8aLMLjSoz3Sl+PkRH9k8k7zVhVF3kxlozZMe3DQ1RATYcozy3ofJ+TvLDqFHW9aen9agUfozzLfeqL7eN8N2LgMGfErc6E9b2WQum93mrVx6K7XiGrOuuKQIOXrHA3F/gpEZ5eK4Nn78KAuwt6+vIYLBUGuZ6VfekBsdKxggM4+s2vhy1wpGp+4W0Wf+e1mquHNXZRN5oT47Nf68S9T6G1CataMaqtOEsMqTb+OC2xcZ+uHLPOcpuUPuUGAivaubS0OEEneOIb62WN7ajn55f0VIxLtkKL+VPdjTzsw== 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)(346002)(366004)(376002)(39860400002)(136003)(4326008)(66946007)(52536014)(55016002)(966005)(110136005)(54906003)(478600001)(26005)(33656002)(83380400001)(186003)(8936002)(66446008)(76116006)(8676002)(64756008)(66556008)(66476007)(86362001)(7696005)(6506007)(316002)(53546011)(9686003)(5660300002)(2906002)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: IKujlNeobDY1d+/auhbfNwVNLskUPOjAtWb4zUoXV92IVc4zIM1fwpgST3kW857vyBe5DIcJZ7wjpC+Uc5Fbx6pQTyQfjMxdxmhjp7OwTTV0Qf3X8n6MCO2Fxlyjk/ppXH2nCw8A6DAU4/+JtuiW60l39w0fBgy6D1UtdsXwXHBX9DTZxrPXdn086I3jO+j25zxKaMDmfFyDI7nhgPgAW052y0PXGnjoqXupuMlE6N/MPzVFuLxr4Nv4+SBRQOBXnEnNC+S0B0wC3lfBl3tgpoLy75fEYXi/v+LpZgaFAfriLVHNWAm3vQITEaQ70V/eln3ScDvFZhGt1HquoocoLQSCrZ8zQ0GmvkypKv4JjJ1DbQyA9HpOwEhYiJqvBTfqfuSp6Q4f7TQHfjb67DXlIHHIDxa40S0zmiuinSViWJVxw1f/+qC0K2sPbWRMy2CY0VbxIHy6uYE/kFZQQslYLaGRquNc1YVI90FcrfcG2IcSNuHogo9/cG6oapQPuboQ MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 021a3cd7-e655-4eeb-b1bb-08d802f7bd81 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2020 11:10:33.1127 (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: xd0891fkTs40msmHpgg+c/IHgryBDJyujNXdATt05npAQOveoext1MXSWqmbscbox9H2b73d7B2EMzoLwfLaNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1812 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, Sorry for late response. I'll review the patch in this week and response e= arly in the next week. 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)'