diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-01-18 15:22:42 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-01-18 15:22:42 +0000 |
commit | 4eb8e8dc041e4525c561553a970a4c7adf6bba30 (patch) | |
tree | 03bf759c23e8eff141e5a0f0960183eb68bf53b1 /extras/mini-os/include/x86 | |
parent | c1ea56152af43af8fa0d6ead7ab22ebd065e63ae (diff) | |
download | xen-4eb8e8dc041e4525c561553a970a4c7adf6bba30.tar.gz xen-4eb8e8dc041e4525c561553a970a4c7adf6bba30.tar.bz2 xen-4eb8e8dc041e4525c561553a970a4c7adf6bba30.zip |
minios: extend map_frames into being able to map a series of
contiguous frames, or the same frame several times, aligned, from
another domain, with specific protection, and with potential
failures.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include/x86')
-rw-r--r-- | extras/mini-os/include/x86/arch_mm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/mini-os/include/x86/arch_mm.h b/extras/mini-os/include/x86/arch_mm.h index 5c7f061471..8ae845131a 100644 --- a/extras/mini-os/include/x86/arch_mm.h +++ b/extras/mini-os/include/x86/arch_mm.h @@ -223,5 +223,6 @@ static __inline__ paddr_t machine_to_phys(maddr_t machine) #define pte_to_mfn(_pte) (((_pte) & (PADDR_MASK&PAGE_MASK)) >> L1_PAGETABLE_SHIFT) #define pte_to_virt(_pte) to_virt(mfn_to_pfn(pte_to_mfn(_pte)) << PAGE_SHIFT) +#define map_frames(f, n) map_frames_ex(f, n, 1, 0, 1, DOMID_SELF, 0, L1_PROT) #endif /* _ARCH_MM_H_ */ |