UART code for a 16550.
[uccvend-snackrom.git] / ROM2 / vectors.s
index abcfc97..76e6614 100644 (file)
@@ -27,6 +27,8 @@ Boston, MA 02111-1307, USA.  */
 
        .sect .text
        .globl _start
+       .globl sci_interrupt
+       .globl uart_interrupt
 
 ;; Default interrupt handler.
        .sect .text
@@ -65,8 +67,8 @@ vectors:
        .word def               ; ffde (TOI)
 
        ;; Timer Output Compare
-       .word def               ; ffe0
-       .word def               ; ffe2
+       .word def               ; ffe0
+       .word def               ; ffe2
        .word def               ; ffe4
        .word def               ; ffe6
        .word def               ; ffe8
@@ -78,11 +80,11 @@ vectors:
 
        ;;  Misc
        .word rti               ; fff0 (RTII)
-       .word def       ; fff2 (IRQ)
+       .word uart_interrupt    ; fff2 (IRQ)
        .word def               ; fff4 (XIRQ)
        .word def               ; fff6 (SWI)
        .word def               ; fff8 (ILL)
-       .word def               ; fffa (COP Failure)
-       .word def               ; fffc (COP Clock monitor)
+       .word _start            ; fffa (COP Failure)
+       .word _start            ; fffc (COP Clock monitor)
        .word _start            ; fffe (reset)
 

UCC git Repository :: git.ucc.asn.au