X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fframe.h;h=2a9680a2a7e64231ca89ae4c35645ddc652ec52a;hb=e62ca0b357f09804d7d894949df44224c9d74bb7;hp=fe22f8e3cba394ea81acd377432cfd30ad3078dd;hpb=1200cce6f786accd1e56bfe1982b3c58d297aee7;p=bertos.git diff --git a/bertos/cpu/frame.h b/bertos/cpu/frame.h index fe22f8e3..2a9680a2 100644 --- a/bertos/cpu/frame.h +++ b/bertos/cpu/frame.h @@ -145,7 +145,7 @@ #if !CPU_SP_ON_EMPTY_SLOT /* DSP56K and other weirdos */ #define CPU_PUSH_WORD(sp, data) \ - do { *++(sp) = (cpustack_t)(data); } while (0) + do { *++(sp) = (cpu_stack_t)(data); } while (0) #define CPU_POP_WORD(sp) \ (*(sp)--) #else @@ -207,13 +207,13 @@ #define CPU_PUSH_CALL_FRAME(sp, func) \ do { \ - CPU_PUSH_WORD((sp), (cpustack_t)(func)); /* LR -> 8(SP) */ \ + CPU_PUSH_WORD((sp), (cpu_stack_t)(func)); /* LR -> 8(SP) */ \ CPU_PUSH_WORD((sp), 0); /* CR -> 4(SP) */ \ } while (0) #else #define CPU_PUSH_CALL_FRAME(sp, func) \ - CPU_PUSH_WORD((sp), (cpustack_t)(func)) + CPU_PUSH_WORD((sp), (cpu_stack_t)(func)) #endif /**