WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] add the hypercall_page to xenctx knowledge.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] add the hypercall_page to xenctx knowledge.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 31 Jan 2006 19:30:07 +0000
Delivery-date: Tue, 31 Jan 2006 19:41:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User vhanquez@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID 635678c0fccc1e97443602a2b316e9174dc14fa5
# Parent  bcbe322d80d9ec60c3d5b549d40f33c155c85b87
add the hypercall_page to xenctx knowledge.

Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>

diff -r bcbe322d80d9 -r 635678c0fccc tools/xentrace/xenctx.c
--- a/tools/xentrace/xenctx.c   Tue Jan 31 16:32:24 2006
+++ b/tools/xentrace/xenctx.c   Tue Jan 31 17:31:39 2006
@@ -53,7 +53,7 @@
     struct symbol *next;
 } *symbol_table = NULL;
 
-size_t kernel_stext, kernel_etext, kernel_sinittext, kernel_einittext;
+size_t kernel_stext, kernel_etext, kernel_sinittext, kernel_einittext, 
kernel_hypercallpage;
 
 int is_kernel_text(size_t addr)
 {
@@ -67,6 +67,9 @@
 
     if (addr >= kernel_stext &&
         addr <= kernel_etext)
+        return 1;
+    if (addr >= kernel_hypercallpage &&
+        addr <= kernel_hypercallpage + 4096)
         return 1;
     if (addr >= kernel_sinittext &&
         addr <= kernel_einittext)
@@ -184,6 +187,8 @@
             kernel_sinittext = symbol->address;
         else if (strcmp(symbol->name, "_einittext") == 0)
             kernel_einittext = symbol->address;
+        else if (strcmp(symbol->name, "hypercall_page") == 0)
+            kernel_hypercallpage = symbol->address;
     }
 
     fclose(f);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] add the hypercall_page to xenctx knowledge., Xen patchbot -unstable <=