debuggers.hg

view xen/include/asm-x86/x86_32/domain_page.h @ 3685:bbe8541361dd

bitkeeper revision 1.1159.1.542 (42038a42_52IAalMZRKdTn0UbVN5fw)

Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into tempest.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
author smh22@tempest.cl.cam.ac.uk
date Fri Feb 04 14:44:18 2005 +0000 (2005-02-04)
parents fec8b1778268
children 0a4b76b6b5a0
line source
1 /******************************************************************************
2 * domain_page.h
3 *
4 * Allow temporary mapping of domain page frames into Xen space.
5 */
7 #ifndef __ASM_DOMAIN_PAGE_H__
8 #define __ASM_DOMAIN_PAGE_H__
10 #include <xen/config.h>
11 #include <xen/sched.h>
13 extern unsigned long *mapcache;
14 #define MAPCACHE_ENTRIES 1024
16 /*
17 * Maps a given physical address, returning corresponding virtual address.
18 * The entire page containing that VA is now accessible until a
19 * corresponding call to unmap_domain_mem().
20 */
21 extern void *map_domain_mem(unsigned long pa);
23 /*
24 * Pass a VA within a page previously mapped with map_domain_mem().
25 * That page will then be removed from the mapping lists.
26 */
27 extern void unmap_domain_mem(void *va);
29 #endif /* __ASM_DOMAIN_PAGE_H__ */