summary refs log tree commit diff stats
path: root/hw/timer/lm32_timer.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2019-09-26 19:57:56 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2019-10-04 19:08:21 +1000
commit33432d7737b53c92791f90ece5dbe3b7bb1c79f5 (patch)
tree2f116ddceb3faed9c5d67ae8dce2eca72755698c /hw/timer/lm32_timer.c
parent6a8fbb9bdb7c06b2a73085fd846e22cd3b65242d (diff)
downloadfocaccia-qemu-33432d7737b53c92791f90ece5dbe3b7bb1c79f5.tar.gz
focaccia-qemu-33432d7737b53c92791f90ece5dbe3b7bb1c79f5.zip
target/ppc: introduce set_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 set_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-3-mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions