summary refs log tree commit diff stats
path: root/rust/qemu-api/src/lib.rs
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2024-12-22 12:59:59 +0000
committerThomas Huth <huth@tuxfamily.org>2024-12-29 07:13:47 +0100
commitb37da8b95f50f355d173789bec8419f01371473e (patch)
tree33d2ea06183e8256c696c5ba1b236d4ab28af06e /rust/qemu-api/src/lib.rs
parent825ac1256426b196daac626f96054a152bb5f887 (diff)
downloadfocaccia-qemu-b37da8b95f50f355d173789bec8419f01371473e.tar.gz
focaccia-qemu-b37da8b95f50f355d173789bec8419f01371473e.zip
next-cube: separate rtc read and write shift logic
Introduce a new next_rtc_cmd_is_write() function to determine if an rtc command
is a read or write, and start by using it to avoid shifting the rtc input value
if a rtc read command is executed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-ID: <20241222130012.1013374-21-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Diffstat (limited to 'rust/qemu-api/src/lib.rs')
0 files changed, 0 insertions, 0 deletions