summaryrefslogtreecommitdiffstats
path: root/memory_mapping-stub.c
blob: 76be34d89fd355c3c64f0d833157cbefa9540172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * QEMU memory mapping
 *
 * Copyright Fujitsu, Corp. 2011, 2012
 *
 * Authors:
 *     Wen Congyang <wency@cn.fujitsu.com>
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 * See the COPYING file in the top-level directory.
 *
 */

#include "cpu.h"
#include "cpu-all.h"
#include "memory_mapping.h"

int qemu_get_guest_memory_mapping(MemoryMappingList *list)
{
    return -2;
}

int cpu_get_memory_mapping(MemoryMappingList *list,
					                                          CPUArchState *env)
{
    return -1;
}

bool cpu_paging_enabled(CPUArchState *env)
{
    return true;
}

OpenPOWER on IntegriCloud