From patchwork Mon Aug 3 14:45:10 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Froyd X-Patchwork-Id: 30595 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 bilbo.ozlabs.org (Postfix) with ESMTPS id A762BB6F1F for ; Tue, 4 Aug 2009 02:58:30 +1000 (EST) Received: from localhost ([127.0.0.1]:52673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY0rh-0005lg-0e for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 12:58:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXyms-0003ai-Jn for qemu-devel@nongnu.org; Mon, 03 Aug 2009 10:45:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXymo-0003TB-LL for qemu-devel@nongnu.org; Mon, 03 Aug 2009 10:45:18 -0400 Received: from [199.232.76.173] (port=34683 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXymo-0003St-GF for qemu-devel@nongnu.org; Mon, 03 Aug 2009 10:45:14 -0400 Received: from mx20.gnu.org ([199.232.41.8]:47323) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXymo-0005ao-6P for qemu-devel@nongnu.org; Mon, 03 Aug 2009 10:45:14 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXymn-0001Ja-Dx for qemu-devel@nongnu.org; Mon, 03 Aug 2009 10:45:13 -0400 Received: (qmail 16866 invoked from network); 3 Aug 2009 14:45:12 -0000 Received: from unknown (HELO localhost) (froydnj@127.0.0.2) by mail.codesourcery.com with ESMTPA; 3 Aug 2009 14:45:12 -0000 From: Nathan Froyd To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 07:45:10 -0700 Message-Id: <1249310711-8873-6-git-send-email-froydnj@codesourcery.com> X-Mailer: git-send-email 1.6.3.2 In-Reply-To: <1249310711-8873-1-git-send-email-froydnj@codesourcery.com> References: <1249310711-8873-1-git-send-email-froydnj@codesourcery.com> X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: [Qemu-devel] [PATCH 5/6] enable --semihosting option for TARGET_MIPS 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 Signed-off-by: Nathan Froyd --- qemu-options.hx | 2 +- vl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 1b420a3..8514491 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -1658,7 +1658,7 @@ DEF("prom-env", HAS_ARG, QEMU_OPTION_prom_env, "-prom-env variable=value\n" " set OpenBIOS nvram variables\n") #endif -#if defined(TARGET_ARM) || defined(TARGET_M68K) +#if defined(TARGET_ARM) || defined(TARGET_M68K) || defined(TARGET_MIPS) DEF("semihosting", 0, QEMU_OPTION_semihosting, "-semihosting semihosting mode\n") #endif diff --git a/vl.c b/vl.c index fdd4f03..c3525e2 100644 --- a/vl.c +++ b/vl.c @@ -5520,7 +5520,7 @@ int main(int argc, char **argv, char **envp) option_rom[nb_option_roms] = optarg; nb_option_roms++; break; -#if defined(TARGET_ARM) || defined(TARGET_M68K) +#if defined(TARGET_ARM) || defined(TARGET_M68K) || defined(TARGET_MIPS) case QEMU_OPTION_semihosting: semihosting_enabled = 1; break;