Zephyr Project API
3.7.0
A Scalable Open Source RTOS
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_ */
include
zephyr
arch
arc
tool-compat.h
Generated on Sun Sep 15 2024 17:01:29 for Zephyr Project API by
1.9.8