From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.61]) by mx.groups.io with SMTP id smtpd.web10.41805.1669898324982462181 for ; Thu, 01 Dec 2022 04:38:45 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=o18FU+i1; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.93.61, mailfrom: nicklew@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FQngvhdCQz/CExoIpmc3kKZbmuBBUCSk8H7DiiJ6gcOi31lkl9aV4goPG8u12WsAhoHDF8vKJ57gOUz21AcIPOVr1UbQzL1z3AV1ahKEFwYi7fmWFHnhWxnAwO3JPKM0tCJBq2Kgz5/sSfr6zycqfZz/V7RGUsHe4xbbFu5ory5OyNfGqYLYtXbmPJHv3/1KYnq6pBvFNTM2mCs4ZXc2/iLAN10k2fsJRgsq1xWa11fwFrS2TZsmMJ+X5EG2g2p0Pp1Qn9r6wWI9pVmKxgWvHw7RhnK7R7WQ0GRdy0ia3SHXkuJ/UK/kdpUG1juAJHk5D7/o0yKoBQmkLF9UGON3Kg== 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=HiwFvfXZdVb45+uKxtiTiR3ikfwO7QkPoteF3AGtd6Y=; b=WDRBUnOoUSEnGcpKdI3vzndlaJeVc+UAN8U+vSTAXfkoCHZ/r/a+y6KhCAx6cHDc9PUu2AA0fW6ELLX7I3HbSqMYko4CTaZI6yW8nxo6bpnui+QsycGDs155pBXHPqzTMQbTKmxXEpCEsZy5vA59uRWn/0AO8X0cYPRRw/dlp1h6W/lHvtYhDhzB06BLToa3EktYj3/VxMIvCB0Wj9hfPnyQ/ZT0tciGvQmk5Msnl1inU2Lh0y4K/zEevxyrnZCFZrJyFnyZb3CDhR68Xj3evbox5GhdFWlNpuGVbIeGvXgNgP+SR3jqAVYr1AH0r8C5Pjts6Bco8SIunclqj4XJOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HiwFvfXZdVb45+uKxtiTiR3ikfwO7QkPoteF3AGtd6Y=; b=o18FU+i1eaLJ4Wv39NkBj07pJFlvQS+N29l1tjP3LxdGntD++/CCgBow7oNXK0kwn/dpmi1HEmcvhVSa+vI+AgwYrwKvEs4epbqmcX9RcsNX5/7Rh2icR9a9wF6h20oCVAw/HOmsdqDjsSP+xrYg2qJqMPVjkg1jCGDJL5tQ4eSQB2aXj2FBdWZ1EHvgOO8eqB6bnK6yLZGyDwBywZWyOi/wTix70X3ezpkrlGyiRCAKJxSqd+pf2rboXy+MwcjQO9fH3SF2cBO70/RJFAFqqAvFEbJNGWmDC2vC+Xl3k2cdZ1+cJexwp/z5R8oVXFphUbUkA+qhAcl8YSl5oSe7iw== Received: from DM6PR07CA0087.namprd07.prod.outlook.com (2603:10b6:5:337::20) by DM4PR12MB7648.namprd12.prod.outlook.com (2603:10b6:8:104::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23; Thu, 1 Dec 2022 12:38:43 +0000 Received: from DS1PEPF0000E651.namprd02.prod.outlook.com (2603:10b6:5:337:cafe::6e) by DM6PR07CA0087.outlook.office365.com (2603:10b6:5:337::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.8 via Frontend Transport; Thu, 1 Dec 2022 12:38:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by DS1PEPF0000E651.mail.protection.outlook.com (10.167.18.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.17 via Frontend Transport; Thu, 1 Dec 2022 12:38:43 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 1 Dec 2022 04:38:36 -0800 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 1 Dec 2022 04:38:36 -0800 Received: from NV-CL38DL3.nvidia.com (10.127.8.10) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.986.36 via Frontend Transport; Thu, 1 Dec 2022 04:38:35 -0800 From: "Nickle Wang" To: CC: Jian J Wang , Liming Gao , Nick Ramirez Subject: [PATCH V2] MdeModulePkg/RegularExpressionDxe: Fix GCC build error Date: Thu, 1 Dec 2022 20:38:35 +0800 Message-ID: <20221201123835.41-1-nicklew@nvidia.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Return-Path: nicklew@nvidia.com X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E651:EE_|DM4PR12MB7648:EE_ X-MS-Office365-Filtering-Correlation-Id: 3317fe5f-046f-4215-912d-08dad398fb73 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CIyzXgJn1RoFTASjLTbPApnGcZS0n1eeFxMaGtpDKpFV8v+IlXijbBTQDpRXxfQ4pFEwsmnBazrIrY8w6rYP6GrPEpSufLo/QL4VNTZx4sw8D0rDOpy/pkOtzLd976EnOcYSiQ68rNh6geGzuElVHNxrNBDuJsAda1v1blZGKVy6MD7M20QzOYhFlwwfJ4u25AeUH9jStdZj0TiGNMeSeHkgbdDjIct1OMVOIihiMZU6XikyINo9zdm3gH+foXRcm7eCoIA3O6HqGyPF6+/t951/uOcquZCOhRO5SEtictnOBSK6CyjMMAma+sAukev+E2bl6boFe2fd7R2g45Xk1OJzgzsGRR7uMFq3VJ7oG7bTutBU7SHhABckY2kRlKpeN7yV0tg0rw9RN/SZNMo4qm625+w9OZVzR2t+GWNzocxKepFYz6u3jnLm1rUfhIPMly9ezq0CaHaVpCQwtB2D933qPwuyzV06LWio3fr8jNCW5wvPvTnyDv+RuPuUgLKrpYgQm0KOP9grQ/wKoQAWuhPIvvhn0INSkVH8Z0UgpdWj6V+5Sz9sTZ8tGvKVDoxkiDQsg/WEnpVrKWB2EvIZfNM3g04ObbCvdDz2qI81bDZRfxAuj/NZnw5wUo1uFcK8JSeAqBF6u04nIw2eyQ7WQolKeCn5Sdv4Gq02a1YECQeUhFktYYsOIKkv5c/RUJ0Jf5afBQ/Zsk2x7wx4fYJjPg== X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230022)(4636009)(136003)(39860400002)(346002)(396003)(376002)(451199015)(40470700004)(36840700001)(46966006)(7636003)(478600001)(36756003)(82310400005)(82740400003)(40480700001)(26005)(41300700001)(40460700003)(7696005)(8676002)(356005)(70206006)(70586007)(8936002)(6916009)(86362001)(316002)(426003)(54906003)(4326008)(5660300002)(47076005)(336012)(2616005)(186003)(1076003)(107886003)(83380400001)(2906002)(36860700001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2022 12:38:43.1928 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3317fe5f-046f-4215-912d-08dad398fb73 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E651.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB7648 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain Fix GCC build error on AARCH64 system. Signed-off-by: Nickle Wang Cc: Jian J Wang Cc: Liming Gao Cc: Nick Ramirez --- .../Universal/RegularExpressionDxe/OnigurumaUefiPort.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.= h b/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h index 3dc207da3e..248109b0c9 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h +++ b/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h @@ -4,6 +4,7 @@ =20 (C) Copyright 2014-2021 Hewlett Packard Enterprise Development LP
Copyright (c) 2020, Intel Corporation. All rights reserved.
+ Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved= . =20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -36,11 +37,9 @@ typedef INTN intptr_t; #define offsetof OFFSET_OF #endif =20 -#ifdef MDE_CPU_IA32 +#if defined (MDE_CPU_IA32) || defined (MDE_CPU_ARM) || defined (MDE_CPU_EB= C) #define SIZEOF_VOIDP 4 -#endif - -#ifdef MDE_CPU_X64 +#else #define SIZEOF_VOIDP 8 #endif =20 --=20 2.38.1.windows.1