mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-22 08:06:17 +04:00
Fixed RISC-V tlb not flushed during context switch
Added a missing SFENCE.VMA
This commit is contained in:
parent
2a7d48b528
commit
b41147f436
@ -185,6 +185,7 @@ impl Context {
|
||||
Load sp, 0(a1)
|
||||
Load s11, 1*XLENB(sp)
|
||||
csrw satp, s11
|
||||
sfence.vma
|
||||
Load ra, 0*XLENB(sp)
|
||||
Load s0, 2*XLENB(sp)
|
||||
Load s1, 3*XLENB(sp)
|
||||
|
Loading…
Reference in New Issue
Block a user