test_task: fix startup race
Bad things happen if an SW IRQ is asserted before it is initialized. Change-Id: I4ad48480c4d7bb5fc14d778d2566d73086300fa1 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
93f06fad7d
commit
c2a9a37e1c
2 changed files with 6 additions and 1 deletions
|
@ -1,8 +1,12 @@
|
|||
% Application : test microkernel task APIs
|
||||
|
||||
% TASKGROUP NAME
|
||||
% ==================================================
|
||||
TASKGROUP TEST
|
||||
|
||||
% TASK NAME PRIO ENTRY STACK GROUPS
|
||||
% ==================================================
|
||||
TASK HT_TASKID 20 HelperTask 2048 [EXE]
|
||||
TASK HT_TASKID 20 HelperTask 2048 [TEST]
|
||||
TASK RT_TASKID 10 RegressionTask 2048 [EXE]
|
||||
|
||||
% SEMA NAME
|
||||
|
|
|
@ -514,6 +514,7 @@ void RegressionTask(void)
|
|||
PRINT_LINE;
|
||||
|
||||
microObjectsInit();
|
||||
task_start(HT_TASKID);
|
||||
|
||||
TC_PRINT("Testing isr_task_id_get() and isr_task_priority_get()\n");
|
||||
rv = isrAPIsTest(RT_TASKID, RT_PRIO);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue