Fix network interface tap backend
[qemu/mdroth.git] / exec-memory.h
blobc439aba3d14f698790e784bbf8657b412f8f4b65
1 /*
2 * Internal memory managment 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 "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 /* Set the root memory region. This region is the system memory map. */
32 void set_system_memory_map(MemoryRegion *mr);
34 /* Set the I/O memory region. This region is the I/O memory map. */
35 void set_system_io_map(MemoryRegion *mr);
37 #endif
39 #endif