Re: [RFC] Reliable video POSTing on resume

From: Carl-Daniel Hailfinger
Date: Mon Feb 07 2005 - 09:44:40 EST


Paulo Marques schrieb:
> Adam Sulmicki wrote:
>
>>
>> hi all,
>> I would like point to work done by Li-Ta Lo.
>>
>> It allows you to completely initalize the VGA BIOS w/out using
>> PC BIOS at all.
>>
>>
>> http://www.clustermatic.org/pipermail/linuxbios/2005-January/010236.html
>> unforunatelly the information the web is somewhat sparse, but
>> you can get more info by following the archive of the
>> thread (which head I listed above) and perhaps by posting to
>> linuxbios mailing list (Ollie, is somewhat buy those days with his
>> new baby).
>
>
> I did some work on reducing the core x86 emulation code (and have my
> name mentioned in that thread for it). The code size went from 59kB to
> 38kB. This does not include emulation of BIOS functions or hardware
> (like the standard PC timer).
>
> It seems to me that x86 emulation in the kernel is the way to go because:
>
> [...]
>
> 3 - it's always there and can be executed at *any* time: booting,
> returning from suspend, etc. Also it would allow the VESA framebuffer
> driver to change graphics mode at any time (for instance).

OK, and what would force you to do the above in the kernel? If the code
lives in initramfs, it can be called very early, too.


And how many competing implementations of video helpers/emulation code
do we have now?

- scitechsoft emu
- linuxbios emu
- etc. (I surely forgot some)


Regards,
Carl-Daniel
--
http://www.hailfinger.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/