diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-02-26 15:48:33 -0800 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-29 23:47:00 -0700 |
commit | 59d7187142bbe9b404a403ed0f874d3227305f26 (patch) | |
tree | 347d65210171f4f91a0e284bcfcafc0e8efa0fd0 /arch/x86/xen/mmu.h | |
parent | 5caecb9432428241d0c641897f07ff4003f1b55f (diff) | |
download | kernel-crypto-59d7187142bbe9b404a403ed0f874d3227305f26.tar.gz kernel-crypto-59d7187142bbe9b404a403ed0f874d3227305f26.tar.xz kernel-crypto-59d7187142bbe9b404a403ed0f874d3227305f26.zip |
xen: separate p2m allocation from setting
When doing very early p2m setting, we need to separate setting
from allocation, so split things up accordingly.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/xen/mmu.h')
-rw-r--r-- | arch/x86/xen/mmu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/xen/mmu.h b/arch/x86/xen/mmu.h index 24d1b44a337..da730262489 100644 --- a/arch/x86/xen/mmu.h +++ b/arch/x86/xen/mmu.h @@ -11,6 +11,9 @@ enum pt_level { }; +bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn); +bool install_p2mtop_page(unsigned long pfn, unsigned long *p); + void set_pte_mfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags); |