Re: VESA FBconsole driver?

Kendall Bennett
2003-03-13T23:30:40Z

> Gerd Knorr <kraxel@bytesex.org> wrote:

> > at references that will help me figure out how the kernel can make
> > callbacks into a user land daemon?
>
> Look how /sbin/{hotplug|modprobe} is called if needed.

Ok thanks.

> > Is there any reason why the vm86() services in the Linux kernel
> > cannot be used by other kernel code?
>
> Unlikely. To ugly to live with (says Linus, and lot of people
> agree), and not really needed.

Why is it ugly? IMHO it is very much needed, as it would provide a
mechanism for the kernel to be able to properly restore the screen if a
user land program goes astray.

> Doing it in userspace also has the advantage that you can play alot
> more tricks.

More tricks like what? All we need is the ability to call the BIOS and
have it execute the necessary real mode code, just like we do on ia32
machines in user land.

> XFree86 for example has a x86 emulator to execute vga bios code on
> !x86 platforms. _That_ you really don't want to do in kernel mode
> ...

Yes, I am aware of the x86 emulator - I revived the project a few years
back and Egbert Eich integrated it into XFree86 ;-)

Regards,

---
Kendall Bennett
Chief Executive Officer
SciTech Software, Inc.
Phone: (530) 894 8400
http://www.scitechsoft.com

~ SciTech SNAP - The future of device driver technology! ~