xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad@kernel.org>
To: xen-devel@lists.xen.org
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: [PATCH 2/8] docs: Provide some examples of the various ELF values.
Date: Mon, 28 Jan 2013 13:32:04 -0500	[thread overview]
Message-ID: <1359397930-9311-3-git-send-email-konrad.wilk@oracle.com> (raw)
In-Reply-To: <1359397930-9311-1-git-send-email-konrad.wilk@oracle.com>

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
 xen/include/public/elfnote.h | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/xen/include/public/elfnote.h b/xen/include/public/elfnote.h
index 3c57a06..74223dd 100644
--- a/xen/include/public/elfnote.h
+++ b/xen/include/public/elfnote.h
@@ -48,14 +48,19 @@
 /*
  * The virtual address of the entry point (numeric).
  *
+ * Example is 0xffffffff81899200.
+ *
  * LEGACY: VIRT_ENTRY
  */
 #define XEN_ELFNOTE_ENTRY          1
 
 /* The virtual address of the hypercall transfer page (numeric).
  *
+ * Example is 0xffffffff81001000 (but not for legacy)
+ *
  * LEGACY: HYPERCALL_PAGE. (n.b. legacy value is a physical page
  * number not a virtual address)
+ *
  */
 #define XEN_ELFNOTE_HYPERCALL_PAGE 2
 
@@ -63,6 +68,8 @@
  *
  * Defaults to 0.
  *
+ * Example is 0xffffffff80000000.
+ *
  * LEGACY: VIRT_BASE
  */
 #define XEN_ELFNOTE_VIRT_BASE      3
@@ -82,6 +89,8 @@
 /*
  * The version of Xen that we work with (string).
  *
+ * Example is "xen-3.0"
+ *
  * LEGACY: XEN_VER
  */
 #define XEN_ELFNOTE_XEN_VERSION    5
@@ -89,6 +98,7 @@
 /*
  * The name of the guest operating system (string).
  *
+ * Example is "linux"
  * LEGACY: GUEST_OS
  */
 #define XEN_ELFNOTE_GUEST_OS       6
@@ -96,6 +106,8 @@
 /*
  * The version of the guest operating system (string).
  *
+ * Example is "2.6"
+ *
  * LEGACY: GUEST_VER
  */
 #define XEN_ELFNOTE_GUEST_VERSION  7
@@ -103,6 +115,8 @@
 /*
  * The loader type (string).
  *
+ * Example is "generic"
+ *
  * LEGACY: LOADER
  */
 #define XEN_ELFNOTE_LOADER         8
@@ -130,6 +144,9 @@
  * features.h, without the "XENFEAT_" prefix) separated by '|'
  * characters. If a feature is required for the kernel to function
  * then the feature name must be preceded by a '!' character.
+ * For the full list, please look in "features.h"
+ *
+ * Example are: "!writable_page_tables|pae_pgdir_above_4gb"
  *
  * LEGACY: FEATURES
  */
@@ -149,6 +166,8 @@
  * This must not be set higher than HYPERVISOR_VIRT_START. Its presence
  * also indicates to the hypervisor that the kernel can deal with the
  * hole starting at a higher address.
+ *
+ * Example is  0xffff800000000000.
  */
 #define XEN_ELFNOTE_HV_START_LOW  12
 
-- 
1.7.11.7

  parent reply	other threads:[~2013-01-28 18:32 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28 18:32 [DOCS/PATCH] http://wiki.xen.org/wiki/X86_Paravirtualised_Memory_Management changes Konrad Rzeszutek Wilk
2013-01-28 18:32 ` [PATCH 1/8] docs: Document the ELF notes Konrad Rzeszutek Wilk
2013-01-29  9:16   ` Ian Campbell
2013-01-28 18:32 ` Konrad Rzeszutek Wilk [this message]
2013-01-29  9:23   ` [PATCH 2/8] docs: Provide some examples of the various ELF values Ian Campbell
2013-01-28 18:32 ` [PATCH 3/8] docs: Document the ELF_FEATURES entry Konrad Rzeszutek Wilk
2013-01-29  9:23   ` Ian Campbell
2013-01-28 18:32 ` [PATCH 4/8] docs: Add some extra details to the ELF note Konrad Rzeszutek Wilk
2013-01-29  9:26   ` Ian Campbell
2013-01-28 18:32 ` [PATCH 5/8] docs: Document the shared structure Konrad Rzeszutek Wilk
2013-01-29  9:26   ` Ian Campbell
2013-01-28 18:32 ` [PATCH 6/8] docs: Document the dom0_vga_console_info structure Konrad Rzeszutek Wilk
2013-01-29  9:31   ` Ian Campbell
2013-01-30 17:10     ` Konrad Rzeszutek Wilk
2013-01-28 18:32 ` [PATCH 7/8] docs: Document start_info changes in Xen 4.2 Konrad Rzeszutek Wilk
2013-01-29  9:37   ` Ian Campbell
2013-01-30 17:23     ` Konrad Rzeszutek Wilk
2013-01-31  9:58       ` Ian Campbell
2013-01-28 18:32 ` [PATCH 8/8] docs: Document the XenBus structure Konrad Rzeszutek Wilk
2013-01-29  9:38   ` Ian Campbell
2013-01-29 10:05 ` [DOCS/PATCH] http://wiki.xen.org/wiki/X86_Paravirtualised_Memory_Management changes Ian Campbell

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=1359397930-9311-3-git-send-email-konrad.wilk@oracle.com \
    --to=konrad@kernel.org \
    --cc=konrad.wilk@oracle.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).