Simplify debugging (thanks Michael Walle)
authorlekernel <sebastien.bourdeauducq@lekernel.net>
Sun, 4 Apr 2010 22:19:58 +0000 (00:19 +0200)
committerlekernel <sebastien.bourdeauducq@lekernel.net>
Sun, 4 Apr 2010 22:19:58 +0000 (00:19 +0200)
software/demo/crt0.S
software/demo/renderer.c

index b153833..763b28e 100644 (file)
@@ -38,7 +38,7 @@ _reset_handler:
        nop
 
 _breakpoint_handler:
-       nop
+       bi _breakpoint_handler
        nop
        nop
        nop
@@ -48,7 +48,7 @@ _breakpoint_handler:
        nop
 
 _instruction_bus_error_handler:
-       nop
+       bi _instruction_bus_error_handler
        nop
        nop
        nop
@@ -58,7 +58,7 @@ _instruction_bus_error_handler:
        nop
 
 _watchpoint_handler:
-       nop
+       bi _watchpoint_handler
        nop
        nop
        nop
@@ -68,7 +68,7 @@ _watchpoint_handler:
        nop
 
 _data_bus_error_handler:
-       nop
+       bi _data_bus_error_handler
        nop
        nop
        nop
@@ -78,7 +78,7 @@ _data_bus_error_handler:
        nop
 
 _divide_by_zero_handler:
-       nop
+       bi _divide_by_zero_handler
        nop
        nop
        nop
index a779545..b728da8 100644 (file)
@@ -174,6 +174,13 @@ int renderer_start(char *preset_code)
        return 1;
 }
 
+int renderer_istart()
+{
+       eval_init();
+       apipe_start();
+       return 1;
+}
+
 void renderer_stop()
 {
        apipe_stop();