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