[SeaBIOS] Re: Large 32 bit BAR's

2023-04-14 Thread Daniel Paziyski
The way the size is reported by the BAR register by checking if the device decodes certain bits or not implies that the address must be naturally aligned, i.e. aligned to the size. El vie, 14 abr 2023 17:38, Peter Stuge escribió: > Gerd Hoffmann wrote: > > A 2G 32-bit bar simply can't be mapped

[SeaBIOS] Re: Large 32 bit BAR's

2023-04-12 Thread Daniel Paziyski
(note for the previous message: the latter case for the Q35 chipset) On 4/12/23 09:41, Daniel Paziyski wrote: Hello Wannes, Sorry, I don't think that's possible, because there's no way you can set up a 32 bit BAR to point to anywhere higher than 4GB. The only thing I could recommend

[SeaBIOS] Re: Large 32 bit BAR's

2023-04-12 Thread Daniel Paziyski
(Nokia) wrote: Hello Daniel, No, unfortunately this cannot be changed. So there is no possibility to map the 32 bit BAR in a higher memory region (where the 64 bit BAR’s are located)? Kind regards, Wannes *From:*Daniel Paziyski *Sent:* Wednesday, April 12, 2023 9:19 AM *To:* Wannes Bouwen

[SeaBIOS] Re: Large 32 bit BAR's

2023-04-12 Thread Daniel Paziyski
Hello, For a device with such a big 32 bit BAR, it would be a challenge to fit it inside the 32 bit window, since the RAM region available on <4GB must be specially tuned with help from the emulator (which, as far as I am aware, isn't available) to give space for BAR allocations there. Is