Make it possible to build a MULTIPROCESSOR kernel on armv7. While this
authorkettenis <kettenis@openbsd.org>
Mon, 6 Aug 2018 18:39:13 +0000 (18:39 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 6 Aug 2018 18:39:13 +0000 (18:39 +0000)
commitabff443dbd09597733c7ba1d0b7f9bd0cdd45306
tree034282df2fbc24e5e9995387328c2167b006603a
parentae8c2d1aa665beafa51a4832b3f576669269d38d
Make it possible to build a MULTIPROCESSOR kernel on armv7.  While this
doesn't actually spin up any secondary CPUs, it does run.  Mostly a cleanup
of <machine/cpu.h> along the lines of what I did earlier on arm64.  Makes
armv7 use the MI mplock implementation and implements copyin32.

ok patrick@
26 files changed:
sys/arch/arm/arm/arm32_machdep.c
sys/arch/arm/arm/bcopy_page.S
sys/arch/arm/arm/bcopyinout.S
sys/arch/arm/arm/copystr.S
sys/arch/arm/arm/cpu.c
sys/arch/arm/arm/cpufunc_asm.S
sys/arch/arm/arm/cpufunc_asm_armv7.S
sys/arch/arm/arm/cpuswitch7.S
sys/arch/arm/arm/exception.S
sys/arch/arm/arm/fault.c
sys/arch/arm/arm/genassym.cf
sys/arch/arm/arm/in_cksum_arm.S
sys/arch/arm/arm/irq_dispatch.S
sys/arch/arm/arm/locore.S
sys/arch/arm/arm/setstack.S
sys/arch/arm/arm/sigcode.S
sys/arch/arm/arm/softintr.c
sys/arch/arm/arm/undefined.c
sys/arch/arm/arm/vectors.S
sys/arch/arm/cortex/ampintc.c
sys/arch/arm/include/cpu.h
sys/arch/arm/include/mplock.h [new file with mode: 0644]
sys/arch/armv7/armv7/armv7_machdep.c
sys/arch/armv7/armv7/armv7_start.S
sys/arch/armv7/armv7/locore0.S
sys/arch/armv7/include/mplock.h [new file with mode: 0644]