Subversion Repositories shark

Rev

Details | 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
 */
20
/*
21
 *
22
 *
23
 */
24
 
25
#ifndef __FS_TASK_H
26
#define __FS_TASK_H
27
 
28
#include <kernel/var.h>
29
#include <kernel/const.h>
30
 
31
/*+ number of processes (maximum) +*/
32
#define MAXIMUMPROCESS  1
33
 
34
/*+ number of threads per process (maximum) +*/
35
#define MAXIMUMTHREAD   MAX_PROC
36
 
37
/*+ pid of current process (process NOT thread) +*/
38
#define __get_pid() 0
39
 
40
/*+ tid of current thread (thread NOT process) +*/
41
#define __get_thread() exec_shadow
42
 
43
#endif