From patchwork Thu Apr 1 16:42:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 49219 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 D05ABB7D00 for ; Fri, 2 Apr 2010 03:43:33 +1100 (EST) Received: from localhost ([127.0.0.1]:33548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxNUP-00053l-Nc for incoming@patchwork.ozlabs.org; Thu, 01 Apr 2010 12:43:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxNTl-00052M-Kg for qemu-devel@nongnu.org; Thu, 01 Apr 2010 12:42:49 -0400 Received: from [140.186.70.92] (port=33750 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxNTg-00051F-Pd for qemu-devel@nongnu.org; Thu, 01 Apr 2010 12:42:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxNTf-0004Mm-B9 for qemu-devel@nongnu.org; Thu, 01 Apr 2010 12:42:44 -0400 Received: from cantor2.suse.de ([195.135.220.15]:48893 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxNTf-0004MP-5u for qemu-devel@nongnu.org; Thu, 01 Apr 2010 12:42:43 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id 4AB3D86A2E; Thu, 1 Apr 2010 18:42:42 +0200 (CEST) From: Alexander Graf To: qemu-devel@nongnu.org Date: Thu, 1 Apr 2010 18:42:36 +0200 Message-Id: <1270140161-17216-2-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.6.0.2 In-Reply-To: <1270140161-17216-1-git-send-email-agraf@suse.de> References: <1270140161-17216-1-git-send-email-agraf@suse.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 Cc: waldi@debian.org, Carsten Otte , aurelien@aurel32.net Subject: [Qemu-devel] [PATCH 1/6] 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,