Sound Open Firmware
Loading...
Searching...
No Matches
panic.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
*
3
* Copyright 2023 NXP
4
* Copyright(c) 2018 Intel Corporation. All rights reserved.
5
*
6
* Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
7
*/
8
9
#ifndef __ZEPHYR_RTOS_PANIC_H__
10
#define __ZEPHYR_RTOS_PANIC_H__
11
12
#include <
rtos/kernel.h
>
13
14
#ifndef __ZEPHYR__
15
#error "This file should only be included in Zephyr builds."
16
#endif
/* __ZEPHYR__ */
17
18
#define sof_panic(x) k_panic()
19
#define assert(x) __ASSERT_NO_MSG(x)
20
21
/* To print the asserted expression on failure:
22
* #define assert(x) __ASSERT(x, #x)
23
*/
24
25
#endif
/* __ZEPHYR_RTOS_PANIC_H__ */
kernel.h
RTOS kernel threading and privilege helpers.
zephyr
include
rtos
panic.h
Generated by
1.9.8