From patchwork Mon Apr 12 13:29:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 12198053 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MIME_BASE64_TEXT, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 069DDC433B4 for ; Mon, 12 Apr 2021 13:30:35 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 98DE66128B for ; Mon, 12 Apr 2021 13:30:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 98DE66128B Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.109092.208203 (Exim 4.92) (envelope-from ) id 1lVwds-0008W6-6M; Mon, 12 Apr 2021 13:30:16 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 109092.208203; Mon, 12 Apr 2021 13:30:16 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lVwds-0008Vy-1o; Mon, 12 Apr 2021 13:30:16 +0000 Received: by outflank-mailman (input) for mailman id 109092; Mon, 12 Apr 2021 13:30:14 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lVwdq-0008Sj-IW for xen-devel@lists.xenproject.org; Mon, 12 Apr 2021 13:30:14 +0000 Received: from esa5.hc3370-68.iphmx.com (unknown [216.71.155.168]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 7542aa17-3ec1-46b4-94b9-a7edf471214f; Mon, 12 Apr 2021 13:30:09 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 7542aa17-3ec1-46b4-94b9-a7edf471214f DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1618234209; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xZUbtLTyjEiWLCPVXEVqDePxTYjpX+u+jaOjtO0ZwNg=; b=VOtTcwk79gM/Qt0T9YYOyjnOX9pZUqWGqVOpGmndq2RIoQzLstywRRtG /nHNCsULA6zzz2/FojH/q8QcqwBrML81GP2ZX/O1KxCOVYCJ6IAuEju9D QH8W67svmoPxtpzMnXJ01wRUpR0In2M2hQCLAynyaWl8Dak1HC2qZPEKY Q=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: bnZS9KaRw5kBuUs9StJn+Xyrj0UtotEFUuo9WHjYT2a++pjb8i9iEtGXoEK4ZIo2ELx4d3J/DR tK94ZbVlawtNr/267odPMpmu32/64V00uBMvBSOiS1xKuz6ByvpjCgMf681VGsq1n1xkWHit6+ lZRUrNd6rqHBIkWIOC5+K5oGzSWVAfbvAUySD+N6yacjug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qcTgYgmSoxjH8Q/YVRdl62FVP2SXyLMFnL3LIlFH1sB2co0fgqhnP4XuE2v6H762pvtjIgBC csh5mtC2bEUD2XfOeAbQyCJZCQANRoZexWNXdGB3mqNA7ckpB1ah7TYt9u2lGNnXgJbJL+ep +OUUa4DJMX+rYXNLGpa4mChd3W3gwczkoslevA+DG4tcMvy5nFeihBjLsGAuRUEzbv2jx32t ySTgrTP44RwS3comD78x1CKMUb2BsYzCAh1HMtMRLtIciySEFnrCMB0LnzSkQjuIO8YOcQiH zGp1G5vnnQKUS7DGmAMod9nE4BxUL5W4TdsEG9e73tczZo2N/pP5uYuEPBpnHnjuTEtSLZsB x112NaWFEO0g+QGPkcFn/XylpyCWsfKjpc1DO43KwT+31mglJhTTwLWNNGwynzExDbCETf9U ftGQc= X-IronPort-AV: E=Sophos;i="5.82,216,1613451600"; d="scan'208";a="41232826" From: Anthony PERARD To: CC: Laszlo Ersek , Jordan Justen , Ard Biesheuvel , , Anthony PERARD , Julien Grall Subject: [PATCH v3 1/7] OvmfPkg/XenResetVector: Silent a warning from nasm Date: Mon, 12 Apr 2021 14:29:57 +0100 Message-ID: <20210412133003.146438-2-anthony.perard@citrix.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210412133003.146438-1-anthony.perard@citrix.com> References: <20210412133003.146438-1-anthony.perard@citrix.com> MIME-Version: 1.0 To avoid nasm generating a warning, replace the macro by the value expected to be stored in eax. Ia32/XenPVHMain.asm:76: warning: dword data exceeds bounds Reported-by: Laszlo Ersek Signed-off-by: Anthony PERARD Reviewed-by: Laszlo Ersek --- OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm b/OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm index 2df0f12e18cb..c761e9d30729 100644 --- a/OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm +++ b/OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm @@ -73,7 +73,7 @@ xenPVHMain: ; ; parameter for Flat32SearchForBfvBase ; - mov eax, ADDR_OF(fourGigabytes) + mov eax, 0 ; ADDR_OF(fourGigabytes) add eax, edx ; add delta ;