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
blank
daemon
dragon
fade
fire
green
logo
rain
snake
star
warp
scgfbrndr.c
schistory.c
scmouse.c
scterm-dumb.c
scterm-sc.c
scterm.c
sctermvar.h
scvesactl.c
scvgarndr.c
scvidctl.c
scvtb.c
syscons.c
syscons.h
sysmouse.c