altos/attiny: Update to new interrupt macros
authorKeith Packard <keithp@keithp.com>
Mon, 29 Oct 2012 18:43:02 +0000 (11:43 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 29 Oct 2012 18:43:02 +0000 (11:43 -0700)
Add ao_arch_block/release_interrupts macros to attiny architecture

Signed-off-by: Keith Packard <keithp@keithp.com>
src/attiny/ao_arch.h

index c34206e6cc8aef6c0550484e61320df69c61de77..52bed981a9eaaa202080b09d2da48813218b393d 100644 (file)
@@ -64,6 +64,9 @@
 
 #define ao_arch_critical(b) do { cli(); do { b } while (0); sei(); } while (0)
 
+#define ao_arch_block_interrupts()     cli()
+#define ao_arch_release_interrupts()   sei()
+
 #define ao_mutex_get(m)
 #define ao_mutex_put(m)