Date: Thu, 11 May 1995 00:44:41 -0700 From: Bruce Evans <bde> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa clock.c Message-ID: <199505110744.AAA19216@freefall.cdrom.com>
index | next in thread | raw e-mail
bde 95/05/11 00:44:40
Modified: sys/i386/include spl.h
sys/i386/isa clock.c
Log:
Add variable `idelayed' and macros setdelayed() and schedsofttty()
to access it. setdelayed() actually ORs the bits in `idelayed' into
`ipending' and clears `idelayed'.
Call setdelayed() every (normal) clock tick to convert delayed
interrupts into pending ones.
Drivers can set bits in `idelayed' at any time to schedule an interrupt
at the next clock tick. This is more efficient than calling timeout().
Currently only software interrupts can be scheduled.
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505110744.AAA19216>
