[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] get page table entry from virtual address



>>> On 09.06.15 at 16:58, <issa.hannasyaya@xxxxxxxxxxx> wrote:
> Hi all
> when there is a page fault the mmu stroes the virtual address that made 
> the page fault in the cr2 register right?
> In xen this address is found in page fault handling routine 
> do_page_fault in arch/x86/traps.c  addr = read_cr2().
> I want to get the page table entry associated with this virtual 
> address.
> Does anyone know how to do it?

See do_page_walk().

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.