|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH][libxc] xc_translate_foreign_address with additio
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
|
|
|
|
|