This website requires JavaScript.
Explore
Help
Sign In
Aren
/
NetBSD
Watch
1
Star
0
Fork
0
You've already forked NetBSD
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
1cedb649d4
NetBSD
/
sys
/
arch
/
sun3
/
include
/
psl.h
4 lines
81 B
C
Raw
Normal View
History
Unescape
Escape
move the spl*() and IPL_* definitions to intr.h.
2001-05-29 01:06:18 +04:00
/* $NetBSD: psl.h,v 1.20 2001/05/28 21:06:19 chs Exp $ */
Change the semantics of splsoftclock() to be like other spl*() functions, that is priority is rasied. Add a new spllowersoftclock() to provide the atomic drop-to-softclock semantics that the old splsoftclock() provided, and update calls accordingly. This fixes a problem with using the "rnd" pseudo-device from within interrupt context to extract random data (e.g. from within the softnet interrupt) where doing so would incorrectly unblock interrupts (causing all sorts of lossage). XXX 4 platforms do not have priority-raising capability: newsmips, sparc, XXX sparc64, and VAX. This platforms still have this bug until their XXX spl*() functions are fixed.
1999-08-05 22:08:08 +04:00
make the include files stubs, but add bits where necessary (most XXX).
1994-01-08 22:08:45 +03:00
#
include
<m68k/psl.h>
Reference in New Issue
Copy Permalink