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