Go to the documentation of this file.
13 #ifndef _ASM_MICROBLAZE_EXCEPTIONS_H
14 #define _ASM_MICROBLAZE_EXCEPTIONS_H
19 #define EX_HANDLER_STACK_SIZ (4*19)
26 #define HWEX_MSR_BIT (1 << 8)
28 #if CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR
29 #define __enable_hw_exceptions() \
30 __asm__ __volatile__ (" msrset r0, %0; \
33 : "i" (HWEX_MSR_BIT) \
36 #define __disable_hw_exceptions() \
37 __asm__ __volatile__ (" msrclr r0, %0; \
40 : "i" (HWEX_MSR_BIT) \
43 #define __enable_hw_exceptions() \
44 __asm__ __volatile__ (" \
51 : "i" (HWEX_MSR_BIT) \
54 #define __disable_hw_exceptions() \
55 __asm__ __volatile__ (" \
62 : "i" (HWEX_MSR_BIT) \