]> Git Repo - linux.git/commit
KVM: PIT: support mode 3
authorAurelien Jarno <[email protected]>
Fri, 2 May 2008 15:02:23 +0000 (17:02 +0200)
committerAvi Kivity <[email protected]>
Sun, 20 Jul 2008 09:40:49 +0000 (12:40 +0300)
commitf697554515b06e8d7264f316b25e6da943407142
treef15a67cee17245c03f90c6a931b02fb34e687a4c
parent2e2e3738af33575cba59597acd5e80cdd5ec11ee
KVM: PIT: support mode 3

The in-kernel PIT emulation ignores pending timers if operating
under mode 3, which for example Hurd uses.

This mode should output a square wave, high for (N+1)/2 counts and low
for (N-1)/2 counts. As we only care about the resulting interrupts, the
period is N, and mode 3 is the same as mode 2 with regard to
interrupts.

Signed-off-by: Aurelien Jarno <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
arch/x86/kvm/i8254.c
This page took 0.056735 seconds and 4 git commands to generate.