Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm support high vectors on ARM9
details: https://anonhg.NetBSD.org/src/rev/27a1b86630c7
branches: trunk
changeset: 572165:27a1b86630c7
user: joff <joff%NetBSD.org@localhost>
date: Wed Dec 22 19:18:13 2004 +0000
description:
support high vectors on ARM9
diffstat:
sys/arch/arm/arm/cpufunc.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 9cbace4e5d8d -r 27a1b86630c7 sys/arch/arm/arm/cpufunc.c
--- a/sys/arch/arm/arm/cpufunc.c Wed Dec 22 19:14:11 2004 +0000
+++ b/sys/arch/arm/arm/cpufunc.c Wed Dec 22 19:18:13 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufunc.c,v 1.67 2004/04/03 04:34:40 bsh Exp $ */
+/* $NetBSD: cpufunc.c,v 1.68 2004/12/22 19:18:13 joff Exp $ */
/*
* arm7tdmi support code Copyright (c) 2001 John Fremlin
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.67 2004/04/03 04:34:40 bsh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.68 2004/12/22 19:18:13 joff Exp $");
#include "opt_compat_netbsd.h"
#include "opt_cpuoptions.h"
@@ -1870,6 +1870,9 @@
cpuctrl |= CPU_CONTROL_BEND_ENABLE;
#endif
+ if (vector_page == ARM_VECTORS_HIGH)
+ cpuctrl |= CPU_CONTROL_VECRELOC;
+
/* Clear out the cache */
cpu_idcache_wbinv_all();
Home |
Main Index |
Thread Index |
Old Index