File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ struct sof;
5656#define TASK_PRI_MED 0
5757#define TASK_PRI_HIGH -20
5858
59+ #define TASK_PRI_IPC 1
60+
5961/* maximun task time slice in microseconds */
6062#define SCHEDULE_TASK_MAX_TIME_SLICE 5000
6163
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ int platform_ipc_init(struct ipc *ipc)
199199
200200 /* schedule */
201201 schedule_task_init (& _ipc -> ipc_task , ipc_process_task , _ipc );
202- schedule_task_config (& _ipc -> ipc_task , 0 , 0 );
202+ schedule_task_config (& _ipc -> ipc_task , TASK_PRI_IPC , 0 );
203203
204204 /* allocate page table buffer */
205205 iipc -> page_table = rballoc (RZONE_SYS , SOF_MEM_CAPS_RAM ,
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ int platform_ipc_init(struct ipc *ipc)
221221
222222 /* schedule */
223223 schedule_task_init (& _ipc -> ipc_task , ipc_process_task , _ipc );
224- schedule_task_config (& _ipc -> ipc_task , 0 , 0 );
224+ schedule_task_config (& _ipc -> ipc_task , TASK_PRI_IPC , 0 );
225225
226226 /* allocate page table buffer */
227227 iipc -> page_table = rzalloc (RZONE_SYS , SOF_MEM_CAPS_RAM ,
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ int platform_ipc_init(struct ipc *ipc)
201201
202202 /* schedule */
203203 schedule_task_init (& _ipc -> ipc_task , ipc_process_task , _ipc );
204- schedule_task_config (& _ipc -> ipc_task , 0 , 0 );
204+ schedule_task_config (& _ipc -> ipc_task , TASK_PRI_IPC , 0 );
205205
206206 /* allocate page table buffer */
207207 iipc -> page_table = rballoc (RZONE_SYS , SOF_MEM_CAPS_RAM ,
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ int platform_ipc_init(struct ipc *ipc)
216216
217217 /* schedule */
218218 schedule_task_init (& _ipc -> ipc_task , ipc_process_task , _ipc );
219- schedule_task_config (& _ipc -> ipc_task , 0 , 0 );
219+ schedule_task_config (& _ipc -> ipc_task , TASK_PRI_IPC , 0 );
220220
221221 /* allocate page table buffer */
222222 iipc -> page_table = rzalloc (RZONE_SYS , SOF_MEM_CAPS_RAM ,
You can’t perform that action at this time.
0 commit comments