xref: /netbsd-src/sys/arch/luna68k/include/vectors.h (revision a655c85ae578e73d827259478b623cc23789330e)
1*a655c85aSthorpej /*	$NetBSD: vectors.h,v 1.3 2024/01/15 19:30:14 thorpej Exp $	*/
2a121f918Sthorpej 
3a121f918Sthorpej /*-
4a121f918Sthorpej  * Copyright (c) 2024 The NetBSD Foundation, Inc.
5a121f918Sthorpej  * All rights reserved.
6a121f918Sthorpej  *
7a121f918Sthorpej  * This code is derived from software contributed to The NetBSD Foundation
8a121f918Sthorpej  * by Jason R. Thorpe.
9a121f918Sthorpej  *
10a121f918Sthorpej  * Redistribution and use in source and binary forms, with or without
11a121f918Sthorpej  * modification, are permitted provided that the following conditions
12a121f918Sthorpej  * are met:
13a121f918Sthorpej  * 1. Redistributions of source code must retain the above copyright
14a121f918Sthorpej  *    notice, this list of conditions and the following disclaimer.
15a121f918Sthorpej  * 2. Redistributions in binary form must reproduce the above copyright
16a121f918Sthorpej  *    notice, this list of conditions and the following disclaimer in the
17a121f918Sthorpej  *    documentation and/or other materials provided with the distribution.
18a121f918Sthorpej  *
19a121f918Sthorpej  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20a121f918Sthorpej  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21a121f918Sthorpej  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22a121f918Sthorpej  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23a121f918Sthorpej  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24a121f918Sthorpej  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25a121f918Sthorpej  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26a121f918Sthorpej  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27a121f918Sthorpej  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28a121f918Sthorpej  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29a121f918Sthorpej  * POSSIBILITY OF SUCH DAMAGE.
30a121f918Sthorpej  */
31a121f918Sthorpej 
32a121f918Sthorpej #ifndef _LUNA68K_VECTORS_H_
33a121f918Sthorpej #define	_LUNA68K_VECTORS_H_
34a121f918Sthorpej 
35a121f918Sthorpej #ifdef _KERNEL
36a121f918Sthorpej 
37a121f918Sthorpej #include <m68k/vectors.h>
38a121f918Sthorpej 
39*a655c85aSthorpej #define	MACHINE_AV0_HANDLER	intrstub_autovec
407dd1cbb7Sthorpej #define	MACHINE_AV1_HANDLER	intrstub_autovec
417dd1cbb7Sthorpej #define	MACHINE_AV2_HANDLER	intrstub_autovec
427dd1cbb7Sthorpej #define	MACHINE_AV3_HANDLER	intrstub_autovec
437dd1cbb7Sthorpej #define	MACHINE_AV4_HANDLER	intrstub_autovec
44a121f918Sthorpej #define	MACHINE_AV5_HANDLER	lev5intr
457dd1cbb7Sthorpej #define	MACHINE_AV6_HANDLER	intrstub_autovec
46a121f918Sthorpej #define	MACHINE_AV7_HANDLER	lev7intr
47a121f918Sthorpej 
48a121f918Sthorpej #endif /* _KERNEL */
49a121f918Sthorpej 
50a121f918Sthorpej #endif /* _LUNA68K_VECTORS_H_ */
51