summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/safe.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2003-08-12 18:06:48 +0000
committermiod <miod@openbsd.org>2003-08-12 18:06:48 +0000
commit682bb57f75bca3b235ead8959c570c19c63560f3 (patch)
tree01b7b26cad5a8bee44bc6349e8d493b7fc92081e /sys/dev/pci/safe.c
parentMore unused files with bad string functions in them. Bye bye. (diff)
downloadwireguard-openbsd-682bb57f75bca3b235ead8959c570c19c63560f3.tar.xz
wireguard-openbsd-682bb57f75bca3b235ead8959c570c19c63560f3.zip
The idle loop is supposed to run with interrupts enabled, and will only
relax the interrupt mask (i.e. spl level). However, under some unclear circumstances, it will be entered with interrupts disabled, and thus will loop forever if no process is runnable. Check the PSR and make sure that interrupts are enabled in this case. This gets rid of the random freezes, although a better fix would be preferrable...
Diffstat (limited to 'sys/dev/pci/safe.c')
0 files changed, 0 insertions, 0 deletions