Subversion Repositories shark

Rev

Blame | Last modification | View Log | RSS feed

/*
 * Project: S.Ha.R.K.
 *
 * Coordinators:
 *   Giorgio Buttazzo    <giorgio@sssup.it>
 *   Paolo Gai           <pj@gandalf.sssup.it>
 *
 * Authors     :
 *   Paolo Gai           <pj@gandalf.sssup.it>
 *   Massimiliano Giorgi <massy@gandalf.sssup.it>
 *   Luca Abeni          <luca@gandalf.sssup.it>
 *   (see the web pages for full authors list)
 *
 * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
 *
 * http://www.sssup.it
 * http://retis.sssup.it
 * http://shark.sssup.it
 */

/*
 *
 *
 */


#ifndef __FS_TASK_H
#define __FS_TASK_H

#include <kernel/var.h>
#include <kernel/const.h>

/*+ number of processes (maximum) +*/
#define MAXIMUMPROCESS  1

/*+ number of threads per process (maximum) +*/
#define MAXIMUMTHREAD   MAX_PROC

/*+ pid of current process (process NOT thread) +*/
#define __get_pid() 0

/*+ tid of current thread (thread NOT process) +*/
#define __get_thread() exec_shadow

#endif