From ee8615537ed3d641c018c7bb0bedc5fc6b1b8a1a Mon Sep 17 00:00:00 2001 From: Gaetan Perrot Date: Sat, 28 Jun 2025 21:25:42 +0900 Subject: [PATCH 1/3] doc: semihosting: update semihosting spec link Replace dead link in semihosting documentation. Fix #88206 Signed-off-by: Gaetan Perrot --- doc/hardware/arch/semihost.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/hardware/arch/semihost.rst b/doc/hardware/arch/semihost.rst index f7e2bdd24018f..7ea2fff3f87d4 100644 --- a/doc/hardware/arch/semihost.rst +++ b/doc/hardware/arch/semihost.rst @@ -68,5 +68,5 @@ API Reference .. doxygengroup:: semihost .. _ARM Github documentation: https://github.com/ARM-software/abi-aa/blob/main/semihosting/semihosting.rst -.. _RISC-V Github documentation: https://github.com/riscv/riscv-semihosting-spec/blob/main/riscv-semihosting-spec.adoc +.. _RISC-V Github documentation: https://github.com/riscv-non-isa/riscv-semihosting/blob/main/riscv-semihosting.adoc .. _GDB File-I/O Remote Protocol: https://sourceware.org/gdb/current/onlinedocs/gdb.html/File_002dI_002fO-Remote-Protocol-Extension.html From 9466928787c2d4579a5058042c50ddfc8a1e2637 Mon Sep 17 00:00:00 2001 From: Gaetan Perrot Date: Sun, 29 Jun 2025 22:42:27 +0900 Subject: [PATCH 2/3] arch: common: update RISC-V semihosting spec link Replace dead link in arch/common/Kconfig. Signed-off-by: Gaetan Perrot --- arch/common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/common/Kconfig b/arch/common/Kconfig index 8b860917977d1..52c157c32e261 100644 --- a/arch/common/Kconfig +++ b/arch/common/Kconfig @@ -12,7 +12,7 @@ config SEMIHOST a host computer that is running a debugger. Additional information can be found in: https://developer.arm.com/documentation/dui0471/m/what-is-semihosting- - https://github.com/riscv/riscv-semihosting-spec/blob/main/riscv-semihosting-spec.adoc + https://github.com/riscv-non-isa/riscv-semihosting/blob/main/riscv-semihosting.adoc This option is compatible with hardware and with QEMU, through the (automatic) use of the -semihosting-config switch when invoking it. From 74c0925e55f5878c75117534ea0ff8426c00d769 Mon Sep 17 00:00:00 2001 From: Gaetan Perrot Date: Sun, 29 Jun 2025 22:43:53 +0900 Subject: [PATCH 3/3] arch: common: semihost: update RISC-V semihosting spec link Replace dead link in include/zephyr/arch/common/semihost.h. Signed-off-by: Gaetan Perrot --- include/zephyr/arch/common/semihost.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zephyr/arch/common/semihost.h b/include/zephyr/arch/common/semihost.h index 98a8a60cf8831..c92c578c31787 100644 --- a/include/zephyr/arch/common/semihost.h +++ b/include/zephyr/arch/common/semihost.h @@ -8,7 +8,7 @@ * https://github.com/ARM-software/abi-aa/blob/main/semihosting/semihosting.rst * * RISC-V semihosting also follows these conventions: - * https://github.com/riscv/riscv-semihosting-spec/blob/main/riscv-semihosting-spec.adoc + * https://github.com/riscv-non-isa/riscv-semihosting/blob/main/riscv-semihosting.adoc */ /**