CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2020/08/23 04:07:51
Modified files: sys/arch/powerpc64/include: cpu.h cpufunc.h sys/arch/powerpc64/powerpc64: cpu.c machdep.c pmap.c Log message: Add support for POWER8 (and maybe earlier) CPUs. Not sure if this works on real hardware, but it gets the kernel booting on QEMU emulating a POWER8 CPU so it's a step in the right direction. This establishes a way to distinguish CPU features based on the AT_HWCAP and AT_HWCAP2 features documented in the ELF ABI. Also use this to determine the availability of the DARN instruction instead of keying of the processor model.