projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Forgot endif.
[bertos.git]
/
cpu
/
irq.h
diff --git
a/cpu/irq.h
b/cpu/irq.h
index 428ba2d76732d13b0f82cb32f20c72ae606c9a59..15609d76363d78ff7642dc78979f9200779589ed 100644
(file)
--- a/
cpu/irq.h
+++ b/
cpu/irq.h
@@
-158,7
+158,7
@@
#define IRQ_ENABLE FIXME
#define IRQ_SAVE_DISABLE(x) FIXME
#define IRQ_RESTORE(x) FIXME
#define IRQ_ENABLE FIXME
#define IRQ_SAVE_DISABLE(x) FIXME
#define IRQ_RESTORE(x) FIXME
- #define IRQ_ENABLED() FIXME
+ #define IRQ_ENABLED()
FIXME
#elif CPU_DSP56K
#elif CPU_DSP56K
@@
-220,6
+220,15
@@
#error No CPU_... defined.
#endif
#error No CPU_... defined.
#endif
+#ifndef IRQ_ENTRY
+ #define IRQ_ENTRY() /* NOP */
+#endif
+
+#ifndef IRQ_EXIT
+ #define IRQ_EXIT() /* NOP */
+#endif
+
+
/**
* Execute \a CODE atomically with respect to interrupts.
*
/**
* Execute \a CODE atomically with respect to interrupts.
*