From patchwork Wed Mar 24 17:30:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/3] S390: Add stub for cpu_get_phys_page_debug From: Alexander Graf X-Patchwork-Id: 48440 Message-Id: <1269451840-13941-2-git-send-email-agraf@suse.de> To: qemu-devel@nongnu.org Cc: Carsten Otte Date: Wed, 24 Mar 2010 18:30:38 +0100 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 --- target-s390x/helper.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/target-s390x/helper.c b/target-s390x/helper.c index ba0c052..4a5297b 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,