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.68]) by mx.groups.io with SMTP id smtpd.web11.14251.1669822098553310668 for ; Wed, 30 Nov 2022 07:28:18 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=eepwaJ2P; 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.68, mailfrom: nicklew@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mGQUmexmWNSBjpPy4YyEnBmmu8cPe3NIsnMiFABoXq/m66mZtcqZ4Q0zKtupo5gG8/jEshPoHhacf8kxUhIMBexpoR4OFbjWbDbmB6rXAsq3uSvzT+QCfwT3dSu567DDQJO6lmwXKC+UXYO02DCczC1ogCmFTrM0eOYVgiE61oJy90wF5n//qDaWxhzDSP4mHQVjgl5WXtRNRQCcMJH+WPMBCSIeRh/hse2lE5iMVY2QwG4YNid6zeN48Rr1NQKwoKjwdaDK85SQ00yFZR6bWz6ivxe+XU7EElyATCIvE13jeC1f0xzZFD1TxwjnSPfH9U7VJ3NA7d1XBWv8O18lzw== 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=Ufb0eGBGo3PsrjD2CatZrn0DSwuK53ujvglqDA0TKTc=; b=nKdabDjaafx0++ZoKKTDkKoAYzXIqNCQ0lUi5C6BBeQu5mcUoEzlWHrl8cohZ/BEQ4+fizl7Xg+YnB9zRSnPYo2rUSiDRVqChMiPo+8yBKFVA7UHJ7PMUFbyRCqykjIuuDDRkQ56w+dfeJhsZie+nIUS14j272wXMk0ZJkj2Z1evr97rNefQJL6FO/u6lXygBRT9qvshWG8sQI1GGXSHpUB3RbYhyTvjzi7PpJplNMGGOg9TxEATxkiTpUDFQO9F94UanG7aiHZANnF5FqykYKvL7JCZWLFIhKiSOPQDVsptbNfKFH5f86v1KPb2rJHO+IUsz2BcDuFkSArxgRdTCw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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=Ufb0eGBGo3PsrjD2CatZrn0DSwuK53ujvglqDA0TKTc=; b=eepwaJ2PRA5NSrCuICAP2G3ZtvYQhwvnp2PUd2mFgvpqScf1CVLhLh9V5RZDSDRCB4FYOb2bLaB3m2kYuK4AKkPN3BPoBi8SmiilVnsto5JAC7a8Z82kp8kIaOTJRWXhB3DYPFr8kitKU3bY1+d1MeWWX9txJNZbDYlaQMs6n4gS0H/V4/n0ljhtQajCcPZ5FtIA46PVUIDTvXrrxrlI8I2RWjCn3Nyf86qZ2AsZ1EK9DQayJJE+AK/03+nllPknIN7XyBtubJvJPFIQyrtzHhBhpK/XIt+BZxRq3jyCEyq8e8wmCVA6UQ+DTKiArskZLbQZWCD/f9gGqT0dYLGYqg== Received: from MW4PR04CA0043.namprd04.prod.outlook.com (2603:10b6:303:6a::18) by IA1PR12MB6329.namprd12.prod.outlook.com (2603:10b6:208:3e5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.21; Wed, 30 Nov 2022 15:28:16 +0000 Received: from CO1NAM11FT052.eop-nam11.prod.protection.outlook.com (2603:10b6:303:6a:cafe::e5) by MW4PR04CA0043.outlook.office365.com (2603:10b6:303:6a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23 via Frontend Transport; Wed, 30 Nov 2022 15:28:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CO1NAM11FT052.mail.protection.outlook.com (10.13.174.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.17 via Frontend Transport; Wed, 30 Nov 2022 15:28:15 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Wed, 30 Nov 2022 07:28:07 -0800 Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Wed, 30 Nov 2022 07:28:07 -0800 Received: from localhost.localdomain (10.127.8.9) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.986.36 via Frontend Transport; Wed, 30 Nov 2022 07:28:05 -0800 From: "Nickle Wang" To: CC: Jian J Wang , Liming Gao , Nick Ramirez Subject: [PATCH] MdeModulePkg/RegularExpressionDxe: Fix GCC build error Date: Wed, 30 Nov 2022 23:27:47 +0800 Message-ID: <20221130152747.125-1-nicklew@nvidia.com> X-Mailer: git-send-email 2.38.1.windows.1 MIME-Version: 1.0 Return-Path: nicklew@nvidia.com X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT052:EE_|IA1PR12MB6329:EE_ X-MS-Office365-Filtering-Correlation-Id: 56340995-70b9-47ec-bffa-08dad2e78079 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QJZ4RKohY2P5F8D9sMcD6b1JYYk/onXXcF+wNFmaFUuKZp3NTGCpRJB9VjVVoj6o3egIFvmmF6grixqNohiTMcXjSQYaB99ULeBTyUGXRtMLu3uIdvICnfAIes7vPcwQBxlmSLVaPg28N7Pr1abJ+GHh7s6joGVl847jrJdAirrRZGWLZoysis6qRqbRakILPZHpiKEuW1h2FDiUanHMdUDU5D/w0wLRZkAWr4wl2aQjIFvwHohsXDrjjHU3E97s+1DnoCYzU9RxIZY742hNYZbMUhyd/DQ3DAF1Uei82gKh/ZH1Z/qOtBZkGFnkpJ1NzaMKEvPRXbQejgptYtlwF3nfwI61EO8pWZpryvZzCatlL4sbrDuLlUcZIummzKJVH/VyJzofl4/GD5Fwj3KFDpJDjaN5kIhQ3gh7U3cxD8hGKGMcO2nkfzelETzpO4AZTlswTMFd/xUMi6aWjJYRjh4MNyO25o1sm7bT3/gjt6l7inb9gSMGz/JdIFTfUmRsEcWmiNA5MZ4Ol+nut+X3D5ExcLRw80Wx19oBz6ACmao7cjLNRl9r4cGjLKPY7oPgK+JMN5SofbGAuXOqvynM5Ynv6uMsxoZdz16dBF+6OcxSCifdK22dXO6HYhT11apEELt4ttkCU2VwND3zzJ56kfFH8SbNRDLuSbHKoQqbMT/EwDThMtVxrAYgsNlrotsuLAOgj+tHflBLIGBeK9uUiw== X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230022)(4636009)(346002)(136003)(376002)(396003)(39860400002)(451199015)(46966006)(36840700001)(40470700004)(36860700001)(82310400005)(40480700001)(36756003)(6666004)(426003)(47076005)(26005)(2616005)(1076003)(86362001)(41300700001)(8936002)(2906002)(5660300002)(478600001)(186003)(356005)(316002)(336012)(107886003)(6916009)(40460700003)(70206006)(82740400003)(7636003)(4326008)(54906003)(8676002)(70586007);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2022 15:28:15.9681 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 56340995-70b9-47ec-bffa-08dad2e78079 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.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT052.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6329 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.= h b/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h index 3dc207da3e..e9dfd6de06 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 **/ @@ -44,6 +45,10 @@ typedef INTN intptr_t; #define SIZEOF_VOIDP 8 #endif =20 +#ifdef MDE_CPU_AARCH64 +#define SIZEOF_VOIDP 8 +#endif + #define calloc(n, s) AllocateZeroPool((n)*(s)) #define xmemmove(Dest, Src, Length) CopyMem(Dest,Src,Length) #define xmemcpy(Dest, Src, Length) CopyMem(Dest,Src,Length) --=20 2.38.1.windows.1