[PATCH] sparc: Add SPARC_USE_SAFE_FP_SUPPORT
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Jun 1 17:20:44 UTC 2015
----- Gedare Bloom <gedare at gwu.edu> schrieb:
> On Sat, May 30, 2015 at 11:59 AM, Sebastian Huber
[...]
> > @@ -577,6 +602,9 @@ typedef struct {
> > * This structure defines floating point context area.
> > */
> > typedef struct {
> > +#if defined(SPARC_USE_SAFE_FP_SUPPORT)
> > + char dummy_to_make_the_workspace_estimate_happy;
> What's this?
[...]
You can only have floating point tasks if CPU_HARDWARE_FP or CPU_SOFTWARE_FP is true. In this case you need a non-zero Context_Control_fp, since otherwise the context allocation in _Thread_Initialize() return NULL.
This is actually a workaround. We should separate the floating point task property from the context, but this is another issue.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list