CVS commit: src/sys/arch/mac68k/include

2023-07-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul 11 17:55:04 UTC 2023

Modified Files:
src/sys/arch/mac68k/include: intr.h

Log Message:
mac68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/mac68k/include/intr.h

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/mac68k/include/intr.h
diff -u src/sys/arch/mac68k/include/intr.h:1.31 src/sys/arch/mac68k/include/intr.h:1.32
--- src/sys/arch/mac68k/include/intr.h:1.31	Thu Jul 17 16:13:33 2008
+++ src/sys/arch/mac68k/include/intr.h	Tue Jul 11 17:55:04 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.h,v 1.31 2008/07/17 16:13:33 tsutsui Exp $	*/
+/*	$NetBSD: intr.h,v 1.32 2023/07/11 17:55:04 riastradh Exp $	*/
 
 /*
  * Copyright (C) 1997 Scott Reynolds
@@ -32,6 +32,12 @@
 
 #include 
 
+#if defined(_KERNEL) || defined(_KMEMUSER)
+typedef struct {
+	uint16_t _ipl;
+} ipl_cookie_t;
+#endif
+
 #ifdef _KERNEL
 
 /* spl0 requires checking for software interrupts */
@@ -66,9 +72,6 @@ extern uint16_t ipl2psl_table[NIPL];
 
 
 typedef int ipl_t;
-typedef struct {
-	uint16_t _ipl;
-} ipl_cookie_t;
 
 static inline ipl_cookie_t
 makeiplcookie(ipl_t ipl)



CVS commit: src/sys/arch/mac68k/include

2023-07-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul 11 17:55:04 UTC 2023

Modified Files:
src/sys/arch/mac68k/include: intr.h

Log Message:
mac68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/mac68k/include/intr.h

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



CVS commit: src/sys/arch/mac68k/include

2019-06-06 Thread John Klos
Module Name:src
Committed By:   jklos
Date:   Thu Jun  6 20:42:33 UTC 2019

Modified Files:
src/sys/arch/mac68k/include: param.h

Log Message:
As per port-m68k/54254 and a few months of testing, mac68k will switch
to 8KB pages. OK with hauke@, rjs@ and tsutsui@.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/mac68k/include/param.h

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/mac68k/include/param.h
diff -u src/sys/arch/mac68k/include/param.h:1.45 src/sys/arch/mac68k/include/param.h:1.46
--- src/sys/arch/mac68k/include/param.h:1.45	Fri Feb 10 17:35:48 2012
+++ src/sys/arch/mac68k/include/param.h	Thu Jun  6 20:42:33 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: param.h,v 1.45 2012/02/10 17:35:48 para Exp $	*/
+/*	$NetBSD: param.h,v 1.46 2019/06/06 20:42:33 jklos Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -87,7 +87,7 @@
  */
 #include 
 
-#define	PGSHIFT		12		/* LOG2(NBPG) */
+#define	PGSHIFT		13		/* LOG2(NBPG) */
 #define	KERNBASE	0x	/* start of kernel virtual */
 
 #define	UPAGES		3  		/* pages of u-area */



CVS commit: src/sys/arch/mac68k/include

2019-06-06 Thread John Klos
Module Name:src
Committed By:   jklos
Date:   Thu Jun  6 20:42:33 UTC 2019

Modified Files:
src/sys/arch/mac68k/include: param.h

Log Message:
As per port-m68k/54254 and a few months of testing, mac68k will switch
to 8KB pages. OK with hauke@, rjs@ and tsutsui@.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/mac68k/include/param.h

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