From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,462,1505804400"; d="scan'208";a="7366516" 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 From: Ruiyu Ni To: edk2-devel@lists.01.org Cc: Laszlo Ersek 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: [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: , X-List-Received-Date: Mon, 27 Nov 2017 01:34:15 -0000 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 --- 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 store + mov rax, (FixedPcdGet32 (PcdInitValueInTempStack) << 32) | FixedPcdGet32 (PcdInitValueInTempStack) + ; qword to store mov rdi, FixedPcdGet32 (PcdOvmfSecPeiTempRamBase) ; base address, ; relative to ; ES -- 2.15.0.gvfs.1.preview.4