3,6 → 3,31 |
|
#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_ERROR 10 |
#define PAR_FOUND 11 |
|
#define PAR_EXEC_CONST 12 |
#define PAR_EXEC_MEAN 13 |
#define PAR_EXEC_EXP 14 |
#define PAR_EXEC_EXP_MAX 15 |
|
#define PAR_ACT_SINGLE 16 |
#define PAR_ACT_PERIODIC 17 |
#define PAR_ACT_MEAN 18 |
#define PAR_ACT_EXP 19 |
#define PAR_ACT_EXP_MAX 20 |
|
#define PAR_TASK_NRT 21 |
#define PAR_TASK_HARD 22 |
#define PAR_TASK_SOFT 23 |
|
struct loader_task { |
int number; |
int task_level; |
20,7 → 45,7 |
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 |
|