Changeset View
Changeset View
Standalone View
Standalone View
sys/riscv/riscv/mp_machdep.c
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
#ifdef FDT | #ifdef FDT | ||||
#include <dev/ofw/openfirm.h> | #include <dev/ofw/openfirm.h> | ||||
#include <dev/ofw/ofw_cpu.h> | #include <dev/ofw/ofw_cpu.h> | ||||
#endif | #endif | ||||
boolean_t ofw_cpu_reg(phandle_t node, u_int, cell_t *); | boolean_t ofw_cpu_reg(phandle_t node, u_int, cell_t *); | ||||
extern struct pcpu __pcpu[]; | |||||
uint32_t __riscv_boot_ap[MAXCPU]; | uint32_t __riscv_boot_ap[MAXCPU]; | ||||
static enum { | static enum { | ||||
CPUS_UNKNOWN, | CPUS_UNKNOWN, | ||||
#ifdef FDT | #ifdef FDT | ||||
CPUS_FDT, | CPUS_FDT, | ||||
#endif | #endif | ||||
} cpu_enum_method; | } cpu_enum_method; | ||||
▲ Show 20 Lines • Show All 413 Lines • Show Last 20 Lines |