The unified diff between revisions [cc8258a6..] and [4f22e7ef..] 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 [4f22e7ef7d3064e3b51a5b868a4722f3f13c747b]
#
# patch "interrupt.h"
#  from [faeb61e4d25cc1baced72430fd4ff30c169ea721]
#    to [bf362242c19f7cf4842e9f571d4e56915037d18d]
#
============================================================
--- interrupt.h	faeb61e4d25cc1baced72430fd4ff30c169ea721
+++ interrupt.h	bf362242c19f7cf4842e9f571d4e56915037d18d
@@ -1,6 +1,8 @@
 #ifndef __INTERRUPT_H
 #define __INTERRUPT_H
 
+#include "swi.h"
+
 #define VICVectAddr (*(volatile unsigned int *)0xFFFFF030)
 
 #define I_WDT		0
@@ -32,7 +34,8 @@
 
 #define I_PRIORITY_I2C0		0
 #define I_PRIORITY_UART0	1
-#define I_PRIORITY_TIMER0	2
+#define I_PRIORITY_TIMER3	2
+#define I_PRIORITY_TIMER0	3
 
 #define interrupt_clear() do { VICVectAddr = 0xff; } while (0)
 
@@ -43,4 +46,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 */