projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cpu: Split frame handling macros to the new header cpu/frame.h
[bertos.git]
/
bertos
/
cpu
/
types.h
diff --git
a/bertos/cpu/types.h
b/bertos/cpu/types.h
index be9b5fd5db6188117d098e8c46bf4373d53aef30..8cbba3d862d41828d56bcdcb6f8138634b83b20d 100644
(file)
--- a/
bertos/cpu/types.h
+++ b/
bertos/cpu/types.h
@@
-34,7
+34,7
@@
* \brief CPU-specific type definitions.
*
* \author Giovanni Bajo <rasky@develer.com>
* \brief CPU-specific type definitions.
*
* \author Giovanni Bajo <rasky@develer.com>
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
* \author Stefano Fedrigo <aleph@develer.com>
* \author Francesco Sacchi <batt@develer.com>
*/
* \author Stefano Fedrigo <aleph@develer.com>
* \author Francesco Sacchi <batt@develer.com>
*/
@@
-54,7
+54,7
@@
#elif CPU_X86
#elif CPU_X86
- /* Get
IRQ_* definitions
from the hosting environment. */
+ /* Get
cpuflags_t definition
from the hosting environment. */
#include <cfg/os.h>
#if OS_EMBEDDED
typedef uint32_t cpuflags_t; // FIXME
#include <cfg/os.h>
#if OS_EMBEDDED
typedef uint32_t cpuflags_t; // FIXME
@@
-76,7
+76,12
@@
#elif CPU_PPC
#elif CPU_PPC
- typedef uint32_t cpuflags_t; // FIXME
+ /* Get cpuflags_t definition from the hosting environment. */
+ #include <cfg/os.h>
+ #if OS_EMBEDDED
+ typedef uint32_t cpuflags_t; // FIXME
+ #endif
+
typedef uint32_t cpustack_t; // FIXME
#define SIZEOF_CPUSTACK_T 4
typedef uint32_t cpustack_t; // FIXME
#define SIZEOF_CPUSTACK_T 4