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: Tomas Kouba <tomas@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][libxc] xc_translate_foreign_address with additional parameter
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Fri, 05 Jan 2007 14:36:10 +0000
Delivery-date: Fri, 05 Jan 2007 06:35:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <459E5E60.1060002@xxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Accw1teAFeVlsJzKEduFdAAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH][libxc] xc_translate_foreign_address with additional parameter
User-agent: Microsoft-Entourage/11.2.5.060620


On 5/1/07 14:19, "Tomas Kouba" <tomas@xxxxxxxx> wrote:

> I think it would be handy(*) to have additional function
> xc_translate_foreign_address_cr3 that does the same as
> xc_translate_foreign_address but with explicit cr3 register.
> The actual xc_translate_foreign_address takes its cr3 from
> vcpu context.

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
out the mode and pass it in as an enumeration value (perhaps with a fallback
default of 'whatever is most likely').

 -- Keir


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

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