The unified diff between revisions [cc8258a6..] and [23a3e9a5..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'interrupt.h'
# # old_revision [cc8258a6c3643514892e84cf24fed008bc6f9660] # new_revision [23a3e9a50b4034343e3bd217d2c225dcaec064dd] # # patch "interrupt.h" # from [faeb61e4d25cc1baced72430fd4ff30c169ea721] # to [3735115d09df71f1da6b5ed670f9df7c4aafb82c] # ============================================================ --- interrupt.h faeb61e4d25cc1baced72430fd4ff30c169ea721 +++ interrupt.h 3735115d09df71f1da6b5ed670f9df7c4aafb82c @@ -1,6 +1,8 @@ #ifndef __INTERRUPT_H #define __INTERRUPT_H +#include "swi.h" + #define VICVectAddr (*(volatile unsigned int *)0xFFFFF030) #define I_WDT 0 @@ -43,4 +45,7 @@ void interrupt_register_code(unsigned in #define interrupt_register(x, fn) \ interrupt_register_code(I_##x, I_PRIORITY_##x, fn) +#define interrupt_block() swi_call(SWI_INTERRUPT_BLOCK) +#define interrupt_unblock() swi_call(SWI_INTERRUPT_UNBLOCK) + #endif /* __INTERRUPT_H */