intr.h revision 1.30
11.30Sthorpej/*	$NetBSD: intr.h,v 1.30 2024/01/15 20:21:50 thorpej Exp $	*/
21.1Stsutsui
31.21Stsutsui/*-
41.29Sthorpej * Copyright (c) 2024 The NetBSD Foundation, Inc.
51.1Stsutsui * All rights reserved.
61.1Stsutsui *
71.1Stsutsui * This code is derived from software contributed to The NetBSD Foundation
81.29Sthorpej * by Jason R. Thorpe.
91.1Stsutsui *
101.1Stsutsui * Redistribution and use in source and binary forms, with or without
111.1Stsutsui * modification, are permitted provided that the following conditions
121.1Stsutsui * are met:
131.1Stsutsui * 1. Redistributions of source code must retain the above copyright
141.1Stsutsui *    notice, this list of conditions and the following disclaimer.
151.1Stsutsui * 2. Redistributions in binary form must reproduce the above copyright
161.1Stsutsui *    notice, this list of conditions and the following disclaimer in the
171.1Stsutsui *    documentation and/or other materials provided with the distribution.
181.1Stsutsui *
191.21Stsutsui * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
201.21Stsutsui * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
211.21Stsutsui * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
221.21Stsutsui * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
231.21Stsutsui * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
241.21Stsutsui * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
251.21Stsutsui * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
261.21Stsutsui * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
271.21Stsutsui * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
281.21Stsutsui * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
291.21Stsutsui * POSSIBILITY OF SUCH DAMAGE.
301.1Stsutsui */
311.1Stsutsui
321.1Stsutsui#ifndef _NEWS68K_INTR_H_
331.29Sthorpej#define _NEWS68K_INTR_H_
341.1Stsutsui
351.29Sthorpej#include <m68k/psl.h>
361.28Sriastrad
371.29Sthorpej#define	MACHINE_PSL_IPL_SOFTCLOCK	PSL_IPL2
381.29Sthorpej#define	MACHINE_PSL_IPL_SOFTBIO		PSL_IPL2
391.29Sthorpej#define	MACHINE_PSL_IPL_SOFTNET		PSL_IPL2
401.29Sthorpej#define	MACHINE_PSL_IPL_SOFTSERIAL	PSL_IPL2
411.29Sthorpej#define	MACHINE_PSL_IPL_VM		PSL_IPL5
421.29Sthorpej#define	MACHINE_PSL_IPL_SCHED		PSL_IPL7
431.28Sriastrad
441.30Sthorpej#define	MACHINE_INTREVCNT_NAMES						\
451.30Sthorpej	{ "spur", "AST", "softint", "lev3", "lev4", "lev5", "clock", "nmi" }
461.30Sthorpej
471.29Sthorpej#include <m68k/intr.h>
481.28Sriastrad
491.29Sthorpej#endif	/* _NEWS68K_INTR_H_ */
50