Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/cortex Invalidate the L2 cache before enabling it.
details: https://anonhg.NetBSD.org/src/rev/d0fefbd021ce
branches: trunk
changeset: 782393:d0fefbd021ce
user: matt <matt%NetBSD.org@localhost>
date: Thu Nov 01 20:17:44 2012 +0000
description:
Invalidate the L2 cache before enabling it.
diffstat:
sys/arch/arm/cortex/pl310.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 98fda4d5ed01 -r d0fefbd021ce sys/arch/arm/cortex/pl310.c
--- a/sys/arch/arm/cortex/pl310.c Thu Nov 01 15:54:28 2012 +0000
+++ b/sys/arch/arm/cortex/pl310.c Thu Nov 01 20:17:44 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pl310.c,v 1.7 2012/10/17 20:45:49 matt Exp $ */
+/* $NetBSD: pl310.c,v 1.8 2012/11/01 20:17:44 matt Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pl310.c,v 1.7 2012/10/17 20:45:49 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pl310.c,v 1.8 2012/11/01 20:17:44 matt Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -237,7 +237,7 @@
arml2cc_write_4(sc, L2C_CTL, 1); // turn it on
- //arml2cc_cache_way_op(sc, L2C_INV_WAY, sc->sc_waymask);
+ arml2cc_cache_way_op(sc, L2C_INV_WAY, sc->sc_waymask);
arml2cc_cache_sync(sc);
mutex_spin_exit(&sc->sc_lock);
Home |
Main Index |
Thread Index |
Old Index