diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-12-10 14:43:13 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-12-10 14:43:13 +0100 |
commit | be5e8349862de9b7f6c3471ad32f1945d1fec2e8 (patch) | |
tree | f915d749c346d2579b074e730107aed1bc4920fd /hw/petalogix_s3adsp1800_mmu.c | |
parent | b4d34d5e9b05fab4c8a4346036b3d413a304c94e (diff) |
microblaze: Add missing cpu_reset.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/petalogix_s3adsp1800_mmu.c')
-rw-r--r-- | hw/petalogix_s3adsp1800_mmu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/petalogix_s3adsp1800_mmu.c b/hw/petalogix_s3adsp1800_mmu.c index fdecc13975..e62b8ec20e 100644 --- a/hw/petalogix_s3adsp1800_mmu.c +++ b/hw/petalogix_s3adsp1800_mmu.c @@ -48,6 +48,8 @@ struct static void main_cpu_reset(void *opaque) { CPUState *env = opaque; + + cpu_reset(env); env->regs[5] = boot_info.cmdline; env->regs[7] = boot_info.fdt; env->sregs[SR_PC] = boot_info.bootstrap_pc; |