3 * Copyright (C) 2010 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #define SYSV_GETCH (unsigned *) 0x9000
24 #define SYSV_GETKEY (unsigned *) 0x9004
25 #define SYSV_FORK (unsigned *) 0x9008
26 #define SYSV_WRITE (int *) 0x900C
27 #define SYSV_SOCKET (int *) 0x9010
28 #define SYSV_CONNECT (int *) 0x9014
29 #define SYSV_SEND (int *) 0x9018
30 #define SYSV_RECV (int *) 0x901C
31 #define SYSV_OPEN (int *) 0x9020
32 #define SYSV_READ (int *) 0x9024
33 #define SYSV_TIME (unsigned *) 0x9028
34 #define SYSV_CHDIR (int *) 0x902C
35 #define SYSV_BIND (int *) 0x9030
36 #define SYSV_LISTEN (int *) 0x9034
37 #define SYSV_ACCEPT (int *) 0x9038
38 #define SYSV_FCNTL (int *) 0x903C
39 #define SYSV_GVGAFB (unsigned *) 0x9040
40 #define SYSV_RS232READ (int *) 0x9044
41 #define SYSV_SENDTO (int *) 0x9048
42 #define SYSV_RECVFROM (int *) 0x904C
43 #define SYSV_GETCHAR (int *) 0x9050
44 #define SYSV_THREADOPEN (unsigned *) 0x9054
45 #define SYSV_THREADCLOSE (unsigned *) 0x9058
46 #define SYSV_IOCTL (int *) 0x905C
47 #define SYSV_LSEEK (long *) 0x9060
50 extern task_t
*_curr_task
;
51 extern unsigned long timer_ticks
;
52 extern unsigned char scancode
;
53 extern kbd_quaue kbd_q
;
54 extern unsigned char vgagui
;