X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Ftypes.h;h=8cbba3d862d41828d56bcdcb6f8138634b83b20d;hb=b812fafcc11015af6fe0ef2b1b0bd81e19cf6eff;hp=be9b5fd5db6188117d098e8c46bf4373d53aef30;hpb=345f93de1963f49bdb194d2b06c8c5d7ba0a3e5f;p=bertos.git diff --git a/bertos/cpu/types.h b/bertos/cpu/types.h index be9b5fd5..8cbba3d8 100644 --- a/bertos/cpu/types.h +++ b/bertos/cpu/types.h @@ -34,7 +34,7 @@ * \brief CPU-specific type definitions. * * \author Giovanni Bajo - * \author Bernardo Innocenti + * \author Bernie Innocenti * \author Stefano Fedrigo * \author Francesco Sacchi */ @@ -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