Module Name: src Committed By: tsutsui Date: Fri Dec 11 20:00:49 UTC 2009
Modified Files: src/sys/arch/luna68k/luna68k: pmap_bootstrap.c Log Message: Fix (probably fatal) typo on yamt-km merge back on 2005. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/luna68k/luna68k/pmap_bootstrap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/luna68k/luna68k/pmap_bootstrap.c diff -u src/sys/arch/luna68k/luna68k/pmap_bootstrap.c:1.25 src/sys/arch/luna68k/luna68k/pmap_bootstrap.c:1.26 --- src/sys/arch/luna68k/luna68k/pmap_bootstrap.c:1.25 Sun Dec 6 06:41:30 2009 +++ src/sys/arch/luna68k/luna68k/pmap_bootstrap.c Fri Dec 11 20:00:49 2009 @@ -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; }