Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
This commit is contained in:
commit
af9abaca05
2 changed files with 0 additions and 8 deletions
|
|
@ -217,13 +217,6 @@ r_satp()
|
|||
return x;
|
||||
}
|
||||
|
||||
// Supervisor Scratch register, for early trap handler in trampoline.S.
|
||||
static inline void
|
||||
w_sscratch(uint64 x)
|
||||
{
|
||||
asm volatile("csrw sscratch, %0" : : "r" (x));
|
||||
}
|
||||
|
||||
static inline void
|
||||
w_mscratch(uint64 x)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue