]> git.proxmox.com Git - mirror_qemu.git/blame - include/exec/memory-internal.h
memory: split cpu_physical_memory_* functions to its own include
[mirror_qemu.git] / include / exec / memory-internal.h
CommitLineData
67d95c15
AK
1/*
2 * Declarations for obsolete exec.c functions
3 *
4 * Copyright 2011 Red Hat, Inc. and/or its affiliates
5 *
6 * Authors:
7 * Avi Kivity <avi@redhat.com>
8 *
6b620ca3
PB
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.
67d95c15
AK
11 *
12 */
13
14/*
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.
17 */
18
7762c2c1
AK
19#ifndef MEMORY_INTERNAL_H
20#define MEMORY_INTERNAL_H
67d95c15
AK
21
22#ifndef CONFIG_USER_ONLY
ac1970fb
AK
23typedef struct AddressSpaceDispatch AddressSpaceDispatch;
24
ac1970fb 25void address_space_init_dispatch(AddressSpace *as);
83f3c251 26void address_space_destroy_dispatch(AddressSpace *as);
ac1970fb 27
d197063f
PB
28extern const MemoryRegionOps unassigned_mem_ops;
29
d2702032
PB
30bool memory_region_access_valid(MemoryRegion *mr, hwaddr addr,
31 unsigned size, bool is_write);
32
67d95c15 33#endif
67d95c15 34#endif