[PATCH v4 1/3] lib: Add common semihosting library

Leo Liang ycliang at andestech.com
Thu Sep 22 11:02:18 CEST 2022


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 <kconsul at 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 <ycliang at andestech.com>


More information about the U-Boot mailing list