Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2018 09:50:26 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336892 - head/sys/arm/arm
Message-ID:  <201807300950.w6U9oQtq034833@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807300950.w6U9oQtq034833>