Re: [SeaBIOS] [PATCH RFC 3/7] Add configuration menu for the VGA ROM
Dec. 17, 2011
8:37 a.m.
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@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
5146
Age (days ago)
5146
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kevin O'Connor