Ignore:
Timestamp:
Jul 3, 2020, 7:19:17 PM (4 years ago)
Author:
coas-nagasima
Message:

ASP3, TINET, mbed を更新

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/asp3_dcre/syssvc/tTestService.cdl

    r321 r429  
    11/*
    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
    54 *
    6  *  Copyright (C) 2016 by Embedded and Real-Time Systems Laboratory
     5 *  Copyright (C) 2016-2018 by Embedded and Real-Time Systems Laboratory
    76 *              Graduate School of Information Science, Nagoya Univ., JAPAN
    87 *
     
    4645 *  自己診断サービスのシグニチャ
    4746 */
     47[callback]
    4848signature sBuiltInTest {
    4949        ER              builtInTest(void);
     
    5252/*
    5353 *  テストプログラム用サービスのシグニチャ
    54  *
    55  *  setBuiltInTestは,TECSの中では動的結合を使って実現すべきであるが,
    56  *  C言語のアプリケーションから呼び出しやすくするために,TECSの作法違
    57  *  反のコードとなっている.
    5854 *
    5955 *  getInterruptPriorityMaskは,そのままカーネルを呼び出すだけの関数で
     
    6460 */
    6561signature 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,
    7166                                                        [in, string] const char *file, [in] int_t line);
    72         void    serviceError([in] ER ercd,
     67        ER              serviceError([in] ER ercd,
    7368                                                        [in, string] const char *file, [in] int_t line);
    7469        ER              getInterruptPriorityMask([out] PRI *p_ipm);
     
    8075[singleton, active]
    8176celltype 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;
    8580
    8681        var {
     
    8883        };
    8984};
    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.