Searched refs:riscv_get_percpu (Results 1 – 3 of 3) sorted by relevance
172 static inline struct riscv_percpu *riscv_get_percpu(void) { in riscv_get_percpu() function205 return riscv_get_percpu()->hart_id; in riscv_current_hart()
48 return riscv_get_percpu()->cpu_num; in arch_curr_cpu_num()
152 ((uintptr_t *)kernel_stack_top)[-1] = (uintptr_t)riscv_get_percpu(); in arch_enter_uspace()
Completed in 4 milliseconds