• R/O
  • HTTP
  • SSH
  • HTTPS

Repository summary

Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

uITRON3のシステムコールをシュミレーションする、uITRON3向けモジュールの単体テスト用ライブラリ。


Recent Commits RSS

Rev. Time Author Message
2c0ddf8 2013-03-31 09:25:17 nikarana master add c files.
c7f1aaf 2013-01-07 21:13:16 nikarana add obj. edit README.
d486af9 2012-12-11 01:36:34 nikarana includes commit.
645fd49 2012-12-11 00:49:54 nikarana first commit.

Branches

Name Rev. Time Author Message
master 2c0ddf8 2013-03-31 09:25:17 nikarana add c files.

README

'it3'は、μITRON3のシステムコールをシミュレーションします。
'it3' simulates the system calls μITRON3.
μITRON3向けモジュール開発の単体テストを支援するライブラリです。
It is a library to help the development of unit test module for μITRON3.

* このライブラリは作成途中です。
* This library is in the process of being created.
* まだ一部のシステムコールにしか対応できていません。
* I have not been able to address only some system calls yet.

●対象環境
●Target environment

  windows XP/7

●ファイル内容
●File composition

  1. itron.h
  2. it3.h
  3. it3.dll
  4. it3.lib

●使用方法
●How to use

'itron.h''it3.h'をインクルードパスに配置する。
placed in the include path 'itron.h'' it3.h'.
'it3.dll'をロード可能な場所に配置する。
placed in a location that is loading the 'it3.dll'.
'it3.lib'をリンクファイルに加える。
In addition to the linked file 'it3.lib'.
it3を起動する。(参照 -> サンプルコード)
Start the it3. (See -> sample code)

サンプルコード
Sample Code
------------------------------------------------------------------------------
#include <it3.h>

void user_main(void)
{
    // タスク起動など
    // Tasks such as starting
}

void hoge()
{
    it3_arg arg;

    arg.hardware_init = NADR;
    arg.hardware_term = NADR;
    arg.user_main = user_main;

    it3_start(&arg);
}
------------------------------------------------------------------------------

●対応システムコール
●corresponding system call

 ○:対応 △:一部対応 ×:未サポート
 ○:corresponding △:corresponding part ×:Not supported

cre_tsk    ○
del_tsk    ○
sta_tsk    ○
ext_tsk    ×
exd_tsk    ×
ter_tsk    ×
dis_dsp    ×
ena_dsp    ×
chg_pri    ×
ichg_pri   ×
rot_rdq    ×
irot_rdq   ×
rel_wai    ×
irel_wai   ×
get_tid    ×
ref_tsk    ○
sus_tsk    ×
isus_tsk   ×
rsm_tsk    ×
irsm_tsk   ×
frsm_tsk   ×
ifrsm_tsk  ×
slp_tsk    ×
tslp_tsk   ×
wup_tsk    ×
iwup_tsk   ×
can_wup    ×
cre_sem    ○
del_sem    ○
sig_sem    ○
isig_sem   ×
wai_sem    ○
preq_sem   ×
twai_sem   ×
ref_sem    ○
cre_flg    ○
del_flg    ○
set_flg    ○
iset_flg   ×
clr_flg    ○
wai_flg    ○
pol_flg    ×
twai_flg   ×
ref_flg    ○
cre_mbx    ×
del_mbx    ×
snd_msg    ×
isnd_msg   ×
rcv_msg    ×
prcv_msg   ×
trcv_msg   ×
ref_mbx    ×
cre_mbf    ×
del_mbf    ×
snd_mbf    ×
psnd_mbf   ×
;ipsnd_mbf ×
tsnd_mbf   ×
rcv_mbf    ×
prcv_mbf   ×
trcv_mbf   ×
ref_mbf    ×
cre_por    ×
del_por    ×
cal_por    ×
pcal_por   ×
tcal_por   ×
acp_por    ×
pacp_por   ×
tacp_por   ×
fwd_por    ×
rpl_rdv    ×
ref_por    ×
def_int    ×
ret_int    ×
ret_wup    ×
loc_cpu    ×
unl_cpu    ×
dis_int    ×
ena_int    ×
;chg_iXX   ×
;ref_iXX   ×
cre_mpl    ×
del_mpl    ×
get_blk    ×
pget_blk   ×
ipget_blk  ×
tget_blk   ×
rel_blk    ×
ref_mpl    ×
cre_mpf    ×
del_mpf    ×
get_blf    ×
pget_blf   ×
ipget_blf  ×
tget_blf   ×
rel_blf    ×
ref_mpf    ×
set_tim    ×
get_tim    ×
dly_tsk    ×
def_cyc    ×
act_cyc    ×
ref_cyc    ×
def_alm    ×
ref_alm    ×
ret_tmr    ×
get_ver    ×
ref_sys    ×
ref_cfg    ×
def_svc    ×
def_exc    ×
nrea_dat   ×
nwri_dat   ×
nget_nod   ×
nget_ver   ×