On Maw, 2004-05-18 at 01:13, Jon Smirl wrote:
> 1) Boot console. This is implement via BIOS support. It is used to printk a
> processor initialization failure or failure to find initramfs. Some embedded
> systems might have to build one of these into the kernel but not a normal
> desktop machine. This is the kind of console you use to write grub/lilo. It
> looks like all non-86, non-Mac archs already have this.

We can't use the BIOS that late. Currently the set up we have is that
the normal console kicks in after PCI setup, and might be vga text mode,
frame buffer or whatever. This is your "system console" and 
probably where predefined modes are used for nonvga devices, no 
acceleration and so on.

We also have an early_vga PC console hack, and firmware console drivers
that can kick in earlier (normally for debug) depending upon the
platform. In the PC case the 16bit bios console services go away too
early but EFI might provide help here if its ever adopted. Thats
analogous to your bios console I guess ?

> 3) User console. A normal login gets one of these. It will probably be generated
> by a user space app implement on OpenGL with fancy fonts, unicode, etc. The user
> is assigned ownership of their video device which allows direct rendering.
> Multiple copies of this app can be running, each providing an independent user
> console on each video device. Kernel VT and terminal emulation support is pushed
> into this user space app.

Agree with this level. The kernel provides the tty layer (Unix 98 ttys)
and might need some userspace apps tweaking a little too - no big
problems.

> When User console is up it is using the full OpenGL driver. xserver would use
> the same OpenGL driver. The User console app and xserver could even be the same
> program. If User console/xserver dies, you can always user SAK to relaunch if it
> doesn't happen automatically.

s/OpenGL/Some drawing library/ - providing its using the kernel
interfaces we don't care what. (eg the bogl console driver is very
small, the opengl one would probably be rather larger and nicer)

Alan



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to