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
 */



/**
 ------------
 CVS :        $Id: codes.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $

 File:        $File$
 Revision:    $Revision: 1.1.1.1 $
 Last update: $Date: 2002-03-29 14:12:51 $
 ------------

 This file contains the defines of the codes used by the modules

 Each module has a name, a code and a version

**/


/*
 * Copyright (C) 2000 Paolo Gai
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */




#ifndef __CODES_H__
#define __CODES_H__

/* Scheduling Modules */

#define DUMMY_LEVELNAME         "Dummy (RR)"
#define DUMMY_LEVEL_CODE        1
#define DUMMY_LEVEL_VERSION     1

#define RR_LEVELNAME            "Round Robin (RR)"
#define RR_LEVEL_CODE           2
#define RR_LEVEL_VERSION        1

#define RR2_LEVELNAME           "Round Robin v2 (RR2)"
#define RR2_LEVEL_CODE          2
#define RR2_LEVEL_VERSION       2

#define EDF_LEVELNAME           "EDF base"
#define EDF_LEVEL_CODE          3
#define EDF_LEVEL_VERSION       1

#define RM_LEVELNAME            "RM base"
#define RM_LEVEL_CODE           4
#define RM_LEVEL_VERSION        1

#define POSIX_LEVELNAME         "POSIX scheduler"
#define POSIX_LEVEL_CODE        6
#define POSIX_LEVEL_VERSION     1

#define RRSOFT_LEVELNAME        "RR,Soft/Hard Models"
#define RRSOFT_LEVEL_CODE       7
#define RRSOFT_LEVEL_VERSION    1









/* Aperiodic Servers  */

#define CBS_LEVELNAME           "CBS base"
#define CBS_LEVEL_CODE          101
#define CBS_LEVEL_VERSION       1

#define TBS_LEVELNAME           "TBS base"
#define TBS_LEVEL_CODE          102
#define TBS_LEVEL_VERSION       1

#define PS_LEVELNAME            "PS base"
#define PS_LEVEL_CODE           103
#define PS_LEVEL_VERSION        1

#define DS_LEVELNAME            "DS base"
#define DS_LEVEL_CODE           104
#define DS_LEVEL_VERSION        1

#define SS_LEVELNAME            "SS base"
#define SS_LEVEL_CODE           105
#define SS_LEVEL_VERSION        1


/* Resource Modules   */

#define NOP_MODULENAME          "BSEM module"
#define NOP_MODULE_CODE         201
#define NOP_MODULE_VERSION      1

#define SRP_MODULENAME          "SRP module"
#define SRP_MODULE_CODE         202
#define SRP_MODULE_VERSION      1

#define NPP_MODULENAME          "NPP module"
#define NPP_MODULE_CODE         203
#define NPP_MODULE_VERSION      1

#define PC_MODULENAME           "PC module"
#define PC_MODULE_CODE          204
#define PC_MODULE_VERSION       1

#define PI_MODULENAME           "PI module"
#define PI_MODULE_CODE          205
#define PI_MODULE_VERSION       1

#define NOPM_MODULENAME         "NOPM module"
#define NOPM_MODULE_CODE        206
#define NOPM_MODULE_VERSION     1

#define BDEDF_MODULENAME        "BD_EDF module"
#define BDEDF_MODULE_CODE       207
#define BDEDF_MODULE_VERSION    1

#define BDPSCAN_MODULENAME      "BD_PSCAN module"
#define BDPSCAN_MODULE_CODE     208
#define BDPSCAN_MODULE_VERSION  1

#endif