]> Git Repo - qemu.git/commit
semihosting: Move ARM semihosting code to shared directories
authorKeith Packard <[email protected]>
Fri, 8 Jan 2021 22:42:48 +0000 (22:42 +0000)
committerAlex Bennée <[email protected]>
Mon, 18 Jan 2021 10:05:06 +0000 (10:05 +0000)
commit56b5170c87ee3e30221eea7425c2fc4f0cc7d4a3
tree7d41a782437039530aa5e5c734785f88cd2bbffc
parent797920b952ea154a73049d171f5d5e3d6fb0bbea
semihosting: Move ARM semihosting code to shared directories

This commit renames two files which provide ARM semihosting support so
that they can be shared by other architectures:

 1. target/arm/arm-semi.c     -> hw/semihosting/common-semi.c
 2. linux-user/arm/semihost.c -> linux-user/semihost.c

The build system was modified use a new config variable,
CONFIG_ARM_COMPATIBLE_SEMIHOSTING, which has been added to the ARM
softmmu and linux-user default configs. The contents of the source
files has not been changed in this patch.

Signed-off-by: Keith Packard <[email protected]>
[AJB: rename arm-compat-semi, select SEMIHOSTING]
Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20210107170717.2098982[email protected]>
Message-Id: <20210108224256[email protected]>
14 files changed:
default-configs/devices/arm-softmmu.mak
default-configs/targets/aarch64-linux-user.mak
default-configs/targets/aarch64_be-linux-user.mak
default-configs/targets/arm-linux-user.mak
default-configs/targets/armeb-linux-user.mak
hw/semihosting/Kconfig
hw/semihosting/arm-compat-semi.c [new file with mode: 0644]
hw/semihosting/meson.build
linux-user/arm/meson.build
linux-user/arm/semihost.c [deleted file]
linux-user/meson.build
linux-user/semihost.c [new file with mode: 0644]
target/arm/arm-semi.c [deleted file]
target/arm/meson.build
This page took 0.026681 seconds and 4 git commands to generate.