Home
last modified time | relevance | path

Searched refs:hart_x (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/arch/riscv/include/
Dkernel_arch_func.h45 unsigned int cpu_num, hart_x; in arch_kernel_init() local
47 for (cpu_num = 1, hart_x = 0; cpu_num < arch_num_cpus(); cpu_num++) { in arch_kernel_init()
48 if (cpu_node_list[hart_x] == _kernel.cpus[0].arch.hartid) { in arch_kernel_init()
49 hart_x++; in arch_kernel_init()
51 _kernel.cpus[cpu_num].arch.hartid = cpu_node_list[hart_x]; in arch_kernel_init()
52 hart_x++; in arch_kernel_init()