[haiku-commits] Re: r34197 - in haiku/trunk: headers/private/kernel/arch/x86 src/add-ons/kernel/cpu/x86 src/system/kernel/arch/x86

On 2009-11-23 at 16:29:36 [+0100], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> ingo_weinhold@xxxxxx wrote:
> > This fixes the slow graphics on my 4 GB machine (though unfortunately
> > the
> > 8 MTRRs aren't enough to fully cover the complete frame buffer (about
> > 35
> > pixel lines remain uncachable), but that can't be helped without
> > rounding up
> > the frame buffer size, for which we don't have enough information).
> 
> I guess it wouldn't hurt if the VESA driver would just map in a few
> more bytes to let this work. I currently don't remember if it knows the
> actual size of the frame buffer, though.

I had a look at our headers (not the specs) and there is a 
vbe_info_block::total_memory field. Unfortunately the physical base address 
doesn't seem to be available anywhere. There is a 
vbe_mode_info::physical_base, but the fact that it is in vbe_mode_info 
suggests that it is mode specific. I.e. it might not be the base for 
vbe_info_block::total_memory. So things don't look that good.

CU, Ingo

Other related posts: