freebsd-dev/sys/dev/syscons
Ken Smith 34b678a695 Rearrangements needed for syscons(4) to be used as a console device
on architectures that need to call cninit() before the machine is
ready to support mutexes (required by make_dev()).

	- Remove make_dev() call from scinit() when flags indicate
	  unit is the system console, rely on sc_attach_unit() to
	  handle it.
	- When trying to access current screen's status (scr_stat
	  structure) use the static one provided for the initial
	  system console if no dev_t is available.
	- When calling make_dev() in sc_attach_unit() catch special
	  case of system's initial console and set up dev_t structure
	  to include pointer to console's scr_stat struct.

Reviewed by:	marcel
Tested by:	marcel, grehan (ppc), others on current@
Approved by:	rwatson (mentor)
2004-04-02 15:02:44 +00:00
..
apm Catch up with recent events. 2003-03-27 07:37:02 +00:00
blank
daemon Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +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 Use the clear function provided by the video adapter driver. 2003-07-21 13:04:54 +00:00
green
logo Use the clear function provided by the video adapter driver. 2003-07-21 13:04:54 +00:00
rain chase more of the MIN/MAX mess. *sigh* 2003-02-02 13:52:25 +00:00
snake Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
star
warp Use the clear function provided by the video adapter driver. 2003-07-21 13:04:54 +00:00
scgfbrndr.c __powerpc__ conditional code for the syscons OpenFirmware/PPC framebuffer. 2004-01-21 05:08:51 +00:00
schistory.c __powerpc__ conditional code for the syscons OpenFirmware/PPC framebuffer. 2004-01-21 05:08:51 +00:00
scmouse.c Use __FBSDID(). 2003-08-24 18:17:24 +00:00
scterm-dumb.c __powerpc__ conditional code for the syscons OpenFirmware/PPC framebuffer. 2004-01-21 05:08:51 +00:00
scterm-sc.c __powerpc__ conditional code for the syscons OpenFirmware/PPC framebuffer. 2004-01-21 05:08:51 +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 Use __FBSDID(). 2003-08-24 18:17:24 +00:00
scvgarndr.c Use __FBSDID(). 2003-08-24 18:17:24 +00:00
scvidctl.c Use __FBSDID(). 2003-08-24 18:17:24 +00:00
scvtb.c Use __FBSDID(). 2003-08-24 18:17:24 +00:00
syscons.c Rearrangements needed for syscons(4) to be used as a console device 2004-04-02 15:02:44 +00:00
syscons.h - Add a font width field to struct scr_stat. Use this instead of '8'. 2003-08-24 04:04:44 +00:00
sysmouse.c Device megapatch 4/6: 2004-02-21 21:10:55 +00:00