]> git.proxmox.com Git - mirror_qemu.git/blame - include/exec/address-spaces.h
virtio: don't zero out memory region cache for indirect descriptors
[mirror_qemu.git] / include / exec / address-spaces.h
CommitLineData
1c0ffa58 1/*
07f35073 2 * Internal memory management interfaces
1c0ffa58
AK
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
121d0712
MA
14#ifndef EXEC_ADDRESS_SPACES_H
15#define EXEC_ADDRESS_SPACES_H
1c0ffa58
AK
16
17/*
18 * Internal interfaces between memory.c/exec.c/vl.c. Do not #include unless
19 * you're one of them.
20 */
21
1c0ffa58
AK
22#ifndef CONFIG_USER_ONLY
23
24/* Get the root memory region. This interface should only be used temporarily
25 * until a proper bus interface is available.
26 */
27MemoryRegion *get_system_memory(void);
28
309cb471
AK
29/* Get the root I/O port region. This interface should only be used
30 * temporarily until a proper bus interface is available.
31 */
32MemoryRegion *get_system_io(void);
33
f6790af6
AK
34extern AddressSpace address_space_memory;
35extern AddressSpace address_space_io;
36
1c0ffa58
AK
37#endif
38
39#endif