summaryrefslogtreecommitdiff
path: root/arch/avr32/cpu/start.S
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-09-08 00:48:27 +0200
committerWolfgang Denk <wd@denx.de>2010-09-08 00:48:27 +0200
commitf8736c2125f5bbbe7507e59c7b2c44ec17196aa3 (patch)
tree5c8fd133791edae0cd61f7ee1b1b042697251a27 /arch/avr32/cpu/start.S
parentcf64fda38e3d71e9077e11c673bd9be449c680da (diff)
parent1f36f73fe70560a2bd286a7abc8530fdc93af9ae (diff)
Merge branch 'avr32' of git://git.denx.de/u-boot-atmel
Diffstat (limited to 'arch/avr32/cpu/start.S')
-rw-r--r--arch/avr32/cpu/start.S19
1 files changed, 13 insertions, 6 deletions
diff --git a/arch/avr32/cpu/start.S b/arch/avr32/cpu/start.S
index 99c9e06cb8..06bf4c692d 100644
--- a/arch/avr32/cpu/start.S
+++ b/arch/avr32/cpu/start.S
@@ -82,12 +82,19 @@ _evba:
.org 0x44
rjmp unknown_exception /* DTLB Modified */
- .org 0x50
- rjmp unknown_exception /* ITLB Miss */
- .org 0x60
- rjmp unknown_exception /* DTLB Miss (read) */
- .org 0x70
- rjmp unknown_exception /* DTLB Miss (write) */
+ .org 0x50 /* ITLB Miss */
+ pushm r8-r12,lr
+ rjmp 1f
+ .org 0x60 /* DTLB Miss (read) */
+ pushm r8-r12,lr
+ rjmp 1f
+ .org 0x70 /* DTLB Miss (write) */
+ pushm r8-r12,lr
+1: mov r12, sp
+ rcall mmu_handle_tlb_miss
+ popm r8-r12,lr
+ brne unknown_exception
+ rete
.size _evba, . - _evba