Subversion Repositories shark

Rev

Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pj 1
/*
2
 * Project: S.Ha.R.K.
3
 *
4
 * Coordinators:
5
 *   Giorgio Buttazzo    <giorgio@sssup.it>
6
 *   Paolo Gai           <pj@gandalf.sssup.it>
7
 *
8
 * Authors     :
9
 *   Paolo Gai           <pj@gandalf.sssup.it>
10
 *   Massimiliano Giorgi <massy@gandalf.sssup.it>
11
 *   Luca Abeni          <luca@gandalf.sssup.it>
12
 *   (see the web pages for full authors list)
13
 *
14
 * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
15
 *
16
 * http://www.sssup.it
17
 * http://retis.sssup.it
18
 * http://shark.sssup.it
19
 */
1063 tullio 20
 
2 pj 21
/*
1063 tullio 22
 * This program is free software; you can redistribute it and/or modify
23
 * it under the terms of the GNU General Public License as published by
24
 * the Free Software Foundation; either version 2 of the License, or
25
 * (at your option) any later version.
2 pj 26
 *
1063 tullio 27
 * This program is distributed in the hope that it will be useful,
28
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
29
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
30
 * GNU General Public License for more details.
2 pj 31
 *
1063 tullio 32
 * You should have received a copy of the GNU General Public License
33
 * along with this program; if not, write to the Free Software
34
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
35
 *
2 pj 36
 */
37
 
1063 tullio 38
 
2 pj 39
#ifndef __FS_TASK_H
40
#define __FS_TASK_H
41
 
42
#include <kernel/var.h>
43
#include <kernel/const.h>
44
 
45
/*+ number of processes (maximum) +*/
46
#define MAXIMUMPROCESS  1
47
 
48
/*+ number of threads per process (maximum) +*/
49
#define MAXIMUMTHREAD   MAX_PROC
50
 
51
/*+ pid of current process (process NOT thread) +*/
52
#define __get_pid() 0
53
 
54
/*+ tid of current thread (thread NOT process) +*/
55
#define __get_thread() exec_shadow
56
 
57
#endif