system/memory: use ldn_he_p/stn_he_p
commit2b8fe81b3c2e76d241510a9a85496d544e42f5ec
authorPatrick Venture <venture@google.com>
Thu, 16 Nov 2023 16:36:33 +0000 (16 16:36 +0000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 4 Dec 2023 15:21:00 +0000 (4 16:21 +0100)
tree99ddf709c7614943367eb7d01623bc422e6a2966
parent17dacf7ac9e2f076c15f32a290203f8f571a8800
system/memory: use ldn_he_p/stn_he_p

Using direct pointer dereferencing can allow for unaligned accesses,
which was seen during execution with sanitizers enabled.

Cc: qemu-stable@nongnu.org
Reviewed-by: Chris Rauer <crauer@google.com>
Reviewed-by: Peter Foley <pefoley@google.com>
Signed-off-by: Patrick Venture <venture@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <20231116163633.276671-1-venture@google.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
system/memory.c