Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
exception.h
Go to the documentation of this file.
1/* exception.h - automatically selects the correct exception.h file to include */
2
3/*
4 * Copyright (c) 2024 Meta Platforms
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#ifndef ZEPHYR_INCLUDE_ARCH_EXCEPTION_H_
9#define ZEPHYR_INCLUDE_ARCH_EXCEPTION_H_
10
11#if defined(CONFIG_LOG)
12#define EXCEPTION_DUMP(...) LOG_ERR(__VA_ARGS__)
13#else
14#define EXCEPTION_DUMP(format, ...) printk(format "\n", ##__VA_ARGS__)
15#endif
16
17#if defined(CONFIG_X86_64)
19#elif defined(CONFIG_X86)
21#elif defined(CONFIG_ARM64)
23#elif defined(CONFIG_ARM)
25#elif defined(CONFIG_ARC)
27#elif defined(CONFIG_RISCV)
29#elif defined(CONFIG_XTENSA)
31#elif defined(CONFIG_MIPS)
33#elif defined(CONFIG_ARCH_POSIX)
35#elif defined(CONFIG_SPARC)
37#elif defined(CONFIG_RX)
39#endif
40
41#endif /* ZEPHYR_INCLUDE_ARCH_EXCEPTION_H_ */
ARCv2 public exception handling.
Cortex-A public exception handling.
ARM AArch32 public exception handling.
RISCV public exception handling.
Xtensa public exception handling.