commit | 4aa5d2853a69d95f5e05bd02200dfc6f47cab9de | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Wed Feb 01 20:31:43 2012 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Feb 17 09:58:22 2012 -0600 |
tree | 16251b86d628106b5933949ae7ceb932f3b67569 | |
parent | 302fe51b5900c5ca5be921269b61f4862e0634ce [diff] |
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 <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>