My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sw_syscalls_id.h
Go to the documentation of this file.
1 /*
2  * OpenVirtualization:
3  * For additional details and support contact developer@sierraware.com.
4  * Additional documentation can be found at www.openvirtualization.org
5  *
6  * Copyright (C) 2010-2014 SierraWare
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21  *
22  */
23 /*
24  * Header for Syscall Numbers
25  */
26 
27 #ifndef __SW_SYSCALL_H_
28 #define __SW_SYSCALL_H_
29 
30 /*
31  * Syscall Numbers
32  */
33 #define SW_SYSCALL_OPEN 0xfff0
34 #define SW_SYSCALL_CLOSE 0xfff1
35 #define SW_SYSCALL_MAP_NS 0xfff2
36 #define SW_SYSCALL_UNMAP_NS 0xfff3
37 #define SW_SYSCALL_EXE_SMC 0xfff4
38 #define SW_SYSCALL_READ 0xfff5
39 #define SW_SYSCALL_WRITE 0xfff6
40 #define SW_SYSCALL_IOCTL 0xfff7
41 #define SW_SYSCALL_USLEEP 0xfff8
42 
43 #ifdef CONFIG_GUI_SUPPORT
44 #ifdef CONFIG_VE_BOARD
45 #define SW_SYSCALL_FRAMEBUFFER 0xfff9
46 #endif
47 #define SW_SYSCALL_FB_FLUSH 0xfffa
48 #endif
49 #define SW_SYSCALL_ELF_LOAD 0Xfffb
50 
51 #endif