]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4sys/include/ARCH-arm/L4API-l4f/syscall_defs.h
Inital import
[l4.git] / l4 / pkg / l4sys / include / ARCH-arm / L4API-l4f / syscall_defs.h
1 /**
2  * \file
3  * \brief  Syscall entry definitions.
4  */
5 /*
6  * (c) 2010 Technische Universität Dresden
7  * This file is part of TUD:OS and distributed under the terms of the
8  * GNU General Public License 2.
9  * Please see the COPYING-GPL-2 file for details.
10  *
11  * As a special exception, you may use this file as part of a free software
12  * library without restriction.  Specifically, if other files instantiate
13  * templates or use macros or inline functions from this file, or you compile
14  * this file and link it with other files to produce an executable, this
15  * file does not by itself cause the resulting executable to be covered by
16  * the GNU General Public License.  This exception does not however
17  * invalidate any other reasons why the executable file might be covered by
18  * the GNU General Public License.
19  */
20 #ifndef __L4SYS__ARCH_ARM__L4API_L4F__SYSCALL_DEFS_H__
21 #define __L4SYS__ARCH_ARM__L4API_L4F__SYSCALL_DEFS_H__
22
23 #ifndef L4_SYSCALL_MAGIC_OFFSET
24 #  define L4_SYSCALL_MAGIC_OFFSET       8
25 #endif
26 #define L4_SYSCALL_INVOKE               (-0x00000004-L4_SYSCALL_MAGIC_OFFSET)
27 #define L4_SYSCALL_CACHE_OP             (-0x00000008-L4_SYSCALL_MAGIC_OFFSET)
28 #define L4_SYSCALL_DEBUGGER             (-0x0000000C-L4_SYSCALL_MAGIC_OFFSET)
29
30 #endif /* __L4SYS__ARCH_ARM__L4API_L4F__SYSCALL_DEFS_H__ */