Sound Open Firmware
Loading...
Searching...
No Matches
edf_schedule.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 *
3 * Copyright(c) 2017 Intel Corporation. All rights reserved.
4 *
5 * Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
6 */
7
8#ifndef __SOF_SCHEDULE_EDF_SCHEDULE_H__
9#define __SOF_SCHEDULE_EDF_SCHEDULE_H__
10
11#include <rtos/task.h>
12#include <sof/trace/trace.h>
13#include <user/trace.h>
14#include <stdint.h>
15
16#define edf_sch_set_pdata(task, data) \
17 (task->priv_data = data)
18
19#define edf_sch_get_pdata(task) task->priv_data
20
22 void *ctx;
23};
24
26
27int schedule_task_init_edf(struct task *task, const struct sof_uuid_entry *uid,
28 const struct task_ops *ops,
29 void *data, uint16_t core, uint32_t flags);
30
31#endif /* __SOF_SCHEDULE_EDF_SCHEDULE_H__ */
uint32_t data[]
Definition debug_stream_slot.h:2
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)
Definition edf_schedule.h:21
void * ctx
Definition edf_schedule.h:22
Connects UUID with component description.
Definition uuid.h:77
Task operations.
Definition task.h:49
Task used by schedulers.
Definition task.h:56