mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-16 19:57:52 +08:00
[lwp/riscv]进入libc前初始化用户态sp (#8997)
This commit is contained in:
@@ -40,7 +40,7 @@ arch_start_umode:
|
||||
csrs sstatus, t0
|
||||
|
||||
csrw sepc, a1
|
||||
mv a3, a2
|
||||
mv sp, a2
|
||||
sret//enter user mode
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user