Пример #1
0
static void sunxi_cpu_restore(void)
{
    //pr_info("[%s] enter\n", __func__);

    /* restore the secondary cpu boot entry address */
    sunxi_set_secondary_entry(sunxi_secondary_entry_save);
}
Пример #2
0
void sun8i_set_secondary_entry(void *entry)
{
	if (sunxi_soc_is_secure()) {
		call_firmware_op(set_secondary_entry, entry);
	} else {
		sunxi_set_secondary_entry(entry);
	}
}
Пример #3
0
static void sunxi_smp_prepare_cpus(unsigned int max_cpus)
{
    pr_info("[%s] enter\n", __func__);
    sunxi_set_secondary_entry((void *)(virt_to_phys(sunxi_secondary_startup)));
}