svn commit: r259505 - projects/specific_leg/sys/arm/include
Andrew Turner
andrew at FreeBSD.org
Tue Dec 17 13:02:24 UTC 2013
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
*/
More information about the svn-src-projects
mailing list