From: hackbard <hackbard@staubsauger.localdomain>
Date: Fri, 14 Sep 2007 23:03:06 +0000 (+0200)
Subject: interrupts
X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=026d6884ee8185fe08296b31d4bb570662cf2add;p=my-code%2Farm.git

interrupts
---

diff --git a/betty/startup.s b/betty/startup.s
index af87f6e..7cf1e10 100644
--- a/betty/startup.s
+++ b/betty/startup.s
@@ -51,20 +51,13 @@
 	# exception handling must go to the very beginning
 
 	b handler_reset
-	b handler_undef_instruction
-	b handler_soft_ir
-	b handler_prefetch_abort
-	b handler_data_abort
+	b interrupt_handler_undef_instruction
+	b interrupt_handler_soft_ir
+	b interrupt_handler_prefetch_abort
+	b interrupt_handler_data_abort
 	nop
-	b handler_irq
-	b handler_fiq
-
-	handler_undef_instruction: .word interrupt_handler_undef_instruction
-	handler_soft_ir: .word interrupt_handler_soft_ir
-	handler_prefetch_abort: .word interrupt_handler_prefetch_abort
-	handler_data_abort: .word interrupt_handler_data_abort
-	handler_irq: .word interrupt_handler_irq
-	handler_fiq: .word interrupt_handler_fiq
+	b interrupt_handler_irq
+	b interrupt_handler_fiq
 
 	# reset handling goes here