svn commit: r336892 - head/sys/arm/arm
Andrew Turner
andrew at FreeBSD.org
Mon Jul 30 09:50:27 UTC 2018
Author: andrew
Date: Mon Jul 30 09:50:26 2018
New Revision: 336892
URL: https://svnweb.freebsd.org/changeset/base/336892
Log:
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
Modified:
head/sys/arm/arm/machdep.c
Modified: head/sys/arm/arm/machdep.c
==============================================================================
--- head/sys/arm/arm/machdep.c Mon Jul 30 09:29:32 2018 (r336891)
+++ head/sys/arm/arm/machdep.c Mon Jul 30 09:50:26 2018 (r336892)
@@ -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>
@@ -107,6 +108,10 @@ __FBSDID("$FreeBSD$");
#if __ARM_ARCH >= 6 && !defined(INTRNG)
#error armv6 requires INTRNG
+#endif
+
+#ifndef _ARM_ARCH_5E
+#error FreeBSD requires ARMv5 or later
#endif
struct pcpu __pcpu[MAXCPU];
More information about the svn-src-head
mailing list