Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/exc_handler.S

    r73b3ecd r77f91fe  
    2727#
    2828
    29 #include <abi/asmtool.h>
    30 
    3129.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
    3239
    3340# Switches to kernel stack and saves all registers there.
     
    149156.endm
    150157
    151 SYMBOL(reset_exception_entry)
     158reset_exception_entry:
    152159        SAVE_REGS_TO_STACK
    153160        mov r0, #0
     
    156163        LOAD_REGS_FROM_STACK
    157164
    158 SYMBOL(irq_exception_entry)
     165irq_exception_entry:
    159166        sub lr, lr, #4
    160167        SAVE_REGS_TO_STACK
     
    164171        LOAD_REGS_FROM_STACK
    165172
    166 SYMBOL(fiq_exception_entry)
     173fiq_exception_entry:
    167174        sub lr, lr, #4
    168175        SAVE_REGS_TO_STACK
     
    172179        LOAD_REGS_FROM_STACK
    173180
    174 SYMBOL(undef_instr_exception_entry)
     181undef_instr_exception_entry:
    175182        SAVE_REGS_TO_STACK
    176183        mov r0, #1
     
    179186        LOAD_REGS_FROM_STACK
    180187
    181 SYMBOL(prefetch_abort_exception_entry)
     188prefetch_abort_exception_entry:
    182189        sub lr, lr, #4
    183190        SAVE_REGS_TO_STACK
     
    187194        LOAD_REGS_FROM_STACK
    188195
    189 SYMBOL(data_abort_exception_entry)
     196data_abort_exception_entry:
    190197        sub lr, lr, #8
    191198        SAVE_REGS_TO_STACK
     
    195202        LOAD_REGS_FROM_STACK
    196203
    197 SYMBOL(swi_exception_entry)
     204swi_exception_entry:
    198205        ldr r13, =exc_stack
    199206        SAVE_REGS_TO_STACK
Note: See TracChangeset for help on using the changeset viewer.