summaryrefslogtreecommitdiff
path: root/cesar/cesar.h
blob: 6f706e25a031b8bb157f579de69a714f41b8dfa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef cesar_h
#define cesar_h
/* Cesar project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    cesar.h
 * \brief   main level of cesar software. 
 * \ingroup cesar
 */

BEGIN_DECLS

/**
 * \brief CESAR application software entry-point function.
 * 
 * \return true
 * 
 */
int
cesar_init (void);

/**
 * \brief Entry-point function, main() or cyg_user_start().
 * - main() or cyg_user_start() called directly by maximus core in case of maximus simulation environment, 
 * - cyg_user_start() called by eCos on true target...
 * 
 * \return cesar initialisation return code
 *
 * 1) in case of running in Maximus simulator, performs specific inits
 *    relating to use of Maximus resources (Maximus station init, Maximus log level/mask)
 * 2) jump to (call) cesar_init() 
 */
int
main (void);

END_DECLS

#endif /* cesar_h */