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:
Joel Sherrill
1997-12-06 15:09:30 +00:00
parent b5fe39d2a9
commit 01a5f6b2c6
3 changed files with 6 additions and 6 deletions

View File

@@ -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) \

View File

@@ -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) \