forked from Imagelibrary/rtems
Moved include of rtems/score/cpu.h to make sure TRUE and FALSE were defined.
This simple error resulted in the wrong FP context structure being used for hardware contexts on the m68k. This was a difficult problem to find.
This commit is contained in:
@@ -96,8 +96,6 @@ extern "C" {
|
||||
|
||||
typedef void * proc_ptr;
|
||||
|
||||
#include <rtems/score/cpu.h> /* processor specific information */
|
||||
|
||||
/*
|
||||
* Define NULL
|
||||
*/
|
||||
@@ -120,6 +118,8 @@ typedef void * proc_ptr;
|
||||
#define FALSE (0)
|
||||
#endif
|
||||
|
||||
#include <rtems/score/cpu.h> /* processor specific information */
|
||||
|
||||
#define stringify( _x ) # _x
|
||||
|
||||
#define RTEMS_offsetof(type, field) \
|
||||
|
||||
@@ -96,8 +96,6 @@ extern "C" {
|
||||
|
||||
typedef void * proc_ptr;
|
||||
|
||||
#include <rtems/score/cpu.h> /* processor specific information */
|
||||
|
||||
/*
|
||||
* Define NULL
|
||||
*/
|
||||
@@ -120,6 +118,8 @@ typedef void * proc_ptr;
|
||||
#define FALSE (0)
|
||||
#endif
|
||||
|
||||
#include <rtems/score/cpu.h> /* processor specific information */
|
||||
|
||||
#define stringify( _x ) # _x
|
||||
|
||||
#define RTEMS_offsetof(type, field) \
|
||||
|
||||
Reference in New Issue
Block a user