Sound Open Firmware
Loading...
Searching...
No Matches
edf_schedule.h File Reference

Legacy Earliest Deadline First (EDF) workqueue scheduler interface. More...

Include dependency graph for edf_schedule.h:

Go to the source code of this file.

Data Structures

struct  edf_task_pdata
 Legacy EDF task private data container. More...
 

Macros

#define edf_sch_set_pdata(task, data)    (task->priv_data = data)
 Set private data pointer of an EDF task.
 
#define edf_sch_get_pdata(task)   task->priv_data
 Retrieve private data pointer of an EDF task.
 

Functions

int scheduler_init_edf (void)
 Initialize the Earliest Deadline First (EDF) workqueue scheduler.
 
int schedule_task_init_edf (struct task *task, const struct sof_uuid_entry *uid, const struct task_ops *ops, void *data, uint16_t core, uint32_t flags)
 Initialize a task for Earliest Deadline First (EDF) workqueue execution.
 

Detailed Description

Legacy Earliest Deadline First (EDF) workqueue scheduler interface.

Deprecated:
Deprecated for modern audio pipeline processing. In Zephyr-based builds, EDF is implemented as a delayed workqueue (edf_workq) retained for host IPC processing and legacy KPB draining tasks until migration. Audio pipeline components should use SOF_SCHEDULE_DP with native Zephyr thread deadlines or SOF_SCHEDULE_LL_TIMER / SOF_SCHEDULE_LL_DMA.