From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.76]) by mx.groups.io with SMTP id smtpd.web11.6819.1593077458065100820 for ; Thu, 25 Jun 2020 02:30:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=bHnsVtRZ; spf=pass (domain: arm.com, ip: 40.107.6.76, 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=Z3jPuO6YVuSjfUK/EfMqb3b2+uQBtZCAjy+vYKRQ66A=; b=bHnsVtRZT2L9Kx+yBmVEZ101rOK+e46U980vXH4bR77YfIBdYi1XULf0HcnIvzWdTM1HvJtJ/qjoDpzKU6ihcm/FBmsg2TBRUNEBHlrYc2FPdVX9XZQLqHdpSSmg1DeOiLwQlFN2AtzVrLXfP+uZ07b7hNQNXgVUYyfDszQEI2M= Received: from AM6P195CA0107.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:86::48) by AM0PR08MB5090.eurprd08.prod.outlook.com (2603:10a6:208:15c::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.23; Thu, 25 Jun 2020 09:30:54 +0000 Received: from VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:86:cafe::2f) by AM6P195CA0107.outlook.office365.com (2603:10a6:209:86::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.21 via Frontend Transport; Thu, 25 Jun 2020 09:30:54 +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 VE1EUR03FT031.mail.protection.outlook.com (10.152.18.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.20 via Frontend Transport; Thu, 25 Jun 2020 09:30:53 +0000 Received: ("Tessian outbound da41658aa5d4:v59"); Thu, 25 Jun 2020 09:30:53 +0000 X-CR-MTA-TID: 64aa7808 Received: from 6000bf1f6f7a.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C6094F4E-08E3-44EF-8AC2-50D4A7738D4A.1; Thu, 25 Jun 2020 09:30:48 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 6000bf1f6f7a.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 25 Jun 2020 09:30:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iwQ0Ty1pel3dt4avIqG5EJfVH9eO8M4eSCxGVBDqShciYyiuvfSwA3DXY8SZ3fgp4rnm3ZYKkkZstcyQ2S4ToslavwG2TCwCLsQDm6EnW804I1/s0JUx95us4oEJnhZW/NhtYBS3HpwAdt+XZsqtqL3jJtjcxYQ3pxMMZDI5EZME8lNtRBs/YkAG75eCvM1sCANUWC/GVzbbbEjJB+j8HECTDDVAtaJOiXkj72sGq1vyX4UuOQzu8dhx7xlsFOBniAYVfjfjD2SR65MmJTPUEXBzTgZuHcB7hGECmqHNL6VhVNXSW8c4u5QRivzNup6O/qAbHPEzpDVg0RNh4cXc8w== 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=Z3jPuO6YVuSjfUK/EfMqb3b2+uQBtZCAjy+vYKRQ66A=; b=P77W5luZ+/L1UdydRlAxsiki+4cAhfrhoVA67phz5b499cZoeyfnpg2JzcSObwYV9ru1p7YrgYc3gGzUiib4C0v2px6n9PItIwUt5XHq4N9PpC06M9LaFHg5SRUbt2ccqsjY94NjQxxMt3UeE+hzuzH2oxwNM3z/kGhOWymbh4MxUdQ9gqb43sWVEagG8SrSvX8XU/3+WlQVgCDJOk+yAN7i8Fh+i13nEbvZMfHvnD4XITQB0hUNb2i/xbbkxmw1EtBKheO8BJyVK6cV0woqvlV9GmX/zU4ijleisBNqHELEEblK4s+EsPhyRebOtrtodnizzNlnV1gxfmJINM5ZuQ== 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=Z3jPuO6YVuSjfUK/EfMqb3b2+uQBtZCAjy+vYKRQ66A=; b=bHnsVtRZT2L9Kx+yBmVEZ101rOK+e46U980vXH4bR77YfIBdYi1XULf0HcnIvzWdTM1HvJtJ/qjoDpzKU6ihcm/FBmsg2TBRUNEBHlrYc2FPdVX9XZQLqHdpSSmg1DeOiLwQlFN2AtzVrLXfP+uZ07b7hNQNXgVUYyfDszQEI2M= Received: from DB7PR08MB3113.eurprd08.prod.outlook.com (2603:10a6:5:20::21) by DB8PR08MB5529.eurprd08.prod.outlook.com (2603:10a6:10:115::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.21; Thu, 25 Jun 2020 09:30:46 +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.3131.020; Thu, 25 Jun 2020 09:30:46 +0000 From: "PierreGondois" To: "devel@edk2.groups.io" , "bob.c.feng@intel.com" CC: Sami Mujawar , Tomas Pilar , "Gao, Liming" , nd Subject: Re: [edk2-devel] [PATCH v3 0/4] Compile AML bytecode array into OBJ file Thread-Topic: [edk2-devel] [PATCH v3 0/4] Compile AML bytecode array into OBJ file Thread-Index: AQHWSgcbhBvrM/rS80+2kILO/iMwR6jn4K0AgAEs9RA= Date: Thu, 25 Jun 2020 09:30:46 +0000 Message-ID: References: <20200624090837.124392-1-pierre.gondois@arm.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: c952feb4-a3db-4629-aea3-c2c22843bdd6.0 x-checkrecipientchecked: true 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.106.52] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 838dbb9f-df5e-48c7-5ba1-08d818ea752b x-ms-traffictypediagnostic: DB8PR08MB5529:|AM0PR08MB5090: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:9508; x-forefront-prvs: 0445A82F82 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: LYX5Tuc5foBga6+amzFwJY5YqVM+04reYkA9SVV0AMGrwFoSBo/+2a2qRzQVsxqb6HV2b42tCeusK8kMrMla/wApJh9wrru1t3hGiuaYeq7G3PZKLzgHQeKvYl9srmrZpVcgDrhENb2q0O32gh2lsgksfqrWguYB783z3NRhpgGQ6NxUsSF4l9JNv5e139eT0KQwVWXRb5g5d0/oh1sw+qKfISjxZmQyVVN+JNwz/c1hB8iCPVRYOXjI7lEZHTo/cKrrM1BZyYTiyPp3wDu6NPQUMTX5k3iK3bCH5fTZ/KhNSOw8kAGAfqT+nsz9sB2mdac1hekCCBKuySjfiYMnYG3l9PHXBOoi0NWKtWo8FwXRmIG/ZFs0fxE2EfkgIgniuBuMKmk6z9tBAdfXw+gg/w== 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)(39860400002)(366004)(136003)(346002)(376002)(396003)(33656002)(76116006)(2906002)(186003)(6506007)(66556008)(66476007)(71200400001)(64756008)(5660300002)(66946007)(7696005)(66446008)(86362001)(26005)(53546011)(52536014)(55016002)(4326008)(966005)(9686003)(316002)(478600001)(8676002)(83380400001)(54906003)(8936002)(110136005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: YUrqU5YB9M7aLF5PypctbZ1mxjOi51RTEnF9/RLbIPRTPS6z7eegJLoSaf6D9/qVSow4FTV9NcF/Bd8A+TNsYl7SvS/Lyfdm9EC1V9agDVUPBWZHHEgBzAQMiX2VcXVxAv0/MNX/5QmdCRppnMPsIo7YLccJl82yYOor3j/0GP1Y18v9FGOZpRQGgcM6Yor19mVxHCeRDRFtFukbAQbi3wESAksqg8Vk95inA+m1Q8B2OhUHdz1k3ihQHFyqdylkbqrODiVL57o65CqBl1juuLOxQ4pYrsUFV/Y4/fLgmvMvqFefYce6Iy4y+z37kXu0yH0exD6SJnrU4giYr7TGNjYR7/cQPO9OFaE1MPdPgbcpUc9KWPxA/5tzTs/moLZbXa0RqnIH/uhQFuaDKDnfQf9dheq74REhNIQCQjZMgX1fkbHBLIGOZCBgPUf3o5Hnoj4E2EX3YVWMfFHjlWAHZxoBXCa+gqDJFTYMXOy3FchebFmHbM3kG1bYpHGl3nLO MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5529 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: VE1EUR03FT031.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)(376002)(346002)(396003)(136003)(39860400002)(46966005)(8676002)(8936002)(5660300002)(186003)(26005)(53546011)(2906002)(336012)(52536014)(9686003)(6506007)(55016002)(86362001)(70586007)(70206006)(82310400002)(478600001)(33656002)(47076004)(316002)(356005)(7696005)(54906003)(4326008)(36906005)(82740400003)(81166007)(83380400001)(966005)(110136005);DIR:OUT;SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 1df07582-9be1-4339-0b5d-08d818ea70b7 X-Forefront-PRVS: 0445A82F82 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7SyLtWkoLRD1EaxhCFJCbFFHhnqLzVDbYmAOJiYCPDqhJ3B5UQ1ROq5vjnna49ykA3PvHdl1zJz34JH+6Uh/9tWLEWz0CZfGOQGmkuYZwnIrFlIilddtBA3wv8VSJx9OoaEQ8bFSzZf98/1wk1ljfDHTzsRxxrInYFsNA2ICSPEGOuc0sP2ceFAXbVhSQ78XYNYQXUUEkbkWK47M9coe+sCu+BdNj4mIbUuICGYc1h2u087wHjgdoXSRLHOWGI2tAPrDmgd1ngSqtrxRxgBK1cm1+mL+BUW8XoaVOPmPlCvbAZ47VIV+BLeZlZXdSNMWqLZsY7R5t1ca5XgVTZekuLJYwunwg0cGNnxgZOUZLY0fGLIxOOsMGKk9ss45Qua6htL52d9kT4tOW+cp8D+ovXOV3zdx3CrLGV0h8ztUztYr0eJOxIjyDLobxCRsSxv/nzUFCpEnxaiy6nGIH7Jiwt8XDpKbj9nRMImz2qjFhcU= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2020 09:30:53.8655 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 838dbb9f-df5e-48c7-5ba1-08d818ea752b 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-AuthSource: VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5090 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Bob, I believe the line endings of the BaseTools/BinWrappers/PosixLike/AmlToC s= cript have been modified to CRLF when I sent the patch. I created a pull re= quest from the linked github branch noted in the patches. It is available a= t https://github.com/PierreARM/edk2/commits/803_Compile_AML_bytecode_array_= into_OBJ_file_v3 . The pull request is available here (to show the result o= f the CI tests) https://github.com/tianocore/edk2/pull/729 . Do you want a v4 or is it possible to pull the patches from the github rep= ository? Sorry for the inconvenience. Regards, Pierre -----Original Message----- From: devel@edk2.groups.io On Behalf Of Bob Feng vi= a groups.io Sent: 24 June 2020 16:16 To: devel@edk2.groups.io; Pierre Gondois Cc: Sami Mujawar ; Tomas Pilar = ; Gao, Liming ; nd Subject: Re: [edk2-devel] [PATCH v3 0/4] Compile AML bytecode array into O= BJ file Hi Pierre, There are some build failed in OpenCI. Would you please check it? https://github.com/tianocore/edk2/pull/727 Thanks, Bob -----Original Message----- From: devel@edk2.groups.io On Behalf Of PierreGondo= is Sent: Wednesday, June 24, 2020 5:09 PM To: devel@edk2.groups.io Cc: Pierre Gondois ; sami.mujawar@arm.com; tomas.p= ilar@arm.com; Feng, Bob C ; Gao, Liming ; nd@arm.com Subject: [edk2-devel] [PATCH v3 0/4] Compile AML bytecode array into OBJ f= ile 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 (4): BaseTools: Generate multiple rules when multiple output files BaseTools: Rename AmlToHex script to AmlToC BaseTools: Compile AML bytecode arrays into .obj file BaseTools: Fix string concatenation 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/BuildEngine.py | 2 += - BaseTools/Source/Python/AutoGen/GenMake.py | 6 += + BaseTools/Source/Python/AutoGen/ModuleAutoGen.py | 38 += ++++---- 7 files changed, 89 insertions(+), 82 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)'