x86_64-bios bootloader doesn't pass fb_size
I'm booting my 64-bit kernel using the x86_64-bios bootloader, but I'm finding fb_size = 0
in the incoming BOOTBOOT struct. The other parameters are okay, and I can draw just fine. In fact, right now I'm just computing fb_size
from fb_height
and fb_scanline
and storing it into the struct, but it would be nice to make the x86_64-bios bootloader compliant with the spec.
I think the issue just a matter of missing the fb_size calculation around L2005 here: https://gitlab.com/bztsrc/bootboot/-/blob/master/x86_64-bios/bootboot.asm#L2005. Maybe I've missing something in the spec?
Thanks!