HomeFreeBSD

pci: Add an ioctl to perform I/O to BARs

Description

pci: Add an ioctl to perform I/O to BARs

This is useful for bhyve, which otherwise has to use /dev/io to handle
accesses to I/O port BARs when PCI passthrough is in use.

Reviewed by: imp, kib
Discussed with: jhb
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 7e14be0b0717105f4b3b8c62df82a1e883d8ebb6)

Details

Provenance
markjAuthored on Aug 14 2021, 2:41 PM
Parents
rGab18f56db464: Cleanup compiler warning flags in lib/libefivar/Makefile
Branches
Unknown
Tags
Unknown