Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
3.0.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
armclang.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_TOOLCHAIN_ARMCLANG_H_
8
#define ZEPHYR_INCLUDE_TOOLCHAIN_ARMCLANG_H_
9
10
11
#include <
toolchain/llvm.h
>
12
13
/*
14
* To reuse as much as possible from the llvm.h header we only redefine the
15
* __GENERIC_SECTION and Z_GENERIC_SECTION macros here to include the `used` keyword.
16
*/
17
#undef __GENERIC_SECTION
18
#undef Z_GENERIC_SECTION
19
20
#define __GENERIC_SECTION(segment) __attribute__((section(STRINGIFY(segment)), used))
21
#define Z_GENERIC_SECTION(segment) __GENERIC_SECTION(segment)
22
23
#endif
/* ZEPHYR_INCLUDE_TOOLCHAIN_ARMCLANG_H_ */
llvm.h
include
toolchain
armclang.h
Generated on Mon Feb 21 2022 22:43:02 for Zephyr API Documentation by
1.9.2