Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch move the Interrput Priority Level (IPL_*) definitio...
details: https://anonhg.NetBSD.org/src/rev/8a8155e23fb3
branches: trunk
changeset: 484848:8a8155e23fb3
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Apr 13 15:36:09 2000 +0000
description:
move the Interrput Priority Level (IPL_*) definitions into MD part.
diffstat:
sys/arch/evbsh3/include/intr.h | 17 ++++++++++++++++-
sys/arch/mmeye/include/intr.h | 17 ++++++++++++++++-
sys/arch/sh3/include/intr.h | 17 +----------------
3 files changed, 33 insertions(+), 18 deletions(-)
diffs (86 lines):
diff -r 455a4239f1cb -r 8a8155e23fb3 sys/arch/evbsh3/include/intr.h
--- a/sys/arch/evbsh3/include/intr.h Thu Apr 13 14:44:02 2000 +0000
+++ b/sys/arch/evbsh3/include/intr.h Thu Apr 13 15:36:09 2000 +0000
@@ -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. */
diff -r 455a4239f1cb -r 8a8155e23fb3 sys/arch/mmeye/include/intr.h
--- a/sys/arch/mmeye/include/intr.h Thu Apr 13 14:44:02 2000 +0000
+++ b/sys/arch/mmeye/include/intr.h Thu Apr 13 15:36:09 2000 +0000
@@ -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. */
diff -r 455a4239f1cb -r 8a8155e23fb3 sys/arch/sh3/include/intr.h
--- a/sys/arch/sh3/include/intr.h Thu Apr 13 14:44:02 2000 +0000
+++ b/sys/arch/sh3/include/intr.h Thu Apr 13 15:36:09 2000 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index