1 /* SPDX-License-Identifier: GPL-2.0 */
4 #include <linux/linkage.h>
16 bool __set_phys_to_machine(unsigned long pfn
, unsigned long mfn
);
18 void set_pte_mfn(unsigned long vaddr
, unsigned long pfn
, pgprot_t flags
);
20 pte_t
xen_ptep_modify_prot_start(struct mm_struct
*mm
, unsigned long addr
, pte_t
*ptep
);
21 void xen_ptep_modify_prot_commit(struct mm_struct
*mm
, unsigned long addr
,
22 pte_t
*ptep
, pte_t pte
);
24 unsigned long xen_read_cr2_direct(void);
26 extern void xen_init_mmu_ops(void);
27 extern void xen_hvm_init_mmu_ops(void);
28 #endif /* _XEN_MMU_H */