summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_spec.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-04-03 17:48:09 +0000
committermarcel <marcel@FreeBSD.org>2006-04-03 17:48:09 +0000
commit64ac08d05f78279d8ee25ce34c5221835e671fce (patch)
tree5820fb6541ad179a32cf041a901d58fc7467fb9a /lib/libthr/thread/thr_spec.c
parent5980319eac8214d3d65855572f5ac592993b8e8d (diff)
downloadFreeBSD-src-64ac08d05f78279d8ee25ce34c5221835e671fce.zip
FreeBSD-src-64ac08d05f78279d8ee25ce34c5221835e671fce.tar.gz
Replace critical_enter() and critical_exit() in kdb_trap() with
intr_disable() and intr_restore() resp. Previously, critical regions would have interrupts disabled, but that was changed. Consequently, the debugger could run with interrupts enabled. This could cause problems for the low-level console code where received characters would trigger an interrupt that causes the interrupt handler to read the character instead of the cngetc() function.
Diffstat (limited to 'lib/libthr/thread/thr_spec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud