Source-Changes-HG archive

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

[src/yamt-km]: src/sys/arch initialize the last ste for Sysmap.



details:   https://anonhg.NetBSD.org/src/rev/1fd81a887e3e
branches:  yamt-km
changeset: 573370:1fd81a887e3e
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Feb 26 02:19:06 2005 +0000

description:
initialize the last ste for Sysmap.

diffstat:

 sys/arch/luna68k/luna68k/pmap_bootstrap.c |  5 +++--
 sys/arch/x68k/x68k/pmap_bootstrap.c       |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 377b9c11bd85 -r 1fd81a887e3e sys/arch/luna68k/luna68k/pmap_bootstrap.c
--- a/sys/arch/luna68k/luna68k/pmap_bootstrap.c Sat Feb 26 02:13:42 2005 +0000
+++ b/sys/arch/luna68k/luna68k/pmap_bootstrap.c Sat Feb 26 02:19:06 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_bootstrap.c,v 1.7.10.1 2005/02/24 11:14:40 yamt Exp $     */
+/*     $NetBSD: pmap_bootstrap.c,v 1.7.10.2 2005/02/26 02:19:06 yamt Exp $     */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.7.10.1 2005/02/24 11:14:40 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.7.10.2 2005/02/26 02:19:06 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -262,6 +262,7 @@
                /*
                 * Initialize the last one to point to Sysptmap.
                 */
+               *ste = kptmpa | PG_RW | PG_V;
                *pte = kptmpa | PG_RW | PG_CI | PG_V;
        }
 
diff -r 377b9c11bd85 -r 1fd81a887e3e sys/arch/x68k/x68k/pmap_bootstrap.c
--- a/sys/arch/x68k/x68k/pmap_bootstrap.c       Sat Feb 26 02:13:42 2005 +0000
+++ b/sys/arch/x68k/x68k/pmap_bootstrap.c       Sat Feb 26 02:19:06 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_bootstrap.c,v 1.27.2.6 2005/02/24 11:16:20 yamt Exp $     */
+/*     $NetBSD: pmap_bootstrap.c,v 1.27.2.7 2005/02/26 02:19:06 yamt Exp $     */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.27.2.6 2005/02/24 11:16:20 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.27.2.7 2005/02/26 02:19:06 yamt Exp $");
 
 #include "opt_m680x0.h"
 
@@ -264,6 +264,7 @@
                /*
                 * Initialize the last one to point to Sysptmap.
                 */
+               *ste = kptmpa | PG_RW | PG_V;
                *pte = kptmpa | PG_RW | PG_CI | PG_V;
        }
 



Home | Main Index | Thread Index | Old Index