Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/include Move several PIL_* definitions into t...



details:   https://anonhg.NetBSD.org/src/rev/b66dde09d90d
branches:  trunk
changeset: 480833:b66dde09d90d
user:      pk <pk%NetBSD.org@localhost>
date:      Fri Jan 21 13:22:55 2000 +0000

description:
Move several PIL_* definitions into the scope of LOCORE stuff.

diffstat:

 sys/arch/sparc/include/psl.h |  16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diffs (45 lines):

diff -r d4ea63320df1 -r b66dde09d90d sys/arch/sparc/include/psl.h
--- a/sys/arch/sparc/include/psl.h      Fri Jan 21 13:22:01 2000 +0000
+++ b/sys/arch/sparc/include/psl.h      Fri Jan 21 13:22:55 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psl.h,v 1.19 1999/12/15 08:01:01 garbled Exp $ */
+/*     $NetBSD: psl.h,v 1.20 2000/01/21 13:22:55 pk Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -75,6 +75,12 @@
 
 #define        PSR_BITS "\20\16EC\15EF\10S\7PS\6ET"
 
+/* define audio software interrupts to be at software level 4 */
+#define        PIL_AUSOFT      4
+/* define floppy software interrupts to be at software level 4 too */
+#define PIL_FDSOFT     4
+/* network hardware interrupts at at most (XXX - is that true?) level 6 */
+#define        PIL_NET         6
 #define        PIL_CLOCK       10
 
 #if defined(_KERNEL) && !defined(_LOCORE)
@@ -176,19 +182,17 @@
 #define        splsoftclock    splsoftint
 #define        splsoftnet      splsoftint
 
-/* audio software interrupts are at software level 4 */
-#define        PIL_AUSOFT      4
+
+/* audio software interrupts */
 _SPLRAISE(splausoft, PIL_AUSOFT)
 
-/* floppy software interrupts are at software level 4 too */
-#define PIL_FDSOFT     4
+/* floppy software interrupts */
 _SPLRAISE(splfdsoft, PIL_FDSOFT)
 
 /* Block devices */
 _SPLRAISE(splbio, 5)
 
 /* network hardware interrupts are at level 6 */
-#define        PIL_NET 6
 _SPLRAISE(splnet, PIL_NET)
 
 /* tty input runs at software level 6 */



Home | Main Index | Thread Index | Old Index