diff options
author | Anton Johansson <anjo@rev.ng> | 2023-08-07 17:57:02 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-08-24 11:21:46 -0700 |
commit | 022b9bcedef9b6123d287345e424cc8fc8475dca (patch) | |
tree | 3369be0ab4aad9ca14aba5c0b0da4334ce1656e5 /target/rx | |
parent | d447a624d0cffb28836e776687a861cd27d06d2f (diff) | |
download | qemu-022b9bcedef9b6123d287345e424cc8fc8475dca.zip qemu-022b9bcedef9b6123d287345e424cc8fc8475dca.tar.gz qemu-022b9bcedef9b6123d287345e424cc8fc8475dca.tar.bz2 |
include/exec: Replace target_ulong with abi_ptr in cpu_[st|ld]*()
Changes the address type of the guest memory read/write functions from
target_ulong to abi_ptr. (abi_ptr is currently typedef'd to target_ulong
but that will change in a following commit.) This will reduce the
coupling between accel/ and target/.
Note: Function pointers that point to cpu_[st|ld]*() in target/riscv and
target/rx are also updated in this commit.
Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230807155706.9580-6-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/rx')
-rw-r--r-- | target/rx/op_helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/rx/op_helper.c b/target/rx/op_helper.c index dc0092c..691a12b 100644 --- a/target/rx/op_helper.c +++ b/target/rx/op_helper.c @@ -216,19 +216,19 @@ void helper_scmpu(CPURXState *env) } static uint32_t (* const cpu_ldufn[])(CPUArchState *env, - target_ulong ptr, + abi_ptr ptr, uintptr_t retaddr) = { cpu_ldub_data_ra, cpu_lduw_data_ra, cpu_ldl_data_ra, }; static uint32_t (* const cpu_ldfn[])(CPUArchState *env, - target_ulong ptr, + abi_ptr ptr, uintptr_t retaddr) = { cpu_ldub_data_ra, cpu_lduw_data_ra, cpu_ldl_data_ra, }; static void (* const cpu_stfn[])(CPUArchState *env, - target_ulong ptr, + abi_ptr ptr, uint32_t val, uintptr_t retaddr) = { cpu_stb_data_ra, cpu_stw_data_ra, cpu_stl_data_ra, |