]> git.proxmox.com Git - qemu.git/blame - memory_mapping-stub.c
fw_cfg: Splash image loader can overrun a stack variable, fix
[qemu.git] / memory_mapping-stub.c
CommitLineData
5f86146f
PB
1/*
2 * QEMU memory mapping
3 *
4 * Copyright Fujitsu, Corp. 2011, 2012
5 *
6 * Authors:
7 * Wen Congyang <wency@cn.fujitsu.com>
8 *
fc0608ac
SW
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.
5f86146f
PB
11 *
12 */
13
14#include "cpu.h"
022c62cb 15#include "exec/cpu-all.h"
9c17d615 16#include "sysemu/memory_mapping.h"
5f86146f
PB
17
18int qemu_get_guest_memory_mapping(MemoryMappingList *list)
19{
20 return -2;
21}
22
23int cpu_get_memory_mapping(MemoryMappingList *list,
24 CPUArchState *env)
25{
26 return -1;
27}
28
29bool cpu_paging_enabled(CPUArchState *env)
30{
31 return true;
32}
33