backtrace task finished

This commit is contained in:
2025-06-14 17:09:29 +08:00
parent b63d0c9147
commit 4c08583743
5 changed files with 31 additions and 1 deletions

View File

@@ -338,6 +338,14 @@ r_ra()
return x;
}
static inline uint64
r_fp()
{
uint64 x;
asm volatile("mv %0, s0" : "=r" (x) );
return x;
}
// flush the TLB.
static inline void
sfence_vma()