Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
error.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
11
12
#ifndef ZEPHYR_INCLUDE_ARCH_HEXAGON_ERROR_H_
13
#define ZEPHYR_INCLUDE_ARCH_HEXAGON_ERROR_H_
14
15
#include <
zephyr/arch/exception.h
>
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
extern
FUNC_NORETURN
void
z_hexagon_fatal_error(
unsigned
int
reason);
22
28
#define ARCH_EXCEPT(reason_p) \
29
do { \
30
z_hexagon_fatal_error(reason_p); \
31
CODE_UNREACHABLE; \
32
} while (false)
33
34
#ifdef __cplusplus
35
}
36
#endif
37
38
#endif
/* ZEPHYR_INCLUDE_ARCH_HEXAGON_ERROR_H_ */
exception.h
include
zephyr
arch
hexagon
error.h
Generated on
for Zephyr Project API by
1.16.1