apci: switch piix4 to memory api
[qemu/opensuse.git] / memory_mapping-stub.c
blob76be34d89fd355c3c64f0d833157cbefa9540172
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 "cpu-all.h"
16 #include "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;