/* SPDX-License-Identifier: BSD-3-Clause * * Copyright(c) 2017 Intel Corporation. All rights reserved. * * Author: Liam Girdwood */ #ifndef __SOF_SCHEDULE_EDF_SCHEDULE_H__ #define __SOF_SCHEDULE_EDF_SCHEDULE_H__ #include #include #include #include #define EDF_ZEPHYR_PRIORITY 1 #define edf_sch_set_pdata(task, data) \ (task->priv_data = data) #define edf_sch_get_pdata(task) task->priv_data struct edf_task_pdata { void *ctx; }; int scheduler_init_edf(void); 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); #endif /* __SOF_SCHEDULE_EDF_SCHEDULE_H__ */