You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Apparently VxWorks needs VX_SPE_TASK defined for tasks on a 32 bit system if any SPE instructions are inserted by the compiler. Lacking this I hit "SPE unavailable exception" from within a child task on the SP0 with VxWorks 6.9.
Side note - Turns out under certain circumstances VX_FP_TASK behaves like VX_SPE_TASK.
Note - I'm not sure how consistent this is, since it'll only occur if SPE instructions are added by the compiler (no clue why it happened w/ this task).
Expected behavior
No exception - could be achieved by allowing additional flags to be added from the PSP build configuration?
System observed on:
Hardware: SP0
OS: VxWorks 6.9
Versions Bundle main
Additional context
None
Reporter Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered:
Adds a simple BSP API to get/set integer flags for each resource type.
All bits are platform-defined, so this can be used to store any
arbitrary platform flag.
Initial use case is for setting task flags on vxWorks platforms which
require a certain task flag to be set.
Describe the bug
Apparently VxWorks needs VX_SPE_TASK defined for tasks on a 32 bit system if any SPE instructions are inserted by the compiler. Lacking this I hit "SPE unavailable exception" from within a child task on the SP0 with VxWorks 6.9.
Side note - Turns out under certain circumstances VX_FP_TASK behaves like VX_SPE_TASK.
Flags are set here:
osal/src/os/vxworks/src/os-impl-tasks.c
Lines 132 to 139 in 2a2defb
To Reproduce
Run the cfe functional test on SP0, observe the SPE unavailable exception related to the TestTblNonAppContext task started by TestTableBadContext in tbl_registration_test.c:
https://github.com/nasa/cFE/blob/64a6a59456fa9e47dc93e4bb9cecacc3d86d1862/modules/cfe_testcase/src/tbl_registration_test.c#L246-L248
Note - I'm not sure how consistent this is, since it'll only occur if SPE instructions are added by the compiler (no clue why it happened w/ this task).
Expected behavior
No exception - could be achieved by allowing additional flags to be added from the PSP build configuration?
System observed on:
Additional context
None
Reporter Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: