ia64/xen-unstable

view xen/include/public/memory.h @ 6788:e939d5c5e646

Pass the root directory to Doxyfilter and thence pythfilter.py so that the latter can get the namespace/packages correct.
author ewan@linford.intra
date Tue Sep 13 14:42:21 2005 +0100 (2005-09-13)
parents dd668f7527cb
children b2f4823b6ff0 b35215021b32 9af349b055e5 3233e7ecfa9f
line source
1 /******************************************************************************
2 * memory.h
3 *
4 * Memory reservation and information.
5 *
6 * Copyright (c) 2005, Keir Fraser <keir@xensource.com>
7 */
9 #ifndef __XEN_PUBLIC_MEMORY_H__
10 #define __XEN_PUBLIC_MEMORY_H__
12 /* arg == addr of struct xen_memory_reservation. */
13 #define XENMEM_increase_reservation 0
15 /* arg == addr of struct xen_memory_reservation. */
16 #define XENMEM_decrease_reservation 1
18 /* arg == addr of unsigned long. */
19 #define XENMEM_maximum_ram_page 2
21 typedef struct xen_memory_reservation {
23 /*
24 * MFN bases of extents to free (XENMEM_decrease_reservation).
25 * MFN bases of extents that were allocated (XENMEM_increase_reservation).
26 */
27 unsigned long *extent_start;
29 /* Number of extents, and size/alignment of each (2^extent_order pages). */
30 unsigned long nr_extents;
31 unsigned int extent_order;
33 /*
34 * XENMEM_increase_reservation: maximum # bits addressable by the user
35 * of the allocated region (e.g., I/O devices often have a 32-bit
36 * limitation even in 64-bit systems). If zero then the user has no
37 * addressing restriction.
38 * XENMEM_decrease_reservation: unused.
39 */
40 unsigned int address_bits;
42 /*
43 * Domain whose reservation is being changed.
44 * Unprivileged domains can specify only DOMID_SELF.
45 */
46 domid_t domid;
48 } xen_memory_reservation_t;
50 #endif /* __XEN_PUBLIC_MEMORY_H__ */