From: Bamvor Jian Zhang <bjzhang@suse.com>
To: xen-devel@lists.xen.org
Cc: tim@xen.org, stefano.stabellini@citrix.com,
ian.campbell@citrix.com, Bamvor Jian Zhang <bjzhang@suse.com>
Subject: [PATCH 2/2] xen: arm: add default kernel_start in xenctx
Date: Mon, 4 Nov 2013 16:01:26 +0800 [thread overview]
Message-ID: <1383552086-19858-3-git-send-email-bjzhang@suse.com> (raw)
In-Reply-To: <1383552086-19858-1-git-send-email-bjzhang@suse.com>
Signed-off-by: Bamvor Jian Zhang <bjzhang@suse.com>
---
tools/xentrace/xenctx.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c
index c4b7912..57e3277 100644
--- a/tools/xentrace/xenctx.c
+++ b/tools/xentrace/xenctx.c
@@ -69,10 +69,12 @@ struct symbol {
guest_word_t kernel_stext, kernel_etext, kernel_sinittext, kernel_einittext, kernel_hypercallpage;
-#if defined (__i386__)
+#if defined (__i386__) || defined (__arm__)
unsigned long long kernel_start = 0xc0000000;
-#else
+#elif defined (__x86_64__)
unsigned long long kernel_start = 0xffffffff80000000UL;
+#elif defined (__aarch64__)
+unsigned long long kernel_start = 0xffffff8000000000UL;
#endif
static int is_kernel_text(guest_word_t addr)
--
1.8.1.4
next prev parent reply other threads:[~2013-11-04 8:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-04 8:01 [PATCH 0/2] xen: arm: improve xen arm support Bamvor Jian Zhang
2013-11-04 8:01 ` [PATCH 1/2] xen: arm: enable 32bit kernel stack trace Bamvor Jian Zhang
2013-11-04 17:50 ` Ian Campbell
2013-11-05 2:21 ` Bamvor Jian Zhang
2013-11-04 8:01 ` Bamvor Jian Zhang [this message]
2013-11-04 17:50 ` [PATCH 2/2] xen: arm: add default kernel_start in xenctx 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=1383552086-19858-3-git-send-email-bjzhang@suse.com \
--to=bjzhang@suse.com \
--cc=ian.campbell@citrix.com \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--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).