From patchwork Wed Mar 24 17:30:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 48440 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 9DA1CB7CF4 for ; Thu, 25 Mar 2010 04:43:23 +1100 (EST) Received: from localhost ([127.0.0.1]:58086 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuUSX-0004ED-Ta for incoming@patchwork.ozlabs.org; Wed, 24 Mar 2010 13:33:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuUPq-0003lN-Fg for qemu-devel@nongnu.org; Wed, 24 Mar 2010 13:30:50 -0400 Received: from [140.186.70.92] (port=43614 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuUPo-0003kC-PV for qemu-devel@nongnu.org; Wed, 24 Mar 2010 13:30:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuUPi-0001Rf-Qx for qemu-devel@nongnu.org; Wed, 24 Mar 2010 13:30:47 -0400 Received: from cantor2.suse.de ([195.135.220.15]:56003 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuUPi-0001RE-KA for qemu-devel@nongnu.org; Wed, 24 Mar 2010 13:30:42 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id BAEF989783; Wed, 24 Mar 2010 18:30:40 +0100 (CET) From: Alexander Graf To: qemu-devel@nongnu.org Date: Wed, 24 Mar 2010 18:30:38 +0100 Message-Id: <1269451840-13941-2-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.6.0.2 In-Reply-To: <1269451840-13941-1-git-send-email-agraf@suse.de> References: <1269451840-13941-1-git-send-email-agraf@suse.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 Cc: Carsten Otte Subject: [Qemu-devel] [PATCH 1/3] S390: Add stub for cpu_get_phys_page_debug X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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,