From c92114b1fb9b8e3cd0ee503fbb2a4c96bd0e300c Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 1 Apr 2010 18:42:36 +0200 Subject: 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 Signed-off-by: Aurelien Jarno --- target-s390x/helper.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target-s390x') diff --git a/target-s390x/helper.c b/target-s390x/helper.c index ba0c0521d3..4a5297be18 100644 --- a/target-s390x/helper.c +++ b/target-s390x/helper.c @@ -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, -- cgit v1.2.1