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

2024-05-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Mon May 13 00:08:49 UTC 2024

Modified Files:
src/sys/arch/hp300/include: hp300spu.h

Log Message:
s/combindations/combinations/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/hp300/include/hp300spu.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/hp300/include/hp300spu.h
diff -u src/sys/arch/hp300/include/hp300spu.h:1.16 src/sys/arch/hp300/include/hp300spu.h:1.17
--- src/sys/arch/hp300/include/hp300spu.h:1.16	Thu Jan 18 14:39:06 2024
+++ src/sys/arch/hp300/include/hp300spu.h	Mon May 13 00:08:49 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: hp300spu.h,v 1.16 2024/01/18 14:39:06 thorpej Exp $	*/
+/*	$NetBSD: hp300spu.h,v 1.17 2024/05/13 00:08:49 msaitoh Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@ extern	int mmuid;		/* MMU id */
 
 /*
  * This section associates hp300 model configurations with certain
- * combindations of CPU, MMU, and cache.
+ * combinations of CPU, MMU, and cache.
  */
 
 /*



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

2024-05-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Mon May 13 00:08:49 UTC 2024

Modified Files:
src/sys/arch/hp300/include: hp300spu.h

Log Message:
s/combindations/combinations/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/hp300/include/hp300spu.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/hp300/include

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

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

Log Message:
hp300/intr.h: Put most of this under #ifdef _KERNEL.

Only ipl_cookie_t really needs to be exposed now, for crash(8).


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/hp300/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/hp300/include

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

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

Log Message:
hp300/intr.h: Put most of this under #ifdef _KERNEL.

Only ipl_cookie_t really needs to be exposed now, for crash(8).


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/hp300/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/hp300/include/intr.h
diff -u src/sys/arch/hp300/include/intr.h:1.35 src/sys/arch/hp300/include/intr.h:1.36
--- src/sys/arch/hp300/include/intr.h:1.35	Tue Jul 11 10:42:26 2023
+++ src/sys/arch/hp300/include/intr.h	Tue Jul 11 17:54:54 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.h,v 1.35 2023/07/11 10:42:26 riastradh Exp $	*/
+/*	$NetBSD: intr.h,v 1.36 2023/07/11 17:54:54 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1999 The NetBSD Foundation, Inc.
@@ -82,6 +82,8 @@ typedef struct {
 	uint16_t _psl;
 } ipl_cookie_t;
 
+#ifdef _KERNEL
+
 static inline ipl_cookie_t
 makeiplcookie(ipl_t ipl)
 {
@@ -137,4 +139,6 @@ void	*intr_establish(int (*)(void *), vo
 void	intr_disestablish(void *);
 void	intr_dispatch(int);
 
+#endif	/* _KERNEL */
+
 #endif /* _HP300_INTR_H_ */



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

2023-07-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul 11 10:42:26 UTC 2023

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

Log Message:
hp300/intr.h: Fix missing includes.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/hp300/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/hp300/include/intr.h
diff -u src/sys/arch/hp300/include/intr.h:1.34 src/sys/arch/hp300/include/intr.h:1.35
--- src/sys/arch/hp300/include/intr.h:1.34	Sun Mar  6 14:51:22 2011
+++ src/sys/arch/hp300/include/intr.h	Tue Jul 11 10:42:26 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.h,v 1.34 2011/03/06 14:51:22 tsutsui Exp $	*/
+/*	$NetBSD: intr.h,v 1.35 2023/07/11 10:42:26 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1999 The NetBSD Foundation, Inc.
@@ -32,8 +32,12 @@
 #ifndef _HP300_INTR_H_
 #define	_HP300_INTR_H_
 
+#include 
+
 #include 
 #include 
+#include 
+
 #include 
 
 /*



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

2023-07-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul 11 10:42:26 UTC 2023

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

Log Message:
hp300/intr.h: Fix missing includes.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/hp300/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/hp300/include

2023-01-27 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Jan 27 19:48:00 UTC 2023

Modified Files:
src/sys/arch/hp300/include: bus.h

Log Message:
hp300: Specify proper constraints for bus_space_read region and multi ops.

Synk with next68k.
Also use consistent register name constrains, i.e. no '%' prefix.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/hp300/include/bus.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/hp300/include/bus.h
diff -u src/sys/arch/hp300/include/bus.h:1.23 src/sys/arch/hp300/include/bus.h:1.24
--- src/sys/arch/hp300/include/bus.h:1.23	Sun Jan 15 06:19:46 2023
+++ src/sys/arch/hp300/include/bus.h	Fri Jan 27 19:48:00 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: bus.h,v 1.23 2023/01/15 06:19:46 tsutsui Exp $	*/
+/*	$NetBSD: bus.h,v 1.24 2023/01/27 19:48:00 tsutsui Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -280,7 +280,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0","memory");			\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -298,7 +298,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0","memory");			\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -315,7 +315,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0","memory");			\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -343,7 +343,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0","memory");			\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -361,7 +361,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0","memory");			\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -379,7 +379,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0","memory");			\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -439,7 +439,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0");\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -457,7 +457,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0");\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -476,7 +476,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0");\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -503,7 +503,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0");\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -521,7 +521,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0");\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -539,7 +539,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (a), "g" (c)	:	\
-			"%a0","%a1","%d0");\
+			"a0","a1","d0");\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -566,7 +566,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (val), "g" (c)	:	\
-			"%a0","%d0","%d1");\
+			"a0","d0","d1");\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -584,7 +584,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (val), "g" (c)	:	\
-			"%a0","%d0","%d1");\
+			"a0","d0","d1");\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -602,7 +602,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (val), "g" (c)	:	\
-			"%a0","%d0","%d1");\
+			"a0","d0","d1");\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -629,7 +629,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (val), "g" (c)	:	\
-			"%a0","%d0","%d1");\
+			"a0","d0","d1");\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -647,7 +647,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (val), "g" (c)	:	\
-			"%a0","%d0","%d1");\
+			"a0","d0","d1");\
 	}\
 } while (/* CONSTCOND */ 0)
 
@@ -666,7 +666,7 @@ do {	\
 			jne	1b":	\
 :	\
 			"r" ((h) + (o)), "g" (val), "g" (c)	:	\
-			"%a0","%d0","%d1");\
+			"a0","d0","d1");\
 	}	

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

2023-01-27 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Jan 27 19:48:00 UTC 2023

Modified Files:
src/sys/arch/hp300/include: bus.h

Log Message:
hp300: Specify proper constraints for bus_space_read region and multi ops.

Synk with next68k.
Also use consistent register name constrains, i.e. no '%' prefix.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/hp300/include/bus.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/hp300/include

2009-12-31 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Dec 31 15:42:46 UTC 2009

Modified Files:
src/sys/arch/hp300/include: disklabel.h

Log Message:
Don't use DEV_BSIZE for LABELSECTOR.
We have never supported 256byte/sector media, and
current definition won't work on >512byte/sector media.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hp300/include/disklabel.h

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