[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
- [Qemu-devel] [PATCH v3 1/5] include/softmmu-semi.h: Make semihosting support 64-bit clean, (continued)
- [Qemu-devel] [PATCH v3 1/5] include/softmmu-semi.h: Make semihosting support 64-bit clean, Leon Alrae, 2015/06/19
- [Qemu-devel] [PATCH v3 2/5] hw/mips: Do not clear BEV for MIPS malta kernel load, Leon Alrae, 2015/06/19
- [Qemu-devel] [PATCH v3 3/5] target-mips: remove identical code in different branch, Leon Alrae, 2015/06/19
- [Qemu-devel] [PATCH v3 5/5] target-mips: convert host to MIPS errno values when required, Leon Alrae, 2015/06/19
- [Qemu-devel] [PATCH v3 4/5] target-mips: add Unified Hosting Interface (UHI) support, Leon Alrae, 2015/06/19
- Re: [Qemu-devel] [PATCH v3 4/5] target-mips: add Unified Hosting Interface (UHI) support,
Aurelien Jarno <=