projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add architecture specific files.
[bertos.git]
/
bertos
/
cpu
/
irq.h
diff --git
a/bertos/cpu/irq.h
b/bertos/cpu/irq.h
index 3a2dab5b21beb26aebf7c0c4b3c68269a348fe90..dfe16fddc1a9c2c753da34b6bdc35821f7261606 100644
(file)
--- a/
bertos/cpu/irq.h
+++ b/
bertos/cpu/irq.h
@@
-63,7
+63,8
@@
#define IRQ_RESTORE(x) FIXME
#endif /* OS_EMBEDDED */
-#elif CPU_ARM_LM3S1968
+#elif CPU_CM3
+ /* Cortex-M3 */
#define IRQ_DISABLE asm volatile ("cpsid i" : : : "memory", "cc")
#define IRQ_ENABLE asm volatile ("cpsie i" : : : "memory", "cc")