From nobody Tue Dec 24 12:50:29 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.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 1511746719816585.8807280572288; Sun, 26 Nov 2017 17:38:39 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 1224421A1099D; Sun, 26 Nov 2017 17:34:17 -0800 (PST) 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 329C821A1099A for ; Sun, 26 Nov 2017 17:34:15 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Nov 2017 17:38:36 -0800 Received: from ray-dev.ccr.corp.intel.com ([10.239.9.15]) by fmsmga001.fm.intel.com with ESMTP; 26 Nov 2017 17:38:35 -0800 X-Original-To: edk2-devel@lists.01.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; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,462,1505804400"; d="scan'208";a="7366516" From: Ruiyu Ni To: edk2-devel@lists.01.org Date: Mon, 27 Nov 2017 09:38:31 +0800 Message-Id: <20171127013831.294104-1-ruiyu.ni@intel.com> X-Mailer: git-send-email 2.15.0.gvfs.1.preview.4 Subject: [edk2] [PATCH] OvmfPkg/Sec: Fix 64bit SEC 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: Laszlo Ersek 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" Original code breaks a single assembly code to multiple lines. But build tool doesn't support such usage in Windows OS environment. Changing the multiple lines to one line to resolve the build failure. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni Cc: Laszlo Ersek Reviewed-by: Laszlo Ersek --- OvmfPkg/Sec/X64/SecEntry.nasm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/OvmfPkg/Sec/X64/SecEntry.nasm b/OvmfPkg/Sec/X64/SecEntry.nasm index 7c55032ac9..d76adcffd8 100644 --- a/OvmfPkg/Sec/X64/SecEntry.nasm +++ b/OvmfPkg/Sec/X64/SecEntry.nasm @@ -45,10 +45,8 @@ ASM_PFX(_ModuleEntryPoint): ; Fill the temporary RAM with the initial stack value. ; The loop below will seed the heap as well, but that's harmless. ; - mov rax, (FixedPcdGet32 ( \ - PcdInitValueInTempStack \ - ) << 32) | \ - FixedPcdGet32 (PcdInitValueInTempStack) ; qword to s= tore + mov rax, (FixedPcdGet32 (PcdInitValueInTempStack) << 32) | FixedPc= dGet32 (PcdInitValueInTempStack) + ; qword to s= tore mov rdi, FixedPcdGet32 (PcdOvmfSecPeiTempRamBase) ; base addre= ss, ; relative= to ; ES --=20 2.15.0.gvfs.1.preview.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel