X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cpu%2Firq.h;h=15609d76363d78ff7642dc78979f9200779589ed;hb=f3ba158c1ebfcef6c85759056d0a3d5f421ea870;hp=428ba2d76732d13b0f82cb32f20c72ae606c9a59;hpb=efbdba7e2814415234ef47bd10ff888559ea90af;p=bertos.git diff --git a/cpu/irq.h b/cpu/irq.h index 428ba2d7..15609d76 100644 --- 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_ENABLED() FIXME + #define IRQ_ENABLED() FIXME #elif CPU_DSP56K @@ -220,6 +220,15 @@ #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. *