Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbppc/mpc85xx No need to call e500_tlb1_sync() at ...
details: https://anonhg.NetBSD.org/src/rev/682247431004
branches: trunk
changeset: 335413:682247431004
user: nonaka <nonaka%NetBSD.org@localhost>
date: Tue Jan 06 01:23:24 2015 +0000
description:
No need to call e500_tlb1_sync() at e500_cpu_hatch(). It has already
been called at e500_spinup_trampoline().
Pointed by mrg@.
diffstat:
sys/arch/evbppc/mpc85xx/machdep.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 3297594b8b13 -r 682247431004 sys/arch/evbppc/mpc85xx/machdep.c
--- a/sys/arch/evbppc/mpc85xx/machdep.c Tue Jan 06 00:52:26 2015 +0000
+++ b/sys/arch/evbppc/mpc85xx/machdep.c Tue Jan 06 01:23:24 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.38 2015/01/05 08:40:56 nonaka Exp $ */
+/* $NetBSD: machdep.c,v 1.39 2015/01/06 01:23:24 nonaka Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -997,8 +997,7 @@
*/
cpu_write_4(OPENPIC_BASE + OPENPIC_CTPR, 15); /* IPL_HIGH */
- /* Initialize TLB */
- e500_tlb1_sync();
+ /* Set the MAS4 defaults */
mtspr(SPR_MAS4, MAS4_TSIZED_4KB | MAS4_MD);
tlb_invalidate_all();
Home |
Main Index |
Thread Index |
Old Index