mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-monitor.c, rtems/include/rtems/rtems/types.h: Do not have fp context type when no hardware or software floating point is available.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libmisc/monitor/mon-monitor.c, rtems/include/rtems/rtems/types.h: Do
|
||||
not have fp context type when no hardware or software floating point
|
||||
is available.
|
||||
|
||||
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libcsupport/src/malloc_statistics_helpers.c,
|
||||
|
||||
@@ -508,7 +508,9 @@ rtems_monitor_task(
|
||||
{
|
||||
rtems_tcb *debugee = 0;
|
||||
rtems_context *rp;
|
||||
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
|
||||
rtems_context_fp *fp;
|
||||
#endif
|
||||
char command_buffer[513];
|
||||
int argc;
|
||||
char *argv[64];
|
||||
@@ -561,8 +563,6 @@ rtems_monitor_task(
|
||||
rp = &debugee->Registers;
|
||||
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
|
||||
fp = debugee->fp_context; /* possibly 0 */
|
||||
#else
|
||||
fp = 0;
|
||||
#endif
|
||||
|
||||
if (0 == rtems_monitor_command_read(command_buffer, &argc, argv))
|
||||
|
||||
@@ -75,10 +75,12 @@ typedef Objects_Id rtems_id;
|
||||
*/
|
||||
typedef Context_Control rtems_context;
|
||||
|
||||
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
|
||||
/**
|
||||
* This type is the public name for task floating point context area.
|
||||
*/
|
||||
typedef Context_Control_fp rtems_context_fp;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This type is the public name for the architecture specific
|
||||
|
||||
Reference in New Issue
Block a user