Module Name:    src
Committed By:   thorpej
Date:           Sun Jan 14 00:00:15 UTC 2024

Modified Files:
        src/sys/arch/m68k/include: vectors.h

Log Message:
Provide NAUTOVECTORS and NUSERVECTORS constants.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/m68k/include/vectors.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/m68k/include/vectors.h
diff -u src/sys/arch/m68k/include/vectors.h:1.3 src/sys/arch/m68k/include/vectors.h:1.4
--- src/sys/arch/m68k/include/vectors.h:1.3	Sat Jan 13 20:10:36 2024
+++ src/sys/arch/m68k/include/vectors.h	Sun Jan 14 00:00:15 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: vectors.h,v 1.3 2024/01/13 20:10:36 thorpej Exp $	*/
+/*	$NetBSD: vectors.h,v 1.4 2024/01/14 00:00:15 thorpej Exp $	*/
 
 /*-
  * Copyright (c) 2024 The NetBSD Foundation, Inc.
@@ -115,6 +115,8 @@
 #define	VECI_USRVEC_START	64	/* User defined vectors (192) */
 
 #define	NVECTORS		256
+#define	NAUTOVECTORS		8
+#define	NUSERVECTORS		(NVECTORS - VECI_USRVEC_START)
 
 #define	VECI_INTRAV(ipl)	((ipl) + VECI_SPURIOUS_INTR)
 #define	VECI_TRAP(x)		((x) + VECI_TRAP0)

Reply via email to