[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/8] Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0
From: |
Keith Packard |
Subject: |
[PATCH 0/8] Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0 |
Date: |
Wed, 25 Nov 2020 13:36:09 -0800 |
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>
- [PATCH 0/8] Add RISC-V semihosting 0.2. Finish ARM semihosting 2.0,
Keith Packard <=
- [PATCH 1/8] semihosting: Move ARM semihosting code to shared directories [v3], Keith Packard, 2020/11/25
- [PATCH 2/8] semihosting: Change common-semi API to be architecture-independent, Keith Packard, 2020/11/25
- [PATCH 3/8] semihosting: Change internal common-semi interfaces to use CPUState * [v2], Keith Packard, 2020/11/25
- [PATCH 7/8] semihosting: Implement SYS_TMPNAM, Keith Packard, 2020/11/25
- [PATCH 5/8] riscv: Add semihosting support [v13], Keith Packard, 2020/11/25
- [PATCH 8/8] semihosting: Implement SYS_ISERROR, Keith Packard, 2020/11/25
- [PATCH 4/8] semihosting: Support SYS_HEAPINFO when env->boot_info is not set, Keith Packard, 2020/11/25
- [PATCH 6/8] semihosting: Implement SYS_ELAPSED and SYS_TICKFREQ, Keith Packard, 2020/11/25