[SeaBIOS] ram_probe() displays wrong size for RamSizeOver4G

Sebastian Herbszt herbszt at gmx.de
Wed Jan 6 20:10:48 CET 2010


Kevin O'Connor wrote:
> On Tue, Jan 05, 2010 at 10:51:02PM +0100, Sebastian Herbszt wrote:
>> I have modified Bochs to support the needed cmos bytes for specifying
>> memory above pci hole. If i set it up to 5120 MB i get the following:
>> 00000271154i[BIOS ] Ram Size=0xc0000000 (0xffffffff80000000 high)
>> The "high" value looks odd (upper 32 bit should be 0).
> 
> Interesting - for some reason the u8 gets promoted to a signed int.
> Thanks for reporting - the patch below fixes it for me.

The log file, E801 and E820 table look fine now.

- Sebastian




More information about the SeaBIOS mailing list