equal
deleted
inserted
replaced
9 #include <signal.h> |
9 #include <signal.h> |
10 #include <stdlib.h> |
10 #include <stdlib.h> |
11 #include <sys/mman.h> |
11 #include <sys/mman.h> |
12 #include <sys/fcntl.h> |
12 #include <sys/fcntl.h> |
13 |
13 |
14 #include <native/task.h> |
14 #include <alchemy/task.h> |
15 #include <native/timer.h> |
15 #include <alchemy/timer.h> |
16 #include <native/sem.h> |
16 #include <alchemy/sem.h> |
17 #include <native/pipe.h> |
17 #include <alchemy/pipe.h> |
18 |
18 |
19 unsigned int PLC_state = 0; |
19 unsigned int PLC_state = 0; |
20 #define PLC_STATE_TASK_CREATED 1 |
20 #define PLC_STATE_TASK_CREATED 1 |
21 #define PLC_STATE_DEBUG_FILE_OPENED 2 |
21 #define PLC_STATE_DEBUG_FILE_OPENED 2 |
22 #define PLC_STATE_DEBUG_PIPE_CREATED 4 |
22 #define PLC_STATE_DEBUG_PIPE_CREATED 4 |