diff options
| author | Michael Brown | 2021-07-26 16:42:00 +0200 |
|---|---|---|
| committer | Michael Brown | 2021-07-26 16:47:47 +0200 |
| commit | db6310c3e5948a327a1c6f5706f727fd6cd67c70 (patch) | |
| tree | a657114850d193442b4d4cbcc7697575b6358a1f /src/include/ipxe/efi/Protocol/SimpleFileSystem.h | |
| parent | [build] Fix genfsimg to work with FATDIR with space (diff) | |
| download | ipxe-db6310c3e5948a327a1c6f5706f727fd6cd67c70.tar.gz ipxe-db6310c3e5948a327a1c6f5706f727fd6cd67c70.tar.xz ipxe-db6310c3e5948a327a1c6f5706f727fd6cd67c70.zip | |
[efi] Use zero for PCI vendor/device IDs when no applicable ID exists
When building an EFI ROM image for which no PCI vendor/device ID is
applicable (e.g. bin-x86_64-efi/ipxe.efirom), the build process will
currently construct a command such as
./util/efirom -v -d -c bin-x86_64-efi/ipxe.efidrv \
bin-x86_64-efi/ipxe.efirom
which gets interpreted as a vendor ID of "-0xd" (i.e. 0xfff3, after
truncation to 16 bits).
Fix by using an explicit zero ID when no applicable ID exists, as is
already done when constructing BIOS ROM images.
Reported-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/Protocol/SimpleFileSystem.h')
0 files changed, 0 insertions, 0 deletions
