Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20151201' into staging
[qemu/ar7.git] / include / exec / address-spaces.h
blob3d12cddeec18a86a5c02bb51fe2eba8a66cd8c6b
1 /*
2 * Internal memory management interfaces
4 * Copyright 2011 Red Hat, Inc. and/or its affiliates
6 * Authors:
7 * Avi Kivity <avi@redhat.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
14 #ifndef EXEC_MEMORY_H
15 #define EXEC_MEMORY_H
18 * Internal interfaces between memory.c/exec.c/vl.c. Do not #include unless
19 * you're one of them.
22 #include "exec/memory.h"
24 #ifndef CONFIG_USER_ONLY
26 /* Get the root memory region. This interface should only be used temporarily
27 * until a proper bus interface is available.
29 MemoryRegion *get_system_memory(void);
31 /* Get the root I/O port region. This interface should only be used
32 * temporarily until a proper bus interface is available.
34 MemoryRegion *get_system_io(void);
36 extern AddressSpace address_space_memory;
37 extern AddressSpace address_space_io;
39 #endif
41 #endif