diff options
author | Andreas Färber <afaerber@suse.de> | 2013-01-20 01:10:52 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-02-16 14:50:58 +0100 |
commit | cd0c24f9095b1f825210bb9d9f99532c78668074 (patch) | |
tree | 7c7828d4a1946c57f0134b66f84ab14dd9011703 /target-microblaze/cpu.h | |
parent | 1cc896195bae54d7a5f48f9032037d8f6f65abd5 (diff) | |
download | qemu-cd0c24f9095b1f825210bb9d9f99532c78668074.zip qemu-cd0c24f9095b1f825210bb9d9f99532c78668074.tar.gz qemu-cd0c24f9095b1f825210bb9d9f99532c78668074.tar.bz2 |
target-microblaze: Move TCG initialization to MicroBlazeCPU initfn
Split off TCG initialization from cpu_mb_init() into mb_tcg_init() to
call it from the initfn.
Ensures that a QOM-created MicroBlazeCPU is usable.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-microblaze/cpu.h')
-rw-r--r-- | target-microblaze/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index 41480e7..c3dd7f6 100644 --- a/target-microblaze/cpu.h +++ b/target-microblaze/cpu.h @@ -272,6 +272,7 @@ struct CPUMBState { #include "cpu-qom.h" +void mb_tcg_init(void); MicroBlazeCPU *cpu_mb_init(const char *cpu_model); int cpu_mb_exec(CPUMBState *s); void do_interrupt(CPUMBState *env); |