Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2013 13:02:24 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r259505 - projects/specific_leg/sys/arm/include
Message-ID:  <201312171302.rBHD2OPB069225@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Tue Dec 17 13:02:23 2013
New Revision: 259505
URL: http://svnweb.freebsd.org/changeset/base/259505

Log:
  Move the L2 cache definitions to cpufunc as they are not pmap related.

Modified:
  projects/specific_leg/sys/arm/include/cpufunc.h
  projects/specific_leg/sys/arm/include/pmap.h

Modified: projects/specific_leg/sys/arm/include/cpufunc.h
==============================================================================
--- projects/specific_leg/sys/arm/include/cpufunc.h	Tue Dec 17 12:43:35 2013	(r259504)
+++ projects/specific_leg/sys/arm/include/cpufunc.h	Tue Dec 17 13:02:23 2013	(r259505)
@@ -56,6 +56,15 @@ breakpoint(void)
 	__asm(".word      0xe7ffffff");
 }
 
+typedef enum {
+	L2CACHE_UNKNOWN,
+	L2CACHE_VIVT,
+	L2CACHE_VIPT,
+	L2CACHE_PIPT,
+} l2cache;
+
+extern l2cache l2cache_type;
+
 struct cpu_functions {
 
 	/* CPU functions */

Modified: projects/specific_leg/sys/arm/include/pmap.h
==============================================================================
--- projects/specific_leg/sys/arm/include/pmap.h	Tue Dec 17 12:43:35 2013	(r259504)
+++ projects/specific_leg/sys/arm/include/pmap.h	Tue Dec 17 13:02:23 2013	(r259505)
@@ -53,15 +53,6 @@
 #include <machine/pte.h>
 #include <machine/cpuconf.h>
 
-typedef enum {
-	L2CACHE_UNKNOWN,
-	L2CACHE_VIVT,
-	L2CACHE_VIPT,
-	L2CACHE_PIPT,
-} l2cache;
-
-extern l2cache l2cache_type;
-
 /*
  * Pte related macros
  */



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