[SeaBIOS] [PATCH] Seabios: allow mapping of multiple PCI option ROMs to one

Dave Frodin dave.frodin at se-eng.com
Wed Jun 5 16:45:11 CEST 2013


Kevin,

Attached is the new option rom mapping patch.
I was hunting around for an existing SeaBIOS ftn that would convert
ascii strings to a binary value (i.e. sscanf) but couldn't find one.
If there's already one in the code I can replace the text_to_binary()
with it.

I tested this on a AMD family14 platform. The vendev-map file I added
to CBFS looks like this...

10029803-10029802
10029804-10029802
10029805-10029802
10029806-10029802
10029807-10029802
10029808-10029802
10029809-10029802

Each line ends with a NEWLINE character (0x0A).

On my test platform the actual graphics ID of the part is 10029804.
The vgabios gets added to CBFS with the name "pci1002,9802.rom".

Thanks,
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Seabios-allow-mapping-of-multiple-PCI-option-ROMs-to.patch
Type: text/x-patch
Size: 4362 bytes
Desc: not available
URL: <http://www.seabios.org/pipermail/seabios/attachments/20130605/7ca0cddf/attachment.patch>


More information about the SeaBIOS mailing list