revert between 56095 -> 55830 in arch
[AROS.git] / arch / .unmaintained / m68k-pp-native / exec / detect_memory_handlers.S
bloba98c7e95318d39cee8e5b772009023881feb8c83
1         #define NO_PROTOS
2         #include "pp_exec_internal.h"
3         
5         .text
6         .balign 4
7         .globl dm_bus_error_handler
9 dm_bus_error_handler:
10         /*
11          * As easy as can be: Leave a note that something
12          * bad happened in address 'ADDRESS_ERROR_MARKER_ADDRESS'
13          */
14         move.l  #2,ADDRESS_ERROR_MARKER_ADDRESS
15         rte
17         .text
18         .balign 4
19         .globl dm_addr_error_handler
21 dm_addr_error_handler:
22         /*
23          * As easy as can be: Leave a note that something
24          * bad happened in address 'ADDRESS_ERROR_MARKER_ADDRESS'
25          */
26         move.l  #3,ADDRESS_ERROR_MARKER_ADDRESS
27         rte