Disable phsyical memory handling in userspace emulation.
Code to handle physical memory access is not meaningful in usrmode emulation, so disable it. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
20cb400d41
commit
b3755a915e
5 changed files with 21 additions and 9 deletions
6
exec.c
6
exec.c
|
|
@ -217,7 +217,9 @@ int loglevel;
|
|||
static int log_append = 0;
|
||||
|
||||
/* statistics */
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
static int tlb_flush_count;
|
||||
#endif
|
||||
static int tb_flush_count;
|
||||
static int tb_phys_invalidate_count;
|
||||
|
||||
|
|
@ -3924,6 +3926,8 @@ void cpu_io_recompile(CPUState *env, void *retaddr)
|
|||
cpu_resume_from_signal(env, NULL);
|
||||
}
|
||||
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
|
||||
void dump_exec_info(FILE *f,
|
||||
int (*cpu_fprintf)(FILE *f, const char *fmt, ...))
|
||||
{
|
||||
|
|
@ -3977,8 +3981,6 @@ void dump_exec_info(FILE *f,
|
|||
tcg_dump_info(f, cpu_fprintf);
|
||||
}
|
||||
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
|
||||
#define MMUSUFFIX _cmmu
|
||||
#define GETPC() NULL
|
||||
#define env cpu_single_env
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue