cpu: Turn cpu_get_memory_mapping() into a CPUState hook
[qemu.git] / memory_mapping-stub.c
blob989dc00f8bae1d351713c216cbe70658be49f055
1 /*
2 * QEMU memory mapping
4 * Copyright Fujitsu, Corp. 2011, 2012
6 * Authors:
7 * Wen Congyang <wency@cn.fujitsu.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
14 #include "cpu.h"
15 #include "exec/cpu-all.h"
16 #include "sysemu/memory_mapping.h"
18 int qemu_get_guest_memory_mapping(MemoryMappingList *list)
20 return -2;