From: bernie Date: Sun, 10 Aug 2008 13:41:00 +0000 (+0000) Subject: x86: define cpuflags_t only in the OS_EMBEDDED case. X-Git-Tag: 2.0.0~334 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=93d9ca0adbf81c442d47dcf4852bf19c1731019d;p=bertos.git x86: define cpuflags_t only in the OS_EMBEDDED case. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1600 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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