From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.68]) by mx.groups.io with SMTP id smtpd.web11.41968.1669898524237647670 for ; Thu, 01 Dec 2022 04:42:04 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=We8E6dpB; 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.220.68, mailfrom: nicklew@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fCmcA+zongKSjVgdh/jmvub48m6LmQo5t0vAEupbvbVWaIjMSKhDEbCc8yVNKufgicn+3XoWTGJsOwU+PlVurHZpgrcd6Pz4HzmZ7TQLnRlVF0CsS9a84r6dwWAC5bANNl3Xyeu7Go2wMOLuy2hQVjdktJqSFSYd4xKyPNBCu3196slrJBa29X16oGdG7eqRzKEOZSuFV4ax9rWRUM4oI0yicuR5wd2F8Hfwu8aREr7sXUHeYirHBq8JHma7g3X09jAMf9uxHtG1mQzGswDtsrXx/i7f8MzJ35i7wiD87EwS9e+RoaJ557mSZGqcy+L4JPtdQdw7+cSdNU0+7xmPYQ== 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=j7eBw9Wwk6kLsB6bONfaBrkiZBlHWYbbr4wxVXr1OPw=; b=AHGuAEu7GqhHflMShdAz9SvzBOXuc1PbUPJJ4+jpRLvRonLzWSDQ17MJbUEQMl223kDi59l8FiAJ4XrauM3zAWnK1c/XqcNBSETrgHX8ZqNxJbyDgQGLDqdmn0DeaRMCxlghqtVDx2Uv9IQvP4oPUKMkA7TtqRA3jm4MPtNZElDmuvQXRG+YlRC52esPZbbZQ+YPCLE0uJdZmom01dJaD/KE7Tlw5hoDL25u03uZveRkE713AsMeKnOQb+mnMVUBvHyMxumafCh+plF7Axf5SaJJ1KKPKEgX+Z7bRcpB5laxY7i93/DLcwwMjyaecER2k5/VRYt7GZnMMc+xTzjCgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) 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=j7eBw9Wwk6kLsB6bONfaBrkiZBlHWYbbr4wxVXr1OPw=; b=We8E6dpBAfzgLOEzmVTmmIrCpXELzGqnWvfr3Umq6KzaDdR0/mB2+6jd44/+gDuHVlk0hjrGvPZ72AvN4uC7Ph0uSXNpROYVhtFeQyXsosbzXjzRSKtXi7hOv+n1Ke2y5GzLek8RJrCEIRUbuXbAbEzoC+UO3cs9DHJple2tPQcoLNjvYQYxeG2CkACu1eMZ1Col3ApDcnHBSw1tVJfpI9QPkAI5xHbD1vwqwe1UZFzK8BvN6zOtuy4kwh5KwN3bdH8BfrycDURDBx4bFmN2NoF6LExrsn53wl/aMMUCHXSM5O4XwmHnpuUuseES4B/5a4YV3VIRRRRJAYVXtEHsAw== Received: from DM6PR07CA0124.namprd07.prod.outlook.com (2603:10b6:5:330::34) by SA1PR12MB7368.namprd12.prod.outlook.com (2603:10b6:806:2b7::18) 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:42:01 +0000 Received: from DM6NAM11FT003.eop-nam11.prod.protection.outlook.com (2603:10b6:5:330:cafe::72) by DM6PR07CA0124.outlook.office365.com (2603:10b6:5:330::34) 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:42:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) 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.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by DM6NAM11FT003.mail.protection.outlook.com (10.13.173.162) 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:42:00 +0000 Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.6) 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:42:00 -0800 Received: from drhqmail202.nvidia.com (10.126.190.181) by drhqmail201.nvidia.com (10.126.190.180) 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:41:59 -0800 Received: from NV-CL38DL3.nvidia.com (10.127.8.10) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server id 15.2.986.36 via Frontend Transport; Thu, 1 Dec 2022 04:41:58 -0800 From: "Nickle Wang" To: CC: Jian J Wang , Liming Gao , Michael D Kinney , Nick Ramirez Subject: [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error Date: Thu, 1 Dec 2022 20:41:58 +0800 Message-ID: <20221201124158.57-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: DM6NAM11FT003:EE_|SA1PR12MB7368:EE_ X-MS-Office365-Filtering-Correlation-Id: 45e3417b-040f-4c69-2b4c-08dad399714d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +sCskoteXj4KrplRFwGlBbKltyfNfqiaXdnNfi3sHIgtnDgtMD+oggeYqW/7r8auokHXX9+KAR64QAjOffsiHtz+Li3TTcUxqcDJardiFLNuGI9SNuph5X56FPgvKsEAMMP16C0mb6zenbO5ohQqv0Mn1Sovvus2Zs8+7rSbEJ3aQvCVe85qmPUgUyfon7LX0P9GXNLZw5IEOwf+jHJXUhjdTUMVhPkpTHOSw6lxQkEiDNLngE8KQ5c2kcWCezsS+6Qz9BoPrvlzN0h2CPR5LAX+cZoUYrxeuau3pEz5Y5To9YoPJUt/3nL+dQtpTFGcYqhWmRFOXZOz2rKOL9kyF9z1cOaQkaP3iYSCi3M0IX3/7oQzbTWc57B+wFiXeC/BmDpB5bVcuxUytDC1L1I37Xq5Nx8zKCxc8huNaOCpg0wneUzu5OwzAoxBO926NBOO/cdnpu0DzxB/3g7grsOus0JP/H0w/Jwn/BNnAo//JUPbkIMtLPPVgMb4B92sWuV921bxgc9E96Byn0ZuyiAvc8UGqOJCmm6yWiOU0ZKiQpJr3zCacbwuPLxz7npbqh2WsEkDkPgYd0xODRzCuK0bQ3qgVVfPWim7m0KoAPpQZNvMPLLiONjcTSu9WtiRzFCCHbclYYCR/5dZ+Xai5CoptIu9FkIIXrrY4Pp6PRxXYvukuTmArd5caaDB2twpNvZNTOdeuPPMrv2E144DEENxlw== X-Forefront-Antispam-Report: CIP:216.228.118.233;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge2.nvidia.com;CAT:NONE;SFS:(13230022)(4636009)(376002)(346002)(39860400002)(396003)(136003)(451199015)(36840700001)(40470700004)(46966006)(107886003)(336012)(2906002)(426003)(7696005)(478600001)(40460700003)(26005)(1076003)(86362001)(82310400005)(82740400003)(356005)(7636003)(83380400001)(40480700001)(47076005)(36756003)(186003)(2616005)(36860700001)(41300700001)(8936002)(70206006)(8676002)(4326008)(70586007)(6916009)(5660300002)(54906003)(316002);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2022 12:42:00.9280 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 45e3417b-040f-4c69-2b4c-08dad399714d X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT003.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7368 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: Michael D Kinney 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