aboutsummaryrefslogtreecommitdiff
path: root/accel/accel-user.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2023-08-08 14:19:54 +1000
committerCédric Le Goater <clg@kaod.org>2023-09-06 11:19:33 +0200
commitea62f8a5172cf5fcd97df143b758730f6865a625 (patch)
treec3337779b29c13eb668edd7c113ada1dfad134ce /accel/accel-user.c
parent30d0647bcfa99d4a141eaa843a9fb5b091ddbb76 (diff)
downloadqemu-ea62f8a5172cf5fcd97df143b758730f6865a625.zip
qemu-ea62f8a5172cf5fcd97df143b758730f6865a625.tar.gz
qemu-ea62f8a5172cf5fcd97df143b758730f6865a625.tar.bz2
hw/ppc: Read time only once to perform decrementer write
Reading the time more than once to perform an operation always increases complexity and fragility due to introduced deltas. Simplify the decrementer write by reading the clock once for the operation. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'accel/accel-user.c')
0 files changed, 0 insertions, 0 deletions