From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.46]) by mx.groups.io with SMTP id smtpd.web11.11431.1590148876498219455 for ; Fri, 22 May 2020 05:01:17 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=skXPHy+z; spf=pass (domain: arm.com, ip: 40.107.21.46, mailfrom: pierre.gondois@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QyhSewuyg2aspp5qx7vO24a61ICE5qKwJqL6X9+U38k=; b=skXPHy+zckjoib4ZkNwc4rhPm6WWrLzJjzCZOweyL9Gvy/MqHHaI0JYveCc1rEkEJkJnSTsoIE3qoCr597YWgKY/cLOc2fl7bhO/8epWuoLSuW8g40F/YVKQ6swQEvZcBkshybYS9xxRnqgF2XltJzIFuOjeHuzunQmgUf+96d8= Received: from AM6P195CA0086.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:86::27) by AM6PR08MB3589.eurprd08.prod.outlook.com (2603:10a6:20b:46::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.24; Fri, 22 May 2020 12:01:13 +0000 Received: from AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:86:cafe::ed) by AM6P195CA0086.outlook.office365.com (2603:10a6:209:86::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.24 via Frontend Transport; Fri, 22 May 2020 12:01:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT049.mail.protection.outlook.com (10.152.17.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Fri, 22 May 2020 12:01:12 +0000 Received: ("Tessian outbound 14e212f6ce41:v57"); Fri, 22 May 2020 12:01:12 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f14bcab9115cfa56 X-CR-MTA-TID: 64aa7808 Received: from 68b370fbd8fe.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 04655795-5C96-4374-9D71-BC5B16BBFAB6.1; Fri, 22 May 2020 12:01:07 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 68b370fbd8fe.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 22 May 2020 12:01:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cowI2XaJ6aXkqOzXigoItlk4UUQ1lslGzTRXvKSVfCzVZi1TtWN8G6jGRhohNW/WZdIAYxOLjxPec9ryetz8Yvd/3eEi+8DDmpi9Np0vZ4FqkI4Fm38+okygrAXd5k4xpuGfAtO+a/rw9c9v2l0gSnLJISn6RVyarhZd5oDUWUeETcizWvZ47xuOeAvcdzrrmCW2Y3DIYRwIACCRO3eXO/HACV0NuIHZ/v17OnJnDX3Tj5JQGGChObHdtCL3Nz3caaBhcIsxFe9Vb5UaTo1NBsbfgpHFhoR58iFpdzxOzVcLMKTLHKAlUm8WdxEzd18t04Z5Gw4/bCmpjnWh6vLPbQ== 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=QyhSewuyg2aspp5qx7vO24a61ICE5qKwJqL6X9+U38k=; b=OrEVXJtJ90j9CtWu437UcZi4ib8SSOHWZIzbXG4jyFqPScwTAhsqivHSUwB1u5I2twga5WuaLnuuP9Ao0jF+Z2FQOtCkBQpysdhJYFM54M8dguc+ehHxhPuvl80CRkS+uPGwHzX/bYrRcY0k37r7x4X63J7iTT3j6SvhlQRDwRuqSvP8WJSZ816D3fIPQKabaql7+Sj1pTvnk2EIc4jzBCMmwYGruE/7K3rD4owFUg2Mu1jfTFoAdJxrf+8py8btxHWExK9T8+OWrdTzvHpOBXRPCb7vUJUsSCgRXG3C0DrhRm4AaczZoI66bNNfnX6Wv7QLfFDXq5/8t9IDv84uJA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QyhSewuyg2aspp5qx7vO24a61ICE5qKwJqL6X9+U38k=; b=skXPHy+zckjoib4ZkNwc4rhPm6WWrLzJjzCZOweyL9Gvy/MqHHaI0JYveCc1rEkEJkJnSTsoIE3qoCr597YWgKY/cLOc2fl7bhO/8epWuoLSuW8g40F/YVKQ6swQEvZcBkshybYS9xxRnqgF2XltJzIFuOjeHuzunQmgUf+96d8= Received: from DB7PR08MB3113.eurprd08.prod.outlook.com (2603:10a6:5:20::21) by DB7PR08MB3180.eurprd08.prod.outlook.com (2603:10a6:5:1e::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.27; Fri, 22 May 2020 12:01:05 +0000 Received: from DB7PR08MB3113.eurprd08.prod.outlook.com ([fe80::4178:71bd:a2a4:78bf]) by DB7PR08MB3113.eurprd08.prod.outlook.com ([fe80::4178:71bd:a2a4:78bf%7]) with mapi id 15.20.3021.020; Fri, 22 May 2020 12:01:05 +0000 From: "PierreGondois" 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 OBJ file Thread-Topic: [edk2-devel] [PATCH v1 0/3] Compile AML bytecode array into OBJ file Thread-Index: AQHWLR5D+q8zhIChMUmRGs8GhyJXU6it5swAgAYfppA= Date: Fri, 22 May 2020 12:01:05 +0000 Message-ID: References: <20200518141120.66132-1-pierre.gondois@arm.com> <161025E2E32EBB17.23434@groups.io> In-Reply-To: <161025E2E32EBB17.23434@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; x-originating-ip: [217.140.99.251] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1ef65e45-56ef-4323-fefd-08d7fe47d2d8 x-ms-traffictypediagnostic: DB7PR08MB3180:|AM6PR08MB3589: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:8273;OLM:8273; x-forefront-prvs: 04111BAC64 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: IUzd3eMgTezIdnANktI9wWyNsL/H0urdkE11FppQ5KrowYgMmOgIrRZD8asv/Zm03491grr26RTX5mjwFkfB0e7nHQ1WlW+Akk1R5qfv8SK95pcxKXOy1gGxYoFqek2R+d7cIu6ITW+HdOhfFCajyzOIN7eQw6jV9Js2PtvtBk5hbiwTuE3idzTLCBf0QwhOYHzppIwInnTaGM21rllV0lGLcyslVPgRX2AYtPCoRPRhbib3YOS+4AnSO6j8wpvJosLaNb3Esfsql/nBL4G3msPUtjoZr6AgyhbeMfrlN4YRLKwUh4CK6EquwXzbI9Wik8WrxRYBJldBuEBkcfrdMuyMMUFRDOhLNy2qS9Cp4UbFFsZo1Wi3ZkSrUr7MukY85MdL4G14ZxyAbPkKXeTlJw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR08MB3113.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(136003)(39860400002)(346002)(376002)(396003)(366004)(6506007)(53546011)(186003)(71200400001)(316002)(52536014)(110136005)(54906003)(5660300002)(7696005)(55016002)(478600001)(9686003)(26005)(86362001)(4326008)(8936002)(66446008)(966005)(8676002)(2906002)(64756008)(66946007)(66476007)(66556008)(76116006)(33656002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: iTQuHo0/wN9eNsy8qP5A8hjtb5hGf1LGoLPwsO5gyriUOD5ZM6vvVMRsFJgRvztcXEjsMoPvl79Ujvj7czdhQObU68YB4uX+0t3RxERoatHSkD2LzriV5Kstp/QoYMGwXZOQcUp3KBYKh29+1kenSHCWC+EynmdZr9pQGQu0nGCG7LSIQzkS6zkHTaRCEFMa2lgdxAsdN1g7oZHmnCAXdXy+3Xnl89FSdD6AtmFfIoekTFZ/eXtoln4iI3B4mVLIufQLe/omyMuK0bPi3gM9AJzvWwwk0MB2FMyN2pUgR86vmR4vAp6Ki1L/6kjqpRh6LaOS6l2h1055Ul9ibin+Sc2UqsDmOhxLVleeQsfjGiJgA9EzihMso7XB+sRPsoaz2/2fT5G9xnceRsTxsjzQGESqDk3rdkgPIJPlOSIgN/fOlgO/bDoDSeAxT+0TQDMGRkSuA4NZUqBay9gj+Mk3j2MpcoONKvfIL3UX0riAUQgDEfm0LtMpSP56aE8BowcX MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3180 Original-Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Return-Path: Pierre.Gondois@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFTY:;SFS:(4636009)(136003)(39860400002)(396003)(376002)(346002)(46966005)(6506007)(478600001)(86362001)(2906002)(186003)(5660300002)(82310400002)(4326008)(356005)(9686003)(966005)(36906005)(8676002)(26005)(7696005)(55016002)(81166007)(52536014)(54906003)(82740400003)(70586007)(70206006)(53546011)(33656002)(47076004)(336012)(316002)(110136005)(8936002);DIR:OUT;SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 8fa5e4d7-fdde-4e9c-2589-08d7fe47ce70 X-Forefront-PRVS: 04111BAC64 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rLcZCp2+D4Wh554HRVIss3IIWUWeg/KULTVqhf7YrIk5H49Q6ZUJgrb1q8Kt+jwlr5xh5afivK3zX6IxuEVM5OWuZt8zmyWhtcC8XTfxy0k2Km2vOeiykqJ+Yf5XW3t6GabyLXkDm7b9I9c37oHF0+y3o7GUgg6DHrIadREg6lnH0469Tp0j/F40NyPY/3hgEPN55rYzxtWBX5CwGF71ZzYnTFm20HM2boYhr0YSeui/rwNr9vqLdY+TaITVntGtNSx2uejSee0tu6TdCuPYD+cW/prViFeqb5XMb1NDVFC1h2wmg2GrZLEOw5iLaskRP0yehxvl7U6YBiawH1UGzHJiW+zBu8x5kUYvOUG+doq2YwoJ5GiYk3oVAgUT8BZ4NliRCBebUYcNvLRXDFGMs5/7Rngi+qFvFALEs/Z4u/ZK+PX/DBVcXRtNPQJaL2cfKzE+u6op4laeEhhOpwtYcXv7BxmfkJ6ThHmQsQyk0Es= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 May 2020 12:01:12.8964 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1ef65e45-56ef-4323-fefd-08d7fe47d2d8 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3589 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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)'