[SeaBIOS] [PATCH RFC 3/7] Add configuration menu for the VGA ROM
Kevin O'Connor
kevin at koconnor.net
Sat Dec 17 17:37:05 CET 2011
On Sat, Dec 17, 2011 at 04:22:01PM +0000, Julian Pidancet wrote:
> On Sat, Dec 17, 2011 at 4:07 PM, Kevin O'Connor <kevin at koconnor.net> wrote:
> > struct pci_data rom_pci_data VAR16VISIBLE = {
> > .vendor = CONFIG_VGA_VID,
> > .device = CONFIG_VGA_DID,
> > .dlen = 0x18,
> > .class_hi = 0x300,
> > ...
> > };
> >
>
> The PCI firmware specification only requires the PCI header to be
> located in the first 64KB of the option ROM image, I don't know if
> there's a way we can enforce that if it is declared in C.
If the option rom is over 64K, then things will break anyway as the
code is all 16bit and there are no provisions for far jumping.
-Kevin
More information about the SeaBIOS
mailing list