cpufunc.c (266332) | cpufunc.c (266341) |
---|---|
1/* $NetBSD: cpufunc.c,v 1.65 2003/11/05 12:53:15 scw Exp $ */ 2 3/*- 4 * arm9 support code Copyright (C) 2001 ARM Ltd 5 * Copyright (c) 1997 Mark Brinicombe. 6 * Copyright (c) 1997 Causality Limited 7 * All rights reserved. 8 * --- 28 unchanged lines hidden (view full) --- 37 * 38 * cpufuncs.c 39 * 40 * C functions for supporting CPU / MMU / TLB specific operations. 41 * 42 * Created : 30/01/97 43 */ 44#include <sys/cdefs.h> | 1/* $NetBSD: cpufunc.c,v 1.65 2003/11/05 12:53:15 scw Exp $ */ 2 3/*- 4 * arm9 support code Copyright (C) 2001 ARM Ltd 5 * Copyright (c) 1997 Mark Brinicombe. 6 * Copyright (c) 1997 Causality Limited 7 * All rights reserved. 8 * --- 28 unchanged lines hidden (view full) --- 37 * 38 * cpufuncs.c 39 * 40 * C functions for supporting CPU / MMU / TLB specific operations. 41 * 42 * Created : 30/01/97 43 */ 44#include <sys/cdefs.h> |
45__FBSDID("$FreeBSD: stable/10/sys/arm/arm/cpufunc.c 266332 2014-05-17 17:54:38Z ian $"); | 45__FBSDID("$FreeBSD: stable/10/sys/arm/arm/cpufunc.c 266341 2014-05-17 19:37:04Z ian $"); |
46 47#include <sys/param.h> 48#include <sys/systm.h> 49#include <sys/lock.h> 50#include <sys/mutex.h> 51#include <sys/bus.h> 52#include <machine/bus.h> 53#include <machine/cpu.h> --- 996 unchanged lines hidden (view full) --- 1050#if defined(CPU_CORTEXA) || defined(CPU_KRAIT) 1051 if (cputype == CPU_ID_CORTEXA7 || 1052 cputype == CPU_ID_CORTEXA8R1 || 1053 cputype == CPU_ID_CORTEXA8R2 || 1054 cputype == CPU_ID_CORTEXA8R3 || 1055 cputype == CPU_ID_CORTEXA9R1 || 1056 cputype == CPU_ID_CORTEXA9R2 || 1057 cputype == CPU_ID_CORTEXA9R3 || | 46 47#include <sys/param.h> 48#include <sys/systm.h> 49#include <sys/lock.h> 50#include <sys/mutex.h> 51#include <sys/bus.h> 52#include <machine/bus.h> 53#include <machine/cpu.h> --- 996 unchanged lines hidden (view full) --- 1050#if defined(CPU_CORTEXA) || defined(CPU_KRAIT) 1051 if (cputype == CPU_ID_CORTEXA7 || 1052 cputype == CPU_ID_CORTEXA8R1 || 1053 cputype == CPU_ID_CORTEXA8R2 || 1054 cputype == CPU_ID_CORTEXA8R3 || 1055 cputype == CPU_ID_CORTEXA9R1 || 1056 cputype == CPU_ID_CORTEXA9R2 || 1057 cputype == CPU_ID_CORTEXA9R3 || |
1058 cputype == CPU_ID_CORTEXA15 || | 1058 cputype == CPU_ID_CORTEXA15R0 || 1059 cputype == CPU_ID_CORTEXA15R1 || 1060 cputype == CPU_ID_CORTEXA15R2 || 1061 cputype == CPU_ID_CORTEXA15R3 || |
1059 cputype == CPU_ID_KRAIT ) { 1060 cpufuncs = cortexa_cpufuncs; 1061 cpu_reset_needs_v4_MMU_disable = 1; /* V4 or higher */ 1062 get_cachetype_cp15(); 1063 1064 pmap_pte_init_mmu_v6(); 1065 /* Use powersave on this CPU. */ 1066 cpu_do_powersave = 1; --- 651 unchanged lines hidden --- | 1062 cputype == CPU_ID_KRAIT ) { 1063 cpufuncs = cortexa_cpufuncs; 1064 cpu_reset_needs_v4_MMU_disable = 1; /* V4 or higher */ 1065 get_cachetype_cp15(); 1066 1067 pmap_pte_init_mmu_v6(); 1068 /* Use powersave on this CPU. */ 1069 cpu_do_powersave = 1; --- 651 unchanged lines hidden --- |