From patchwork Mon Jul 18 16:15:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 9234877 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9A3B060756 for ; Mon, 18 Jul 2016 16:18:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A23E2026B for ; Mon, 18 Jul 2016 16:18:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D84526253; Mon, 18 Jul 2016 16:18:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0A4C42026B for ; Mon, 18 Jul 2016 16:18:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPBD2-0003iA-Ml; Mon, 18 Jul 2016 16:15:56 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPBD1-0003i4-2c for xen-devel@lists.xen.org; Mon, 18 Jul 2016 16:15:55 +0000 Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id E6/CA-32749-AB00D875; Mon, 18 Jul 2016 16:15:54 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJLMWRWlGSWpSXmKPExsXitHSDve5Oht5 wg1+3zC2WfFzM4sDocXT3b6YAxijWzLyk/IoE1ozVG9oZC+YLVbxfMIO1gfE+dxcjJ4eEgL/E q0v3mEFsNgEDiRXTrzKC2CICshKru+awdzFycTALTGOWWHPkIxtIQljAU+LDnCvsIDaLgKpE3 62pYA28AnYSMy/cZ4EYKifRcP4+2FAhATWJGwuXsUDUCEqcnPkEzGYWkJA4+OIFUA0HUD23xN 9u+wmMPLOQVM1CUrWAkWkVo0ZxalFZapGukaVeUlFmekZJbmJmjq6hoYlebmpxcWJ6ak5iUrF ecn7uJkZgkNQzMDDuYNx13O8QoyQHk5Ior9nvnnAhvqT8lMqMxOKM+KLSnNTiQ4wyHBxKErz7 /wPlBItS01Mr0jJzgOEKk5bg4FES4d0CkuYtLkjMLc5Mh0idYlSUEueNBEkIgCQySvPg2mAxc olRVkqYl5GBgUGIpyC1KDezBFX+FaM4B6OSMO9skCk8mXklcNNfAS1mAlpsoNoNsrgkESEl1c BoLn45p2T71MnMpz8cjX5SLHuPaxG/k1gSPxND7GyWt1PvTz7lGVoY+myzoZNAC2vINU1n5bZ O+c0VvR/M2XK0vtbusSs+m1r8taplZvZdN3ONnwIm61ZVWs7c2yshMEXqz467OQtW3UuKi2gJ eS6/59Ya/Y570uI/3lycVfHTcuaSR1o/GB8rsRRnJBpqMRcVJwIAXJBiG4wCAAA= X-Env-Sender: prvs=0003c8029=anthony.perard@citrix.com X-Msg-Ref: server-16.tower-27.messagelabs.com!1468858552!54534539!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 8.77; banners=-,-,- X-VirusChecked: Checked Received: (qmail 34593 invoked from network); 18 Jul 2016 16:15:53 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 18 Jul 2016 16:15:53 -0000 X-IronPort-AV: E=Sophos;i="5.28,384,1464652800"; d="scan'208";a="373840103" From: Anthony PERARD To: Date: Mon, 18 Jul 2016 17:15:46 +0100 Message-ID: <20160718161546.23468-1-anthony.perard@citrix.com> X-Mailer: git-send-email 2.9.0 MIME-Version: 1.0 X-DLP: MIA1 Cc: Stefano Stabellini , Wei Liu , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Jan Beulich , Anthony PERARD , Roger Pau Monne Subject: [Xen-devel] [PATCH] docs/misc/hvmlite: Sync up hvm_start_info data structure X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP It as been modified by: 3c8d890 x86/PVHv2: update the start info structure layout 247d38c xen: change the sizes of memory fields in the HVM start info to be 64bits Signed-off-by: Anthony PERARD --- docs/misc/hvmlite.markdown | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/misc/hvmlite.markdown b/docs/misc/hvmlite.markdown index c1b75c6..40199c5 100644 --- a/docs/misc/hvmlite.markdown +++ b/docs/misc/hvmlite.markdown @@ -41,19 +41,24 @@ The format of the boot start info structure is the following (pointed to be %ebx): struct hvm_start_info { - #define HVM_START_MAGIC_VALUE 0x336ec578 + #define XEN_HVM_START_MAGIC_VALUE 0x336ec578 uint32_t magic; /* Contains the magic value 0x336ec578 */ /* ("xEn3" with the 0x80 bit of the "E" set).*/ + uint32_t version; /* Version of this structure. */ uint32_t flags; /* SIF_xxx flags. */ - uint32_t cmdline_paddr; /* Physical address of the command line. */ uint32_t nr_modules; /* Number of modules passed to the kernel. */ - uint32_t modlist_paddr; /* Physical address of an array of */ + uint64_t modlist_paddr; /* Physical address of an array of */ /* hvm_modlist_entry. */ + uint64_t cmdline_paddr; /* Physical address of the command line. */ + uint64_t rsdp_paddr; /* Physical address of the RSDP ACPI data */ + /* structure. */ }; struct hvm_modlist_entry { - uint32_t paddr; /* Physical address of the module. */ - uint32_t size; /* Size of the module in bytes. */ + uint64_t paddr; /* Physical address of the module. */ + uint64_t size; /* Size of the module in bytes. */ + uint64_t cmdline_paddr; /* Physical address of the command line. */ + uint64_t reserved; }; Other relevant information needed in order to boot a guest kernel