rt-thread-official/libcpu/risc-v/virt64
Shell a00aaab2ba feat: libcpu/risc-v: unify mmu related works
These changes are designed to standardize the memory management across
'virt64' and 'c906', ensuring efficient handling of address spaces and
page tables.

Changes:
- Creation of ASID management files (`asid.c`) for both 'c906' and
  'virt64' architectures, which is essential for maintaining stability.
- Extensive updates to the MMU configuration and handling in `mmu.c` and `mmu.h` files.
- Addition of functions to manage ASID allocation and switching of page tables.
- For c906, accommodated the early memory setup to the one from virt64.

Signed-off-by: Shell <smokewood@qq.com>
2024-09-11 18:06:51 -04:00
..
SConscript [libcpu][SConscript]规范group名为libcpu 2024-02-20 08:39:05 +08:00
asid.c feat: libcpu/risc-v: unify mmu related works 2024-09-11 18:06:51 -04:00
asm-generic.h [libcpu][component][debug] add debug info for gdb (#7033) 2023-05-14 23:48:16 +08:00
backtrace.c feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
cache.c [rt-smart] move sys_cacheflush to lwp_syscall.c (#7048) 2023-03-17 15:11:38 +08:00
cache.h [ci] fix errors under strick compiling mode 2024-02-20 08:39:05 +08:00
context_gcc.S feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
cpuport.c feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
cpuport.h feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
cpuport_gcc.S feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
encoding.h feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
ext_context.h feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
interrupt.c [smart][risc-v/libcpu] port rv64 cpu code (#6704) 2022-12-10 22:16:42 +08:00
interrupt.h feat: kernel/libcpu: fit into ilp32d 2024-09-01 15:12:34 -04:00
interrupt_gcc.S feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
io.h sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
mmu.c feat: libcpu/risc-v: unify mmu related works 2024-09-11 18:06:51 -04:00
mmu.h feat: kernel/libcpu: fit into ilp32d 2024-09-01 15:12:34 -04:00
plic.c feat: kernel/libcpu: fit into ilp32d 2024-09-01 15:12:34 -04:00
plic.h [smart][risc-v/libcpu] port rv64 cpu code (#6704) 2022-12-10 22:16:42 +08:00
riscv.h feat: kernel/libcpu: fit into ilp32d 2024-09-01 15:12:34 -04:00
riscv_io.h sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
riscv_mmu.c feat: libcpu/risc-v: unify mmu related works 2024-09-11 18:06:51 -04:00
riscv_mmu.h feat: libcpu/risc-v: unify mmu related works 2024-09-11 18:06:51 -04:00
rvv_context.h feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
sbi.c [rt-smart] kernel virtual memory management layer (#6809) 2023-01-08 21:08:55 -05:00
sbi.h [rt-smart] kernel virtual memory management layer (#6809) 2023-01-08 21:08:55 -05:00
stack.h feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
stackframe.h feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
start.c [rt-smart] kernel virtual memory management layer (#6809) 2023-01-08 21:08:55 -05:00
startup_gcc.S [libcpu] rv64: support for ARCH_REMAP_KERNEL (#9067) 2024-06-18 11:15:59 +08:00
syscall_c.c feat: kernel/libcpu: fit into ilp32d 2024-09-01 15:12:34 -04:00
tick.c [libcpu/rv64] feat: unify tick.c 2024-07-15 12:06:39 +08:00
tick.h [libcpu/rv64] feat: unify tick.c 2024-07-15 12:06:39 +08:00
tlb.h [rt-smart] porting c906 and D1s to mm (#6848) 2023-01-16 08:24:03 +08:00
trap.c feat: kernel/libcpu: fit into ilp32d 2024-09-01 15:12:34 -04:00
vector_encoding.h feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00
vector_gcc.S feat: libcpu/risc-v: unify context on c906, virt64 2024-09-11 18:06:51 -04:00