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-devel

Re: [Xen-devel] [PATCH][libxc] xc_translate_foreign_address with additio

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][libxc] xc_translate_foreign_address with additional parameter
From: "Bryan D. Payne" <bryan@xxxxxxxxxxxx>
Date: Fri, 5 Jan 2007 11:32:03 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Tomas Kouba <tomas@xxxxxxxx>
Delivery-date: Fri, 05 Jan 2007 08:31:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1C412DA.727B%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C1C412DA.727B%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Even better would be to accept cr3, cr4 and efer msr. That's sufficient to work out the execution mode (non-pae, pae, 64-bit). Or the caller could work

Execution mode is one thing. But the other problem is that sometimes you want to translate a virtual address for a process that is not currently running. In this case, the register values would not hold the correct page table base address and it would be nice to specify your own (e.g., taken from the task struct).

-bryan


-
Bryan D. Payne
Graduate Student, Computer Science
Georgia Tech Information Security Center
http://www.bryanpayne.org




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

<Prev in Thread] Current Thread [Next in Thread>