Date: Fri, 2 Apr 2004 07:02:45 -0800 (PST) From: Ken Smith <kensmith@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/syscons syscons.c Message-ID: <200404021502.i32F2j6u013533@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kensmith 2004/04/02 07:02:45 PST FreeBSD src repository Modified files: sys/dev/syscons syscons.c Log: 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) Revision Changes Path 1.418 +41 -20 src/sys/dev/syscons/syscons.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404021502.i32F2j6u013533>