]> git.ipfire.org Git - thirdparty/qemu.git/commit
Expand the probe_pages helper function to handle probe flags.
authorPaolo Savini <paolo.savini@embecosm.com>
Thu, 13 Mar 2025 12:39:26 +0000 (12:39 +0000)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 19 May 2025 03:30:24 +0000 (13:30 +1000)
commitd887736225984fcb3926e3f32f3cdc332c03ba8f
tree4c623a749a26dfae05132e253b30f7a842bd6b1a
parent9425790aceffc09b730a072cc3fc174d1b084f62
Expand the probe_pages helper function to handle probe flags.

This commit expands the probe_pages helper function in
target/riscv/vector_helper.c to handle also the cases in which we need access to
the flags raised while probing the memory and the host address.
This is done in order to provide a unified interface to probe_access and
probe_access_flags.
The new version of probe_pages can now act as a regular call to probe_access as
before and as a call to probe_access_flags. In the latter case the user need to
pass pointers to flags and host address and a boolean value for nonfault.
The flags and host address will be set and made available as for a direct call
to probe_access_flags.

Signed-off-by: Paolo Savini <paolo.savini@embecosm.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20250313123926.374878-2-paolo.savini@embecosm.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/vector_helper.c