Files
mckernel/arch/arm64/kernel/smp.c
Takayuki Okamoto 9989f41fd3 add arm64 support
- add arm64 dependent codes with GICv3 and SVE support
- fix bugs based on architecture separation requests
2017-09-05 15:06:27 +09:00

23 lines
650 B
C

/* smp.c COPYRIGHT FUJITSU LIMITED 2015 */
#include <thread_info.h>
#include <smp.h>
/*
* as from 2.5, kernels no longer have an init_tasks structure
* so we need some other way of telling a new secondary core
* where to place its SVC stack
*/
/* initialize value for BSP bootup */
/* AP bootup value setup in ihk_mc_boot_cpu() */
struct start_kernel_param;
extern void start_kernel(struct start_kernel_param *param);
extern struct start_kernel_param *ihk_param_head;
struct secondary_data secondary_data = {
.stack = (char *)&init_thread_info + THREAD_START_SP,
.next_pc = (uint64_t)start_kernel,
.arg = (unsigned long)&ihk_param_head
};