master
h 35 lines 877 Bytes
Raw
1 /*
2 * Internal memory management interfaces
3 *
4 * Copyright 2011 Red Hat, Inc. and/or its affiliates
5 *
6 * Authors:
7 * Avi Kivity <avi@redhat.com>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
11 *
12 */
13
14 #ifndef SYSTEM_ADDRESS_SPACES_H
15 #define SYSTEM_ADDRESS_SPACES_H
16
17 /*
18 * Internal interfaces between memory.c/exec.c/vl.c. Do not #include unless
19 * you're one of them.
20 */
21
22 /* Get the root memory region. This interface should only be used temporarily
23 * until a proper bus interface is available.
24 */
25 MemoryRegion *get_system_memory(void);
26
27 /* Get the root I/O port region. This interface should only be used
28 * temporarily until a proper bus interface is available.
29 */
30 MemoryRegion *get_system_io(void);
31
32 extern AddressSpace address_space_memory;
33 extern AddressSpace address_space_io;
34
35 #endif