diff options
author | Farhan Ali <alifm@linux.ibm.com> | 2025-04-30 11:50:10 -0700 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2025-05-08 10:03:07 -0400 |
commit | b17d69a1dab6dd5acf2646f24866d1ee66983ae0 (patch) | |
tree | 3a579ff57c5fedfd90acc24075fc08f92d22dc69 /hw/misc/imx7_src.c | |
parent | 57b6f8d07f1478375f85a4593a207e936c63ff59 (diff) | |
download | qemu-b17d69a1dab6dd5acf2646f24866d1ee66983ae0.zip qemu-b17d69a1dab6dd5acf2646f24866d1ee66983ae0.tar.gz qemu-b17d69a1dab6dd5acf2646f24866d1ee66983ae0.tar.bz2 |
util: Add functions for s390x mmio read/write
Starting with z15 (or newer) we can execute mmio
instructions from userspace. On older platforms
where we don't have these instructions available
we can fallback to using system calls to access
the PCI mapped resources.
This patch adds helper functions for mmio reads
and writes for s390x.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Farhan Ali <alifm@linux.ibm.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-id: 20250430185012.2303-2-alifm@linux.ibm.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/misc/imx7_src.c')
0 files changed, 0 insertions, 0 deletions