X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fframe.h;h=63d341cf1db379d159d3f4b0d99e162ece2a9e5f;hb=57fa5e371a8b40afc99b922731b77d17c55330a4;hp=7420dddd1f2379eba43885b7f53cfc9fcf2fe5ad;hpb=f5096c2e240312b5fddfdadd165a36e5f1a3cc65;p=bertos.git diff --git a/bertos/cpu/frame.h b/bertos/cpu/frame.h index 7420dddd..63d341cf 100644 --- a/bertos/cpu/frame.h +++ b/bertos/cpu/frame.h @@ -193,12 +193,6 @@ CPU_PUSH_WORD(stack, IRQ_PRIO_DISABLED); \ } while (0) - #else /* !CONFIG_KERN_PREEMPT */ - #define CPU_PUSH_CALL_FRAME(sp, func) \ - do { \ - CPU_PUSH_WORD((sp), 0x01000000); /* xPSR */ \ - CPU_PUSH_WORD((sp), (cpu_stack_t)(func)); /* pc */ \ - } while (0); #endif /* CONFIG_KERN_PREEMPT */ #elif CPU_AVR