mirror of
https://github.com/seL4/seL4.git
synced 2026-03-27 10:29:57 +00:00
benchmark: fix thread utils on riscv's fastpath
Signed-off-by: Rihui Wu <rihui.wu@unsw.edu.au>
This commit is contained in:
@@ -42,6 +42,10 @@ static inline void FORCE_INLINE switchToThread_fp(tcb_t *thread, pte_t *vroot, p
|
||||
|
||||
setVSpaceRoot(addrFromPPtr(vroot), asid);
|
||||
|
||||
#ifdef CONFIG_BENCHMARK_TRACK_UTILISATION
|
||||
benchmark_utilisation_switch(NODE_STATE(ksCurThread), thread);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HAVE_FPU
|
||||
lazyFPURestore(thread);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user