sim-card
/
qemu
Archived
10
0
Fork 0

S390: Add stub for cpu_get_phys_page_debug

We don't implement any virtual memory in the S390 target so far, so let's
add a stub for this now mandatory function.

Fixes building of S390 target.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Alexander Graf 2010-04-01 18:42:36 +02:00 committed by Aurelien Jarno
parent 477ba62001
commit c92114b1fb
1 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,11 @@ void cpu_reset(CPUS390XState *env)
tlb_flush(env, 1);
}
target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
{
return 0;
}
#ifndef CONFIG_USER_ONLY
int cpu_s390x_handle_mmu_fault (CPUState *env, target_ulong address, int rw,