Sound Open Firmware
Loading...
Searching...
No Matches
adsp_stddef.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright(c) 2022 - 2024 Intel Corporation. All rights reserved.
4 */
5
6#ifndef _ADSP_STDDEF_H_
7#define _ADSP_STDDEF_H_
8
9#include <stddef.h>
10#include <stdint.h>
11#include <rtos/string.h>
12
13#ifdef __ZEPHYR__
14#include <zephyr/sys/util.h>
15#endif /* __ZEPHYR__ */
16
17#include <module/module/logger.h>
18
20typedef enum log_priority AdspLogPriority, log_priority_e;
21typedef struct log_handle AdspLogHandle;
22
23#ifdef __cplusplus
24namespace intel_adsp
25{
26struct ModulePlaceholder {};
27}
28inline void *operator new(size_t size, intel_adsp::ModulePlaceholder * placeholder) throw()
29{
30 (void)size;
31 return placeholder;
32}
33#endif /* #ifdef __cplusplus */
34
35#endif /*_ADSP_STDDEF_H_ */
enum log_priority AdspLogPriority
Definition adsp_stddef.h:20
enum log_priority log_priority_e
Definition adsp_stddef.h:20
struct log_handle AdspLogHandle
Definition adsp_stddef.h:21
Definition fixed_array.h:13