freebsd-dev/sys/dev/syscons
Hidetoshi Shimokawa a69d19dc33 Serialize output routine of terminal emulator (te_puts()) by a lock.
- The output routine of low level console is not protected by any lock
by default.
- Increment and decrement of sc->write_in_progress are not atomic and
this may cause console hang.
- We also have many other states used by emulator that should be protected
by the lock.
- This change does not fix interspersed messages which PRINTF_BUFR_SIZE
kernel option should fix.

Approved by: re (bmah)
MFC after: 1 week
2007-09-20 04:05:59 +00:00
..
apm APM was calling the suspend process from a timeout. This meant that 2006-05-25 23:06:38 +00:00
blank
daemon
dragon
fade
fire Optimize set_origin() use in some screensavers to stop them eating 2007-02-21 12:27:12 +00:00
green
logo Optimize set_origin() use in some screensavers to stop them eating 2007-02-21 12:27:12 +00:00
rain Optimize set_origin() use in some screensavers to stop them eating 2007-02-21 12:27:12 +00:00
snake
star
warp Optimize set_origin() use in some screensavers to stop them eating 2007-02-21 12:27:12 +00:00
scgfbrndr.c According to the default font size on sparc64 provide a 12 x 22 2007-06-18 22:15:17 +00:00
schistory.c
scmouse.c Make the comparsion more obvious. 2007-05-25 13:13:12 +00:00
scterm-dumb.c
scterm-sc.c Remove various bits of conditional Alpha code and fixup a few comments. 2006-05-12 05:04:46 +00:00
scterm.c
sctermvar.h
scvesactl.c Correct the VGA_NO_MODE_CHANGE end marker comment. 2007-01-10 19:04:00 +00:00
scvgarndr.c Remove various bits of conditional Alpha code and fixup a few comments. 2006-05-12 05:04:46 +00:00
scvidctl.c Fix our ioctl(2) implementation when the argument is "int". New 2006-09-27 19:57:02 +00:00
scvtb.c
syscons.c Serialize output routine of terminal emulator (te_puts()) by a lock. 2007-09-20 04:05:59 +00:00
syscons.h Serialize output routine of terminal emulator (te_puts()) by a lock. 2007-09-20 04:05:59 +00:00
sysmouse.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00