forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathidc.h
More file actions
29 lines (19 loc) · 623 Bytes
/
idc.h
File metadata and controls
29 lines (19 loc) · 623 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright 2021 NXP
*
* Author: Daniel Baluta <daniel.baluta@nxp.com>
* Author: Zhang Peng <peng.zhang_8@nxp.com>
*/
#if defined(__XTOS_RTOS_IDC_H__) || defined(__ZEPHYR_RTOS_IDC_H__)
#ifndef __PLATFORM_DRIVERS_IDC_H__
#define __PLATFORM_DRIVERS_IDC_H__
#include <stdint.h>
struct idc_msg;
static inline int idc_send_msg(struct idc_msg *msg,
uint32_t mode) { return 0; }
static inline int idc_init(void) { return 0; }
#endif /* __PLATFORM_DRIVERS_IDC_H__ */
#else
#error "This file shouldn't be included from outside of Zephyr/XTOS's rtos/idc.h"
#endif