]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/C/EfiRom/EfiRom.h
BaseTools/EfiRom: Add multiple device id support
authorDaniel Verkamp <daniel.verkamp@intel.com>
Mon, 21 Aug 2017 08:26:26 +0000 (16:26 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Fri, 25 Aug 2017 23:19:03 +0000 (07:19 +0800)
commit9f3a38cdfb354a5a074312783a43b7bd21cc90e2
treeba16270342602d74c620991ef73fb7bcfc64437a
parent656ac0c7d8ea9912f23355d0e907bfe4173256fc
BaseTools/EfiRom: Add multiple device id support

This is a patch to implement writing and dumping of PCI 3.0 Device ID
lists in EFI option ROMs in the EfiRom tool.
Using this modification, multiple space-delimited device IDs can be
specified after -i.  The first device in the list is used for the main
PCI ROM header Device ID field and is also written in the list.  The
list is only written when more than one device ID has been specified;
when only one device ID is given on the command line, the EfiRom output
should be identical to the current code.

Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=666
Cc: Liming Gao <liming.gao@intel.com>
Cc: Tomas Pilar <tpilar@solarflare.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/C/EfiRom/EfiRom.c
BaseTools/Source/C/EfiRom/EfiRom.h