From 733653092fdaa4f42d8512dde142fd5fcd7b11e4 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sat, 4 Feb 2017 11:38:56 -0800 Subject: [PATCH] TIMER: Properly initialize clock coschedule queues --- sim_timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sim_timer.c b/sim_timer.c index ec19fe73..6b5c7c63 100644 --- a/sim_timer.c +++ b/sim_timer.c @@ -1027,6 +1027,7 @@ sim_debug (DBG_TRC, &sim_timer_dev, "sim_timer_init()\n"); for (tmr=0; tmr<=SIM_NTIMERS; tmr++) { sim_timer_units[tmr].action = &sim_timer_tick_svc; sim_timer_units[tmr].flags = UNIT_DIS | UNIT_IDLE; + sim_clock_cosched_queue[tmr] = QUEUE_LIST_END; } SIM_INTERNAL_UNIT.flags = UNIT_IDLE; sim_register_internal_device (&sim_timer_dev); /* Register Clock Assist device */