From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-VE1-obe.outbound.protection.outlook.com (EUR03-VE1-obe.outbound.protection.outlook.com [40.107.5.85]) by mx.groups.io with SMTP id smtpd.web08.9360.1659537389266412567 for ; Wed, 03 Aug 2022 07:36:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=NkwyH4OQ; spf=pass (domain: arm.com, ip: 40.107.5.85, mailfrom: sami.mujawar@arm.com) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=XZwekivQazbDiK7YYgwyHKTVADSqEgnEh9IRFSpDGmL9UmVGNM5Hv2jzhebq9Y3NiRiMSqI/Et/SIpjdHv6aiWx0wzcrR/JrZPDxGhucomBuBdPxEy8a0bxHoBZlsHO+69eqQKoYz7VYFptqadsJaZg+z6evTP5pW/Hlpt3gHlnApxxR1Ge1POL8D6WlnkTUJdbz5+HQ6RSWBLbM4jXJga1+LuUtFl7c0AMRGAmjYj4I0Xn7opOPti1YMCeoEb0I/csa8mCOPWDmY2AeJPJZA0+tWbk1MssWPaG3+M1LFuPo5s3B7F/PlaBaN6e670A4tdUfx3ya+kRsKnRD3SUqzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lJl6neW/imUnbCR9ilPxbpf5LAXAc6c+TG1zAUjEqmA=; b=aAEJbVbThjpaV+jCcpP7onhZZINeAsrdAhxCp8s7jbr88eC67dmI4FHcAUidjv4edWnmjDH4DBvdxz5E1Gny/9SbHKsg8aJH//FU7F9g/uM3iO9Qsed+wrR2Pe3xMo98b2ITo+B4E+UWNQox33tnN/qerbMrrU6bNXGUSYVS2x+0IzVbfAQfC3+frPDgC+CshQIMedclTr9CSMhaAFQd/QWJk6tKuF8rNfiImlQzqaQPyO6QSjqsFitBX5SzlGvI8XSVqjjuwLewGT3r1bxZWNvnn+KEsEZAkeb7IS1NwTosmq8H/F6kVLDafQ/2OZkjhCdel1k5QrJ/ymGCrJsFAQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=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=lJl6neW/imUnbCR9ilPxbpf5LAXAc6c+TG1zAUjEqmA=; b=NkwyH4OQIM6FuFS891QGcrH3dzfGPfl+AJ8vnsbynqssSYCDFf6b8ccDDJSwDtxh+jUhu4CaxiMkJ22d0AseMWDYu50cUUnx8LXVJ2YKBLDHL116pO0u4Y7REpwD2qyO40dC6LGdHxMu3cBAxyHhkOpiCMFLfq4LaCbNAaHup6M= Received: from AS9P251CA0010.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:50f::20) by GV2PR08MB8320.eurprd08.prod.outlook.com (2603:10a6:150:b5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.13; Wed, 3 Aug 2022 14:36:11 +0000 Received: from AM5EUR03FT012.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:50f:cafe::5c) by AS9P251CA0010.outlook.office365.com (2603:10a6:20b:50f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.14 via Frontend Transport; Wed, 3 Aug 2022 14:36:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass 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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT012.mail.protection.outlook.com (10.152.16.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.12 via Frontend Transport; Wed, 3 Aug 2022 14:36:10 +0000 Received: ("Tessian outbound fccf984e7173:v123"); Wed, 03 Aug 2022 14:36:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d4811ae84bc398b0 X-CR-MTA-TID: 64aa7808 Received: from 1f0de746337e.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 19C5298B-3B71-4ED8-89AE-0AABEC855719.1; Wed, 03 Aug 2022 14:36:03 +0000 Received: from EUR03-DBA-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1f0de746337e.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 03 Aug 2022 14:36:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nzmYffj2zkUayvQGIONUcsVq56Pyj67AUJ+UWAE0r6cfFXOyTH7FEBHMxlVItJGGIfO2enAtyyi+Un8nxslzQy9FI5nwVT9uDSNCiYtpT/GG6Vevo95Rd008mE24pSwKSqSipy3RhIjAB4KZn0ACGLmYZu2ONafIIyxjfEAhJRyxLiZ80Brw8uijZGKTjg4e0s4jPaba7kPtezG/cr6jyzSGrCQbvFSs0T1l9p8u8iL4HddTLQdxj3+78wH2jdYcSVYfVlBL3dIaDNUm+KjcuC3UnF8QUXTDVSAS1NbUWANtX5ohSvxujNpGwsJ+vg4FHxqhnybc7m5Gm+nSiugjlA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lJl6neW/imUnbCR9ilPxbpf5LAXAc6c+TG1zAUjEqmA=; b=TiWYYpQOwpkxYzM7t1nIHDKsO1eVDhIUMDpWYV2rI4vkwJiVoHo1K3vyvzxAKlBRmZHCuYSg/3FP3cLrZHEldVJmletPKLjZYIQzX5wUj6ku4krkmTw6ViKB/n2ndpuwOr6AXy4i+DDxQ8qSi2C7W7pQRR+4Ln52I+7pLAkiDrVKd4LYQz4sDAO/BmTsf/ggsnlmG6CzasyaH3QmxPAZOGK44A3Lwwr3Q4TAy1ZENqyzdW79Qcom/zxF3GiZZtIiAM0sc/cwLwnf4WNzltY1Qd5bcJuA8lm+G9aof7dP7zJ8clJgl5Q9BYD3GCIFVqBBROmPflUdCX3cs0s8FC08vQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); 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=lJl6neW/imUnbCR9ilPxbpf5LAXAc6c+TG1zAUjEqmA=; b=NkwyH4OQIM6FuFS891QGcrH3dzfGPfl+AJ8vnsbynqssSYCDFf6b8ccDDJSwDtxh+jUhu4CaxiMkJ22d0AseMWDYu50cUUnx8LXVJ2YKBLDHL116pO0u4Y7REpwD2qyO40dC6LGdHxMu3cBAxyHhkOpiCMFLfq4LaCbNAaHup6M= Received: from DB6PR0802CA0029.eurprd08.prod.outlook.com (2603:10a6:4:a3::15) by AM8PR08MB6580.eurprd08.prod.outlook.com (2603:10a6:20b:369::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.14; Wed, 3 Aug 2022 14:36:01 +0000 Received: from DBAEUR03FT027.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:a3:cafe::6) by DB6PR0802CA0029.outlook.office365.com (2603:10a6:4:a3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.14 via Frontend Transport; Wed, 3 Aug 2022 14:36:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by DBAEUR03FT027.mail.protection.outlook.com (100.127.142.237) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5482.12 via Frontend Transport; Wed, 3 Aug 2022 14:36:00 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Wed, 3 Aug 2022 14:35:49 +0000 Received: from E114225.Arm.com (10.1.196.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.9 via Frontend Transport; Wed, 3 Aug 2022 14:35:48 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , , , Subject: [PATCH v1 0/5] Add support to build PRM for AARCH64 using GCC Date: Wed, 3 Aug 2022 15:35:42 +0100 Message-ID: <20220803143547.27772-1-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 116772a8-ce55-4ee5-635e-08da755d8291 X-MS-TrafficTypeDiagnostic: AM8PR08MB6580:EE_|AM5EUR03FT012:EE_|GV2PR08MB8320:EE_ x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: yPrmwwlzzgXdRnQgTkOBxmz36JDEJI498fe+2QdfRQ0ptNGYZdSlGm+OQpw4uoxv4xoyCt2MZmk+NFHmhRhX5GTZv6VSRGgDpdu/P7cigH/9yfo3ZqblfCmO0pmxDkheGBUT4JjVGBeeRB0KYSV0M6jNNwa1h1E09nF4eJFqVLA6tykGx0QiV2hoBv1ZnbrZS8MI4aWVRNKpaaDki4FmoxtUs6GM3LZD5KV3WhCYvu/JybrYi6/k+tddn/MfFCZIcaVmch+Pd/xC41V2xy1Bm4PL1uXbfYOuaoegkP14vivZdNYPQPH6httm8aB68mlvNeudSM4doEu61WQRqSO0IowBqurSvRnVwknhrN+/C5stxWlDWbQKopnTK8PYXh4+hdqY5rkWdZQiwIWL44k/otVCI+q8P0Dszx3MEjSX4zmDfzxLVA5CW5yUgFT8WOvxsz4z25W/yh7mlOLbY5TuVeJ09UsoJAKBmv2LH9J5IsuTC5VcOPxzKsJv7PX2RiwP84TlEsgihzBrr/NjUiCpfVkcdmhFtaQyuylnBX9Oug3PqW1BpFkjY1ObljKuFTql7geSkMJ1PcHPwhZT2pMPafx47KWSs7rxxVPqkbrYqg6v8OoodUXWmrw1uL2OqukgKySOabcD9rpPn4hwsvmBGogl07PyAsVdgiYMslbp5sklaynxsnsMcHLpk+rB5orbkCunTUhqhFsdpnOoEKJ1H4yuq5CMZM3Y/d5iMy3mgX9UVfasu6pnBQiTaRpM9XRByhrsKgvlIbeK6ujX4VJSKehlgFhUzsth1eer/DOa8XCeRtclvjkXzx8AXm/B043ecP46/VoVLZ2m8QF8gWJ56NN4vxMYYCbRfq0eO48AnBvXGnp4xIOFO8t2BGKJB36f X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(376002)(39860400002)(136003)(396003)(346002)(40470700004)(36840700001)(46966006)(26005)(5660300002)(316002)(478600001)(19627235002)(54906003)(6916009)(81166007)(40480700001)(8936002)(4744005)(70586007)(44832011)(70206006)(966005)(8676002)(36756003)(4326008)(40460700003)(2906002)(41300700001)(36860700001)(6666004)(86362001)(1076003)(186003)(2616005)(7696005)(336012)(47076005)(426003)(82310400005)(82740400003)(356005)(83380400001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB6580 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT012.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: d544f204-721e-4b8a-85a3-08da755d7c9d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2N/tHoVUUhaxryPdwcpsayeHrB5w76oYVjMAfZXCo4LBQoeo6lBf4xrwVmjjX78NkNpqaz4rp+Ho2652wW8qu4tM0m6q9UJ/wFCGDDGiXqvbjp/zHMdEzlJxuBXnllPN4MtukwhZOmzb3GB2pp81l2uZxTGQbV3YQO94qvvfZe89swQpzRaFOTaz5UziNU0yqYnQ/DMuA4Tyapm3mTU2Ty3cFNHLJt5UXraND+mxLXus5/RdjXKg+ckuDalqLrdOUS7WGBw+JtQZGzkKAzqyMpvB4bGjoYYqSUXGsDewR36vlhaBAkSCGELqeGE9sdt0v/3Hls90PxmcTm33Ogxp3MulElN4a+rBhimNFUr5/ggcbG1Uoq9k1C5pKCOYLQEUFnhkedfz+N7ghLpbaAdsoFaBcchYamZSzbNVsCNFjeaa35QFKL+1P/MID/wJg8h/6B8pYEblcQLEm/9uA5LaZgKaA454zOD7unmJN8aq5J+vFA8EDaJcfyNb7QvOGT0MKhYw4tpGuA/gbOfi04jdzdasU6pUT235bUPYI5Iyce1YeGGYPGEyaHvGVRdF1M+/GO0ZWkPsf548XvaLuHVJRzxV5r/xV4+CY83eY3wwo0sSRKEEpxB3cua1+YH3BGJblLkeTtFM6ZrNp6hpPPIFz/2ErdSpkpPFy7tu+QRTIJ1Lg19lfFHUWWFn/4xcPR5n25QwasVdI1OPAU5zu175y0ybzSZiLmEEMd5A9EmEBqc+v98YfqObAzDn6/oUtzZpU0ZxD/cA1p0qHQXpXPaV3PR8k5wlfl6SVsAqW13NdRWM6Ry5X9YIVE5Q7uvBMVWN5nz8sonSZYFEjPJc/mhxIg== 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;SFS:(13230016)(4636009)(376002)(39860400002)(346002)(396003)(136003)(40470700004)(46966006)(36840700001)(4744005)(41300700001)(478600001)(6666004)(40480700001)(82740400003)(6916009)(54906003)(81166007)(2906002)(8936002)(966005)(316002)(5660300002)(82310400005)(44832011)(36860700001)(19627235002)(2616005)(70586007)(70206006)(86362001)(186003)(36756003)(1076003)(4326008)(26005)(8676002)(40460700003)(83380400001)(426003)(336012)(47076005)(7696005);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2022 14:36:10.8696 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 116772a8-ce55-4ee5-635e-08da755d8291 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: AM5EUR03FT012.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB8320 Content-Type: text/plain This patch series adds support to build PRM for AARCH64 using GCC. The changes can be seen at: https://github.com/samimujawar/edk2/tree/2238_aarch64_prm_support_v1 Jose Marinho (5): Basetools/GenFw: Allow AARCH64 builds to use the --prm flag PrmPkg: Enable external visibility on PRM symbols PrmPkg: Build Prm Samples with GCC for AARCH64 PrmPkg: Support AArch64 builds using GCC PrmPkg: Add details on AArch64 build to the Readme. BaseTools/Source/C/GenFw/Elf64Convert.c | 6 ++--- PrmPkg/Include/Prm.h | 3 +++ PrmPkg/PrmPkg.ci.yaml | 1 + PrmPkg/PrmPkg.dsc | 24 +++++++++++++++++--- PrmPkg/Readme.md | 11 +++++++++ PrmPkg/Samples/PrmSampleAcpiParameterBufferModule/PrmSampleAcpiParameterBufferModule.inf | 4 ++++ PrmPkg/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf | 4 ++++ 7 files changed, 47 insertions(+), 6 deletions(-) -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'