X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Firq.h;h=3a2dab5b21beb26aebf7c0c4b3c68269a348fe90;hb=5b8c7d324c8934f7686aeb4c23454cebbfd1f83f;hp=462034fe669e700099ec2c93f37830dae5f34a77;hpb=42915fdb2ea25ed68b8bb835b78c2bca9b32f1f5;p=bertos.git diff --git a/bertos/cpu/irq.h b/bertos/cpu/irq.h index 462034fe..3a2dab5b 100644 --- a/bertos/cpu/irq.h +++ b/bertos/cpu/irq.h @@ -95,6 +95,11 @@ #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__