projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lm3s1968: integrate the hardware timer driver into the main timer module.
[bertos.git]
/
bertos
/
cpu
/
irq.h
diff --git
a/bertos/cpu/irq.h
b/bertos/cpu/irq.h
index 462034fe669e700099ec2c93f37830dae5f34a77..3a2dab5b21beb26aebf7c0c4b3c68269a348fe90 100644
(file)
--- a/
bertos/cpu/irq.h
+++ b/
bertos/cpu/irq.h
@@
-95,6
+95,11
@@
#define IRQ_ENABLED() (!CPU_READ_FLAGS())
#define IRQ_ENABLED() (!CPU_READ_FLAGS())
+ /* TODO: context switch is not yet supported */
+ #define DECLARE_ISR_CONTEXT_SWITCH(func) void func(void)
+
+ /* TODO: context switch is not yet supported */
+ #define ISR_PROTO_CONTEXT_SWITCH(func) void func(void)
#elif CPU_ARM
#ifdef __IAR_SYSTEMS_ICC__
#elif CPU_ARM
#ifdef __IAR_SYSTEMS_ICC__