s390-ccw.img: Rudimentary error checking.
[qemu/agraf.git] / memory_mapping-stub.c
blob24d5d67371938cb61b4b60e6d4591cb721ce8380
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;
23 int cpu_get_memory_mapping(MemoryMappingList *list,
24 CPUArchState *env)
26 return -1;
29 bool cpu_paging_enabled(CPUArchState *env)
31 return true;