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
 CVS :        $Id: codes.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $
25
 
26
 File:        $File$
27
 Revision:    $Revision: 1.1.1.1 $
28
 Last update: $Date: 2002-03-29 14:12:51 $
29
 ------------
30
 
31
 This file contains the defines of the codes used by the modules
32
 
33
 Each module has a name, a code and a version
34
 
35
**/
36
 
37
/*
38
 * Copyright (C) 2000 Paolo Gai
39
 *
40
 * This program is free software; you can redistribute it and/or modify
41
 * it under the terms of the GNU General Public License as published by
42
 * the Free Software Foundation; either version 2 of the License, or
43
 * (at your option) any later version.
44
 *
45
 * This program is distributed in the hope that it will be useful,
46
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
47
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
48
 * GNU General Public License for more details.
49
 *
50
 * You should have received a copy of the GNU General Public License
51
 * along with this program; if not, write to the Free Software
52
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
53
 *
54
 */
55
 
56
 
57
 
58
#ifndef __CODES_H__
59
#define __CODES_H__
60
 
61
/* Scheduling Modules */
62
 
63
#define DUMMY_LEVELNAME         "Dummy (RR)"
64
#define DUMMY_LEVEL_CODE        1
65
#define DUMMY_LEVEL_VERSION     1
66
 
67
#define RR_LEVELNAME            "Round Robin (RR)"
68
#define RR_LEVEL_CODE           2
69
#define RR_LEVEL_VERSION        1
70
 
71
#define RR2_LEVELNAME           "Round Robin v2 (RR2)"
72
#define RR2_LEVEL_CODE          2
73
#define RR2_LEVEL_VERSION       2
74
 
75
#define EDF_LEVELNAME           "EDF base"
76
#define EDF_LEVEL_CODE          3
77
#define EDF_LEVEL_VERSION       1
78
 
79
#define RM_LEVELNAME            "RM base"
80
#define RM_LEVEL_CODE           4
81
#define RM_LEVEL_VERSION        1
82
 
83
#define POSIX_LEVELNAME         "POSIX scheduler"
84
#define POSIX_LEVEL_CODE        6
85
#define POSIX_LEVEL_VERSION     1
86
 
87
#define RRSOFT_LEVELNAME        "RR,Soft/Hard Models"
88
#define RRSOFT_LEVEL_CODE       7
89
#define RRSOFT_LEVEL_VERSION    1
90
 
91
 
92
 
93
 
94
 
95
 
96
 
97
 
98
 
99
/* Aperiodic Servers  */
100
 
101
#define CBS_LEVELNAME           "CBS base"
102
#define CBS_LEVEL_CODE          101
103
#define CBS_LEVEL_VERSION       1
104
 
105
#define TBS_LEVELNAME           "TBS base"
106
#define TBS_LEVEL_CODE          102
107
#define TBS_LEVEL_VERSION       1
108
 
109
#define PS_LEVELNAME            "PS base"
110
#define PS_LEVEL_CODE           103
111
#define PS_LEVEL_VERSION        1
112
 
113
#define DS_LEVELNAME            "DS base"
114
#define DS_LEVEL_CODE           104
115
#define DS_LEVEL_VERSION        1
116
 
117
#define SS_LEVELNAME            "SS base"
118
#define SS_LEVEL_CODE           105
119
#define SS_LEVEL_VERSION        1
120
 
121
 
122
/* Resource Modules   */
123
 
124
#define NOP_MODULENAME          "BSEM module"
125
#define NOP_MODULE_CODE         201
126
#define NOP_MODULE_VERSION      1
127
 
128
#define SRP_MODULENAME          "SRP module"
129
#define SRP_MODULE_CODE         202
130
#define SRP_MODULE_VERSION      1
131
 
132
#define NPP_MODULENAME          "NPP module"
133
#define NPP_MODULE_CODE         203
134
#define NPP_MODULE_VERSION      1
135
 
136
#define PC_MODULENAME           "PC module"
137
#define PC_MODULE_CODE          204
138
#define PC_MODULE_VERSION       1
139
 
140
#define PI_MODULENAME           "PI module"
141
#define PI_MODULE_CODE          205
142
#define PI_MODULE_VERSION       1
143
 
144
#define NOPM_MODULENAME         "NOPM module"
145
#define NOPM_MODULE_CODE        206
146
#define NOPM_MODULE_VERSION     1
147
 
148
#define BDEDF_MODULENAME        "BD_EDF module"
149
#define BDEDF_MODULE_CODE       207
150
#define BDEDF_MODULE_VERSION    1
151
 
152
#define BDPSCAN_MODULENAME      "BD_PSCAN module"
153
#define BDPSCAN_MODULE_CODE     208
154
#define BDPSCAN_MODULE_VERSION  1
155
 
156
#endif