| 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: | 2007年1月05日 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 workExecution 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> |
|---|---|---|
| ||
| Previous by Date: | Re: [Xen-devel] SMBIOS problem with PXE booting , Tim Deegan |
|---|---|
| Next by Date: | [Xen-devel] [PATCH 1/7] Fix pygrub path on Solaris , John Levon |
| Previous by Thread: | Re: [Xen-devel] [PATCH][libxc] xc_translate_foreign_address with additional parameter , Keir Fraser |
| Next by Thread: | [Xen-devel] [PATCH] XendRoot -> XendOptions , John Levon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |