diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2019-09-26 19:57:56 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-10-04 19:08:21 +1000 |
commit | 33432d7737b53c92791f90ece5dbe3b7bb1c79f5 (patch) | |
tree | 2f116ddceb3faed9c5d67ae8dce2eca72755698c /include/hw/pci-host | |
parent | 6a8fbb9bdb7c06b2a73085fd846e22cd3b65242d (diff) | |
download | qemu-33432d7737b53c92791f90ece5dbe3b7bb1c79f5.zip qemu-33432d7737b53c92791f90ece5dbe3b7bb1c79f5.tar.gz qemu-33432d7737b53c92791f90ece5dbe3b7bb1c79f5.tar.bz2 |
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 'include/hw/pci-host')
0 files changed, 0 insertions, 0 deletions