4,15 → 4,17 |
#include <kernel/kern.h> |
|
#define PAR_TOTAL_EXEC_TIME 0 |
#define PAR_TIME 2 |
#define PAR_ACT_TYPE 3 |
#define PAR_TASK_NUMBER 4 |
#define PAR_EXEC_TYPE 5 |
#define PAR_TASK_TYPE 6 |
#define PAR_NOTHING 8 |
#define PAR_DEADLINE 9 |
#define PAR_ERROR 10 |
#define PAR_FOUND 11 |
#define PAR_TIME 1 |
#define PAR_ACT_TYPE 2 |
#define PAR_TASK_NUMBER 3 |
#define PAR_EXEC_TYPE 4 |
#define PAR_TASK_TYPE 5 |
#define PAR_NOTHING 6 |
#define PAR_DEADLINE 7 |
#define PAR_ERROR 8 |
#define PAR_FOUND 9 |
#define PAR_CRIT_SESSION 10 |
#define PAR_END 11 |
|
#define PAR_EXEC_CONST 12 |
#define PAR_EXEC_MEAN 13 |
28,7 → 30,11 |
#define PAR_TASK_NRT 21 |
#define PAR_TASK_HARD 22 |
#define PAR_TASK_SOFT 23 |
#define PAR_TASK_BACK 24 |
|
#define PAR_NO_CRIT 25 |
#define PAR_CRIT 26 |
|
struct loader_task { |
int number; |
int group; |
46,10 → 52,16 |
struct timespec act_par_2; |
struct timespec act_par_3; |
struct timespec act_par_4; |
int crit_type; |
int resource; |
struct timespec crit_par_1; |
struct timespec crit_par_2; |
struct timespec crit_par_3; |
struct timespec crit_par_4; |
struct loader_task *next; |
}; |
|
int line_parser(char *buf, int line_num, struct timespec *total, struct loader_task **last); |
int line_parser(char **buf, int line_num, struct timespec *total, struct loader_task **last); |
|
#endif |
|