mirror of https://github.com/xemu-project/xemu.git
PPC: 440EP: Initialize timer
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>
This commit is contained in:
parent
515689235c
commit
d29d3404fc
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue