1*4965d1a4Smpi /* $OpenBSD: intr.h,v 1.10 2018/01/13 15:18:11 mpi Exp $ */ 202b01b5eSaoyama /* 302b01b5eSaoyama * Copyright (C) 2000 Steve Murphree, Jr. 402b01b5eSaoyama * All rights reserved. 502b01b5eSaoyama * 602b01b5eSaoyama * Redistribution and use in source and binary forms, with or without 702b01b5eSaoyama * modification, are permitted provided that the following conditions 802b01b5eSaoyama * are met: 902b01b5eSaoyama * 1. Redistributions of source code must retain the above copyright 1002b01b5eSaoyama * notice, this list of conditions and the following disclaimer. 1102b01b5eSaoyama * 2. Redistributions in binary form must reproduce the above copyright 1202b01b5eSaoyama * notice, this list of conditions and the following disclaimer in the 1302b01b5eSaoyama * documentation and/or other materials provided with the distribution. 1402b01b5eSaoyama * 3. The name of the author may not be used to endorse or promote products 1502b01b5eSaoyama * derived from this software without specific prior written permission. 1602b01b5eSaoyama * 1702b01b5eSaoyama * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1802b01b5eSaoyama * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1902b01b5eSaoyama * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2002b01b5eSaoyama * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 2102b01b5eSaoyama * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2202b01b5eSaoyama * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2302b01b5eSaoyama * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2402b01b5eSaoyama * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2502b01b5eSaoyama * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2602b01b5eSaoyama * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2702b01b5eSaoyama */ 2802b01b5eSaoyama 292fa72412Spirofti #ifndef _MACHINE_INTR_H_ 302fa72412Spirofti #define _MACHINE_INTR_H_ 313180e169Smiod 3202b01b5eSaoyama /* 3302b01b5eSaoyama * IPL levels. 3402b01b5eSaoyama */ 3502b01b5eSaoyama 3602b01b5eSaoyama #define IPL_NONE 0 37d5f250e9Smiod #define IPL_SOFTINT 1 3802b01b5eSaoyama #define IPL_BIO 3 3909871713Saoyama #define IPL_AUDIO 4 4002b01b5eSaoyama #define IPL_NET 4 4102b01b5eSaoyama #define IPL_TTY 5 4202b01b5eSaoyama #define IPL_VM 5 4302b01b5eSaoyama #define IPL_CLOCK 6 4402b01b5eSaoyama #define IPL_STATCLOCK 6 45950e9750Smiod #define IPL_SCHED 6 4602b01b5eSaoyama #define IPL_HIGH 7 4702b01b5eSaoyama #define IPL_NMI 7 4802b01b5eSaoyama #define IPL_ABORT 7 4902b01b5eSaoyama 50*4965d1a4Smpi #define IPL_MPFLOOR IPL_TTY 510098e72bSaoyama #define IPL_MPSAFE 0 /* no "mpsafe" interrupts */ 520098e72bSaoyama 533180e169Smiod #include <m88k/intr.h> 5402b01b5eSaoyama 552fa72412Spirofti #endif /* _MACHINE_INTR_H_ */ 56