summaryrefslogtreecommitdiff
path: root/qom/cpu.c
diff options
context:
space:
mode:
authorAaron Larson <alarson@ddci.com>2017-06-05 10:22:53 -0700
committerDavid Gibson <david@gibson.dropbear.id.au>2017-06-30 14:03:32 +1000
commitddd5140b1a0ffca777bb6e845912bc0d700f1f80 (patch)
treee61ee5c8a7fd43adcdeaabf29d21d20c25a9bc17 /qom/cpu.c
parentaca8bf9f1cbc90da82554c43ef843887ed0ab1ff (diff)
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 'qom/cpu.c')
0 files changed, 0 insertions, 0 deletions