[SeaBIOS] Re: [PATCH 1/2] romfile: implement a generic loader

2024-02-14 Thread Riku Viitanen via SeaBIOS
> I'd suggest to add a romfile_loadfile_low() I can definitely do that. > or add a 'struct zone_s' > parameter instead of passing in a function pointer. Sounds sensible. I see there's a malloc that takes zone as argument. > Also: What the trailing bytes are used for? Only for re-implementing

[SeaBIOS] Re: [PATCH 1/2] romfile: implement a generic loader

2024-02-14 Thread Gerd Hoffmann
On Sat, Feb 10, 2024 at 08:39:15PM +, Riku Viitanen via SeaBIOS wrote: > romfile_loadfile_g: > Based on romfile_loadfile but more flexible. User has to supply pointer > to a malloc function and the number of trailing padding bytes. Thus, any > memory region may be used. I'd suggest to add a

[SeaBIOS] Re: an issue with win10 boot and different compiler versions

2024-02-14 Thread Gerd Hoffmann
On Sun, Feb 11, 2024 at 09:49:21AM +0300, Michael Tokarev wrote: > Hello! Thank you for the reply! > > > Just a random idea, maybe there is something wrong with windows failing to > > emulate stuff? > > (the vgafixup.py) > > Well. > > Windows might fail to emulate something. The prob with

[SeaBIOS] Re: an issue with win10 boot and different compiler versions

2024-02-14 Thread Gerd Hoffmann
On Mon, Feb 12, 2024 at 01:06:34PM +0100, Fiona Ebner wrote: > Am 10.02.24 um 21:17 schrieb Michael Tokarev: > > So.. the difference is vgabios only, not seabios (vgabios-stdvga in this > > case). > > > > And I can't get it to work with debugging vgabios, it always fails even > > with