]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386/monitor: Replace legacy cpu_physical_memory_read() calls
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 2 Oct 2025 03:02:10 +0000 (05:02 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 16 Oct 2025 15:07:13 +0000 (17:07 +0200)
commit17db4d61d148aa87b84907e3aa6bee95d29955a3
tree8c33598bc87fb79cdfb612a610340aae1a14cd30
parent152820a991e6b0b4cbbdb594f87e43252626c0da
target/i386/monitor: Replace legacy cpu_physical_memory_read() calls

Commit b7ecba0f6f6 ("docs/devel/loads-stores.rst: Document our
various load and store APIs") mentioned cpu_physical_memory_*()
methods are legacy, the replacement being address_space_*().

Replace:

 - cpu_physical_memory_read(len=4) -> address_space_ldl()
 - cpu_physical_memory_read(len=8) -> address_space_ldq()

inlining the little endianness conversion via the '_le' suffix.
As with the previous implementation, ignore whether the memory
read succeeded or failed.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-Id: <20251002145742.75624-3-philmd@linaro.org>
target/i386/monitor.c