From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paulo Marques Subject: Re: [RFC] Reliable video POSTing on resume Date: Mon, 07 Feb 2005 14:27:16 +0000 Message-ID: <42077AC4.5030103@grupopie.com> References: <420217DB.709@gmx.net> <4202A972.1070003@gmx.net> <20050203225410.GB1110@elf.ucw.cz> <1107474198.5727.9.camel@desktop.cunninghams> <4202DF7B.2000506@gmx.net> <1107485504.5727.35.camel@desktop.cunninghams> <9e4733910502032318460f2c0c@mail.gmail.com> <20050204074454.GB1086@elf.ucw.cz> <9e473391050204093837bc50d3@mail.gmail.com> <20050205093550.GC1158@elf.ucw.cz> <1107695583.14847.167.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Adam Sulmicki Cc: Alan Cox , Pavel Machek , Jon Smirl , ncunningham-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org, Carl-Daniel Hailfinger , ACPI List , Linux Kernel Mailing List , Li-Ta Lo List-Id: linux-acpi@vger.kernel.org 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: 1 - it's portable. Can run on any architecture. 2 - runs in a controled environment. Every memory / io access is controlled by the emulator. We don't just "jump" into obscure BIOS code and hope everything goes well. 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). I still don't have hard numbers from the work Li-Ta Lo is doing (I'm CC'ing him on this thread to see if he can shed some light here), but I guess that you could have the complete emulator for about 50kB of code. -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797) ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl