diff options
author | bde <bde@FreeBSD.org> | 1995-05-11 07:44:40 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-05-11 07:44:40 +0000 |
commit | ef98a885661c3d2f2fe8570c56dba5723d570c13 (patch) | |
tree | 0d5164dc358e5c6acd11b945b1b53af7244beb76 /usr.sbin | |
parent | 561eb80e564511caf11e035642fba1a429106466 (diff) | |
download | FreeBSD-src-ef98a885661c3d2f2fe8570c56dba5723d570c13.zip FreeBSD-src-ef98a885661c3d2f2fe8570c56dba5723d570c13.tar.gz |
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.
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions