Changes in kernel/arch/arm32/src/exc_handler.S [73b3ecd:77f91fe] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/exc_handler.S
r73b3ecd r77f91fe 27 27 # 28 28 29 #include <abi/asmtool.h>30 31 29 .text 30 31 .global irq_exception_entry 32 .global fiq_exception_entry 33 .global data_abort_exception_entry 34 .global prefetch_abort_exception_entry 35 .global undef_instr_exception_entry 36 .global swi_exception_entry 37 .global reset_exception_entry 38 32 39 33 40 # Switches to kernel stack and saves all registers there. … … 149 156 .endm 150 157 151 SYMBOL(reset_exception_entry) 158 reset_exception_entry: 152 159 SAVE_REGS_TO_STACK 153 160 mov r0, #0 … … 156 163 LOAD_REGS_FROM_STACK 157 164 158 SYMBOL(irq_exception_entry) 165 irq_exception_entry: 159 166 sub lr, lr, #4 160 167 SAVE_REGS_TO_STACK … … 164 171 LOAD_REGS_FROM_STACK 165 172 166 SYMBOL(fiq_exception_entry) 173 fiq_exception_entry: 167 174 sub lr, lr, #4 168 175 SAVE_REGS_TO_STACK … … 172 179 LOAD_REGS_FROM_STACK 173 180 174 SYMBOL(undef_instr_exception_entry) 181 undef_instr_exception_entry: 175 182 SAVE_REGS_TO_STACK 176 183 mov r0, #1 … … 179 186 LOAD_REGS_FROM_STACK 180 187 181 SYMBOL(prefetch_abort_exception_entry) 188 prefetch_abort_exception_entry: 182 189 sub lr, lr, #4 183 190 SAVE_REGS_TO_STACK … … 187 194 LOAD_REGS_FROM_STACK 188 195 189 SYMBOL(data_abort_exception_entry) 196 data_abort_exception_entry: 190 197 sub lr, lr, #8 191 198 SAVE_REGS_TO_STACK … … 195 202 LOAD_REGS_FROM_STACK 196 203 197 SYMBOL(swi_exception_entry) 204 swi_exception_entry: 198 205 ldr r13, =exc_stack 199 206 SAVE_REGS_TO_STACK
Note:
See TracChangeset
for help on using the changeset viewer.