projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5156892
)
PPC: 440EP: Initialize timer
author
Alexander Graf
<agraf@suse.de>
Tue, 3 Jan 2012 17:55:38 +0000
(18:55 +0100)
committer
Alexander Graf
<agraf@suse.de>
Sat, 21 Jan 2012 04:16:59 +0000
(
05:16
+0100)
When using TCG with a BookE PowerPC core, we need to explicitly initialize
the BookE timers with the correct frequencies.
This was missing for 440EP, since that code came from KVM and was never used
with TCG.
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc440.c
patch
|
blob
|
history
diff --git
a/hw/ppc440.c
b/hw/ppc440.c
index
cd8a95d
..
f7779bf
100644
(file)
--- a/
hw/ppc440.c
+++ b/
hw/ppc440.c
@@
-56,6
+56,7
@@
CPUState *ppc440ep_init(MemoryRegion *address_space_mem, ram_addr_t *ram_size,
exit(1);
}
+ ppc_booke_timers_init(env, 400000000, 0);
ppc_dcr_init(env, NULL, NULL);
/* interrupt controller */