Merge tag 'pull-aspeed-20230901' of https://github.com/legoater/qemu into staging
[qemu/kevin.git] / include / exec / address-spaces.h
blob0d0aa61d68966a56e65e35cc6f38687b7e16816f
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_ADDRESS_SPACES_H
15 #define EXEC_ADDRESS_SPACES_H
18 * Internal interfaces between memory.c/exec.c/vl.c. Do not #include unless
19 * you're one of them.
22 #ifndef CONFIG_USER_ONLY
24 /* Get the root memory region. This interface should only be used temporarily
25 * until a proper bus interface is available.
27 MemoryRegion *get_system_memory(void);
29 /* Get the root I/O port region. This interface should only be used
30 * temporarily until a proper bus interface is available.
32 MemoryRegion *get_system_io(void);
34 extern AddressSpace address_space_memory;
35 extern AddressSpace address_space_io;
37 #endif
39 #endif