reset_secondary()
- Wait for primary hart:
set_tp()
- Set
$tp
tothread_core_local[hartid]
. - Save current hart ID to
thread_core_local[hartid].hart_id
. set_satp()
- Set
$satp
tocore_mmu_config.satp[hartid]
. core_mmu_config.satp[]
is configured incore_init_mmu_map()
.- Set
sem_cpu_sync[hartid]
to1
to indicate that current hart is ready. boot_init_secondary()
reset_secondary()c
Loading...