Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/luna68k/luna68k Fix (probably fatal) typo on yamt-k...



details:   https://anonhg.NetBSD.org/src/rev/fa4e58ec85ba
branches:  trunk
changeset: 749877:fa4e58ec85ba
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Dec 11 20:00:49 2009 +0000

description:
Fix (probably fatal) typo on yamt-km merge back on 2005.

diffstat:

 sys/arch/luna68k/luna68k/pmap_bootstrap.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 4cd752313c2d -r fa4e58ec85ba sys/arch/luna68k/luna68k/pmap_bootstrap.c
--- a/sys/arch/luna68k/luna68k/pmap_bootstrap.c Fri Dec 11 19:43:18 2009 +0000
+++ b/sys/arch/luna68k/luna68k/pmap_bootstrap.c Fri Dec 11 20:00:49 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_bootstrap.c,v 1.25 2009/12/06 06:41:30 tsutsui Exp $      */
+/*     $NetBSD: pmap_bootstrap.c,v 1.26 2009/12/11 20:00:49 tsutsui Exp $      */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.25 2009/12/06 06:41:30 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.26 2009/12/11 20:00:49 tsutsui Exp $");
 
 #include <sys/param.h>
 
@@ -290,10 +290,10 @@
                ste = (st_entry_t *)kstpa;
                pte = (pt_entry_t *)kptmpa;
                /* XXX should be (TIA_SIZE * PAGE_SIZE) */
-               pte[SYSMAP_VA / (NPTEPG * PAGE_SIZE)] =
+               ste[SYSMAP_VA / (NPTEPG * PAGE_SIZE)] =
                    kptmpa | SG_RW | SG_V;
                /* XXX should be (TIA_SIZE * PAGE_SIZE) */
-               ste[SYSMAP_VA / (NPTEPG * PAGE_SIZE)] =
+               pte[SYSMAP_VA / (NPTEPG * PAGE_SIZE)] =
                    kptmpa | PG_RW | PG_CI | PG_V;
        }
 



Home | Main Index | Thread Index | Old Index