Commit 474296af authored by Tommy Olofsson's avatar Tommy Olofsson
Browse files

Make sure the vx tasks do not thrash the float registers.

parent 39859062
......@@ -333,17 +333,17 @@ int firefly_transport_udp_posix_run(struct firefly_transport_llp *llp)
pthread_cancel(llp_udp->read_thread);
goto fail;
#else
res = taskSpawn("ff_read_task", 98, 0, 20000,
(FUNCPTR)firefly_transport_udp_posix_read_run,
(int) llp,
0, 0, 0, 0, 0, 0, 0, 0, 0); /* TODO: arg */
res = taskSpawn("ff_read_task", 98, VX_FP_TASK, 20000,
(FUNCPTR)firefly_transport_udp_posix_read_run,
(int) llp,
0, 0, 0, 0, 0, 0, 0, 0, 0); /* TODO: arg */
if (res == ERROR)
goto fail;
llp_udp->tid_read = res;
res = taskSpawn("ff_resend_task", 98, 0, 20000,
(FUNCPTR)firefly_resend_run,
(int) largs,
0, 0, 0, 0, 0, 0, 0, 0, 0); /* TODO: arg */
res = taskSpawn("ff_resend_task", 98, VX_FP_TASK, 20000,
(FUNCPTR)firefly_resend_run,
(int) largs,
0, 0, 0, 0, 0, 0, 0, 0, 0); /* TODO: arg */
if (res == ERROR)
goto vxfail;
llp_udp->tid_resend = res;
......
......@@ -154,7 +154,7 @@ int firefly_event_queue_vx_run(struct firefly_event_queue *eq)
struct firefly_event_queue_vx_context *ctx;
ctx = firefly_event_queue_get_context(eq);
res = taskSpawn("ff_event_task", 98, 0, 20000,
res = taskSpawn("ff_event_task", 98, VX_FP_TASK, 20000,
(FUNCPTR)firefly_event_vx_thread_main,
(int) eq, 0, 0, 0, 0, 0, 0, 0, 0, 0);
if (res != ERROR) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment