Zephyr API
3.6.99
Loading...
Searching...
No Matches
tool-compat.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 Synopsys.
3
* Author: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
4
*
5
* SPDX-License-Identifier: Apache-2.0
6
*/
7
8
#ifndef ZEPHYR_INCLUDE_ARCH_ARC_TOOL_COMPAT_H_
9
#define ZEPHYR_INCLUDE_ARCH_ARC_TOOL_COMPAT_H_
10
11
#ifdef _ASMLANGUAGE
12
/*
13
* GNU toolchain and MWDT (Metware) toolchain have different style for accessing
14
* arguments in assembly macro. Here is the preprocessor macro to handle the
15
* difference.
16
* __CCAC__ is a pre-defined macro of metaware compiler.
17
*/
18
#if defined(__CCAC__)
19
#define MACRO_ARG(x) x
20
#else
21
#define MACRO_ARG(x) \x
22
#endif
23
24
#endif
/* _ASMLANGUAGE */
25
#endif
/* ZEPHYR_INCLUDE_ARCH_ARC_TOOL_COMPAT_H_ */
zephyr
arch
arc
tool-compat.h
Generated on Tue Nov 5 2024 12:37:34 for Zephyr API by
1.12.0