Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add jz4740_reset

  • Loading branch information...
commit a281a16b4f5643da84e166116b42e023dc91dd08 1 parent 897df22
yajin authored mthuurne committed

Showing 1 changed file with 6 additions and 1 deletion. Show diff stats Hide diff stats

  1. 7  hw/mips_jz.c
7  hw/mips_jz.c
@@ -571,6 +571,11 @@ static void jz4740_emc_init(struct jz_state_s  *soc,qemu_irq irq)
571 571
 	
572 572
 }
573 573
 
  574
+static void jz4740_cpu_reset(void *opaque)
  575
+{
  576
+    fprintf(stderr, "%s: UNIMPLEMENTED!", __FUNCTION__);
  577
+}
  578
+
574 579
 struct jz_state_s *jz4740_init(unsigned long sdram_size,
575 580
                                                               uint32_t osc_extal_freq)
576 581
 {
@@ -587,7 +592,7 @@ struct jz_state_s *jz4740_init(unsigned long sdram_size,
587 592
         fprintf(stderr, "Unable to find CPU definition\n");
588 593
         exit(1);
589 594
     }
590  
-    qemu_register_reset(main_cpu_reset, env);
  595
+    qemu_register_reset(jz4740_cpu_reset, env);
591 596
 
592 597
     s->sdram_size = sdram_size;
593 598
     s->sram_size = JZ4740_SRAM_SIZE;

0 notes on commit a281a16

Please sign in to comment.
Something went wrong with that request. Please try again.