diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-22 15:09:20 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-01-22 15:09:20 +0000 |
commit | 182f42fdc219e6481654fcfb73b17e4b4e63b6ff (patch) | |
tree | a1629a3b1ceb27f26655bb2ffb24f1eb7f50e3a3 /target-s390x | |
parent | f42c222482b651400f0fa417eb174da1c9502c1c (diff) | |
download | qemu-182f42fdc219e6481654fcfb73b17e4b4e63b6ff.zip qemu-182f42fdc219e6481654fcfb73b17e4b4e63b6ff.tar.gz qemu-182f42fdc219e6481654fcfb73b17e4b4e63b6ff.tar.bz2 |
fpu: Replace uint64 typedef with uint64_t
Replace the uint64 softfloat-specific typedef with uint64_t.
This change was made with
find include fpu target-* -name '*.[ch]' | xargs sed -i -e 's/\buint64\b/uint64_t/g'
together with manual removal of the typedef definition, and
manual undoing of some mis-hits where macro arguments were
being used for token pasting rather than as a type.
Note that the target-mips/kvm.c and target-s390x/kvm.c changes are fixing
code that should not have been using the uint64 type in the first place.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Acked-by: Leon Alrae <leon.alrae@imgtec.com>
Acked-by: James Hogan <james.hogan@imgtec.com>
Message-id: 1452603315-27030-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-s390x')
-rw-r--r-- | target-s390x/kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 75a0e5d..b8222cc 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -1433,7 +1433,7 @@ static int kvm_s390_store_status(S390CPU *cpu, hwaddr addr, bool store_arch) cpu_physical_memory_write(offsetof(LowCore, ar_access_id), &ar_id, 1); } for (i = 0; i < 16; ++i) { - *((uint64 *)mem + i) = get_freg(&cpu->env, i)->ll; + *((uint64_t *)mem + i) = get_freg(&cpu->env, i)->ll; } memcpy(mem + 128, &cpu->env.regs, 128); memcpy(mem + 256, &cpu->env.psw, 16); |