Module Name: src
Committed By: tsutsui
Date: Sun Jan 2 18:48:07 UTC 2011
Modified Files:
src/sys/arch/amiga/amiga: amiga_init.c
src/sys/arch/atari/atari: atari_init.c
src/sys/arch/cesfic/cesfic: pmap_bootstrap.c
src/sys/arch/hp300/hp300: pmap_bootstrap.c
src/sys/arch/luna68k/luna68k: pmap_bootstrap.c
src/sys/arch/mac68k/mac68k: pmap_bootstrap.c
src/sys/arch/mvme68k/mvme68k: pmap_bootstrap.c
src/sys/arch/news68k/news68k: pmap_bootstrap.c
src/sys/arch/next68k/next68k: pmap_bootstrap.c
src/sys/arch/x68k/x68k: pmap_bootstrap.c
Log Message:
Tidy up common comments. (Yes, too many dup code...)
To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/sys/arch/amiga/amiga/amiga_init.c
cvs rdiff -u -r1.94 -r1.95 src/sys/arch/atari/atari/atari_init.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/cesfic/cesfic/pmap_bootstrap.c
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/hp300/hp300/pmap_bootstrap.c
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/luna68k/luna68k/pmap_bootstrap.c
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/mac68k/mac68k/pmap_bootstrap.c
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/news68k/news68k/pmap_bootstrap.c
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/next68k/next68k/pmap_bootstrap.c
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/x68k/x68k/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/amiga/amiga/amiga_init.c
diff -u src/sys/arch/amiga/amiga/amiga_init.c:1.120 src/sys/arch/amiga/amiga/amiga_init.c:1.121
--- src/sys/arch/amiga/amiga/amiga_init.c:1.120 Mon Dec 20 00:25:25 2010
+++ src/sys/arch/amiga/amiga/amiga_init.c Sun Jan 2 18:48:04 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: amiga_init.c,v 1.120 2010/12/20 00:25:25 matt Exp $ */
+/* $NetBSD: amiga_init.c,v 1.121 2011/01/02 18:48:04 tsutsui Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@@ -37,7 +37,7 @@
#include "opt_m68k_arch.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.120 2010/12/20 00:25:25 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.121 2011/01/02 18:48:04 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -547,9 +547,9 @@
#if defined(M68040) || defined(M68060)
/*
- * map the kernel segment table cache invalidated for
- * these machines (for the 68040 not strictly necessary, but
- * recommended by Motorola; for the 68060 mandatory)
+ * Map the kernel segment table cache invalidated for 68040/68060.
+ * (for the 68040 not strictly necessary, but recommended by Motorola;
+ * for the 68060 mandatory)
*/
if (RELOC(mmutype, int) == MMU_68040) {
Index: src/sys/arch/atari/atari/atari_init.c
diff -u src/sys/arch/atari/atari/atari_init.c:1.94 src/sys/arch/atari/atari/atari_init.c:1.95
--- src/sys/arch/atari/atari/atari_init.c:1.94 Sun Jun 6 04:50:06 2010
+++ src/sys/arch/atari/atari/atari_init.c Sun Jan 2 18:48:05 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: atari_init.c,v 1.94 2010/06/06 04:50:06 mrg Exp $ */
+/* $NetBSD: atari_init.c,v 1.95 2011/01/02 18:48:05 tsutsui Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.94 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.95 2011/01/02 18:48:05 tsutsui Exp $");
#include "opt_ddb.h"
#include "opt_mbtype.h"
@@ -374,9 +374,9 @@
#if defined(M68040) || defined(M68060)
/*
- * Map the kernel segment table cache invalidated for
- * these machines (for the 68040 not strictly necessary, but
- * recommended by Motorola; for the 68060 mandatory)
+ * Map the kernel segment table cache invalidated for 68040/68060.
+ * (for the 68040 not strictly necessary, but recommended by Motorola;
+ * for the 68060 mandatory)
*/
if (mmutype == MMU_68040) {
Index: src/sys/arch/cesfic/cesfic/pmap_bootstrap.c
diff -u src/sys/arch/cesfic/cesfic/pmap_bootstrap.c:1.30 src/sys/arch/cesfic/cesfic/pmap_bootstrap.c:1.31
--- src/sys/arch/cesfic/cesfic/pmap_bootstrap.c:1.30 Sun Jan 2 18:39:11 2011
+++ src/sys/arch/cesfic/cesfic/pmap_bootstrap.c Sun Jan 2 18:48:05 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.30 2011/01/02 18:39:11 tsutsui Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.31 2011/01/02 18:48:05 tsutsui Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.30 2011/01/02 18:39:11 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.31 2011/01/02 18:48:05 tsutsui Exp $");
#include <sys/param.h>
#include <uvm/uvm_extern.h>
@@ -359,9 +359,9 @@
protopte += PAGE_SIZE;
}
/*
- * map the kernel segment table cache invalidated for
- * these machines (for the 68040 not strictly necessary, but
- * recommended by Motorola; for the 68060 mandatory)
+ * Map the kernel segment table cache invalidated for 68040/68060.
+ * (for the 68040 not strictly necessary, but recommended by Motorola;
+ * for the 68060 mandatory)
*/
epte = (pt_entry_t *)kptpa;
epte = &epte[m68k_btop(KERNBASE + nextpa - firstpa)];
Index: src/sys/arch/hp300/hp300/pmap_bootstrap.c
diff -u src/sys/arch/hp300/hp300/pmap_bootstrap.c:1.50 src/sys/arch/hp300/hp300/pmap_bootstrap.c:1.51
--- src/sys/arch/hp300/hp300/pmap_bootstrap.c:1.50 Sun Jan 2 07:03:46 2011
+++ src/sys/arch/hp300/hp300/pmap_bootstrap.c Sun Jan 2 18:48:05 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.50 2011/01/02 07:03:46 tsutsui Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.51 2011/01/02 18:48:05 tsutsui Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.50 2011/01/02 07:03:46 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.51 2011/01/02 18:48:05 tsutsui Exp $");
#include <sys/param.h>
#include <uvm/uvm_extern.h>
@@ -379,9 +379,9 @@
protopte += PAGE_SIZE;
}
/*
- * map the kernel segment table cache invalidated for
- * these machines (for the 68040 not strictly necessary, but
- * recommended by Motorola; for the 68060 mandatory)
+ * Map the kernel segment table cache invalidated for 68040/68060.
+ * (for the 68040 not strictly necessary, but recommended by Motorola;
+ * for the 68060 mandatory)
*/
epte = (pt_entry_t *)kptpa;
epte = &epte[m68k_btop(nextpa - firstpa)];
Index: src/sys/arch/luna68k/luna68k/pmap_bootstrap.c
diff -u src/sys/arch/luna68k/luna68k/pmap_bootstrap.c:1.31 src/sys/arch/luna68k/luna68k/pmap_bootstrap.c:1.32
--- src/sys/arch/luna68k/luna68k/pmap_bootstrap.c:1.31 Sun Jan 2 18:39:11 2011
+++ src/sys/arch/luna68k/luna68k/pmap_bootstrap.c Sun Jan 2 18:48:06 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.31 2011/01/02 18:39:11 tsutsui Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.32 2011/01/02 18:48:06 tsutsui Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.31 2011/01/02 18:39:11 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.32 2011/01/02 18:48:06 tsutsui Exp $");
#include "opt_m68k_arch.h"
@@ -337,9 +337,9 @@
protopte += PAGE_SIZE;
}
/*
- * map the kernel segment table cache invalidated for
- * these machines (for the 68040 not strictly necessary, but
- * recommended by Motorola; for the 68060 mandatory)
+ * Map the kernel segment table cache invalidated for 68040/68060.
+ * (for the 68040 not strictly necessary, but recommended by Motorola;
+ * for the 68060 mandatory)
*/
epte = (pt_entry_t *)kptpa;
epte = &epte[m68k_btop(nextpa - firstpa)];
Index: src/sys/arch/mac68k/mac68k/pmap_bootstrap.c
diff -u src/sys/arch/mac68k/mac68k/pmap_bootstrap.c:1.91 src/sys/arch/mac68k/mac68k/pmap_bootstrap.c:1.92
--- src/sys/arch/mac68k/mac68k/pmap_bootstrap.c:1.91 Sun Jan 2 18:16:59 2011
+++ src/sys/arch/mac68k/mac68k/pmap_bootstrap.c Sun Jan 2 18:48:06 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.91 2011/01/02 18:16:59 tsutsui Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.92 2011/01/02 18:48:06 tsutsui Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.91 2011/01/02 18:16:59 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.92 2011/01/02 18:48:06 tsutsui Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -386,9 +386,9 @@
protopte += PAGE_SIZE;
}
/*
- * map the kernel segment table cache invalidated for
- * these machines (for the 68040 not strictly necessary, but
- * recommended by Motorola; for the 68060 mandatory)
+ * Map the kernel segment table cache invalidated for 68040/68060.
+ * (for the 68040 not strictly necessary, but recommended by Motorola;
+ * for the 68060 mandatory)
*/
epte = PA2VA(kptpa, pt_entry_t *);
epte = &epte[m68k_btop(nextpa - firstpa)];
Index: src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c
diff -u src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c:1.47 src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c:1.48
--- src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c:1.47 Sun Jan 2 07:03:46 2011
+++ src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c Sun Jan 2 18:48:06 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.47 2011/01/02 07:03:46 tsutsui Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.48 2011/01/02 18:48:06 tsutsui Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.47 2011/01/02 07:03:46 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.48 2011/01/02 18:48:06 tsutsui Exp $");
#include "opt_m68k_arch.h"
@@ -347,9 +347,9 @@
protopte += PAGE_SIZE;
}
/*
- * map the kernel segment table cache invalidated for
- * these machines (for the 68040 not strictly necessary, but
- * recommended by Motorola; for the 68060 mandatory)
+ * Map the kernel segment table cache invalidated for 68040/68060.
+ * (for the 68040 not strictly necessary, but recommended by Motorola;
+ * for the 68060 mandatory)
*/
epte = (pt_entry_t *)kptpa;
epte = &epte[m68k_btop(nextpa - firstpa)];
Index: src/sys/arch/news68k/news68k/pmap_bootstrap.c
diff -u src/sys/arch/news68k/news68k/pmap_bootstrap.c:1.35 src/sys/arch/news68k/news68k/pmap_bootstrap.c:1.36
--- src/sys/arch/news68k/news68k/pmap_bootstrap.c:1.35 Sun Jan 2 07:03:46 2011
+++ src/sys/arch/news68k/news68k/pmap_bootstrap.c Sun Jan 2 18:48:06 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.35 2011/01/02 07:03:46 tsutsui Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.36 2011/01/02 18:48:06 tsutsui Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.35 2011/01/02 07:03:46 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.36 2011/01/02 18:48:06 tsutsui Exp $");
#include "opt_m68k_arch.h"
@@ -353,9 +353,9 @@
protopte += PAGE_SIZE;
}
/*
- * map the kernel segment table cache invalidated for
- * these machines (for the 68040 not strictly necessary, but
- * recommended by Motorola; for the 68060 mandatory)
+ * Map the kernel segment table cache invalidated for 68040/68060.
+ * (for the 68040 not strictly necessary, but recommended by Motorola;
+ * for the 68060 mandatory)
*/
epte = (pt_entry_t *)kptpa;
epte = &epte[m68k_btop(nextpa - firstpa)];
Index: src/sys/arch/next68k/next68k/pmap_bootstrap.c
diff -u src/sys/arch/next68k/next68k/pmap_bootstrap.c:1.38 src/sys/arch/next68k/next68k/pmap_bootstrap.c:1.39
--- src/sys/arch/next68k/next68k/pmap_bootstrap.c:1.38 Sun Jan 2 08:40:55 2011
+++ src/sys/arch/next68k/next68k/pmap_bootstrap.c Sun Jan 2 18:48:07 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.38 2011/01/02 08:40:55 tsutsui Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.39 2011/01/02 18:48:07 tsutsui Exp $ */
/*
* This file was taken from mvme68k/mvme68k/pmap_bootstrap.c
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.38 2011/01/02 08:40:55 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.39 2011/01/02 18:48:07 tsutsui Exp $");
#include "opt_m68k_arch.h"
@@ -401,9 +401,9 @@
protopte += PAGE_SIZE;
}
/*
- * map the kernel segment table cache invalidated for
- * these machines (for the 68040 not strictly necessary, but
- * recommended by Motorola; for the 68060 mandatory)
+ * Map the kernel segment table cache invalidated for 68040/68060.
+ * (for the 68040 not strictly necessary, but recommended by Motorola;
+ * for the 68060 mandatory)
*/
epte = (pt_entry_t *)kptpa;
epte = &epte[m68k_btop(nextpa - firstpa)];
Index: src/sys/arch/x68k/x68k/pmap_bootstrap.c
diff -u src/sys/arch/x68k/x68k/pmap_bootstrap.c:1.53 src/sys/arch/x68k/x68k/pmap_bootstrap.c:1.54
--- src/sys/arch/x68k/x68k/pmap_bootstrap.c:1.53 Sun Jan 2 07:03:46 2011
+++ src/sys/arch/x68k/x68k/pmap_bootstrap.c Sun Jan 2 18:48:07 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.53 2011/01/02 07:03:46 tsutsui Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.54 2011/01/02 18:48:07 tsutsui Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.53 2011/01/02 07:03:46 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.54 2011/01/02 18:48:07 tsutsui Exp $");
#include "opt_m68k_arch.h"
@@ -335,9 +335,9 @@
protopte += PAGE_SIZE;
}
/*
- * map the kernel segment table cache invalidated for
- * these machines (for the 68040 not strictly necessary, but
- * recommended by Motorola; for the 68060 mandatory)
+ * Map the kernel segment table cache invalidated for 68040/68060.
+ * (for the 68040 not strictly necessary, but recommended by Motorola;
+ * for the 68060 mandatory)
*/
epte = (pt_entry_t *)kptpa;
epte = &epte[m68k_btop(nextpa - firstpa)];