summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b0c4fae)
raw | patch | inline | side by side (parent: b0c4fae)
author | Macpaul Lin <macpaul@gmail.com> | |
Sun, 11 Mar 2012 08:53:23 +0000 (16:53 +0800) | ||
committer | Macpaul Lin <macpaul@gmail.com> | |
Mon, 19 Mar 2012 07:53:14 +0000 (15:53 +0800) |
Correct definition of vector table in start.S
Signed-off-by: Macpaul Lin <macpaul@gmail.com>
Signed-off-by: Macpaul Lin <macpaul@gmail.com>
arch/nds32/cpu/n1213/start.S | patch | blob | history |
index 1d1fcf77e471f1ba603ea5e65ccfa806647eab2d..889bf8b87101723f73457e35370a249ad8fc75fb 100644 (file)
j tlb_not_present
j tlb_misc
j tlb_vlpt_miss
- j cache_parity_error
+ j machine_error
j debug
j general_exception
+ j syscall
j internal_interrupt ! H0I
j internal_interrupt ! H1I
j internal_interrupt ! H2I
j internal_interrupt ! H3I
j internal_interrupt ! H4I
j internal_interrupt ! H5I
+ j software_interrupt ! S0I
.balign 16
bal do_interruption
.align 5
-cache_parity_error:
+machine_error:
SAVE_ALL
move $r0, $sp ! To get the kernel stack
li $r1, 5 ! Determine interruption type
bal do_interruption
.align 5
-internal_interrupt:
+syscall:
SAVE_ALL
move $r0, $sp ! To get the kernel stack
li $r1, 8 ! Determine interruption type
bal do_interruption
+ .align 5
+internal_interrupt:
+ SAVE_ALL
+ move $r0, $sp ! To get the kernel stack
+ li $r1, 9 ! Determine interruption type
+ bal do_interruption
+
+ .align 5
+software_interrupt:
+ SAVE_ALL
+ move $r0, $sp ! To get the kernel stack
+ li $r1, 10 ! Determine interruption type
+ bal do_interruption
+
.align 5
/*