Xen Test Framework
memory.h
Go to the documentation of this file.
1 /*
2  * Xen public memory_op hypercall interface
3  */
4 
5 #ifndef XEN_PUBLIC_MEMORY_H
6 #define XEN_PUBLIC_MEMORY_H
7 
8 #define XENMEM_increase_reservation 0
9 #define XENMEM_decrease_reservation 1
10 #define XENMEM_populate_physmap 6
11 
13  unsigned long *extent_start;
14  unsigned long nr_extents;
15  unsigned int extent_order;
16  unsigned int mem_flags;
18 };
19 
20 #define XENMEM_add_to_physmap 7
21 
25 
26 #define XENMAPSPACE_shared_info 0
27 #define XENMAPSPACE_grant_table 1
28 #define XENMAPSPACE_gmfn 2
29 #define XENMAPSPACE_gmfn_range 3
30 #define XENMAPSPACE_gmfn_foreign 4
31 #define XENMAPSPACE_dev_mmio 5
32  unsigned int space;
33 
34  unsigned long idx;
35  unsigned long gfn;
36 };
37 
38 #define XENMEM_exchange 11
39 
43  unsigned long nr_exchanged;
44 };
45 
46 #define XENMEM_maximum_gpfn 14
47 
48 #endif /* XEN_PUBLIC_MEMORY_H */
49 
50 /*
51  * Local variables:
52  * mode: C
53  * c-file-style: "BSD"
54  * c-basic-offset: 4
55  * tab-width: 4
56  * indent-tabs-mode: nil
57  * End:
58  */
unsigned int extent_order
Definition: memory.h:15
domid_t domid
Definition: memory.h:23
out
Definition: mkcfg.py:12
uint16_t size
Definition: memory.h:24
unsigned long * extent_start
Definition: memory.h:13
unsigned long nr_extents
Definition: memory.h:14
unsigned int mem_flags
Definition: memory.h:16
unsigned long nr_exchanged
Definition: memory.h:43
unsigned int space
Definition: memory.h:32
unsigned long gfn
Definition: memory.h:35
__UINT16_TYPE__ uint16_t
Definition: stdint.h:15
unsigned long idx
Definition: memory.h:34
uint16_t domid_t
Definition: xen.h:66