opnsense-src/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 - Mask an underline attribute on the pc98 console. It enables to use the same 2005-05-15 08:59:00 +00:00
dragon Use the clear function provided by the video adapter driver. 2003-07-21 13:04:54 +00:00
fade Remove unused variable(s). 2003-05-31 20:29:34 +00:00
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 Remove old epson note support. 2005-05-15 09:07:42 +00:00
star - Add color tables for 16 colors mode and 8 colors mode, use a different 2005-05-15 09:07:04 +00:00
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 Fix -Wundef. 2005-12-04 02:12:43 +00:00
scmouse.c Make the comparsion more obvious. 2007-05-25 13:13:12 +00:00
scterm-dumb.c Fix -Wundef. 2005-12-04 02:12:43 +00:00
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 Use __FBSDID(). 2003-08-24 18:17:24 +00:00
sctermvar.h Do not try to work around ``poor (un)sign extension code'' 2002-10-20 22:50:13 +00:00
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 Remove superfluous braces and add #ifndef __sparc64__ around the 2005-05-21 20:28:15 +00:00
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