kernel-brax3-ubuntu-touch/drivers/tee/teei/500/tz_driver/include/switch_queue.h
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

28 lines
639 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2015-2019, MICROTRUST Incorporated
* All Rights Reserved.
*
*/
#ifndef SWITCH_QUEUE_H
#define SWITCH_QUEUE_H
struct task_entry_struct {
unsigned long long work_type;
unsigned long long x0;
unsigned long long x1;
unsigned long long x2;
unsigned long long x3;
struct list_head c_link;
};
int add_work_entry(unsigned long long work_type, unsigned long long x0,
unsigned long long x1, unsigned long long x2,
unsigned long long x3);
int teei_notify_switch_fn(void);
int init_teei_switch_comp(void);
int teei_switch_fn(void *work);
#endif /* end of SWITCH_QUEUE_H */