xen: add xen_set_domain_pte()
Add xen_set_domain_pte() to allow setting a pte mapping a page from another domain. The common case is to map from DOMID_IO, the pseudo domain which owns all IO pages, but will also be used in the privcmd interface to map other domain pages. [ Impact: new Xen-internal API for cross-domain mappings ] Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:

committed by
Jeremy Fitzhardinge

parent
655d406a7c
commit
eba3ff8b99
@@ -159,6 +159,7 @@ static inline pte_t __pte_ma(pteval_t x)
|
||||
|
||||
#define pgd_val_ma(x) ((x).pgd)
|
||||
|
||||
void xen_set_domain_pte(pte_t *ptep, pte_t pteval, unsigned domid);
|
||||
|
||||
xmaddr_t arbitrary_virt_to_machine(void *address);
|
||||
unsigned long arbitrary_virt_to_mfn(void *vaddr);
|
||||
|
Reference in New Issue
Block a user