]> rtime.felk.cvut.cz Git - frescor/fwp.git/blob - frsh_aquosa/mngr/main.c
Added basic aquosa cpu ops
[frescor/fwp.git] / frsh_aquosa / mngr / main.c
1
2 int aquosa_cpu_init()
3 {
4         /* (try to) initialize the AQuoSA Framework */
5         if (qres_init() != QOS_OK || qsup_init() != QOS_OK)
6                 FRSH_ERR_RET(FRSH_ERR_INTERNAL_ERROR, 
7                                 "can't initialize AQuoSA framework");
8         /* connect to DTM manager */
9         return 0;
10         
11 }
12
13 int main_loop()
14 {
15         
16         
17         return 0;
18
19 }
20
21 int main()
22 {
23         if (aquosa_cpu_init() != 0)
24                 exit(1);
25         main_loop();
26         return 0;
27 }