]> git.proxmox.com Git - mirror_qemu.git/blame - exec-memory.h
usb: Call wakeup when data becomes available for all devices with int eps
[mirror_qemu.git] / exec-memory.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
14#ifndef EXEC_MEMORY_H
15#define EXEC_MEMORY_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#include "memory.h"
23
24#ifndef CONFIG_USER_ONLY
25
26/* Get the root memory region. This interface should only be used temporarily
27 * until a proper bus interface is available.
28 */
29MemoryRegion *get_system_memory(void);
30
309cb471
AK
31/* Get the root I/O port region. This interface should only be used
32 * temporarily until a proper bus interface is available.
33 */
34MemoryRegion *get_system_io(void);
35
f6790af6
AK
36extern AddressSpace address_space_memory;
37extern AddressSpace address_space_io;
38
1c0ffa58
AK
39#endif
40
41#endif