3 #ifndef __SOC_CAVIUM_CN81XX_CPU_H__
4 #define __SOC_CAVIUM_CN81XX_CPU_H__
44 size_t start_cpu(
size_t cpu,
void (*entry_64)(
size_t core_id));
asmlinkage void secondary_cpu_init(unsigned int cpu_index)
#define DECLARE_REGION(name)
uint64_t cpu_get_available_core_mask(void)
Return the mask of available cores.
size_t start_cpu(size_t cpu, void(*entry_64)(size_t core_id))
Init secondary core and call the provided entry for given core.
size_t cpu_get_num_available_cores(void)
Return the number of cores available in the chip.
size_t cpu_self_get_core_id(void)
Number of the Core on which the program is currently running.
void secondary_init(void)
Secondary ASM CPU entry point.
uint64_t cpu_self_get_core_mask(void)
Return a mask representing this core in a 64bit bitmask.
unsigned long long uint64_t