xref: /netbsd-src/sys/arch/hp300/include/vectors.h (revision 8179ecca63a8f06c6d66c322f6c56e551bee66e2)
1*8179eccaSthorpej /*	$NetBSD: vectors.h,v 1.2 2024/01/16 03:44:44 thorpej Exp $	*/
28a29d477Sthorpej 
38a29d477Sthorpej /*-
48a29d477Sthorpej  * Copyright (c) 2024 The NetBSD Foundation, Inc.
58a29d477Sthorpej  * All rights reserved.
68a29d477Sthorpej  *
78a29d477Sthorpej  * This code is derived from software contributed to The NetBSD Foundation
88a29d477Sthorpej  * by Jason R. Thorpe.
98a29d477Sthorpej  *
108a29d477Sthorpej  * Redistribution and use in source and binary forms, with or without
118a29d477Sthorpej  * modification, are permitted provided that the following conditions
128a29d477Sthorpej  * are met:
138a29d477Sthorpej  * 1. Redistributions of source code must retain the above copyright
148a29d477Sthorpej  *    notice, this list of conditions and the following disclaimer.
158a29d477Sthorpej  * 2. Redistributions in binary form must reproduce the above copyright
168a29d477Sthorpej  *    notice, this list of conditions and the following disclaimer in the
178a29d477Sthorpej  *    documentation and/or other materials provided with the distribution.
188a29d477Sthorpej  *
198a29d477Sthorpej  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
208a29d477Sthorpej  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
218a29d477Sthorpej  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
228a29d477Sthorpej  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
238a29d477Sthorpej  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
248a29d477Sthorpej  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
258a29d477Sthorpej  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
268a29d477Sthorpej  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
278a29d477Sthorpej  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
288a29d477Sthorpej  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
298a29d477Sthorpej  * POSSIBILITY OF SUCH DAMAGE.
308a29d477Sthorpej  */
318a29d477Sthorpej 
328a29d477Sthorpej #ifndef _HP300_VECTORS_H_
338a29d477Sthorpej #define	_HP300_VECTORS_H_
348a29d477Sthorpej 
358a29d477Sthorpej #ifdef _KERNEL
368a29d477Sthorpej 
378a29d477Sthorpej #include <m68k/vectors.h>
388a29d477Sthorpej 
39*8179eccaSthorpej #define	MACHINE_AV0_HANDLER	intrstub_autovec
40*8179eccaSthorpej #define	MACHINE_AV1_HANDLER	intrstub_autovec
41*8179eccaSthorpej #define	MACHINE_AV2_HANDLER	intrstub_autovec
42*8179eccaSthorpej #define	MACHINE_AV3_HANDLER	intrstub_autovec
43*8179eccaSthorpej #define	MACHINE_AV4_HANDLER	intrstub_autovec
44*8179eccaSthorpej #define	MACHINE_AV5_HANDLER	intrstub_autovec
458a29d477Sthorpej #define	MACHINE_AV6_HANDLER	lev6intr
468a29d477Sthorpej #define	MACHINE_AV7_HANDLER	lev7intr
478a29d477Sthorpej 
488a29d477Sthorpej #endif /* _KERNEL */
498a29d477Sthorpej 
508a29d477Sthorpej #endif /* _HP300_VECTORS_H_ */
51