On Mon, Sep 19, 2022 at 05:19:06PM +0530, Kautuk Consul wrote:
> 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 <kcon...@ventanamicro.com>
> ---
> arch/arm/Kconfig | 46 ---------
> arch/arm/lib/semihosting.c | 181 +-----------------------------------
> include/semihosting.h | 11 +++
> lib/Kconfig | 46 +++++++++
> lib/Makefile | 2 +
> lib/semihosting.c | 186 +++++++++++++++++++++++++++++++++++++
> 6 files changed, 246 insertions(+), 226 deletions(-)
> create mode 100644 lib/semihosting.c
Reviewed-by: Leo Yu-Chi Liang <ycli...@andestech.com>