summaryrefslogtreecommitdiff
path: root/components/net/netdev/src
diff options
context:
space:
mode:
authorShell <[email protected]>2024-09-02 18:02:15 +0800
committerMeco Man <[email protected]>2024-09-11 18:06:51 -0400
commite244c196c4f1f5a867891df303476947a7769876 (patch)
tree1716b9d3472d1a3cd6904ee0b8c67a9f432a7b87 /components/net/netdev/src
parenta00aaab2bac3b44baa55f5f25fe08b2d10c27c9b (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/net/netdev/src')
0 files changed, 0 insertions, 0 deletions