qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 4/5] target-mips: add Unified Hosting Interfa


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH v3 4/5] target-mips: add Unified Hosting Interface (UHI) support
Date: Wed, 24 Jun 2015 16:40:10 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On 2015-06-19 11:08, Leon Alrae wrote:
> Add UHI semihosting support for MIPS. QEMU run with "-semihosting" option
> will alter the behaviour of SDBBP 1 instruction -- UHI operation will be
> called instead of generating a debug exception.
> 
> Also tweak Malta's pseudo-bootloader. On CPU reset the $4 register is set
> to -1 if semihosting arguments are passed to indicate that the UHI
> operations should be used to obtain input arguments.
> 
> Signed-off-by: Leon Alrae <address@hidden>
> ---
>  hw/mips/mips_malta.c      |   9 +-
>  qemu-options.hx           |  10 +-
>  target-mips/Makefile.objs |   2 +-
>  target-mips/helper.h      |   2 +
>  target-mips/mips-semi.c   | 336 
> ++++++++++++++++++++++++++++++++++++++++++++++
>  target-mips/translate.c   |  75 ++++++++---
>  6 files changed, 408 insertions(+), 26 deletions(-)
>  create mode 100644 target-mips/mips-semi.c

Reviewed-by: Aurelien Jarno <address@hidden>

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
address@hidden                 http://www.aurel32.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]