Require ARMv5 for arm. All current kernels are for ARMv5 or later, and it

will allow us to clean out old ARMv4 (and earlier) specific assembly.

Relnotes:	yes
This commit is contained in:
Andrew Turner 2018-07-30 09:50:26 +00:00
parent 455d358977
commit 3810edcf6b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336892

View File

@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$");
#include <vm/vm_page.h>
#include <vm/vm_pager.h>
#include <machine/asm.h>
#include <machine/debug_monitor.h>
#include <machine/machdep.h>
#include <machine/metadata.h>
@ -109,6 +110,10 @@ __FBSDID("$FreeBSD$");
#error armv6 requires INTRNG
#endif
#ifndef _ARM_ARCH_5E
#error FreeBSD requires ARMv5 or later
#endif
struct pcpu __pcpu[MAXCPU];
struct pcpu *pcpup = &__pcpu[0];