diff options
-rw-r--r-- | cpukit/score/cpu/sparc64/cpu.c | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc64/rtems/score/cpu.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sparc64/cpu.c b/cpukit/score/cpu/sparc64/cpu.c index 1834b349bf..512ab90425 100644 --- a/cpukit/score/cpu/sparc64/cpu.c +++ b/cpukit/score/cpu/sparc64/cpu.c @@ -22,6 +22,12 @@ #include <rtems/score/tls.h> #include <rtems/rtems/cache.h> +#if (SPARC_HAS_FPU == 1) +Context_Control_fp _CPU_Null_fp_context; +#endif + +volatile uint32_t _CPU_ISR_Dispatch_disable; + /* * _CPU_Initialize * diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h index 80c3466f07..aa756f9f4a 100644 --- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h @@ -547,7 +547,7 @@ typedef struct { * context area during _CPU_Context_Initialize. */ -SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context; +extern Context_Control_fp _CPU_Null_fp_context; /* * This flag is context switched with each thread. It indicates @@ -556,7 +556,7 @@ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context; * attempts on a previously interrupted thread's stack. */ -SCORE_EXTERN volatile uint32_t _CPU_ISR_Dispatch_disable; +extern volatile uint32_t _CPU_ISR_Dispatch_disable; /* * The following type defines an entry in the SPARC's trap table. |