All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0
@ 2020-11-25 21:36 ` Keith Packard
  0 siblings, 0 replies; 56+ messages in thread
From: Keith Packard via @ 2020-11-25 21:36 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alex Bennée, Alistair Francis, Bastian Koppelmann,
	Laurent Vivier, Palmer Dabbelt, Peter Maydell, qemu-arm,
	qemu-riscv, Sagar Karandikar, Keith Packard

This series adds support for RISC-V Semihosting, version 0.2 as
specified here:

	https://github.com/riscv/riscv-semihosting-spec/releases/tag/0.2

This specification references the ARM semihosting release 2.0 as specified here:

	https://static.docs.arm.com/100863/0200/semihosting.pdf

That specification includes several semihosting calls which were not
previously implemented. This series includes implementations for the
remaining calls so that both RISC-V and ARM versions are now complete.

Tests for release 2.0 can be found in picolibc on the semihost-2.0-all
branch:

	https://github.com/picolibc/picolibc/tree/semihost-2.0-all

These tests uncovered a bug in the SYS_HEAPINFO implementation for
ARM, which has been fixed in this series as well.

The series is structured as follows:

 1. Move shared semihosting files
 2. Change public common semihosting APIs
 3. Change internal semihosting interfaces
 4. Fix SYS_HEAPINFO crash on ARM
 5. Add RISC-V semihosting implementation
 6-8. Add missing semihosting operations from release 2.0

Signed-off-by: Keith Packard <keithp@keithp.com>




^ permalink raw reply	[flat|nested] 56+ messages in thread
* [PATCH 0/9] Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0
@ 2021-01-07 17:07 Keith Packard via
  2021-01-07 17:07   ` Keith Packard
  0 siblings, 1 reply; 56+ messages in thread
From: Keith Packard via @ 2021-01-07 17:07 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, qemu-riscv, Sagar Karandikar, Bastian Koppelmann,
	Laurent Vivier, qemu-arm, Alistair Francis, Palmer Dabbelt,
	Alex Bennée

This series adds support for RISC-V Semihosting, version 0.2 as
specified here:

	https://github.com/riscv/riscv-semihosting-spec/releases/tag/0.2

This specification references the ARM semihosting release 2.0 as
specified here:

	https://static.docs.arm.com/100863/0200/semihosting.pdf

That specification includes several semihosting calls which were not
previously implemented. This series includes implementations for the
remaining calls so that both RISC-V and ARM versions are now complete.

Tests for release 2.0 can be found in picolibc on the semihost-2.0-all
branch:

	https://github.com/picolibc/picolibc/tree/semihost-2.0-all

These tests uncovered a bug in the SYS_HEAPINFO implementation for
ARM, which has been fixed in this series as well.

The series is structured as follows:

 1. Move shared semihosting files
 2. Change public common semihosting APIs
 3. Change internal semihosting interfaces
 4. Fix SYS_HEAPINFO crash on ARM
 5-6. Add RISC-V semihosting implementation
 7-9. Add missing semihosting operations from release 2.0




^ permalink raw reply	[flat|nested] 56+ messages in thread

end of thread, other threads:[~2021-01-07 17:23 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 21:36 [PATCH 0/8] Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0 Keith Packard via
2020-11-25 21:36 ` Keith Packard
2020-11-25 21:36 ` [PATCH 1/8] semihosting: Move ARM semihosting code to shared directories [v3] Keith Packard via
2020-11-25 21:36   ` Keith Packard
2020-11-25 21:36 ` [PATCH 2/8] semihosting: Change common-semi API to be architecture-independent Keith Packard via
2020-11-25 21:36   ` Keith Packard
2020-11-25 21:36 ` [PATCH 3/8] semihosting: Change internal common-semi interfaces to use CPUState * [v2] Keith Packard via
2020-11-25 21:36   ` Keith Packard
2020-11-25 21:36 ` [PATCH 4/8] semihosting: Support SYS_HEAPINFO when env->boot_info is not set Keith Packard via
2020-11-25 21:36   ` Keith Packard
2020-11-25 21:36 ` [PATCH 5/8] riscv: Add semihosting support [v13] Keith Packard via
2020-11-25 21:36   ` Keith Packard
2020-12-09  7:58   ` Kito Cheng
2020-12-09  7:58     ` Kito Cheng
2020-12-09 16:29     ` Keith Packard via
2020-12-09 16:29       ` Keith Packard
2020-12-10  3:39       ` Kito Cheng
2020-12-10  3:39         ` Kito Cheng
2020-12-10  6:21         ` Keith Packard via
2020-12-10  6:21           ` Keith Packard
2020-12-14 11:29         ` Alex Bennée
2020-12-14 11:29           ` Alex Bennée
2020-11-25 21:36 ` [PATCH 6/8] semihosting: Implement SYS_ELAPSED and SYS_TICKFREQ Keith Packard via
2020-11-25 21:36   ` Keith Packard
2020-11-25 21:36 ` [PATCH 7/8] semihosting: Implement SYS_TMPNAM Keith Packard via
2020-11-25 21:36   ` Keith Packard
2020-11-25 21:36 ` [PATCH 8/8] semihosting: Implement SYS_ISERROR Keith Packard via
2020-11-25 21:36   ` Keith Packard
2020-12-14 11:24 ` [PATCH 0/8] Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0 Alex Bennée
2020-12-14 11:24   ` Alex Bennée
2020-12-14 14:58   ` Alex Bennée
2020-12-14 14:58     ` Alex Bennée
2020-12-14 20:06     ` Keith Packard via
2020-12-14 20:06       ` Keith Packard
2020-12-14 20:07     ` [PATCH 0/9] " Keith Packard via
2020-12-14 20:07       ` Keith Packard
2020-12-14 20:07       ` [PATCH 1/9] semihosting: Move ARM semihosting code to shared directories Keith Packard via
2020-12-14 20:07         ` Keith Packard
2020-12-14 20:07       ` [PATCH 2/9] semihosting: Change common-semi API to be architecture-independent Keith Packard via
2020-12-14 20:07         ` Keith Packard
2020-12-14 20:07       ` [PATCH 3/9] semihosting: Change internal common-semi interfaces to use CPUState * Keith Packard via
2020-12-14 20:07         ` Keith Packard
2020-12-14 20:07       ` [PATCH 4/9] semihosting: Support SYS_HEAPINFO when env->boot_info is not set Keith Packard via
2020-12-14 20:07         ` Keith Packard
2020-12-14 20:07       ` [PATCH 5/9] riscv: Add semihosting support Keith Packard via
2020-12-14 20:07         ` Keith Packard
2020-12-14 20:07       ` [PATCH 6/9] riscv: Add semihosting support for user mode Keith Packard via
2020-12-14 20:07         ` Keith Packard
2020-12-14 20:07       ` [PATCH 7/9] semihosting: Implement SYS_ELAPSED and SYS_TICKFREQ Keith Packard via
2020-12-14 20:07         ` Keith Packard
2020-12-14 20:07       ` [PATCH 8/9] semihosting: Implement SYS_TMPNAM Keith Packard via
2020-12-14 20:07         ` Keith Packard
2020-12-14 20:07       ` [PATCH 9/9] semihosting: Implement SYS_ISERROR Keith Packard via
2020-12-14 20:07         ` Keith Packard
2021-01-07 17:07 [PATCH 0/9] Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0 Keith Packard via
2021-01-07 17:07 ` [PATCH 2/9] semihosting: Change common-semi API to be architecture-independent Keith Packard via
2021-01-07 17:07   ` Keith Packard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.