Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh3/sh3 sh4_mmu_start - call sh4_tlb_invalidate_all...



details:   https://anonhg.NetBSD.org/src/rev/f21e31b84aae
branches:  trunk
changeset: 936990:f21e31b84aae
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Aug 03 22:43:52 2020 +0000

description:
sh4_mmu_start - call sh4_tlb_invalidate_all directly.

diffstat:

 sys/arch/sh3/sh3/mmu_sh4.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5fceb40fa71a -r f21e31b84aae sys/arch/sh3/sh3/mmu_sh4.c
--- a/sys/arch/sh3/sh3/mmu_sh4.c        Mon Aug 03 22:28:39 2020 +0000
+++ b/sys/arch/sh3/sh3/mmu_sh4.c        Mon Aug 03 22:43:52 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mmu_sh4.c,v 1.18 2020/08/03 22:28:39 uwe Exp $ */
+/*     $NetBSD: mmu_sh4.c,v 1.19 2020/08/03 22:43:52 uwe Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mmu_sh4.c,v 1.18 2020/08/03 22:28:39 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mmu_sh4.c,v 1.19 2020/08/03 22:43:52 uwe Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -64,7 +64,7 @@
 
        /* Zero clear all TLB entry */
        _reg_write_4(SH4_MMUCR, 0);     /* zero wired entry */
-       sh_tlb_invalidate_all();
+       sh4_tlb_invalidate_all();
 
        /* Set current ASID to 0 */
        sh_tlb_set_asid(0);



Home | Main Index | Thread Index | Old Index