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
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31307

Details

Provenance
markjAuthored on Aug 14 2021, 2:41 PM
Reviewer
imp
Differential Revision
D31307: pci: Add ioctls to perform I/O to I/O port BARs
Parents
rGa3d932dfef5e: libc: vDSO timekeeping: Add pvclock support
Branches
Unknown
Tags
Unknown