Displaying 1 result from an estimated 1 matches for "p2m_find_entry".
2007 Jan 05
0
The mfn_valid on shadow_set_p2m_entry()
...for page table
pages. But for p2m table, considering shadow for driver domain or
considering IOMMU in future, would it be possible that the mfn is within
MMIO range?
Did I misunderstand anything?
Thanks
Yunhong Jiang
@@ -967,13 +967,13 @@ shadow_set_p2m_entry(struct domain *d, u
p2m_entry = p2m_find_entry(table, &gfn_remainder, gfn,
0, L1_PAGETABLE_ENTRIES);
ASSERT(p2m_entry);
- if ( valid_mfn(mfn) )
+ if ( mfn_valid(mfn) )
*p2m_entry = l1e_from_pfn(mfn_x(mfn),
__PAGE_HYPERVISOR|_PAGE_USER);
else
*p2m_entry = l1e_empty();
/*...