diff options
| author | Shell <[email protected]> | 2024-09-02 18:02:15 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-09-11 18:06:51 -0400 |
| commit | e244c196c4f1f5a867891df303476947a7769876 (patch) | |
| tree | 1716b9d3472d1a3cd6904ee0b8c67a9f432a7b87 /components/lwp/SConscript | |
| parent | a00aaab2bac3b44baa55f5f25fe08b2d10c27c9b (diff) | |
feat: libcpu/risc-v: unify interrupt & IO on rv64
This patch aims to unify the two currently separated RISC-V 64-bit
architecture ports, 'virt64' and 'c906', into a single generic
'common64' port. The changes include renaming files and updating
includes to use a unified 'interrupt.h' header, as well as making
adjustments to IO and trap handling to be more consistent between the
two architectures.
Changes:
- Renamed 'rt_interrupt.h' to 'interrupt.h' and updated includes accordingly.
- Unified IO register access functions in 'riscv_io.h'.
- Added 'opcode.h' for portable assembly support.
- Updated 'plic.c' and 'plic.h' to handle interrupts in a unified manner.
- Modified 'trap.c' to handle exceptions and interrupts consistently for 'rv64'.
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'components/lwp/SConscript')
0 files changed, 0 insertions, 0 deletions
