mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
Use Context_Control_fp* instead of void* for fp_contexts.
This commit is contained in:
@@ -495,7 +495,7 @@ void _CPU_Context_restore(
|
||||
*/
|
||||
|
||||
void _CPU_Context_save_fp(
|
||||
void **fp_context_ptr
|
||||
Context_Control_fp **fp_context_ptr
|
||||
);
|
||||
|
||||
/*
|
||||
@@ -505,7 +505,7 @@ void _CPU_Context_save_fp(
|
||||
*/
|
||||
|
||||
void _CPU_Context_restore_fp(
|
||||
void **fp_context_ptr
|
||||
Context_Control_fp **fp_context_ptr
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -54,7 +54,7 @@ void _CPU_Initialize(
|
||||
)
|
||||
{
|
||||
#if (SPARC_HAS_FPU == 1)
|
||||
void *pointer;
|
||||
Context_Control_fp *pointer;
|
||||
|
||||
/*
|
||||
* This seems to be the most appropriate way to obtain an initial
|
||||
|
||||
@@ -174,7 +174,7 @@ typedef struct {
|
||||
Stack_Control Initial_stack;
|
||||
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
|
||||
/** This field is the initial FP context area address. */
|
||||
void *fp_context;
|
||||
Context_Control_fp *fp_context;
|
||||
#endif
|
||||
/** This field is the initial stack area address. */
|
||||
void *stack;
|
||||
@@ -336,7 +336,7 @@ struct Thread_Control_struct {
|
||||
/** This field points to the floating point context for this thread.
|
||||
* If NULL, the thread is integer only.
|
||||
*/
|
||||
void *fp_context;
|
||||
Context_Control_fp *fp_context;
|
||||
#endif
|
||||
/** This field points to the newlib reentrancy structure for this thread. */
|
||||
struct _reent *libc_reent;
|
||||
|
||||
Reference in New Issue
Block a user