#include <linux/sched.h>
#include <linux/highmem.h>
#include <linux/debugfs.h>
#include <linux/bug.h>
#include <linux/vmalloc.h>
#include <linux/module.h>
#include <linux/gfp.h>
#include <linux/memblock.h>
#include <linux/seq_file.h>
#include <linux/crash_dump.h>
#include <trace/events/xen.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
#include <asm/fixmap.h>
#include <asm/mmu_context.h>
#include <asm/setup.h>
#include <asm/paravirt.h>
#include <asm/e820.h>
#include <asm/linkage.h>
#include <asm/page.h>
#include <asm/init.h>
#include <asm/pat.h>
#include <asm/smp.h>
#include <asm/xen/hypercall.h>
#include <asm/xen/hypervisor.h>
#include <xen/xen.h>
#include <xen/page.h>
#include <xen/interface/xen.h>
#include <xen/interface/hvm/hvm_op.h>
#include <xen/interface/version.h>
#include <xen/interface/memory.h>
#include <xen/hvc-console.h>
#include "multicalls.h"
#include "mmu.h"
#include "debugfs.h"
Go to the source code of this file.
|
| DEFINE_SPINLOCK (xen_reservation_lock) |
|
| DEFINE_PER_CPU (unsigned long, xen_cr3) |
|
| DEFINE_PER_CPU (unsigned long, xen_current_cr3) |
|
unsigned long | arbitrary_virt_to_mfn (void *vaddr) |
|
xmaddr_t | arbitrary_virt_to_machine (void *vaddr) |
|
| EXPORT_SYMBOL_GPL (arbitrary_virt_to_machine) |
|
void | make_lowmem_page_readonly (void *vaddr) |
|
void | make_lowmem_page_readwrite (void *vaddr) |
|
void | xen_set_domain_pte (pte_t *ptep, pte_t pteval, unsigned domid) |
|
| EXPORT_SYMBOL_GPL (xen_set_domain_pte) |
|
void | set_pte_mfn (unsigned long vaddr, unsigned long mfn, pgprot_t flags) |
|
pte_t | xen_ptep_modify_prot_start (struct mm_struct *mm, unsigned long addr, pte_t *ptep) |
|
void | xen_ptep_modify_prot_commit (struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte) |
|
| PV_CALLEE_SAVE_REGS_THUNK (xen_pte_val) |
|
| PV_CALLEE_SAVE_REGS_THUNK (xen_pgd_val) |
|
void | xen_set_pat (u64 pat) |
|
| PV_CALLEE_SAVE_REGS_THUNK (xen_make_pte) |
|
| PV_CALLEE_SAVE_REGS_THUNK (xen_make_pgd) |
|
| PV_CALLEE_SAVE_REGS_THUNK (xen_pmd_val) |
|
| PV_CALLEE_SAVE_REGS_THUNK (xen_make_pmd) |
|
void | xen_mm_pin_all (void) |
|
void | xen_mm_unpin_all (void) |
|
unsigned long | xen_read_cr2_direct (void) |
|
void | xen_flush_tlb_all (void) |
|
void __init | xen_reserve_top (void) |
|
void __init | xen_setup_machphys_mapping (void) |
|
void __init | xen_setup_kernel_pagetable (pgd_t *pgd, unsigned long max_pfn) |
|
void __init | xen_init_mmu_ops (void) |
|
int | xen_create_contiguous_region (unsigned long vstart, unsigned int order, unsigned int address_bits) |
|
| EXPORT_SYMBOL_GPL (xen_create_contiguous_region) |
|
void | xen_destroy_contiguous_region (unsigned long vstart, unsigned int order) |
|
| EXPORT_SYMBOL_GPL (xen_destroy_contiguous_region) |
|
int | xen_remap_domain_mfn_range (struct vm_area_struct *vma, unsigned long addr, unsigned long mfn, int nr, pgprot_t prot, unsigned domid) |
|
| EXPORT_SYMBOL_GPL (xen_remap_domain_mfn_range) |
|
#define MAX_CONTIG_ORDER 9 /* 2MB */ |
#define REMAP_BATCH_SIZE 16 |
unsigned long arbitrary_virt_to_mfn |
( |
void * |
vaddr | ) |
|
DEFINE_PER_CPU |
( |
unsigned |
long, |
|
|
xen_cr3 |
|
|
) |
| |
DEFINE_PER_CPU |
( |
unsigned |
long, |
|
|
xen_current_cr3 |
|
|
) |
| |
void make_lowmem_page_readonly |
( |
void * |
vaddr | ) |
|
void make_lowmem_page_readwrite |
( |
void * |
vaddr | ) |
|
PV_CALLEE_SAVE_REGS_THUNK |
( |
xen_pte_val |
| ) |
|
PV_CALLEE_SAVE_REGS_THUNK |
( |
xen_pgd_val |
| ) |
|
PV_CALLEE_SAVE_REGS_THUNK |
( |
xen_make_pte |
| ) |
|
PV_CALLEE_SAVE_REGS_THUNK |
( |
xen_make_pgd |
| ) |
|
PV_CALLEE_SAVE_REGS_THUNK |
( |
xen_pmd_val |
| ) |
|
PV_CALLEE_SAVE_REGS_THUNK |
( |
xen_make_pmd |
| ) |
|
int xen_create_contiguous_region |
( |
unsigned long |
vstart, |
|
|
unsigned int |
order, |
|
|
unsigned int |
address_bits |
|
) |
| |
void xen_destroy_contiguous_region |
( |
unsigned long |
vstart, |
|
|
unsigned int |
order |
|
) |
| |
unsigned long xen_read_cr2_direct |
( |
void |
| ) |
|
void xen_set_domain_pte |
( |
pte_t * |
ptep, |
|
|
pte_t |
pteval, |
|
|
unsigned |
domid |
|
) |
| |