My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sw_syscall.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 sw_syscalls implementation
25  */
26 
27 #ifndef __SW_SYSCALL_H_
28 #define __SW_SYSCALL_H_
29 
33 void __sw_open();
34 
38 void __sw_close();
39 
43 void __sw_read(void);
44 
45 
49 void __sw_write();
50 
54 void __sw_ioctl(void);
55 
60 void __asm_execute_smc(void);
61 
70 int __asm_map_to_ns(pa_t phy_addr, va_t *va_addr);
71 
80 int __asm_unmap_from_ns(va_t va_addr);
81 
89 int __sw_usleep(int seconds);
90 
91 
99 int __elf_load( void *sa_config);
100 
101 #if defined(CONFIG_GUI_SUPPORT) && defined(CONFIG_VE_BOARD)
102 
111 int __init_lcd(int width, int height);
112 #endif
113 
114 #if defined(CONFIG_GUI_SUPPORT)
115 
119 void __sw_fb_flush(void);
120 #endif
121 
122 #endif
void __asm_execute_smc(void)
Execute smc system call.
void __sw_close()
Device close system call.
void __sw_ioctl(void)
Device ioctl system call.
int __asm_unmap_from_ns(va_t va_addr)
system call to Unmap a non-secure address
int __asm_map_to_ns(pa_t phy_addr, va_t *va_addr)
system call to map a address as non-secure entry
int __elf_load(void *sa_config)
system call to usleep
int __sw_usleep(int seconds)
system call to usleep
void __sw_open()
Device open system call.
void __sw_write()
Device write system call.
void __sw_read(void)
Device read system call.