CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2017/04/27 04:23:19
Modified files: sys/arch/arm64/conf: GENERIC RAMDISK files.arm64 sys/arch/arm64/dev: mainbus.c mainbus.h simplebus.c sys/arch/arm64/include: armreg.h Added files: sys/arch/arm64/arm64: cpu.c Log message: Add code to identify the CPUs on arm64 systems. The primary CPU is attached and identified early on. For the secondary CPUs this happens late, such that the drivers we need to spin up CPUs, such as psci(4), will be available. This also fixes some code in simplebus(4) where the return value of OF_getprop() was not properly checked. Heavily based on an earlier diff from drahn@. ok drahn@, jsg@