xref: /netbsd-src/sys/arch/sun68k/include/vectors.h (revision 44ce13b2c4665234fd2e3670e5cff2eab40c6199)
1*44ce13b2Sthorpej /*	$NetBSD: vectors.h,v 1.2 2024/01/14 22:34:54 thorpej Exp $	*/
21acb62a3Sthorpej 
31acb62a3Sthorpej /*-
41acb62a3Sthorpej  * Copyright (c) 1996, 2024 The NetBSD Foundation, Inc.
51acb62a3Sthorpej  * All rights reserved.
61acb62a3Sthorpej  *
71acb62a3Sthorpej  * This code is derived from software contributed to The NetBSD Foundation
81acb62a3Sthorpej  * by Adam Glass and Gordon W. Ross, and by Jason R. Thorpe.
91acb62a3Sthorpej  *
101acb62a3Sthorpej  * Redistribution and use in source and binary forms, with or without
111acb62a3Sthorpej  * modification, are permitted provided that the following conditions
121acb62a3Sthorpej  * are met:
131acb62a3Sthorpej  * 1. Redistributions of source code must retain the above copyright
141acb62a3Sthorpej  *    notice, this list of conditions and the following disclaimer.
151acb62a3Sthorpej  * 2. Redistributions in binary form must reproduce the above copyright
161acb62a3Sthorpej  *    notice, this list of conditions and the following disclaimer in the
171acb62a3Sthorpej  *    documentation and/or other materials provided with the distribution.
181acb62a3Sthorpej  *
191acb62a3Sthorpej  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
201acb62a3Sthorpej  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
211acb62a3Sthorpej  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
221acb62a3Sthorpej  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
231acb62a3Sthorpej  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
241acb62a3Sthorpej  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
251acb62a3Sthorpej  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
261acb62a3Sthorpej  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
271acb62a3Sthorpej  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
281acb62a3Sthorpej  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
291acb62a3Sthorpej  * POSSIBILITY OF SUCH DAMAGE.
301acb62a3Sthorpej  */
311acb62a3Sthorpej 
321acb62a3Sthorpej #ifndef _SUN68K_VECTORS_H_
331acb62a3Sthorpej #define	_SUN68K_VECTORS_H_
341acb62a3Sthorpej 
351acb62a3Sthorpej #ifdef _KERNEL
361acb62a3Sthorpej 
371acb62a3Sthorpej #include <m68k/vectors.h>
381acb62a3Sthorpej 
391acb62a3Sthorpej #define	MACHINE_RESET_SP	(void *)0xfffe000
401acb62a3Sthorpej #define	MACHINE_RESET_PC	(void *)0xfef0000
411acb62a3Sthorpej 
421acb62a3Sthorpej #define	MACHINE_BUSERR_HANDLER	buserr
431acb62a3Sthorpej #define	MACHINE_ADDRERR_HANDLER	addrerr
441acb62a3Sthorpej 
45*44ce13b2Sthorpej #define	MACHINE_AV0_HANDLER	intrstub_autovec
46*44ce13b2Sthorpej #define	MACHINE_AV1_HANDLER	intrstub_autovec
47*44ce13b2Sthorpej #define	MACHINE_AV2_HANDLER	intrstub_autovec
48*44ce13b2Sthorpej #define	MACHINE_AV3_HANDLER	intrstub_autovec
49*44ce13b2Sthorpej #define	MACHINE_AV4_HANDLER	intrstub_autovec
50*44ce13b2Sthorpej #define	MACHINE_AV5_HANDLER	intrstub_autovec
51*44ce13b2Sthorpej #define	MACHINE_AV6_HANDLER	intrstub_autovec
52*44ce13b2Sthorpej #define	MACHINE_AV7_HANDLER	intrstub_autovec
531acb62a3Sthorpej 
541acb62a3Sthorpej #endif /* _KERNEL */
551acb62a3Sthorpej 
561acb62a3Sthorpej #endif /* _SUN68K_VECTORS_H_ */
57