Permalink
Browse files

add jz4740_reset

  • Loading branch information...
1 parent 897df22 commit a281a16b4f5643da84e166116b42e023dc91dd08 @yajin yajin committed with Jan 10, 2009
Showing with 6 additions and 1 deletion.
  1. +6 −1 hw/mips_jz.c
View
@@ -571,6 +571,11 @@ static void jz4740_emc_init(struct jz_state_s *soc,qemu_irq irq)
}
+static void jz4740_cpu_reset(void *opaque)
+{
+ fprintf(stderr, "%s: UNIMPLEMENTED!", __FUNCTION__);
+}
+
struct jz_state_s *jz4740_init(unsigned long sdram_size,
uint32_t osc_extal_freq)
{
@@ -587,7 +592,7 @@ struct jz_state_s *jz4740_init(unsigned long sdram_size,
fprintf(stderr, "Unable to find CPU definition\n");
exit(1);
}
- qemu_register_reset(main_cpu_reset, env);
+ qemu_register_reset(jz4740_cpu_reset, env);
s->sdram_size = sdram_size;
s->sram_size = JZ4740_SRAM_SIZE;

0 comments on commit a281a16

Please sign in to comment.