xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: xen-devel@lists.xen.org
Cc: Stefano Stabellini <sstabellini@kernel.org>,
	Wei Liu <wei.liu2@citrix.com>,
	George Dunlap <George.Dunlap@eu.citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>,
	Jan Beulich <jbeulich@suse.com>,
	Anthony PERARD <anthony.perard@citrix.com>,
	Roger Pau Monne <roger.pau@citrix.com>
Subject: [PATCH] docs/misc/hvmlite: Sync up hvm_start_info data structure
Date: Mon, 18 Jul 2016 17:15:46 +0100	[thread overview]
Message-ID: <20160718161546.23468-1-anthony.perard@citrix.com> (raw)

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 <anthony.perard@citrix.com>
---
 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
-- 
Anthony PERARD


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2016-07-18 16:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18 16:15 Anthony PERARD [this message]
2016-07-18 17:49 ` [PATCH] docs/misc/hvmlite: Sync up hvm_start_info data structure Andrew Cooper
2016-07-19  9:21   ` Anthony PERARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160718161546.23468-1-anthony.perard@citrix.com \
    --to=anthony.perard@citrix.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).