lib: Add common semihosting library
authorKautuk Consul <kconsul@ventanamicro.com>
Wed, 7 Dec 2022 11:42:34 +0000 (17:12 +0530)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 8 Dec 2022 07:15:22 +0000 (15:15 +0800)
commit1c03ab9f4bdf19d1ac7afc157788bd0102ccd969
tree6ba8dbdc7c9742719cdf35452392d40470584de2
parent14f2d087a3d6347ba0ff7a7e9aaff6955e53e7a8
lib: Add common semihosting library

We factor out the arch-independent parts of the ARM semihosting
implementation as a common library so that it can be shared
with RISC-V.

Signed-off-by: Kautuk Consul <kconsul@ventanamicro.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/arm/Kconfig
arch/arm/lib/semihosting.c
include/semihosting.h
lib/Kconfig
lib/Makefile
lib/semihosting.c [new file with mode: 0644]