]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[cloud] Use PCIAPI_DIRECT for cloud images
authorMichael Brown <mcb30@ipxe.org>
Sat, 13 Feb 2021 19:41:03 +0000 (19:41 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sat, 13 Feb 2021 19:41:03 +0000 (19:41 +0000)
commit83516ba7f0e816a7e1f17a711c8cdef2e633738c
tree19d8b8bd35025f4e15246d1d92c16347ee6686c8
parent0049243367e50ccfbc66611716ec3b96b6ab95b5
[cloud] Use PCIAPI_DIRECT for cloud images

The version of SeaBIOS found on some AWS EC2 instances (observed with
t3a.nano in eu-west-1) has no support for the INT 1A PCI BIOS calls.

Bring config/ioapi.h into the named-configuration set of headers, and
specify the use of PCIAPI_DIRECT for CONFIG=cloud, to work around the
missing PCI BIOS support.

Switching to a different named configuration will now unfortunately
cause an almost complete rebuild of iPXE.  As described in commit
c801cb2 ("[build] Allow for named configurations at build time"), this
is the reason why config/ioapi.h was not originally in the
named-configuration set of header files.

This rebuild cost is acceptable given that build times are
substantially faster now than seven years ago, and that very few
people are likely to be switching named configurations on a regular
basis.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/config/cloud/ioapi.h [new file with mode: 0644]
src/config/ioapi.h
src/config/qemu/ioapi.h [new file with mode: 0644]
src/config/rpi/ioapi.h [new file with mode: 0644]
src/config/vbox/ioapi.h [new file with mode: 0644]