11.18Sthorpej/* $NetBSD: intr.h,v 1.18 2024/01/19 03:09:04 thorpej Exp $ */ 21.2Skleink 31.16Sthorpej/*- 41.16Sthorpej * Copyright (c) 2024 The NetBSD Foundation, Inc. 51.16Sthorpej * All rights reserved. 61.3Sagc * 71.16Sthorpej * This code is derived from software contributed to The NetBSD Foundation 81.16Sthorpej * by Jason R. Thorpe. 91.3Sagc * 101.3Sagc * Redistribution and use in source and binary forms, with or without 111.3Sagc * modification, are permitted provided that the following conditions 121.3Sagc * are met: 131.3Sagc * 1. Redistributions of source code must retain the above copyright 141.3Sagc * notice, this list of conditions and the following disclaimer. 151.3Sagc * 2. Redistributions in binary form must reproduce the above copyright 161.3Sagc * notice, this list of conditions and the following disclaimer in the 171.3Sagc * documentation and/or other materials provided with the distribution. 181.3Sagc * 191.16Sthorpej * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 201.16Sthorpej * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 211.16Sthorpej * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 221.16Sthorpej * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 231.16Sthorpej * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 241.16Sthorpej * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 251.16Sthorpej * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 261.16Sthorpej * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 271.16Sthorpej * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 281.16Sthorpej * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 291.16Sthorpej * POSSIBILITY OF SUCH DAMAGE. 301.2Skleink */ 311.2Skleink 321.16Sthorpej#ifndef _LUNA68K_INTR_H_ 331.16Sthorpej#define _LUNA68K_INTR_H_ 341.14Sriastrad 351.18Sthorpej#ifdef _KERNEL 361.18Sthorpej 371.16Sthorpej#include <m68k/psl.h> 381.5Syamt 391.16Sthorpej#define MACHINE_PSL_IPL_SOFTCLOCK PSL_IPL1 401.16Sthorpej#define MACHINE_PSL_IPL_SOFTBIO PSL_IPL1 411.16Sthorpej#define MACHINE_PSL_IPL_SOFTNET PSL_IPL1 421.16Sthorpej#define MACHINE_PSL_IPL_SOFTSERIAL PSL_IPL1 431.16Sthorpej#define MACHINE_PSL_IPL_VM PSL_IPL4 441.16Sthorpej#define MACHINE_PSL_IPL_SCHED PSL_IPL6 451.7Stsutsui 461.17Sthorpej#define MACHINE_INTREVCNT_NAMES \ 471.17Sthorpej { "spur", "lev1", "lev2", "lev3", "lev4", "lev5", "clock", "nmi" } 481.17Sthorpej 491.18Sthorpej#endif /* _KERNEL */ 501.18Sthorpej 511.16Sthorpej#include <m68k/intr.h> 521.2Skleink 531.16Sthorpej#endif /* _LUNA68K_INTR_H */ 54