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_maximum_ram_page 2
21 
22 #define XENMEM_add_to_physmap 7
23 
27 
28 #define XENMAPSPACE_shared_info 0
29 #define XENMAPSPACE_grant_table 1
30 #define XENMAPSPACE_gmfn 2
31 #define XENMAPSPACE_gmfn_range 3
32 #define XENMAPSPACE_gmfn_foreign 4
33 #define XENMAPSPACE_dev_mmio 5
34  unsigned int space;
35 
36  unsigned long idx;
37  unsigned long gfn;
38 };
39 
40 #define XENMEM_exchange 11
41 
45  unsigned long nr_exchanged;
46 };
47 
48 #define XENMEM_maximum_gpfn 14
49 
50 #endif /* XEN_PUBLIC_MEMORY_H */
51 
52 /*
53  * Local variables:
54  * mode: C
55  * c-file-style: "BSD"
56  * c-basic-offset: 4
57  * tab-width: 4
58  * indent-tabs-mode: nil
59  * End:
60  */
unsigned int extent_order
Definition: memory.h:15
domid_t domid
Definition: memory.h:25
out
Definition: mkcfg.py:11
uint16_t size
Definition: memory.h:26
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:45
unsigned int space
Definition: memory.h:34
unsigned long gfn
Definition: memory.h:37
__UINT16_TYPE__ uint16_t
Definition: stdint.h:15
unsigned long idx
Definition: memory.h:36
uint16_t domid_t
Definition: xen.h:66