a3b98398cb
- The MD functions critical_enter/exit are renamed to start with a cpu_ prefix. - MI wrapper functions critical_enter/exit maintain a per-thread nesting count and a per-thread critical section saved state set when entering a critical section while at nesting level 0 and restored when exiting to nesting level 0. This moves the saved state out of spin mutexes so that interlocking spin mutexes works properly. - Most low-level MD code that used critical_enter/exit now use cpu_critical_enter/exit. MI code such as device drivers and spin mutexes use the MI wrappers. Note that since the MI wrappers store the state in the current thread, they do not have any return values or arguments. - mtx_intr_enable() is replaced with a constant CRITICAL_FORK which is assigned to curthread->td_savecrit during fork_exit(). Tested on: i386, alpha |
||
---|---|---|
.. | ||
bktr_audio.c | ||
bktr_audio.h | ||
bktr_card.c | ||
bktr_card.h | ||
bktr_core.c | ||
bktr_core.h | ||
bktr_i2c.c | ||
bktr_i2c.h | ||
bktr_mem.c | ||
bktr_mem.h | ||
bktr_os.c | ||
bktr_os.h | ||
bktr_reg.h | ||
bktr_tuner.c | ||
bktr_tuner.h | ||
CHANGELOG.TXT | ||
ioctl_bt848.h | ||
ioctl_meteor.h |