]> Git Repo - qemu.git/commit - hw/audio/pcspk.c
i8254: Factor out pit_get_channel_info
authorJan Kiszka <[email protected]>
Wed, 1 Feb 2012 19:31:43 +0000 (20:31 +0100)
committerAnthony Liguori <[email protected]>
Fri, 17 Feb 2012 15:58:22 +0000 (09:58 -0600)
commit4aa5d2853a69d95f5e05bd02200dfc6f47cab9de
tree16251b86d628106b5933949ae7ceb932f3b67569
parent302fe51b5900c5ca5be921269b61f4862e0634ce
i8254: Factor out pit_get_channel_info

Instead of providing 4 individual query functions for mode, gate, output
and initial counter state, introduce a service that queries all
information at once. This comes with tiny additional costs for
pcspk_callback but with a much cleaner interface. Also, it will simplify
the implementation of the KVM in-kernel PIT model.

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/i8254.c
hw/i8254.h
hw/pcspk.c
This page took 0.027061 seconds and 4 git commands to generate.