4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-20 07:23:33 +08:00
zhangjing0303 523b123995
[libcpu][risc-v] fix the bug when using ASID in the RV64 MMU
* (fix) mmu: satp value should be 64-bit
Corrected the SATP register to ensure it uses the correct 64-bit format as required by the system architecture.

* use __asm__ instead of asm for the GNU C compiler

Co-authored-by: Shell <smokewood@qq.com>

---------

Co-authored-by: Shell <smokewood@qq.com>
2024-10-11 00:10:46 -04:00
..
2024-09-23 12:57:53 +08:00
2024-09-23 12:57:53 +08:00