[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 07/28] target/arm: add LOG_UNIMP messages to arm-semi
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL 07/28] target/arm: add LOG_UNIMP messages to arm-semi |
Date: |
Tue, 28 May 2019 10:49:32 +0100 |
Clean-up our unimplemented bits with a proper message.
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
diff --git a/target/arm/arm-semi.c b/target/arm/arm-semi.c
index 384b01124e1..86e6ec48c2f 100644
--- a/target/arm/arm-semi.c
+++ b/target/arm/arm-semi.c
@@ -28,6 +28,7 @@
#include "cpu.h"
#include "hw/semihosting/semihost.h"
#include "hw/semihosting/console.h"
+#include "qemu/log.h"
#ifdef CONFIG_USER_ONLY
#include "qemu.h"
@@ -363,7 +364,7 @@ target_ulong do_arm_semihosting(CPUARMState *env)
return len - ret;
}
case TARGET_SYS_READC:
- /* XXX: Read from debug console. Not implemented. */
+ qemu_log_mask(LOG_UNIMP, "%s: SYS_READC not implemented", __func__);
return 0;
case TARGET_SYS_ISTTY:
GET_ARG(0);
@@ -397,7 +398,7 @@ target_ulong do_arm_semihosting(CPUARMState *env)
return buf.st_size;
}
case TARGET_SYS_TMPNAM:
- /* XXX: Not implemented. */
+ qemu_log_mask(LOG_UNIMP, "%s: SYS_TMPNAM not implemented", __func__);
return -1;
case TARGET_SYS_REMOVE:
GET_ARG(0);
--
2.20.1
- [Qemu-devel] [PULL 00/28] testing/next (system tests, docker, iotests), Alex Bennée, 2019/05/28
- [Qemu-devel] [PULL 05/28] target/arm: fixup some of the commentary for arm-semi, Alex Bennée, 2019/05/28
- [Qemu-devel] [PULL 07/28] target/arm: add LOG_UNIMP messages to arm-semi,
Alex Bennée <=
- [Qemu-devel] [PULL 01/28] semihosting: move semihosting configuration into its own directory, Alex Bennée, 2019/05/28
- [Qemu-devel] [PULL 02/28] semihosting: introduce CONFIG_SEMIHOSTING, Alex Bennée, 2019/05/28
- [Qemu-devel] [PULL 08/28] target/arm: correct return values for WRITE/READ in arm-semi, Alex Bennée, 2019/05/28
- [Qemu-devel] [PULL 04/28] semihosting: enable chardev backed output for console, Alex Bennée, 2019/05/28
- [Qemu-devel] [PULL 03/28] semihosting: implement a semihosting console, Alex Bennée, 2019/05/28
- [Qemu-devel] [PULL 10/28] target/mips: convert UHI_plog to use common semihosting code, Alex Bennée, 2019/05/28
- [Qemu-devel] [PULL 09/28] target/mips: only build mips-semi for softmmu, Alex Bennée, 2019/05/28
- [Qemu-devel] [PULL 11/28] MAINTAINERS: update for semihostings new home, Alex Bennée, 2019/05/28
- [Qemu-devel] [PULL 06/28] target/arm: use the common interface for WRITE0/WRITEC in arm-semi, Alex Bennée, 2019/05/28