L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
linkage.h
Go to the documentation of this file.
1
6/*
7 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
8 * Alexander Warg <warg@os.inf.tu-dresden.de>
9 * economic rights: Technische Universität Dresden (Germany)
10 *
11 * License: see LICENSE.spdx (in this directory or the directories above)
12 */
13#ifndef __L4__SYS__ARCH_ARM__LINKAGE_H__
14#define __L4__SYS__ARCH_ARM__LINKAGE_H__
15
16#ifdef __ASSEMBLY__
17#ifndef ENTRY
18#define ENTRY(name) \
19 .globl name; \
20 .p2align(2); \
21 name:
22#endif
23#endif
24
25#define L4_FASTCALL(x) x
26#define l4_fastcall
27
33#define L4_CV
34
35#ifdef __PIC__
36# define L4_LONG_CALL
37#else
38# define L4_LONG_CALL __attribute__((long_call))
39#endif
40
41#endif /* ! __L4__SYS__ARCH_ARM__LINKAGE_H__ */