Thread (56 messages) 56 messages, 13 authors, 2004-10-21

Re: Generic VESA framebuffer driver and Video card BOOT?

flat view

From: Kendall Bennett <hidden>
Date: 2004-10-15 22:23:10

Zachary Smith [off-list ref] wrote:
Kendall Bennett wrote:
quoted
Zachary Smith [off-list ref] wrote:
quoted
The problem of x86-only BIOSes is one of the videocard
manufacturers' own making which, in the spirit of good engineering,
they should fix before requiring a downstream kludge. 
 > Forgetting the fact that the BIOS image is x86, why
 > not think about the x86 BIOS image as being a set of 'generic'
 > instructions or p-code

Yes, this idea occurred to me after I posted my response.

But if you're going to add x86 emulation to the non-x86 kernels
perhaps it would be nice if you could find a way to permit users to
run x86 applications as well seamlessly. 
Well there is a big difference between a simple CPU emulator and a full 
fledged machine emulation environment. Although if you only plan to run 
Linux user space programs that might be easier to handle because you just 
need to handle the system calls. But you would still need x86 shared 
libraries and such which at the end of the day doesn't make much sense 
(too much bloat). 

Also the emulator only emulates real mode code at present. It had full 
support for 32-bit instructions and could probably be tweaked to run user 
space 32-bit code, but it has never been tested.
Although that would introduce a tradeoff: kernel code should be
small which is bound to be slow in the case of an emulator, which
is OK for running BIOS code, but a user running apps probably
prefer optimized code which may be bigger. 
Probably. Although we have been very surprised at just how well the 
PowerPC compiled version of the emulator runs BIOS code. It seems the 
PowerPC compilers can optimise the code a lot better than x86 compilers.

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! ~




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help