X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Ftypes.h;h=8cbba3d862d41828d56bcdcb6f8138634b83b20d;hb=b3f61b96f21a6d4c491a65e607c5f41fdb028363;hp=1b2b23f4c7538fb4ddafd7ec25277a81fc6ec35b;hpb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;p=bertos.git diff --git a/bertos/cpu/types.h b/bertos/cpu/types.h index 1b2b23f4..8cbba3d8 100644 --- a/bertos/cpu/types.h +++ b/bertos/cpu/types.h @@ -54,7 +54,7 @@ #elif CPU_X86 - /* Get IRQ_* definitions from the hosting environment. */ + /* Get cpuflags_t definition from the hosting environment. */ #include #if OS_EMBEDDED typedef uint32_t cpuflags_t; // FIXME @@ -76,7 +76,12 @@ #elif CPU_PPC - typedef uint32_t cpuflags_t; // FIXME + /* Get cpuflags_t definition from the hosting environment. */ + #include + #if OS_EMBEDDED + typedef uint32_t cpuflags_t; // FIXME + #endif + typedef uint32_t cpustack_t; // FIXME #define SIZEOF_CPUSTACK_T 4