]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ppc: Introduce functions for conversion between timebase and nanoseconds
authorNicholas Piggin <npiggin@gmail.com>
Tue, 8 Aug 2023 04:19:46 +0000 (14:19 +1000)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 25 Sep 2023 20:43:49 +0000 (23:43 +0300)
commitb960bf3f7805146be16b6ee5a9bd8fd6cfaa67f7
treed475d59d1181677501f3961cae53eeb3d69edc05
parent7be98a0583419c4100f0962493ec3f5fbdc16dcb
hw/ppc: Introduce functions for conversion between timebase and nanoseconds

These calculations are repeated several times, and they will become
a little more complicated with subsequent changes.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
(cherry picked from commit 7798f5c576d898e7e10c4a2518f3f16411dedeb9)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/ppc/ppc.c