search for: gma_end

Displaying 1 result from an estimated 1 matches for "gma_end".

Did you mean: gdt_end
2013 Nov 06
0
[PATCH v5 5/6] xen/arm: Implement hypercall for dirty page tracing
...succeeds. + * + * for locating p2m of the faulting entry, we use virtual-linear page table. + * returns zero if addr is not valid or dirty mode is not set + */ +int handle_page_fault(struct domain *d, paddr_t addr) +{ + + lpae_t *vlp2m_pte = 0; + paddr_t gma_start = 0; + paddr_t gma_end = 0; + + if ( !d->arch.dirty.mode ) return 0; + get_gma_start_end(d, &gma_start, &gma_end); + + /* Ensure that addr is inside guest''s RAM */ + if ( addr < gma_start || + addr > gma_end ) return 0; + + vlp2m_pte = get_vlpt_3lvl_pte(addr); +...