target/ppc: Use MMUAccessType in mmu_helper.c
commit9630cd62620e705f45c24e9d21ea01eea8fd4cd8
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 18 May 2021 20:11:28 +0000 (18 15:11 -0500)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 19 May 2021 02:50:47 +0000 (19 12:50 +1000)
tree8ae4f872d5a887b144223fcd4859e129fff909bb
parent352e3627b27ba7a0f43d0070ff90658ff849c2c8
target/ppc: Use MMUAccessType in mmu_helper.c

This replaces 'int rw' with 'MMUAccessType access_type'.
Comparisons vs zero become either MMU_DATA_LOAD or MMU_DATA_STORE,
since we had previously squashed rw to 0 for code access.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210518201146.794854-7-richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/mmu_helper.c