From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (EUR03-DBA-obe.outbound.protection.outlook.com [40.107.104.84]) by mx.groups.io with SMTP id smtpd.web08.9364.1659537395948127252 for ; Wed, 03 Aug 2022 07:36:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=XAQA+jNo; spf=pass (domain: arm.com, ip: 40.107.104.84, mailfrom: sami.mujawar@arm.com) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=KSOnwrrzqPgvlOdo4WK6oL6YKv9V0WDGpLDrDHaO8EcdxAqpNromUPoFwpAgfWdMvSYVXQ3eoaz8bF5vP4lJSgIN5dQEP0EPinZwaVPnhVwRAPTYNPsicuRfAJ9dGi5mxWn/LbResDLNnxU5QTSkfWw/pM2yoGdkAsjG3BdBP1HC+M1JU0GcLFIRQqyBWF9HPtHNGJ2SXzM9r12lbtMvOM5WZz6GZxv5ZDJ5I2CWtER0z5QcVmdSPYbGW40oqQLVqgJs/akDt0xB6gwBXndg1WhSogLQ+0N8sfWlhVkLXjourppJb2xxAGT7e31xo0dwsqtQEdNwZ5xYsXJD0dBXsw== 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=Ptq9NEQnCkInUPBZ14zOC+RdruuiERsTJ7eYrmmTC1g=; b=Bgn0iMcHwqHHnsHEmC1mXo/pbVINotiQUnwAWn6jK4uKd4F0R3vdEsoLvG9JjplQojcTvsvCdPFD1NxdAlRsNkSrF6UZXIMwgIdatmWOq1xUTgK4NqZP5P8EJOw9ZmVLkZznj5H0gKKurBIzypMB/z/3aBuDxMdEWkALYyYULv68snzNBnuaV3VZe/npi/lEbmD4+jWZYbirCNsiN9zbIO812E+lTAIzKdtxiKfxHo2oCaaI9En8+Hmq/z3AxSuyUA00Pj0UTebTEGOqTSUbmwBGeolpcUKANOEBXKSHvys1BVPu98Y5DV+WLD8O1Q7SaYviw/tjUWHTnaNVj5e0mA== 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=Ptq9NEQnCkInUPBZ14zOC+RdruuiERsTJ7eYrmmTC1g=; b=XAQA+jNoPGZuHgZ/SWuopT8y0+jcy/GVKI8GasX9V+SlHa/H4wv/fJrIu8hgIuAjghtOf/517O3VfxwWtc+M7JE6SPEksnnyflQWljxbGUApgyQFHgqDHvKnGsvhF5Jk4FNnGMALh0qUoDEm+SLl9l5CFxR8xkOGYHgN8Uq83zY= Received: from DB7PR03CA0107.eurprd03.prod.outlook.com (2603:10a6:10:72::48) by PR3PR08MB5675.eurprd08.prod.outlook.com (2603:10a6:102:8a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.11; Wed, 3 Aug 2022 14:36:17 +0000 Received: from DBAEUR03FT056.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:72:cafe::d) by DB7PR03CA0107.outlook.office365.com (2603:10a6:10:72::48) 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:17 +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 DBAEUR03FT056.mail.protection.outlook.com (100.127.142.88) 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:17 +0000 Received: ("Tessian outbound cc6a8ab50b6b:v123"); Wed, 03 Aug 2022 14:36:17 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 512fea92e673ba01 X-CR-MTA-TID: 64aa7808 Received: from a1b0a735d1e3.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 594B6E80-B176-4182-885E-FAC32074C07E.1; Wed, 03 Aug 2022 14:36:11 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a1b0a735d1e3.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 03 Aug 2022 14:36:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AlHMeghXp52ZChesIE21X0W5Yq6SETyDXDDd+DHO1ImHCSSWVtvNhpkaj2Qjmdkli/SKCckzsQPdw8ZMkqU47XTj2QLgkwDSfth/gPOTQDCPC+ZagaQqjDmu6yrIOWfAOEyGGTvvvhhPm2U1TlEX13R4uXAU8hbgMTDbwa3eS3tfZOKNpoVQQWxs8aH/ZH710uaigoLvIOJmUYzm40+aYhVHMwXsNDq9WvsyeEEIPHsCa/QzNphM05m7HQrZLCplfUm4YLjEDCYmRC7jIIsoPE5sHPP/chANBZYQLmMFQtzk/YdtKh5awh9st5fHvi7+yojcF0ytukU26gKN2ZuHsQ== 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=Ptq9NEQnCkInUPBZ14zOC+RdruuiERsTJ7eYrmmTC1g=; b=hVr+h53J1jSak1apL5ABHr/1RXEWW9MLgxlBWCsuxRTya8Q8ncFH2x149fzXmDzgNqeOQsMGMFXLcl6VVgrILoHNODykpT79VnN62+209H6tufSAughFA6ihYx6lYoHSRjF7p4sZsOLfHwAJaDfzcN+hyUu8+Py7PkGGbMhF4T0I6bV5ZoOecgtJsUhqD0kq6n3ncrg010byN1TK4IHejhREA8w1AKLMbmFB52Y/RsaM4El3Os7HCxVkHct0LdprbSWqywhZiE7QuWhyWZKFnoaQoBtMDpqoPt92qXlfPC9zDyBke9f32BwBmZyqCP/J3pUz0hW9pmCtrU8KfpPH4g== 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=Ptq9NEQnCkInUPBZ14zOC+RdruuiERsTJ7eYrmmTC1g=; b=XAQA+jNoPGZuHgZ/SWuopT8y0+jcy/GVKI8GasX9V+SlHa/H4wv/fJrIu8hgIuAjghtOf/517O3VfxwWtc+M7JE6SPEksnnyflQWljxbGUApgyQFHgqDHvKnGsvhF5Jk4FNnGMALh0qUoDEm+SLl9l5CFxR8xkOGYHgN8Uq83zY= Received: from DBBPR09CA0044.eurprd09.prod.outlook.com (2603:10a6:10:d4::32) by AM6PR08MB3127.eurprd08.prod.outlook.com (2603:10a6:209:43::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.16; Wed, 3 Aug 2022 14:36:09 +0000 Received: from DBAEUR03FT040.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:d4:cafe::62) by DBBPR09CA0044.outlook.office365.com (2603:10a6:10:d4::32) 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:09 +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 DBAEUR03FT040.mail.protection.outlook.com (100.127.142.157) 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:09 +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:50 +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:49 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , , , Subject: [PATCH v1 2/5] PrmPkg: Enable external visibility on PRM symbols Date: Wed, 3 Aug 2022 15:35:44 +0100 Message-ID: <20220803143547.27772-3-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20220803143547.27772-1-sami.mujawar@arm.com> References: <20220803143547.27772-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 3b590648-9c1f-461e-494d-08da755d865d X-MS-TrafficTypeDiagnostic: AM6PR08MB3127:EE_|DBAEUR03FT056:EE_|PR3PR08MB5675: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: 1YxWOSbvH2dxZaOHtTznKAGQyCib0ugEQ7st98qcXIdmOpPjbNWwI6pwKsGlRJKUEhDVAAuXPFpN8NNIk76LxdnAZVH3ELBYB5nVyKV8wzE2j9AWeU5JrZaIZja8MVf/pRE3lJ016dTzFMuT0JsGBlLOXj125SJT6VbMUeG69HjO+AGTMHeZWMAtwA97Ya0UYUbO7dxzmfyeVt1jxngzabAYH2Rddm0Jxz7dJ6AJSrYVIswEE1ELCjBg/3tWeCls7Q5Tw/Pxis8GP4JU8LEAgqltkXhGnDV/wojL64Hck+Wrub7dQM2xqFrA/isLIYZ2hz+n/hSxyL8H11yc/kDiTdWqkpyDyKHwzacfVEQXHnR+hATz/C+4xxqUneZt7TmMPqN45gKQaLCWUWaghp3gzqtL6g99nM8qm+4F0Eq0TALhxlHrshRHEp0Ai/uTSWzDt2ktQ/MEfC7HB5XX3iQd2oQajOzDAMGnp5bngnIR4i9Rp36s3NiXPbbNgPkmVZQvQCk7eb8u9rLw6xN5VtVTzTqixfVsxCaeE2+INdOj4q3D96M5OfbXje00wHUFFLDYbScEpBsAtjACi0aNei6Hl4o+JbB8nLbz2vLJLe6OQmqNNHqoNFkJwO9qdHk3cGucaLz4hvxxQArZBRpxJ8/jSU5hSIbYCrGu4FZiK+N1pPVCXpEroyPEq72GCWhp9uVTA62aLud4F3VHPE/ljoqlQa/T1y618O/0hIuPQWJxRoMpgZQH7GrrT+B9N54Px4zAtfxtAv8Y5nBQem3xda5+7foHPm+UAtwfrVV6xKoDUstseeG746laV4YWDUZnc+gEYU9+FDTPaIqXnrpVZc1Qwg== 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)(39860400002)(376002)(396003)(136003)(346002)(40470700004)(36840700001)(46966006)(41300700001)(26005)(86362001)(54906003)(6916009)(316002)(356005)(40480700001)(45080400002)(81166007)(478600001)(7696005)(6666004)(2906002)(82740400003)(40460700003)(5660300002)(4326008)(36860700001)(44832011)(82310400005)(83380400001)(36756003)(47076005)(186003)(336012)(426003)(1076003)(2616005)(4744005)(70586007)(70206006)(8936002)(8676002)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3127 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: cc8699d8-1870-4a04-bfb5-08da755d81e0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 31/F5oi5KCRZNPYuyJDxboMtvNwrAVVz7ETk++rGwJf+Gmd/TEBZSOmFXM+ruupmbHVE7j3vX6aO6zJm0BsoyV9YJM8hDpj/4GqwPd/+R1NLkmXQ2H0YYFg0oNzCX0OUY/tmLmA0gm0sZlV5tpRV0HQjLAC0Byyzyw0veUS9nxC2zB+0jAHnr0LJZHBSM8yu6e48YMHRh2ngae/RolqO/oPnhZ9oSzgWjKtkE6F2SpHWTt2e8/3WqKu6eQHWzlEmo4B4VpMNiKlfozYdXzdKK/QgVpnrGj6N46R701bf0VXsl0lCdxMDDVq3XtfrmMBpsc0OHwfgzVTEMpMtE4VZm9oK3mjMC6ZbuUy+EJ7AQBfgbKlIMPrv1h9y7DEe02OOBFq+/hhKiD/Lrj3t0IQCs20FUt1g60ingcasnSzkUk65zhPp89SxGQiczdDyRmoF9mjRbncMz2yQF0O3XLrnQmM+aTtElUBanrP6Y+RNuRaq7/LNLhMS0tSecgcMOuU7IWG5CgyA0896CQ8EXV36SeCGnTZoerBsz0PAgHRF+zbkCiuXzFonbXGy0uoub0cwBNqlgN48bNsO8fj9Epf+//+g/dpccC7fe9DgwlZjqxgA/GoSbqcue2K+DdY51i/QQT9SujSfbSLWtnT71rcGGEZWAc30WRkYuWX4nrckwC4e3zg0IzDVT0T7qaHCuMMOpmWUzw1FyPWLtJLsHA6HNVL6XrqafBr0NvU0jbzQvviw62tq1ZB9cK9bGFt7oaHYWq+Njj7HZk8bIQvjR9BsS2ks3ZYF5NcMIiE5TQAg+O0qeh0RqdOtj2TrLgHaI/Pc 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)(39860400002)(346002)(376002)(396003)(136003)(40470700004)(36840700001)(46966006)(4744005)(41300700001)(478600001)(6666004)(40480700001)(5660300002)(6916009)(82740400003)(2906002)(54906003)(8936002)(316002)(82310400005)(36860700001)(44832011)(81166007)(2616005)(70586007)(86362001)(70206006)(186003)(36756003)(4326008)(8676002)(26005)(45080400002)(40460700003)(426003)(336012)(47076005)(7696005)(83380400001)(1076003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2022 14:36:17.3015 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3b590648-9c1f-461e-494d-08da755d865d 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: DBAEUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5675 Content-Type: text/plain From: Jose Marinho Enable GCC compilations to keep external symbols when generating a PRM module. Signed-off-by: Jose Marinho Signed-off-by: Sami Mujawar --- PrmPkg/Include/Prm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PrmPkg/Include/Prm.h b/PrmPkg/Include/Prm.h index e290e53510f05908000935eaa486cabd7856b645..007f73416aac84139782b7cdd1125a6ba85aef9d 100644 --- a/PrmPkg/Include/Prm.h +++ b/PrmPkg/Include/Prm.h @@ -3,6 +3,7 @@ Common Platform Runtime Mechanism (PRM) definitions. Copyright (c) Microsoft Corporation + Copyright (c) 2022, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -15,6 +16,8 @@ #if defined (_MSC_VER) #define PRM_EXPORT_API __declspec(dllexport) +#elif defined (__GNUC__) +#define PRM_EXPORT_API __attribute__ ((visibility ("default"))) #else #define PRM_EXPORT_API #endif -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'