diff options
Diffstat (limited to 'arch/riscv64/kernel/proc.c')
| -rw-r--r-- | arch/riscv64/kernel/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv64/kernel/proc.c b/arch/riscv64/kernel/proc.c index a85ae6f..efbf7df 100644 --- a/arch/riscv64/kernel/proc.c +++ b/arch/riscv64/kernel/proc.c @@ -8,9 +8,9 @@ #include "regs.h" #include "csr.h" -/** \todo actually map fdt into the target address space */ stat_t run_init(struct tcb *t, void *fdt) { + /** \todo actually map fdt into the target address space */ csr_write(CSR_SSCRATCH, t); __asm__ volatile ("mv sp, %0\n" : : "r" (t->thread_stack_top) : "memory"); __asm__ volatile ("mv a0, %0\n" : : "r" (fdt) : ); |
