1 | /*
|
---|
2 | * TOPPERS Software
|
---|
3 | * Toyohashi Open Platform for Embedded Real-Time Systems
|
---|
4 | *
|
---|
5 | * Copyright (C) 2007-2009 by TAKAGI Nobuhisa
|
---|
6 | *
|
---|
7 | * ãLì ÒÍCȺÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
|
---|
8 | * Ai{\tgEFAðüϵ½àÌðÜÞDȺ¯¶jðgpE¡»Eü
|
---|
9 | * ÏEÄzziȺCpÆÄÔj·é±Æð³Åø·éD
|
---|
10 | * (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
|
---|
11 | * \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
|
---|
12 | * XR[hÉÜÜêĢ鱯D
|
---|
13 | * (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJÉg
|
---|
14 | * pÅ«é`ÅÄzz·éêÉÍCÄzzɺ¤hL
|
---|
15 | gip
|
---|
16 | * Ò}j
|
---|
17 | AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
|
---|
18 | * Ì³ÛØKèðfÚ·é±ÆD
|
---|
19 | * (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJÉg
|
---|
20 | * pūȢ`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
|
---|
21 | * ÆD
|
---|
22 | * (a) Äzzɺ¤hL
|
---|
23 | gipÒ}j
|
---|
24 | AÈÇjÉCãLÌ
|
---|
25 | * ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
|
---|
26 | * (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
|
---|
27 | * ñ·é±ÆD
|
---|
28 | * (4) {\tgEFAÌpÉæè¼ÚIܽÍÔÚIɶ¶é¢©Èé¹
|
---|
29 | * Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
|
---|
30 | * ܽC{\tgEFAÌ[UܽÍGh[U©çÌ¢©Èé
|
---|
31 | * RÉîÿ©çàCãLì Ò¨æÑTOPPERSvWFNgð
|
---|
32 | * ÆÓ·é±ÆD
|
---|
33 | *
|
---|
34 | * {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
|
---|
35 | * æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
|
---|
36 | * ÉηéK«àÜßÄC¢©ÈéÛØàsíÈ¢DܽC{\tgEF
|
---|
37 | * AÌpÉæè¼ÚIܽÍÔÚIɶ¶½¢©Èé¹QÉÖµÄàC»
|
---|
38 | * ÌÓCðíÈ¢D
|
---|
39 | *
|
---|
40 | */
|
---|
41 | #ifndef CFG_HPP_
|
---|
42 | #define CFG_HPP_
|
---|
43 |
|
---|
44 | #include <cctype>
|
---|
45 | #include <cstdio>
|
---|
46 | #include <cstdlib>
|
---|
47 | #include <string>
|
---|
48 | #include <vector>
|
---|
49 | #include <sstream>
|
---|
50 | #include <iostream>
|
---|
51 | #include <algorithm>
|
---|
52 | #include <map>
|
---|
53 | #include "toppers/workaround.hpp"
|
---|
54 | #include "toppers/codeset.hpp"
|
---|
55 | #include "toppers/global.hpp"
|
---|
56 | #include "toppers/diagnostics.hpp"
|
---|
57 | #include "toppers/text.hpp"
|
---|
58 | #include "toppers/misc.hpp"
|
---|
59 | #include "toppers/oil/preprocess.hpp"
|
---|
60 | #include "toppers/oil/factory.hpp"
|
---|
61 | #include "toppers/oil/cfg1_out.hpp"
|
---|
62 | #include <boost/utility.hpp>
|
---|
63 | #include <boost/format.hpp>
|
---|
64 |
|
---|
65 | #define CFG_VERSION cfg_version
|
---|
66 |
|
---|
67 | bool cfg0_main();
|
---|
68 | bool cfg1_main();
|
---|
69 | bool cfg2_main();
|
---|
70 | void cfg_init();
|
---|
71 |
|
---|
72 | extern char const cfg_version[];
|
---|
73 |
|
---|
74 | std::tr1::int64_t cfg_timestamp();
|
---|
75 |
|
---|
76 | void assign_id( toppers::oil::oil_definition::object_parameter_def api_map );
|
---|
77 |
|
---|
78 | #endif // ! CFG_HPP_
|
---|