Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Define __HAVE_LEGACY_INTRCNT to indicate this port ...



details:   https://anonhg.NetBSD.org/src/rev/bae95b9ab9c5
branches:  trunk
changeset: 982106:bae95b9ab9c5
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Apr 01 04:42:59 2021 +0000

description:
Define __HAVE_LEGACY_INTRCNT to indicate this port uses legacy intrcnt
interrupt accounting.

diffstat:

 sys/arch/amiga/include/types.h    |  3 ++-
 sys/arch/atari/include/types.h    |  5 +++--
 sys/arch/bebox/include/types.h    |  4 +++-
 sys/arch/cesfic/include/types.h   |  4 +++-
 sys/arch/luna68k/include/types.h  |  4 +++-
 sys/arch/mac68k/include/types.h   |  4 +++-
 sys/arch/mvme68k/include/types.h  |  3 ++-
 sys/arch/mvmeppc/include/types.h  |  5 +++--
 sys/arch/news68k/include/types.h  |  4 +++-
 sys/arch/newsmips/include/types.h |  4 +++-
 sys/arch/next68k/include/types.h  |  4 +++-
 sys/arch/sun2/include/types.h     |  8 +++++---
 sys/arch/sun3/include/types.h     |  5 +++--
 sys/arch/x68k/include/types.h     |  3 ++-
 14 files changed, 41 insertions(+), 19 deletions(-)

diffs (201 lines):

diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/amiga/include/types.h
--- a/sys/arch/amiga/include/types.h    Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/amiga/include/types.h    Thu Apr 01 04:42:59 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.23 2011/06/12 03:35:39 rmind Exp $ */
+/*     $NetBSD: types.h,v 1.24 2021/04/01 04:42:59 simonb Exp $        */
 
 #ifndef _MACHINE_TYPES_H_
 #define        _MACHINE_TYPES_H_
@@ -6,6 +6,7 @@
 #include <m68k/types.h>
 
 #define        __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS
+#define        __HAVE_LEGACY_INTRCNT
 #define        __HAVE_MM_MD_READWRITE
 
 #endif
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/atari/include/types.h
--- a/sys/arch/atari/include/types.h    Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/atari/include/types.h    Thu Apr 01 04:42:59 2021 +0000
@@ -1,12 +1,13 @@
-/*     $NetBSD: types.h,v 1.18 2021/04/01 04:35:45 simonb Exp $        */
+/*     $NetBSD: types.h,v 1.19 2021/04/01 04:42:59 simonb Exp $        */
 
 #ifndef _MACHINE_TYPES_H_
 #define        _MACHINE_TYPES_H_
 
 #include <m68k/types.h>
 
+#define        __HAVE_BUS_SPACE_8
+#define        __HAVE_LEGACY_INTRCNT
 #define        __HAVE_MM_MD_READWRITE
 #define        __HAVE_NEW_STYLE_BUS_H
-#define        __HAVE_BUS_SPACE_8
 
 #endif
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/bebox/include/types.h
--- a/sys/arch/bebox/include/types.h    Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/bebox/include/types.h    Thu Apr 01 04:42:59 2021 +0000
@@ -1,5 +1,7 @@
-/*     $NetBSD: types.h,v 1.13 2021/04/01 04:35:45 simonb Exp $        */
+/*     $NetBSD: types.h,v 1.14 2021/04/01 04:43:00 simonb Exp $        */
 
 #define        __HAVE_NEW_STYLE_BUS_H
 
 #include <powerpc/types.h>
+
+#define        __HAVE_LEGACY_INTRCNT
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/cesfic/include/types.h
--- a/sys/arch/cesfic/include/types.h   Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/cesfic/include/types.h   Thu Apr 01 04:42:59 2021 +0000
@@ -1,3 +1,5 @@
-/* $NetBSD: types.h,v 1.6 2008/01/20 18:09:05 joerg Exp $ */
+/* $NetBSD: types.h,v 1.7 2021/04/01 04:43:00 simonb Exp $ */
 
 #include <m68k/types.h>
+
+#define        __HAVE_LEGACY_INTRCNT
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/luna68k/include/types.h
--- a/sys/arch/luna68k/include/types.h  Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/luna68k/include/types.h  Thu Apr 01 04:42:59 2021 +0000
@@ -1,8 +1,10 @@
-/*     $NetBSD: types.h,v 1.7 2008/01/20 18:09:07 joerg Exp $  */
+/*     $NetBSD: types.h,v 1.8 2021/04/01 04:43:00 simonb Exp $ */
 
 #ifndef _MACHINE_TYPES_H_
 #define        _MACHINE_TYPES_H_
 
 #include <m68k/types.h>
 
+#define        __HAVE_LEGACY_INTRCNT
+
 #endif
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/mac68k/include/types.h
--- a/sys/arch/mac68k/include/types.h   Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/mac68k/include/types.h   Thu Apr 01 04:42:59 2021 +0000
@@ -1,8 +1,10 @@
-/*     $NetBSD: types.h,v 1.20 2008/01/20 18:09:07 joerg Exp $ */
+/*     $NetBSD: types.h,v 1.21 2021/04/01 04:43:00 simonb Exp $        */
 
 #ifndef _TYPES_MACHINE_
 #define        _TYPES_MACHINE_
 
 #include <m68k/types.h>
 
+#define        __HAVE_LEGACY_INTRCNT
+
 #endif /* _TYPES_MACHINE_ */
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/mvme68k/include/types.h
--- a/sys/arch/mvme68k/include/types.h  Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/mvme68k/include/types.h  Thu Apr 01 04:42:59 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.14 2008/01/20 18:09:07 joerg Exp $ */
+/*     $NetBSD: types.h,v 1.15 2021/04/01 04:43:00 simonb Exp $        */
 
 #ifndef _MACHINE_TYPES_H_
 #define        _MACHINE_TYPES_H_
@@ -6,5 +6,6 @@
 #include <m68k/types.h>
 
 #define        __HAVE_DEVICE_REGISTER
+#define        __HAVE_LEGACY_INTRCNT
 
 #endif
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/mvmeppc/include/types.h
--- a/sys/arch/mvmeppc/include/types.h  Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/mvmeppc/include/types.h  Thu Apr 01 04:42:59 2021 +0000
@@ -1,5 +1,6 @@
-/*     $NetBSD: types.h,v 1.9 2021/04/01 04:35:46 simonb Exp $ */
+/*     $NetBSD: types.h,v 1.10 2021/04/01 04:43:00 simonb Exp $        */
 
 #include <powerpc/types.h>
 
-#define        __HAVE_NEW_STYLE_BUS_H
+#define        __HAVE_LEGACY_INTRCNT
+#define __HAVE_NEW_STYLE_BUS_H
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/news68k/include/types.h
--- a/sys/arch/news68k/include/types.h  Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/news68k/include/types.h  Thu Apr 01 04:42:59 2021 +0000
@@ -1,4 +1,6 @@
-/*     $NetBSD: types.h,v 1.12 2011/06/12 03:35:44 rmind Exp $ */
+/*     $NetBSD: types.h,v 1.13 2021/04/01 04:43:00 simonb Exp $        */
 
 #include <m68k/types.h>
+
+#define        __HAVE_LEGACY_INTRCNT
 #define        __HAVE_MM_MD_KERNACC
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/newsmips/include/types.h
--- a/sys/arch/newsmips/include/types.h Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/newsmips/include/types.h Thu Apr 01 04:42:59 2021 +0000
@@ -1,7 +1,9 @@
-/*     $NetBSD: types.h,v 1.12 2008/01/20 18:09:08 joerg Exp $ */
+/*     $NetBSD: types.h,v 1.13 2021/04/01 04:43:00 simonb Exp $        */
 
 #include <mips/types.h>
 
 /* MIPS specific options */
+
 #define        __HAVE_BOOTINFO_H
+#define        __HAVE_LEGACY_INTRCNT
 #define        __HAVE_MIPS_MACHDEP_CACHE_CONFIG
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/next68k/include/types.h
--- a/sys/arch/next68k/include/types.h  Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/next68k/include/types.h  Thu Apr 01 04:42:59 2021 +0000
@@ -1,3 +1,5 @@
-/*     $NetBSD: types.h,v 1.6 2008/01/20 18:09:08 joerg Exp $  */
+/*     $NetBSD: types.h,v 1.7 2021/04/01 04:43:00 simonb Exp $ */
 
 #include <m68k/types.h>
+
+#define        __HAVE_LEGACY_INTRCNT
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/sun2/include/types.h
--- a/sys/arch/sun2/include/types.h     Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/sun2/include/types.h     Thu Apr 01 04:42:59 2021 +0000
@@ -1,9 +1,11 @@
-/*     $NetBSD: types.h,v 1.13 2021/04/01 04:35:47 simonb Exp $        */
+/*     $NetBSD: types.h,v 1.14 2021/04/01 04:43:01 simonb Exp $        */
 
 #include <m68k/types.h>
-#define        __HAVE_MM_MD_KERNACC
+
+#define        __HAVE_LEGACY_INTRCNT
 #define        __HAVE_MM_MD_DIRECT_MAPPED_PHYS
+#define        __HAVE_MM_MD_KERNACC
+#define        __HAVE_MM_MD_MMAP
 #define        __HAVE_MM_MD_READWRITE
-#define        __HAVE_MM_MD_MMAP
 #define        __HAVE_NO___THREAD
 #define        __HAVE_NO_PMAP_STATS
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/sun3/include/types.h
--- a/sys/arch/sun3/include/types.h     Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/sun3/include/types.h     Thu Apr 01 04:42:59 2021 +0000
@@ -1,9 +1,10 @@
-/*     $NetBSD: types.h,v 1.21 2021/04/01 04:35:47 simonb Exp $        */
+/*     $NetBSD: types.h,v 1.22 2021/04/01 04:43:01 simonb Exp $        */
 
 #include <m68k/types.h>
 
+#define        __HAVE_LEGACY_INTRCNT
+#define        __HAVE_MM_MD_DIRECT_MAPPED_PHYS
 #define        __HAVE_MM_MD_KERNACC
-#define        __HAVE_MM_MD_DIRECT_MAPPED_PHYS
 #define        __HAVE_MM_MD_MMAP
 #define        __HAVE_MM_MD_READWRITE
 #define        __HAVE_NO_PMAP_STATS
diff -r 8aa22a4854f8 -r bae95b9ab9c5 sys/arch/x68k/include/types.h
--- a/sys/arch/x68k/include/types.h     Thu Apr 01 04:41:38 2021 +0000
+++ b/sys/arch/x68k/include/types.h     Thu Apr 01 04:42:59 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.15 2008/01/20 18:09:10 joerg Exp $ */
+/*     $NetBSD: types.h,v 1.16 2021/04/01 04:43:01 simonb Exp $        */
 
 #ifndef _MACHINE_TYPES_H_
 #define        _MACHINE_TYPES_H_
@@ -6,5 +6,6 @@
 #include <m68k/types.h>
 
 #define        __HAVE_DEVICE_REGISTER
+#define        __HAVE_LEGACY_INTRCNT
 
 #endif



Home | Main Index | Thread Index | Old Index