2012-06-07 06:22:56 +00:00
|
|
|
/*
|
|
|
|
* QEMU memory mapping
|
|
|
|
*
|
|
|
|
* Copyright Fujitsu, Corp. 2011, 2012
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Wen Congyang <wency@cn.fujitsu.com>
|
|
|
|
*
|
2012-06-10 19:49:18 +00:00
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
|
|
* See the COPYING file in the top-level directory.
|
2012-06-07 06:22:56 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "cpu.h"
|
2012-12-17 17:19:49 +00:00
|
|
|
#include "exec/cpu-all.h"
|
2012-12-17 17:20:04 +00:00
|
|
|
#include "sysemu/memory_mapping.h"
|
2012-06-07 06:22:56 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|