tests: add xHCI qtest
[qemu.git] / include / exec / memory-internal.h
blob25c43c06e9129babc212876fdb3d47f6cd16dc1d
1 /*
2 * Declarations for obsolete exec.c functions
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 or
10 * later. See the COPYING file in the top-level directory.
15 * This header is for use by exec.c and memory.c ONLY. Do not include it.
16 * The functions declared here will be removed soon.
19 #ifndef MEMORY_INTERNAL_H
20 #define MEMORY_INTERNAL_H
22 #ifndef CONFIG_USER_ONLY
23 typedef struct AddressSpaceDispatch AddressSpaceDispatch;
25 void address_space_init_dispatch(AddressSpace *as);
26 void address_space_destroy_dispatch(AddressSpace *as);
28 extern const MemoryRegionOps unassigned_mem_ops;
30 bool memory_region_access_valid(MemoryRegion *mr, hwaddr addr,
31 unsigned size, bool is_write);
33 #endif
34 #endif