Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/cpu/
H A Drockchip_amp.c65 static boot_cpu_t g_bootcpu; variable
355 ret = brought_up_amp(fit, linux_noffset, &g_bootcpu, 1); in brought_up_all_amp()
368 ret = brought_up_amp(fit, cpu_noffset, &g_bootcpu, 0); in brought_up_all_amp()
375 if (!g_bootcpu.linux_os && g_bootcpu.entry) { in brought_up_all_amp()
378 (u32)read_mpidr() & 0x0fff, g_bootcpu.state, g_bootcpu.entry); in brought_up_all_amp()
382 armv8_switch_to_el2(0, 0, 0, g_bootcpu.state, (u64)g_bootcpu.entry, in brought_up_all_amp()
383 g_bootcpu.arch == IH_ARCH_ARM ? ES_TO_AARCH32 : ES_TO_AARCH64); in brought_up_all_amp()
387 armv7_entry = (void (*)(void))g_bootcpu.entry; in brought_up_all_amp()
483 images->os.arch = g_bootcpu.arch; in arm64_switch_amp_pe()
484 return g_bootcpu.state; in arm64_switch_amp_pe()