1 | /*
|
---|
2 | * TOPPERS/ASP Kernel
|
---|
3 | * Toyohashi Open Platform for Embedded Real-Time Systems/
|
---|
4 | * Advanced Standard Profile Kernel
|
---|
5 | *
|
---|
6 | * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
|
---|
7 | * Toyohashi Univ. of Technology, JAPAN
|
---|
8 | * Copyright (C) 2004-2008 by Embedded and Real-Time Systems Laboratory
|
---|
9 | * Graduate School of Information Science, Nagoya Univ., JAPAN
|
---|
10 | *
|
---|
11 | * ãLì ÒÍCȺÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
|
---|
12 | * Ai{\tgEFAðüϵ½àÌðÜÞDȺ¯¶jðgpE¡»Eü
|
---|
13 | * ÏEÄzziȺCpÆÄÔj·é±Æð³Åø·éD
|
---|
14 | * (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
|
---|
15 | * \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
|
---|
16 | * XR[hÉÜÜêĢ鱯D
|
---|
17 | * (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJÉg
|
---|
18 | * pÅ«é`ÅÄzz·éêÉÍCÄzzɺ¤hL
|
---|
19 | gip
|
---|
20 | * Ò}j
|
---|
21 | AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
|
---|
22 | * Ì³ÛØKèðfÚ·é±ÆD
|
---|
23 | * (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJÉg
|
---|
24 | * pūȢ`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
|
---|
25 | * ÆD
|
---|
26 | * (a) Äzzɺ¤hL
|
---|
27 | gipÒ}j
|
---|
28 | AÈÇjÉCãLÌ
|
---|
29 | * ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
|
---|
30 | * (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
|
---|
31 | * ñ·é±ÆD
|
---|
32 | * (4) {\tgEFAÌpÉæè¼ÚIܽÍÔÚIɶ¶é¢©Èé¹
|
---|
33 | * Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
|
---|
34 | * ܽC{\tgEFAÌ[UܽÍGh[U©çÌ¢©Èé
|
---|
35 | * RÉîÿ©çàCãLì Ò¨æÑTOPPERSvWFNgð
|
---|
36 | * ÆÓ·é±ÆD
|
---|
37 | *
|
---|
38 | * {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
|
---|
39 | * æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
|
---|
40 | * ÉηéK«àÜßÄC¢©ÈéÛØàsíÈ¢DܽC{\tgEF
|
---|
41 | * AÌpÉæè¼ÚIܽÍÔÚIɶ¶½¢©Èé¹QÉÖµÄàC»
|
---|
42 | * ÌÓCðíÈ¢D
|
---|
43 | *
|
---|
44 | * @(#) $Id: logtask.h 164 2016-03-07 11:33:50Z coas-nagasima $
|
---|
45 | */
|
---|
46 |
|
---|
47 | /*
|
---|
48 | * VXeO^XN
|
---|
49 | */
|
---|
50 |
|
---|
51 | #ifndef TOPPERS_LOGTASK_H
|
---|
52 | #define TOPPERS_LOGTASK_H
|
---|
53 |
|
---|
54 | #ifdef __cplusplus
|
---|
55 | extern "C" {
|
---|
56 | #endif
|
---|
57 |
|
---|
58 | #include "target_syssvc.h"
|
---|
59 |
|
---|
60 | /*
|
---|
61 | * VXeO^XNÖAÌèÌftHglÌè`
|
---|
62 | */
|
---|
63 | #ifndef LOGTASK_PRIORITY
|
---|
64 | #define LOGTASK_PRIORITY 3 /* úDæx */
|
---|
65 | #endif /* LOGTASK_PRIORITY */
|
---|
66 |
|
---|
67 | #ifndef LOGTASK_STACK_SIZE
|
---|
68 | #define LOGTASK_STACK_SIZE 1024 /* X^bNÌæÌTCY */
|
---|
69 | #endif /* LOGTASK_STACK_SIZE */
|
---|
70 |
|
---|
71 | #ifndef LOGTASK_PORTID
|
---|
72 | #define LOGTASK_PORTID 1 /* VXeOpÌVA|[gÔ */
|
---|
73 | #endif /* LOGTASK_PORTID */
|
---|
74 |
|
---|
75 | #ifndef LOGTASK_INTERVAL
|
---|
76 | #define LOGTASK_INTERVAL 10U /* VXeO^XNÌ®ìÔui~bj*/
|
---|
77 | #endif /* LOGTASK_INTERVAL */
|
---|
78 |
|
---|
79 | #ifndef LOGTASK_FLUSH_WAIT
|
---|
80 | #define LOGTASK_FLUSH_WAIT 1U /* tbV
|
---|
81 | Ò¿ÌPÊÔi~bj*/
|
---|
82 | #endif /* LOGTASK_FLUSH_WAIT */
|
---|
83 |
|
---|
84 | /*
|
---|
85 | * VXeOoÍÌÒ¿í¹
|
---|
86 | *
|
---|
87 | * Oobt@ÌO̪countȺÉÈéÜÅÒÂDcountª0ÌêÉ
|
---|
88 | * ÍCVAobt@ªóÉÈéÌàÒÂD
|
---|
89 | */
|
---|
90 | extern ER logtask_flush(uint_t count) throw();
|
---|
91 |
|
---|
92 | /*
|
---|
93 | * VXeO^XNÌ{Ì
|
---|
94 | */
|
---|
95 | extern void logtask_main(intptr_t exinf) throw();
|
---|
96 |
|
---|
97 | /*
|
---|
98 | * VXeO^XNÌI¹
|
---|
99 | */
|
---|
100 | extern void logtask_terminate(intptr_t exinf) throw();
|
---|
101 |
|
---|
102 | #ifdef __cplusplus
|
---|
103 | }
|
---|
104 | #endif
|
---|
105 |
|
---|
106 | #endif /* TOPPERS_LOGTASK_H */
|
---|