Index: /trunk/softs/tsar_boot/Makefile
===================================================================
--- /trunk/softs/tsar_boot/Makefile	(revision 280)
+++ /trunk/softs/tsar_boot/Makefile	(revision 281)
@@ -42,4 +42,5 @@
 C_SRCS	   += boot_tty.c
 C_SRCS	   += boot_loader_entry.c
+C_SRCS	   += exceptions.c
 
 OBJS       := $(subst .s,.o,$(S_SRCS))
Index: /trunk/softs/tsar_boot/reset.S
===================================================================
--- /trunk/softs/tsar_boot/reset.S	(revision 280)
+++ /trunk/softs/tsar_boot/reset.S	(revision 281)
@@ -42,7 +42,8 @@
 
 _boot:
-    # Disable interruptions
+    # Disable interruptions, keep STATUSbev enabled
 
-    mtc0    $0,     $12
+    la      $4,     (1 << 22)
+    mtc0    $4,     $12
 
     # computes proc_id, local_id, cluster_id, and cluster_increment
@@ -124,4 +125,14 @@
     jr	    $2
 
+# exeption entry point
+.org	0x0380
+_exep:
+    mfc0    $4, $12, 0	# first arg is status
+    mfc0    $5, $13, 0	# second arg is cause
+    mfc0    $6, $14, 0	# third argc is epc
+    nop
+    j       handle_exept
+    nop
+
     .end    boot
 
