summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorAaron Larson2017-06-05 19:22:53 +0200
committerDavid Gibson2017-06-30 06:03:32 +0200
commitddd5140b1a0ffca777bb6e845912bc0d700f1f80 (patch)
treee61ee5c8a7fd43adcdeaabf29d21d20c25a9bc17 /scripts/switch-timer-api
parenthw/ppc/spapr.c: consecutive 'spapr->patb_entry = 0' statements (diff)
downloadqemu-ddd5140b1a0ffca777bb6e845912bc0d700f1f80.tar.gz
qemu-ddd5140b1a0ffca777bb6e845912bc0d700f1f80.tar.xz
qemu-ddd5140b1a0ffca777bb6e845912bc0d700f1f80.zip
target-ppc: Enable open-pic timers to count and generate interrupts
Previously QEMU open-pic implemented the 4 open-pic timers including all timer registers, but the timers did not "count" or generate any interrupts. The patch makes the timers both count and generate interrupts. The timer clock frequency is fixed at 25MHZ. -- Responding to V2 patch comments. - Simplify clock frequency logic and commentary. - Remove camelCase variables. - Timer objects now created at init rather than lazily. Signed-off-by: Aaron Larson <alarson@ddci.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions