iothread: export iothread_stop()
[qemu/ar7.git] / include / exec / memory-internal.h
blob647e9bd5c4fefa5fcdf0964dea8db583692aea71
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 extern const MemoryRegionOps unassigned_mem_ops;
27 bool memory_region_access_valid(MemoryRegion *mr, hwaddr addr,
28 unsigned size, bool is_write);
30 void flatview_add_to_dispatch(FlatView *fv, MemoryRegionSection *section);
31 AddressSpaceDispatch *address_space_dispatch_new(FlatView *fv);
32 void address_space_dispatch_compact(AddressSpaceDispatch *d);
34 AddressSpaceDispatch *address_space_to_dispatch(AddressSpace *as);
35 AddressSpaceDispatch *flatview_to_dispatch(FlatView *fv);
36 void address_space_dispatch_free(AddressSpaceDispatch *d);
38 void mtree_print_dispatch(fprintf_function mon, void *f,
39 struct AddressSpaceDispatch *d,
40 MemoryRegion *root);
42 #endif
43 #endif