Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0
Status from this message: Queued to semihosting/next, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | semihosting: Move ARM semihosting code to shared directories [v3]default-configs/ default-configs/ default-configs/ +7 more | +10 | 0 replies | |
| 2/8 | semihosting: Change common-semi API to be architecture-independenthw/ hw/ linux-user/ +4 more | +59 | 0 replies | |
| 3/8 | semihosting: Change internal common-semi interfaces to use CPUState * [v2]hw/ | +185 | 0 replies | |
| 4/8 | semihosting: Support SYS_HEAPINFO when env->boot_info is not sethw/ | +41 | 0 replies | |
| 5/8 | riscv: Add semihosting support [v13]default-configs/ default-configs/ default-configs/ +10 more | +162 | 5 replies | |
| 6/8 | semihosting: Implement SYS_ELAPSED and SYS_TICKFREQhw/ include/ util/ | +22 | 0 replies | |
| 7/8 | semihosting: Implement SYS_TMPNAMhw/ | +19 | 0 replies | |
| 8/8 | semihosting: Implement SYS_ISERRORhw/ | +4 | 0 replies |
Reviews trailers per patch
4 of 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Alistair Francis | Keith Packard |
|---|---|---|
| Series | R-b R-b R-b | R-b |
| 1/8 | R-b | |
| 2/8 | R-b | |
| 3/8 | R-b | |
| 4/8 | ||
| 5/8 | R-b | |
| 6/8 | ||
| 7/8 | ||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0
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