kernel.hμITRON4.0仕様標準インクルードファイル [詳細]
#include <t_stddef.h>
#include <itron.h>
#include <sys_defs.h>
#include <cpu_defs.h>
#include <t_syslog.h>
kernel.hのインクルード依存関係図
このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。
ソースコードを見る。
|
データ構造 |
struct | t_msg |
struct | t_msg_pri |
マクロ定義 |
#define | TROUND_VP(sz) (((sz) + sizeof(VP) - 1) & ~(sizeof(VP) - 1)) |
#define | TCOUNT_VP(sz) (((sz) + sizeof(VP) - 1) / sizeof(VP)) |
#define | TA_HLNG 0x00u |
#define | TA_ASM 0x01u |
#define | TA_TFIFO 0x00u |
#define | TA_TPRI 0x01u |
#define | TA_MFIFO 0x00u |
#define | TA_MPRI 0x02u |
#define | TA_ACT 0x02u |
#define | TA_WSGL 0x00u |
#define | TA_CLR 0x04u |
#define | TA_STA 0x02u |
#define | TWF_ANDW 0x00u |
#define | TWF_ORW 0x01u |
#define | TSK_SELF 0 |
#define | TSK_NONE 0 |
#define | TPRI_SELF 0 |
#define | TPRI_INI 0 |
#define | TCLS_SELF 0 |
#define | TMIN_TPRI 1 |
#define | TMAX_TPRI 16 |
#define | TMIN_MPRI 1 |
#define | TMAX_MPRI 16 |
#define | TKERNEL_MAKER 0x0118u |
#define | TKERNEL_PRID 0x0005u |
#define | TKERNEL_SPVER 0x5402u |
#define | TKERNEL_PRVER 0x1010u |
#define | TMAX_ACTCNT 1 |
#define | TMAX_WUPCNT 1 |
#define | TMAX_SUSCNT 1 |
#define | TBIT_TEXPTN (sizeof(TEXPTN) * CHAR_BIT) |
#define | TBIT_FLGPTN (sizeof(FLGPTN) * CHAR_BIT) |
型定義 |
typedef UINT | TEXPTN |
typedef UINT | FLGPTN |
typedef t_msg | T_MSG |
typedef t_msg_pri | T_MSG_PRI |
関数 |
ER | act_tsk (ID tskid) throw () |
ER | iact_tsk (ID tskid) throw () |
ER_UINT | can_act (ID tskid) throw () |
void | ext_tsk (void) throw () |
ER | ter_tsk (ID tskid) throw () |
ER | chg_pri (ID tskid, PRI tskpri) throw () |
ER | get_pri (ID tskid, PRI *p_tskpri) throw () |
ER | slp_tsk (void) throw () |
ER | tslp_tsk (TMO tmout) throw () |
ER | wup_tsk (ID tskid) throw () |
ER | iwup_tsk (ID tskid) throw () |
ER_UINT | can_wup (ID tskid) throw () |
ER | rel_wai (ID tskid) throw () |
ER | irel_wai (ID tskid) throw () |
ER | sus_tsk (ID tskid) throw () |
ER | rsm_tsk (ID tskid) throw () |
ER | frsm_tsk (ID tskid) throw () |
ER | dly_tsk (RELTIM dlytim) throw () |
ER | ras_tex (ID tskid, TEXPTN rasptn) throw () |
ER | iras_tex (ID tskid, TEXPTN rasptn) throw () |
ER | dis_tex (void) throw () |
ER | ena_tex (void) throw () |
BOOL | sns_tex (void) throw () |
ER | sig_sem (ID semid) throw () |
ER | isig_sem (ID semid) throw () |
ER | wai_sem (ID semid) throw () |
ER | pol_sem (ID semid) throw () |
ER | twai_sem (ID semid, TMO tmout) throw () |
ER | set_flg (ID flgid, FLGPTN setptn) throw () |
ER | iset_flg (ID flgid, FLGPTN setptn) throw () |
ER | clr_flg (ID flgid, FLGPTN clrptn) throw () |
ER | wai_flg (ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN *p_flgptn) throw () |
ER | pol_flg (ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN *p_flgptn) throw () |
ER | twai_flg (ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN *p_flgptn, TMO tmout) throw () |
ER | snd_dtq (ID dtqid, VP_INT data) throw () |
ER | psnd_dtq (ID dtqid, VP_INT data) throw () |
ER | ipsnd_dtq (ID dtqid, VP_INT data) throw () |
ER | tsnd_dtq (ID dtqid, VP_INT data, TMO tmout) throw () |
ER | fsnd_dtq (ID dtqid, VP_INT data) throw () |
ER | ifsnd_dtq (ID dtqid, VP_INT data) throw () |
ER | rcv_dtq (ID dtqid, VP_INT *p_data) throw () |
ER | prcv_dtq (ID dtqid, VP_INT *p_data) throw () |
ER | trcv_dtq (ID dtqid, VP_INT *p_data, TMO tmout) throw () |
ER | snd_mbx (ID mbxid, T_MSG *pk_msg) throw () |
ER | rcv_mbx (ID mbxid, T_MSG **ppk_msg) throw () |
ER | prcv_mbx (ID mbxid, T_MSG **ppk_msg) throw () |
ER | trcv_mbx (ID mbxid, T_MSG **ppk_msg, TMO tmout) throw () |
ER | get_mpf (ID mpfid, VP *p_blk) throw () |
ER | pget_mpf (ID mpfid, VP *p_blk) throw () |
ER | tget_mpf (ID mpfid, VP *p_blk, TMO tmout) throw () |
ER | rel_mpf (ID mpfid, VP blk) throw () |
ER | set_tim (const SYSTIM *p_systim) throw () |
ER | get_tim (SYSTIM *p_systim) throw () |
ER | isig_tim (void) throw () |
ER | sta_cyc (ID cycid) throw () |
ER | stp_cyc (ID cycid) throw () |
ER | mrot_rdq (ID clsid, PRI tskpri) throw () |
ER | rot_rdq (PRI tskpri) throw () |
ER | imrot_rdq (ID clsid, PRI tskpri) throw () |
ER | irot_rdq (PRI tskpri) throw () |
ER | get_tid (ID *p_tskid) throw () |
ER | mget_tid (ID clsid, ID *p_tskid) throw () |
ER | imget_tid (ID clsid, ID *p_tskid) throw () |
ER | iget_tid (ID *p_tskid) throw () |
ER | loc_cpu (void) throw () |
ER | iloc_cpu (void) throw () |
ER | unl_cpu (void) throw () |
ER | iunl_cpu (void) throw () |
ER | dis_dsp (void) throw () |
ER | ena_dsp (void) throw () |
BOOL | sns_ctx (void) throw () |
BOOL | sns_loc (void) throw () |
BOOL | sns_dsp (void) throw () |
BOOL | sns_dpn (void) throw () |
BOOL | vxsns_ctx (VP p_excinf) throw () |
BOOL | vxsns_loc (VP p_excinf) throw () |
BOOL | vxsns_dsp (VP p_excinf) throw () |
BOOL | vxsns_dpn (VP p_excinf) throw () |
BOOL | vxsns_tex (VP p_excinf) throw () |
BOOL | vsns_ini (void) throw () |
説明
μITRON4.0仕様標準インクルードファイル
このファイルでは,スタンダードプロファイルで必要なものと,FDMPカー ネル独自の拡張機能で必要なものだけを定義している.データ型の定義は, スタンダードプロファイルを満たすちょうどの長さにはしていない.
アセンブリ言語のソースファイルやシステムコンフィギュレーションファ イルからこのファイルをインクルードする時は,_MACRO_ONLY を定義して おくことで,マクロ定義以外の記述を除くことができる.
このインクルードファイルは,標準インクルードファイル(t_services.h と fdmp_kernel.h)でインクルードされる.また,他の ITRON仕様OS から ソフトウェアをポーティングする場合などには,このファイルを直接イン クルードしてもよい.この例外を除いて,他のファイルから直接インクルー ドされることはない.
この中でインクルードしているファイルを除いて,他のインクルードファ イルに依存していない.
kernel.h で定義されています。
マクロ定義
#define TBIT_FLGPTN (sizeof(FLGPTN) * CHAR_BIT) |
|
#define TBIT_TEXPTN (sizeof(TEXPTN) * CHAR_BIT) |
|
#define TCOUNT_VP |
( |
sz |
|
) |
(((sz) + sizeof(VP) - 1) / sizeof(VP)) |
|
#define TKERNEL_MAKER 0x0118u |
|
#define TKERNEL_PRID 0x0005u |
|
#define TKERNEL_PRVER 0x1010u |
|
#define TKERNEL_SPVER 0x5402u |
|
#define TROUND_VP |
( |
sz |
|
) |
(((sz) + sizeof(VP) - 1) & ~(sizeof(VP) - 1)) |
|
型定義
関数
ER act_tsk |
( |
ID |
tskid |
) |
throw () |
|
ER chg_pri |
( |
ID |
tskid, |
|
|
PRI |
tskpri |
|
) |
throw () |
|
ER dis_dsp |
( |
void |
|
) |
throw () |
|
ER dis_tex |
( |
void |
|
) |
throw () |
|
ER ena_dsp |
( |
void |
|
) |
throw () |
|
ER ena_tex |
( |
void |
|
) |
throw () |
|
void ext_tsk |
( |
void |
|
) |
throw () |
|
ER frsm_tsk |
( |
ID |
tskid |
) |
throw () |
|
ER get_mpf |
( |
ID |
mpfid, |
|
|
VP * |
p_blk |
|
) |
throw () |
|
ER get_pri |
( |
ID |
tskid, |
|
|
PRI * |
p_tskpri |
|
) |
throw () |
|
ER get_tid |
( |
ID * |
p_tskid |
) |
throw () |
|
ER get_tim |
( |
SYSTIM * |
p_systim |
) |
throw () |
|
ER iact_tsk |
( |
ID |
tskid |
) |
throw () |
|
ER iget_tid |
( |
ID * |
p_tskid |
) |
throw () |
|
ER iloc_cpu |
( |
void |
|
) |
throw () |
|
ER imget_tid |
( |
ID |
clsid, |
|
|
ID * |
p_tskid |
|
) |
throw () |
|
ER imrot_rdq |
( |
ID |
clsid, |
|
|
PRI |
tskpri |
|
) |
throw () |
|
ER irel_wai |
( |
ID |
tskid |
) |
throw () |
|
ER irot_rdq |
( |
PRI |
tskpri |
) |
throw () |
|
ER isig_sem |
( |
ID |
semid |
) |
throw () |
|
ER isig_tim |
( |
void |
|
) |
throw () |
|
ER iunl_cpu |
( |
void |
|
) |
throw () |
|
ER iwup_tsk |
( |
ID |
tskid |
) |
throw () |
|
ER loc_cpu |
( |
void |
|
) |
throw () |
|
ER mget_tid |
( |
ID |
clsid, |
|
|
ID * |
p_tskid |
|
) |
throw () |
|
ER mrot_rdq |
( |
ID |
clsid, |
|
|
PRI |
tskpri |
|
) |
throw () |
|
ER pget_mpf |
( |
ID |
mpfid, |
|
|
VP * |
p_blk |
|
) |
throw () |
|
ER pol_sem |
( |
ID |
semid |
) |
throw () |
|
ER prcv_dtq |
( |
ID |
dtqid, |
|
|
VP_INT * |
p_data |
|
) |
throw () |
|
ER prcv_mbx |
( |
ID |
mbxid, |
|
|
T_MSG ** |
ppk_msg |
|
) |
throw () |
|
ER rcv_mbx |
( |
ID |
mbxid, |
|
|
T_MSG ** |
ppk_msg |
|
) |
throw () |
|
ER rel_mpf |
( |
ID |
mpfid, |
|
|
VP |
blk |
|
) |
throw () |
|
ER rel_wai |
( |
ID |
tskid |
) |
throw () |
|
ER rot_rdq |
( |
PRI |
tskpri |
) |
throw () |
|
ER rsm_tsk |
( |
ID |
tskid |
) |
throw () |
|
ER set_tim |
( |
const SYSTIM * |
p_systim |
) |
throw () |
|
ER sig_sem |
( |
ID |
semid |
) |
throw () |
|
ER slp_tsk |
( |
void |
|
) |
throw () |
|
ER snd_mbx |
( |
ID |
mbxid, |
|
|
T_MSG * |
pk_msg |
|
) |
throw () |
|
BOOL sns_ctx |
( |
void |
|
) |
throw () |
|
BOOL sns_dpn |
( |
void |
|
) |
throw () |
|
BOOL sns_dsp |
( |
void |
|
) |
throw () |
|
BOOL sns_loc |
( |
void |
|
) |
throw () |
|
BOOL sns_tex |
( |
void |
|
) |
throw () |
|
ER sta_cyc |
( |
ID |
cycid |
) |
throw () |
|
ER stp_cyc |
( |
ID |
cycid |
) |
throw () |
|
ER sus_tsk |
( |
ID |
tskid |
) |
throw () |
|
ER ter_tsk |
( |
ID |
tskid |
) |
throw () |
|
ER tget_mpf |
( |
ID |
mpfid, |
|
|
VP * |
p_blk, |
|
|
TMO |
tmout |
|
) |
throw () |
|
ER trcv_mbx |
( |
ID |
mbxid, |
|
|
T_MSG ** |
ppk_msg, |
|
|
TMO |
tmout |
|
) |
throw () |
|
ER tslp_tsk |
( |
TMO |
tmout |
) |
throw () |
|
ER twai_sem |
( |
ID |
semid, |
|
|
TMO |
tmout |
|
) |
throw () |
|
ER unl_cpu |
( |
void |
|
) |
throw () |
|
BOOL vsns_ini |
( |
void |
|
) |
throw () |
|
BOOL vxsns_ctx |
( |
VP |
p_excinf |
) |
throw () |
|
BOOL vxsns_dpn |
( |
VP |
p_excinf |
) |
throw () |
|
BOOL vxsns_dsp |
( |
VP |
p_excinf |
) |
throw () |
|
BOOL vxsns_loc |
( |
VP |
p_excinf |
) |
throw () |
|
BOOL vxsns_tex |
( |
VP |
p_excinf |
) |
throw () |
|
ER wai_sem |
( |
ID |
semid |
) |
throw () |
|
ER wup_tsk |
( |
ID |
tskid |
) |
throw () |
|
Copyright © 2006 by TAKAGI Nobuhisa.
このページは Mon Apr 3 23:49:16 2006 に Doxygen によって生成されました。
|
|