Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/annapurna/alpine/alpine_machdep_mp.c
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | |||||
extern bus_addr_t al_devmap_pa; | extern bus_addr_t al_devmap_pa; | ||||
extern bus_addr_t al_devmap_size; | extern bus_addr_t al_devmap_size; | ||||
extern void mpentry(void); | extern void mpentry(void); | ||||
static int platform_mp_get_core_cnt(void); | static int platform_mp_get_core_cnt(void); | ||||
static int alpine_get_cpu_resume_base(u_long *pbase, u_long *psize); | static int alpine_get_cpu_resume_base(u_long *pbase, u_long *psize); | ||||
static int alpine_get_nb_base(u_long *pbase, u_long *psize); | static int alpine_get_nb_base(u_long *pbase, u_long *psize); | ||||
static boolean_t alpine_validate_cpu(u_int, phandle_t, u_int, pcell_t *); | static bool alpine_validate_cpu(u_int, phandle_t, u_int, pcell_t *); | ||||
static boolean_t | static bool | ||||
alpine_validate_cpu(u_int id, phandle_t child, u_int addr_cell, pcell_t *reg) | alpine_validate_cpu(u_int id, phandle_t child, u_int addr_cell, pcell_t *reg) | ||||
{ | { | ||||
return ofw_bus_node_is_compatible(child, "arm,cortex-a15"); | return ofw_bus_node_is_compatible(child, "arm,cortex-a15"); | ||||
} | } | ||||
static int | static int | ||||
platform_mp_get_core_cnt(void) | platform_mp_get_core_cnt(void) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines |