revert between 56095 -> 55830 in arch
[AROS.git] / arch / .unmaintained / arm-all / exec / detect_memory_handlers.S
blobe36c4f1cfbbcb2670bf21188844f52af949210de
1         #define NO_PROTOS
2         #include "arm_exec_internal.h"
3         
5         .text
6         .align  2
7         .globl  dm_data_abort_handler
8         .type   dm_data_abort_handler, function
10 dm_data_abort_handler:
11         /*
12          * As easy as can be: Leave a note that something
13          * bad happened in address 'DATA_ABORT_MARKER_ADDRESS'
14          */
15         mov     r8,#DATA_ABORT_MARKER_ADDRESS
16         mov     r9,#1
17         str     r9,[r8]
18         subs    pc,r14,#4