CVS commit: src/sys/arch/x68k/x68k

2023-09-17 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Sep 17 07:22:17 UTC 2023

Modified Files:
src/sys/arch/x68k/x68k: locore.s

Log Message:
add "#if defined(M68030)" around 68030 specific busaddrerr2030 calls.

Makes M68030 build without 040/060 counterparts enabled for x68k.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/arch/x68k/x68k/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/x68k

2023-09-17 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Sep 17 07:22:17 UTC 2023

Modified Files:
src/sys/arch/x68k/x68k: locore.s

Log Message:
add "#if defined(M68030)" around 68030 specific busaddrerr2030 calls.

Makes M68030 build without 040/060 counterparts enabled for x68k.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/arch/x68k/x68k/locore.s

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/x68k/x68k/locore.s
diff -u src/sys/arch/x68k/x68k/locore.s:1.121 src/sys/arch/x68k/x68k/locore.s:1.122
--- src/sys/arch/x68k/x68k/locore.s:1.121	Mon May 30 09:56:03 2022
+++ src/sys/arch/x68k/x68k/locore.s	Sun Sep 17 07:22:17 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore.s,v 1.121 2022/05/30 09:56:03 andvar Exp $	*/
+/*	$NetBSD: locore.s,v 1.122 2023/09/17 07:22:17 andvar Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -209,8 +209,10 @@ Lstart1:
 	jra	Lstart2
 1:
 #endif
+#if defined(M68030)
 	movl	#_C_LABEL(busaddrerr2030),%a2@(8)
 	movl	#_C_LABEL(busaddrerr2030),%a2@(12)
+#endif
 
 Lstart2:
 /* initialize source/destination control registers for movs */



CVS commit: src/sys/arch/x68k/x68k

2023-03-28 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Tue Mar 28 20:10:02 UTC 2023

Modified Files:
src/sys/arch/x68k/x68k: kgdb_stub.c

Log Message:
s/ourput/output/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/x68k/x68k/kgdb_stub.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/x68k/x68k/kgdb_stub.c
diff -u src/sys/arch/x68k/x68k/kgdb_stub.c:1.19 src/sys/arch/x68k/x68k/kgdb_stub.c:1.20
--- src/sys/arch/x68k/x68k/kgdb_stub.c:1.19	Wed Nov 10 16:40:55 2021
+++ src/sys/arch/x68k/x68k/kgdb_stub.c	Tue Mar 28 20:10:01 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: kgdb_stub.c,v 1.19 2021/11/10 16:40:55 msaitoh Exp $	*/
+/*	$NetBSD: kgdb_stub.c,v 1.20 2023/03/28 20:10:01 andvar Exp $	*/
 
 /*
  * Copyright (c) 1990, 1993
@@ -45,13 +45,13 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.19 2021/11/10 16:40:55 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.20 2023/03/28 20:10:01 andvar Exp $");
 
 #include "opt_kgdb.h"
 
 #ifdef KGDB
 #ifndef lint
-static char rcsid[] = "$NetBSD: kgdb_stub.c,v 1.19 2021/11/10 16:40:55 msaitoh Exp $";
+static char rcsid[] = "$NetBSD: kgdb_stub.c,v 1.20 2023/03/28 20:10:01 andvar Exp $";
 #endif
 
 #include 
@@ -415,7 +415,7 @@ kgdb_trap(int type, struct frame *frame)
 			 * knowing if we're in or out of this loop
 			 * when he issues a "remote-signal".  (Note
 			 * that without the length check, we could
-			 * loop here forever if the ourput line is
+			 * loop here forever if the output line is
 			 * looped back or the remote host is echoing.)
 			 */
 			if (inlen == 0) {



CVS commit: src/sys/arch/x68k/x68k

2023-03-28 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Tue Mar 28 20:10:02 UTC 2023

Modified Files:
src/sys/arch/x68k/x68k: kgdb_stub.c

Log Message:
s/ourput/output/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/x68k/x68k/kgdb_stub.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/x68k

2023-02-06 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Mon Feb  6 13:30:02 UTC 2023

Modified Files:
src/sys/arch/x68k/x68k: pmap_bootstrap.c

Log Message:
Remove an obsolete comment.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 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/x68k/x68k/pmap_bootstrap.c
diff -u src/sys/arch/x68k/x68k/pmap_bootstrap.c:1.61 src/sys/arch/x68k/x68k/pmap_bootstrap.c:1.62
--- src/sys/arch/x68k/x68k/pmap_bootstrap.c:1.61	Thu Dec 22 16:05:15 2016
+++ src/sys/arch/x68k/x68k/pmap_bootstrap.c	Mon Feb  6 13:30:02 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap_bootstrap.c,v 1.61 2016/12/22 16:05:15 cherry Exp $	*/
+/*	$NetBSD: pmap_bootstrap.c,v 1.62 2023/02/06 13:30:02 tsutsui Exp $	*/
 
 /* 
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.61 2016/12/22 16:05:15 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.62 2023/02/06 13:30:02 tsutsui Exp $");
 
 #include "opt_m68k_arch.h"
 
@@ -229,7 +229,7 @@ pmap_bootstrap(paddr_t nextpa, paddr_t f
 		/* mark entries for map page tables */
 		for (i = 1; i <= nl1desc; i++)
 			stfree &= ~l2tobm(i);
-		/* mark an entry for kptmpa and lkptpa */
+		/* mark an entry for kptmpa */
 		stfree &= ~l2tobm(i);
 		/* mark entries not available */
 		for (i = MAXKL2SIZE; i < sizeof(stfree) * NBBY; i++)



CVS commit: src/sys/arch/x68k/x68k

2023-02-06 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Mon Feb  6 13:30:02 UTC 2023

Modified Files:
src/sys/arch/x68k/x68k: pmap_bootstrap.c

Log Message:
Remove an obsolete comment.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 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.



CVS commit: src/sys/arch/x68k/x68k

2022-06-25 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jun 25 08:19:01 UTC 2022

Modified Files:
src/sys/arch/x68k/x68k: machdep.c

Log Message:
Fix build without EXTENDED_MEMORY.


To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/sys/arch/x68k/x68k/machdep.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/x68k/x68k/machdep.c
diff -u src/sys/arch/x68k/x68k/machdep.c:1.207 src/sys/arch/x68k/x68k/machdep.c:1.208
--- src/sys/arch/x68k/x68k/machdep.c:1.207	Sat Oct  9 20:00:42 2021
+++ src/sys/arch/x68k/x68k/machdep.c	Sat Jun 25 08:19:01 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.207 2021/10/09 20:00:42 tsutsui Exp $	*/
+/*	$NetBSD: machdep.c,v 1.208 2022/06/25 08:19:01 isaki Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.207 2021/10/09 20:00:42 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.208 2022/06/25 08:19:01 isaki Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -1256,7 +1256,9 @@ cpu_intr_p(void)
 int
 mm_md_physacc(paddr_t pa, vm_prot_t prot)
 {
+#ifdef EXTENDED_MEMORY
 	int i;
+#endif
 
 	/* Main memory */
 	if (phys_basemem_seg.start <= pa && pa < phys_basemem_seg.end)



CVS commit: src/sys/arch/x68k/x68k

2022-06-25 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jun 25 08:19:01 UTC 2022

Modified Files:
src/sys/arch/x68k/x68k: machdep.c

Log Message:
Fix build without EXTENDED_MEMORY.


To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/sys/arch/x68k/x68k/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/x68k

2021-11-10 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Nov 10 16:40:55 UTC 2021

Modified Files:
src/sys/arch/x68k/x68k: kgdb_stub.c

Log Message:
s/procesing/processing/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x68k/x68k/kgdb_stub.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/x68k/x68k/kgdb_stub.c
diff -u src/sys/arch/x68k/x68k/kgdb_stub.c:1.18 src/sys/arch/x68k/x68k/kgdb_stub.c:1.19
--- src/sys/arch/x68k/x68k/kgdb_stub.c:1.18	Fri Nov 27 03:23:15 2009
+++ src/sys/arch/x68k/x68k/kgdb_stub.c	Wed Nov 10 16:40:55 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: kgdb_stub.c,v 1.18 2009/11/27 03:23:15 rmind Exp $	*/
+/*	$NetBSD: kgdb_stub.c,v 1.19 2021/11/10 16:40:55 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 1990, 1993
@@ -45,13 +45,13 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.18 2009/11/27 03:23:15 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.19 2021/11/10 16:40:55 msaitoh Exp $");
 
 #include "opt_kgdb.h"
 
 #ifdef KGDB
 #ifndef lint
-static char rcsid[] = "$NetBSD: kgdb_stub.c,v 1.18 2009/11/27 03:23:15 rmind Exp $";
+static char rcsid[] = "$NetBSD: kgdb_stub.c,v 1.19 2021/11/10 16:40:55 msaitoh Exp $";
 #endif
 
 #include 
@@ -314,7 +314,7 @@ static u_char inbuffer[SL_RPCSIZE+1];
 static u_char outbuffer[SL_RPCSIZE];
 
 /*
- * This function does all command procesing for interfacing to
+ * This function does all command processing for interfacing to
  * a remote gdb.
  */
 int



CVS commit: src/sys/arch/x68k/x68k

2021-11-10 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Nov 10 16:40:55 UTC 2021

Modified Files:
src/sys/arch/x68k/x68k: kgdb_stub.c

Log Message:
s/procesing/processing/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x68k/x68k/kgdb_stub.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.