summary refs log tree commit diff stats
path: root/hw/timer
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2019-09-26 19:57:55 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2019-10-04 19:08:20 +1000
commit6a8fbb9bdb7c06b2a73085fd846e22cd3b65242d (patch)
tree403949c292aa635b1b641d1380163c9eafb132db /hw/timer
parent85164ad4ed9960cac842fa4cc067c6b6699b0994 (diff)
downloadfocaccia-qemu-6a8fbb9bdb7c06b2a73085fd846e22cd3b65242d.tar.gz
focaccia-qemu-6a8fbb9bdb7c06b2a73085fd846e22cd3b65242d.zip
target/ppc: introduce get_dfp{64,128}() helper functions
The existing functions (now incorrectly) assume that the MSB and LSB of DFP
numbers are stored as consecutive 64-bit words in memory. Instead of accessing
the DFP numbers directly, introduce get_dfp{64,128}() helper functions to ease
the switch to the correct representation.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190926185801.11176-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/timer')
0 files changed, 0 insertions, 0 deletions