diff options
| author | Michael Brown | 2015-04-14 10:59:59 +0200 |
|---|---|---|
| committer | Michael Brown | 2015-04-15 13:20:06 +0200 |
| commit | 40de41276218ef1bca9f47fd166e83deb1c1f536 (patch) | |
| tree | 562afc7b9a25b5af8192d5b37abaa26d8e45c719 /src/arch/i386/scripts | |
| parent | [prism2] Remove duplicate PCI_ROM() lines (diff) | |
| download | ipxe-40de41276218ef1bca9f47fd166e83deb1c1f536.tar.gz ipxe-40de41276218ef1bca9f47fd166e83deb1c1f536.tar.xz ipxe-40de41276218ef1bca9f47fd166e83deb1c1f536.zip | |
[build] Allow building PCI ROMs with device ID lists
PCI v3.0 supports a "device list" which allows the ROM to claim
support for multiple PCI device IDs (but only a single vendor ID).
Add support for building such ROMs by scanning the build target
element list and incorporating any device IDs into the ROM's device
list header. For example:
make bin/8086153a--8086153b.mrom
would build a ROM claiming support for both 8086:153a and 8086:153b.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/scripts')
| -rw-r--r-- | src/arch/i386/scripts/i386.lds | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds index 348dfefae..38c89e14b 100644 --- a/src/arch/i386/scripts/i386.lds +++ b/src/arch/i386/scripts/i386.lds @@ -41,6 +41,7 @@ SECTIONS { .prefix 0x0 : AT ( _prefix_lma ) { _prefix = .; *(.prefix) + *(SORT(.pci_devlist.*)) *(.prefix.*) _mprefix = .; } .bss.prefix (NOLOAD) : AT ( _end_lma ) { |
