summary refs log tree commit diff stats
path: root/hw/ppc/mpc8544_guts.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-20 22:30:59 +0100
committerNicholas Piggin <npiggin@gmail.com>2025-03-11 22:43:31 +1000
commitc5411a065370ae2b056107ae68727c5cbb998233 (patch)
treec309218bd07b1d0e462c6e0e27176c8925e61b68 /hw/ppc/mpc8544_guts.c
parentc894bdf78b32ed825903f4f05c765eecf2e4f1cc (diff)
downloadfocaccia-qemu-c5411a065370ae2b056107ae68727c5cbb998233.tar.gz
focaccia-qemu-c5411a065370ae2b056107ae68727c5cbb998233.zip
hw/ppc/spapr: Convert HPTE_VALID() macro as hpte_is_valid() method
Convert HPTE_VALID() macro as hpte_is_valid() method.

sPAPR data structures including the hash page table are big-endian
regardless of current CPU endian mode, so use the big-endian LD/ST
API to access the hash PTEs.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Message-ID: <20241220213103.6314-3-philmd@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'hw/ppc/mpc8544_guts.c')
0 files changed, 0 insertions, 0 deletions