##// END OF EJS Templates
Beginning of the message queue implementation for the actions handler
admin@pc-p-leroy3.LAB-LPP.LOCAL -
r8:ab2dbbe22332 default
parent child
Show More
@@ -4,13 +4,13
4 4 <Project>
5 5 <Option title="FSW-rtems" />
6 6 <Option pch_mode="2" />
7 <Option compiler="sparc_rtems_gcc" />
7 <Option compiler="sparcrtemsgcc446" />
8 8 <Build>
9 9 <Target title="Debug">
10 10 <Option output="bin/Debug/fsw" prefix_auto="1" extension_auto="1" />
11 11 <Option object_output="obj/Debug/" />
12 12 <Option type="1" />
13 <Option compiler="sparc_rtems_gcc_compiler" />
13 <Option compiler="sparcrtems446" />
14 14 <Compiler>
15 15 <Add option="-fexpensive-optimizations" />
16 16 <Add option="-O3" />
@@ -23,7 +23,7
23 23 <Option output="bin/Release/FSW-rtems" prefix_auto="1" extension_auto="1" />
24 24 <Option object_output="obj/Release/" />
25 25 <Option type="1" />
26 <Option compiler="sparc_rtems_gcc" />
26 <Option compiler="sparcrtemsgcc446" />
27 27 <Compiler>
28 28 <Add option="-O2" />
29 29 </Compiler>
@@ -1,11 +1,11
1 1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2 2 <CodeBlocks_layout_file>
3 3 <ActiveTarget name="Debug" />
4 <File name="../header/ccsds_types.h" open="1" top="0" tabpos="5">
4 <File name="../header/ccsds_types.h" open="0" top="0" tabpos="5">
5 5 <Cursor position="1172" topLine="24" />
6 6 </File>
7 <File name="../header/fsw_init.h" open="0" top="0" tabpos="0">
8 <Cursor position="307" topLine="0" />
7 <File name="../header/fsw_init.h" open="1" top="0" tabpos="3">
8 <Cursor position="410" topLine="16" />
9 9 </File>
10 10 <File name="../header/fsw_misc.h" open="0" top="0" tabpos="0">
11 11 <Cursor position="114" topLine="0" />
@@ -14,28 +14,28
14 14 <Cursor position="1320" topLine="8" />
15 15 </File>
16 16 <File name="../header/fsw_processing.h" open="0" top="0" tabpos="0">
17 <Cursor position="175" topLine="1" />
17 <Cursor position="510" topLine="0" />
18 18 </File>
19 <File name="../header/tc_handler.h" open="1" top="0" tabpos="4">
19 <File name="../header/tc_handler.h" open="0" top="0" tabpos="4">
20 20 <Cursor position="634" topLine="0" />
21 21 </File>
22 22 <File name="../header/wf_handler.h" open="0" top="0" tabpos="0">
23 23 <Cursor position="212" topLine="0" />
24 24 </File>
25 <File name="../src/fsw_globals.c" open="0" top="0" tabpos="0">
26 <Cursor position="908" topLine="0" />
25 <File name="../src/fsw_globals.c" open="1" top="0" tabpos="4">
26 <Cursor position="46" topLine="0" />
27 27 </File>
28 <File name="../src/fsw_init.c" open="1" top="0" tabpos="1">
29 <Cursor position="1703" topLine="42" />
28 <File name="../src/fsw_init.c" open="1" top="1" tabpos="2">
29 <Cursor position="3361" topLine="60" />
30 30 </File>
31 31 <File name="../src/fsw_misc.c" open="0" top="0" tabpos="0">
32 32 <Cursor position="20" topLine="0" />
33 33 </File>
34 <File name="../src/fsw_processing.c" open="1" top="0" tabpos="2">
34 <File name="../src/fsw_processing.c" open="0" top="0" tabpos="2">
35 35 <Cursor position="1175" topLine="46" />
36 36 </File>
37 <File name="../src/tc_handler.c" open="1" top="1" tabpos="3">
38 <Cursor position="2672" topLine="26" />
37 <File name="../src/tc_handler.c" open="1" top="0" tabpos="1">
38 <Cursor position="11070" topLine="270" />
39 39 </File>
40 40 <File name="../src/wf_handler.c" open="0" top="0" tabpos="0">
41 41 <Cursor position="3936" topLine="62" />
1 NO CONTENT: modified file, binary diff hidden
@@ -18,6 +18,7
18 18
19 19 extern int sched_yield();
20 20 extern int errno;
21 extern rtems_name misc_names[ ];
21 22
22 23 // RTEMS TASKS
23 24 rtems_task Init( rtems_task_argument argument); /* forward declaration needed */
@@ -27,6 +28,7 rtems_task spw_stat_task(rtems_task_argu
27 28 rtems_task spw_wfrm_task(rtems_task_argument argument);
28 29 int create_all_tasks();
29 30 int start_all_tasks();
31 int create_message_queue();
30 32
31 33 // OTHER functions
32 34 int configure_spw_link();
@@ -1,4 +1,8
1 1 #include <fsw_processing.h>
2 #include <rtems.h>
3
4 // RTEMS GLOBAL VARIABLES
5 rtems_name misc_names[5];
2 6
3 7 // WAVEFORMS GLOBAL VARIABLES
4 8 volatile int wf_snap_f0[ NB_SAMPLES_PER_SNAPSHOT * NB_BYTES_SWF_BLK ]; // 24576 bytes
@@ -66,7 +66,8 rtems_task Init( rtems_task_argument ign
66 66 //send_console_outputs_on_serial_port();
67 67
68 68 InitLookUpTableForCRC(); // in tc_handler.h
69
69
70 create_message_queue();
70 71 create_all_tasks();
71 72 start_all_tasks();
72 73
@@ -104,6 +105,12 rtems_task spw_spiq_task(rtems_task_argu
104 105 }
105 106 }
106 107
108 int create_message_queue()
109 {
110 misc_names[0] = rtems_build_name( 'D', 'O', 'I', 'T' );
111 return 0;
112 }
113
107 114 int create_all_tasks()
108 115 {
109 116 rtems_status_code status;
@@ -278,7 +278,7 unsigned char TM_build_data(ccsdsTelecom
278 278
279 279 unsigned char actionLauncher(unsigned int sid)
280 280 {
281
281 return 0;
282 282 }
283 283
284 284 //***********
General Comments 0
You need to be logged in to leave comments. Login now