move the Interrput Priority Level (IPL_*) definitions into MD part.

This commit is contained in:
msaitoh 2000-04-13 15:36:09 +00:00
parent 934ac598d8
commit 9a41bed54e
3 changed files with 33 additions and 18 deletions

View File

@ -1,7 +1,22 @@
/* $NetBSD: intr.h,v 1.2 2000/02/24 19:01:26 msaitoh Exp $ */
/* $NetBSD: intr.h,v 1.3 2000/04/13 15:36:09 msaitoh Exp $ */
#ifndef _EVBSH3_INTR_H_
#define _EVBSH3_INTR_H_
/* Interrupt priority `levels'. */
#define IPL_NONE 9 /* nothing */
#define IPL_SOFTCLOCK 8 /* timeouts */
#define IPL_SOFTNET 7 /* protocol stacks */
#define IPL_BIO 6 /* block I/O */
#define IPL_NET 5 /* network */
#define IPL_SOFTSERIAL 4 /* serial */
#define IPL_TTY 3 /* terminal */
#define IPL_IMP 3 /* memory allocation */
#define IPL_AUDIO 2 /* audio */
#define IPL_CLOCK 1 /* clock */
#define IPL_HIGH 1 /* everything */
#define IPL_SERIAL 0 /* serial */
#define NIPL 10
#include <sh3/intr.h>
/* Soft interrupt masks. */

View File

@ -1,8 +1,23 @@
/* $NetBSD: intr.h,v 1.2 2000/02/24 19:01:25 msaitoh Exp $ */
/* $NetBSD: intr.h,v 1.3 2000/04/13 15:36:10 msaitoh Exp $ */
#ifndef _MMEYE_INTR_H_
#define _MMEYE_INTR_H_
/* Interrupt priority `levels'. */
#define IPL_NONE 9 /* nothing */
#define IPL_SOFTCLOCK 8 /* timeouts */
#define IPL_SOFTNET 7 /* protocol stacks */
#define IPL_BIO 6 /* block I/O */
#define IPL_NET 5 /* network */
#define IPL_SOFTSERIAL 4 /* serial */
#define IPL_TTY 3 /* terminal */
#define IPL_IMP 3 /* memory allocation */
#define IPL_AUDIO 2 /* audio */
#define IPL_CLOCK 1 /* clock */
#define IPL_HIGH 1 /* everything */
#define IPL_SERIAL 0 /* serial */
#define NIPL 10
#include <sh3/intr.h>
/* Soft interrupt masks. */

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.h,v 1.4 2000/02/24 19:01:24 msaitoh Exp $ */
/* $NetBSD: intr.h,v 1.5 2000/04/13 15:36:10 msaitoh Exp $ */
/*
* Copyright (c) 1996, 1997 Charles M. Hannum. All rights reserved.
@ -38,21 +38,6 @@
#ifndef _SH3_INTR_H_
#define _SH3_INTR_H_
/* Interrupt priority `levels'. */
#define IPL_NONE 9 /* nothing */
#define IPL_SOFTCLOCK 8 /* timeouts */
#define IPL_SOFTNET 7 /* protocol stacks */
#define IPL_BIO 6 /* block I/O */
#define IPL_NET 5 /* network */
#define IPL_SOFTSERIAL 4 /* serial */
#define IPL_TTY 3 /* terminal */
#define IPL_IMP 3 /* memory allocation */
#define IPL_AUDIO 2 /* audio */
#define IPL_CLOCK 1 /* clock */
#define IPL_HIGH 1 /* everything */
#define IPL_SERIAL 0 /* serial */
#define NIPL 10
/* Interrupt sharing types. */
#define IST_NONE 0 /* none */
#define IST_PULSE 1 /* pulsed */