From nobody Sat Dec 28 10:09:15 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1495580637688650.1077753415617; Tue, 23 May 2017 16:03:57 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 94A98219FFEDB; Tue, 23 May 2017 16:03:55 -0700 (PDT) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A2BE921A0913D for ; Tue, 23 May 2017 16:03:54 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 23 May 2017 16:03:49 -0700 Received: from mdkinney-mobl.amr.corp.intel.com ([10.241.98.52]) by orsmga002.jf.intel.com with ESMTP; 23 May 2017 16:03:49 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,383,1491289200"; d="scan'208";a="90970721" From: Michael Kinney To: edk2-devel@lists.01.org Date: Tue, 23 May 2017 16:03:47 -0700 Message-Id: <1495580628-12256-2-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1495580628-12256-1-git-send-email-michael.d.kinney@intel.com> References: <1495580628-12256-1-git-send-email-michael.d.kinney@intel.com> Subject: [edk2] [Patch 1/2] MdeModulePkg/RegularExpressionDxe: Fix XCODE5 build failure X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael D Kinney , Star Zeng , Andrew Fish , Cecil Sheng , Eric Dong MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" https://bugzilla.tianocore.org/show_bug.cgi?id=3D572 The ErrorMessage local variable in OnigurumaMatch() should be type OnigUChar instead of type CHAR8. This resolves a build failure with the XCODE5 tool chain. Cc: Cecil Sheng Cc: Andrew Fish Cc: Star Zeng Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael D Kinney --- MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionD= xe.c b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c index a5ee7d5..cf325fc 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c +++ b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.c @@ -88,7 +88,7 @@ OnigurumaMatch ( OnigRegion *Region; INT32 OnigResult; OnigErrorInfo ErrorInfo; - CHAR8 ErrorMessage[ONIG_MAX_ERROR_MESSAGE_LEN]; + OnigUChar ErrorMessage[ONIG_MAX_ERROR_MESSAGE_LEN]; UINT32 Index; OnigUChar *Start; EFI_STATUS Status; --=20 2.6.3.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Sat Dec 28 10:09:15 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1495580642404729.2194969185364; Tue, 23 May 2017 16:04:02 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 13059219FFEE1; Tue, 23 May 2017 16:03:56 -0700 (PDT) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BD109219FFEC4 for ; Tue, 23 May 2017 16:03:54 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 23 May 2017 16:03:50 -0700 Received: from mdkinney-mobl.amr.corp.intel.com ([10.241.98.52]) by orsmga002.jf.intel.com with ESMTP; 23 May 2017 16:03:49 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,383,1491289200"; d="scan'208";a="90970724" From: Michael Kinney To: edk2-devel@lists.01.org Date: Tue, 23 May 2017 16:03:48 -0700 Message-Id: <1495580628-12256-3-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1495580628-12256-1-git-send-email-michael.d.kinney@intel.com> References: <1495580628-12256-1-git-send-email-michael.d.kinney@intel.com> Subject: [edk2] [Patch 2/2] MdeModulePkg/DebugSupportDxe: Fix XCODE5 build failure X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael D Kinney , Eric Dong , Star Zeng , Andrew Fish MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" https://bugzilla.tianocore.org/show_bug.cgi?id=3D572 Update X64 AsmFuncs.S to resolve a build failure using the XCODE5 tool chain. This change updates AsmFuncs.S to match AsmFuncs.asm and AsmFuncs.nasm. The error generated in XCODE5 build is: error: invalid instruction mnemonic 'movzxw' movzxw 8(%rax), %rax ^~~~~~ The correct instruction is movzwq 8(%rax), %rax Cc: Star Zeng Cc: Eric Dong Cc: Andrew Fish Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael D Kinney --- MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S b/MdeMod= ulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S index 7f0919e..fcc6838 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S +++ b/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S @@ -1,7 +1,7 @@ ///**@file // Low leve x64 specific debug support functions. // -// Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+// Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
// Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
// This program and the accompanying materials // are licensed and made available under the terms and conditions of the B= SD License @@ -275,7 +275,7 @@ ExtraPushDone: pushq %rax # CS from application is one entry back in application sta= ck movq ASM_PFX(AppRsp)(%rip), %rax - movzxw 8(%rax), %rax + movzwq 8(%rax), %rax pushq %rax =20 mov %ds, %rax --=20 2.6.3.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel