Source-Changes-HG archive

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

[src/yamt-km]: src/sys/arch/hp300/hp300 fix a mistake in the previous. corre...



details:   https://anonhg.NetBSD.org/src/rev/cb1ef74e696c
branches:  yamt-km
changeset: 573368:cb1ef74e696c
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Feb 26 01:08:27 2005 +0000

description:
fix a mistake in the previous.  correct Sysmap.

diffstat:

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

diffs (27 lines):

diff -r ad1450659f07 -r cb1ef74e696c sys/arch/hp300/hp300/pmap_bootstrap.c
--- a/sys/arch/hp300/hp300/pmap_bootstrap.c     Thu Feb 24 11:28:48 2005 +0000
+++ b/sys/arch/hp300/hp300/pmap_bootstrap.c     Sat Feb 26 01:08:27 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_bootstrap.c,v 1.25.6.1 2005/02/24 11:28:48 yamt Exp $     */
+/*     $NetBSD: pmap_bootstrap.c,v 1.25.6.2 2005/02/26 01:08:27 yamt Exp $     */
 
 /*
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.25.6.1 2005/02/24 11:28:48 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.25.6.2 2005/02/26 01:08:27 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -388,7 +388,7 @@
         * Immediately follows `nptpages' of static kernel page table.
         */
        RELOC(Sysmap, pt_entry_t *) =
-           (pt_entry_t *)m68k_ptob((NPTEPG - 1) * NPTEPG);
+           (pt_entry_t *)m68k_ptob((NPTEPG - 2) * NPTEPG);
        /*
         * CLKbase, MMUbase: important registers in internal IO space
         * accessed from assembly language.



Home | Main Index | Thread Index | Old Index