]> git.ipfire.org Git - thirdparty/qemu.git/commit
include: Add a header to define host PCI MMIO functions
authorFarhan Ali <alifm@linux.ibm.com>
Wed, 30 Apr 2025 18:50:11 +0000 (11:50 -0700)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 8 May 2025 14:21:10 +0000 (10:21 -0400)
commit40f940923f8978ce1ffe8e735cc42ade2e519be3
treedfa8d87240759cf305dcc567684dd3bb9cac5ac3
parentb17d69a1dab6dd5acf2646f24866d1ee66983ae0
include: Add a header to define host PCI MMIO functions

Add a generic API for host PCI MMIO reads/writes
(e.g. Linux VFIO BAR accesses). The functions access
little endian memory and returns the result in
host cpu endianness.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Farhan Ali <alifm@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20250430185012.2303-3-alifm@linux.ibm.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
include/qemu/host-pci-mmio.h [new file with mode: 0644]