Changeset 429 for EcnlProtoTool/trunk/asp3_dcre/syssvc/tTestService.cdl
- Timestamp:
- Jul 3, 2020, 7:19:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/asp3_dcre/syssvc/tTestService.cdl
r321 r429 1 1 /* 2 * TOPPERS/ASP Kernel 3 * Toyohashi Open Platform for Embedded Real-Time Systems/ 4 * Advanced Standard Profile Kernel 2 * TOPPERS Software 3 * Toyohashi Open Platform for Embedded Real-Time Systems 5 4 * 6 * Copyright (C) 2016 by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2016-2018 by Embedded and Real-Time Systems Laboratory 7 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 8 7 * … … 46 45 * 自己診断サービスのシグニチャ 47 46 */ 47 [callback] 48 48 signature sBuiltInTest { 49 49 ER builtInTest(void); … … 52 52 /* 53 53 * テストプログラム用サービスのシグニチャ 54 *55 * setBuiltInTestは,TECSの中では動的結合を使って実現すべきであるが,56 * C言語のアプリケーションから呼び出しやすくするために,TECSの作法違57 * 反のコードとなっている.58 54 * 59 55 * getInterruptPriorityMaskは,そのままカーネルを呼び出すだけの関数で … … 64 60 */ 65 61 signature sTestService { 66 void start([in, string] const char *progname); 67 void setBuiltInTest([in] Descriptor(sBuiltInTest) desc); 68 void checkPoint([in] uint_t count); 69 void finishPoint([in] uint_t count); 70 void assertError([in, string] const char *expr, 62 ER start([in, string] const char *progname); 63 ER checkPoint([in] uint_t count); 64 ER finishPoint([in] uint_t count); 65 ER assertError([in, string] const char *expr, 71 66 [in, string] const char *file, [in] int_t line); 72 voidserviceError([in] ER ercd,67 ER serviceError([in] ER ercd, 73 68 [in, string] const char *file, [in] int_t line); 74 69 ER getInterruptPriorityMask([out] PRI *p_ipm); … … 80 75 [singleton, active] 81 76 celltype tTestService { 82 entry sTestService eTestService;83 [dynamic, optional] call sBuiltInTest cBuiltInTest;84 call sSysLog cSysLog;77 entry sTestService eTestService; 78 call sSysLog cSysLog; 79 [optional] call sBuiltInTest cBuiltInTest; 85 80 86 81 var { … … 88 83 }; 89 84 }; 90 91 /*92 * 自己診断サービスのディスクリプタを取得するシグニチャ93 */94 signature sGetBuiltInTestDescriptor {95 ER getDescriptor([out] Descriptor(sBuiltInTest) *p_desc,96 [in] int_t i);97 };98 99 /*100 * 自己診断サービスのディスクリプタを取得するセルタイプ101 */102 [singleton, active]103 celltype tBuiltInTestAdaptor {104 [ref_desc] call sBuiltInTest cBuiltInTest[];105 entry sGetBuiltInTestDescriptor eGetBuiltInTestDescriptor;106 };
Note:
See TracChangeset
for help on using the changeset viewer.