diff options
Diffstat (limited to 'share/man/man9/spl.9')
-rw-r--r-- | share/man/man9/spl.9 | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/share/man/man9/spl.9 b/share/man/man9/spl.9 index ccc88882655..798c96fd075 100644 --- a/share/man/man9/spl.9 +++ b/share/man/man9/spl.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: spl.9,v 1.3 1999/07/09 13:35:35 aaron Exp $ +.\" $OpenBSD: spl.9,v 1.4 2000/07/07 09:08:25 ho Exp $ .\" $NetBSD: spl.9,v 1.1 1997/03/11 06:15:05 mikel Exp $ .\" .\" Copyright (c) 1997 Michael Long. @@ -41,9 +41,9 @@ .Ft int .Fn splhigh void .Ft int -.Fn splsched void +.Fn spltty void .Ft int -.Fn splserial void +.Fn splsched void .Ft int .Fn splclock void .Ft int @@ -53,7 +53,7 @@ .Ft int .Fn spltty void .Ft int -.Fn splsoftserial void +.Fn splsofttty void .Ft int .Fn splnet void .Ft int @@ -63,6 +63,8 @@ .Ft int .Fn splsoftclock void .Ft int +.Fn spllowersoftclock void +.Ft int .Fn spl0 void .Ft void .Fn splx "int s" @@ -84,14 +86,14 @@ from the kernel's periodic timer interrupt service routine. .Pp In order of highest to lowest priority, the priority-raising macros are: -.Bl -tag -width splsoftserialXX +.Bl -tag -width splsoftclockXX .It Fn splhigh blocks all hard and soft interrupts. It is used for code that cannot tolerate any interrupts, like hardware context switching code and the .Xr ddb 4 in-kernel debugger. -.It Fn splserial +.It Fn spltty blocks hard interrupts from serial interfaces. Code running at this level may not access the tty subsystem. .It Fn splsched @@ -122,7 +124,7 @@ kernel That includes all disk, network, and tty device interrupts. .It Fn spltty blocks hard interrupts from TTY devices. -.It Fn splsoftserial +.It Fn splsofttty blocks soft interrupts generated by serial devices. .It Fn splnet blocks hard interrupts from network interfaces. @@ -130,11 +132,13 @@ blocks hard interrupts from network interfaces. blocks hard interrupts from disks and other mass-storage devices. .It Fn splsoftnet blocks soft network interrupts. +.It Fn splsoftclock +blocks soft clock interrupts. .El .Pp Two macros lower the system priority level. They are: -.Bl -tag -width splsoftclockXX -.It Fn splsoftclock +.Bl -tag -width spllowersoftclockXX +.It Fn spllowersoftclock unblocks all interrupts but the soft clock interrupt. .It Fn spl0 unblocks all interrupts. |