00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00049 #ifndef TOPPERS_RAW_STUB_HPP_
00050 #define TOPPERS_RAW_STUB_HPP_
00051
00052 #include <toppers/kernel.hpp>
00053 #include <cstdlib>
00054
00055 namespace toppers
00056 {
00057
00075 template <bool Exist = true>
00076 class raw_stub
00077 {
00078 public:
00081
00082 static ER stub_cre_tsk(ID tskid, t_ctsk* pk_ctsk);
00084 static ER stub_cre_tsk(ID tskid, const t_ctsk* pk_ctsk);
00086 static ER stub_del_tsk(ID tskid);
00088 static ER stub_act_tsk(ID tskid);
00090 static ER_UINT stub_can_act(ID tskid);
00092 static ER stub_sta_tsk(ID tskid, VP_INT stacd);
00094 static void stub_ext_tsk();
00096 static void stub_exd_tsk();
00098 static ER stub_ter_tsk(ID tskid);
00100 static ER stub_chg_pri(ID tskid, PRI tskpri);
00102 static ER stub_get_pri(ID tskid, PRI* p_tskpri);
00104 static ER stub_ref_tsk(ID tskid, t_rtsk* pk_rtsk);
00106 static ER stub_ref_tst(ID tskid, t_rtst* pk_rtst);
00108
00111
00112 static ER stub_slp_tsk();
00114 static ER stub_tslp_tsk(TMO tmout);
00116 static ER stub_wup_tsk(ID tskid);
00118 static ER_UINT stub_can_wup(ID tskid);
00120 static ER stub_rel_wai(ID tskid);
00122 static ER stub_sus_tsk(ID tskid);
00124 static ER stub_rsm_tsk(ID tskid);
00126 static ER stub_frsm_tsk(ID tskid);
00128 static ER stub_dly_tsk(RELTIM dlytim);
00130
00133
00134 static ER stub_def_tex(ID tskid, t_dtex* pk_dtex);
00136 static ER stub_def_tex(ID tskid, const t_dtex* pk_dtex);
00138 static ER stub_ras_tex(ID tskid, TEXPTN rasptn);
00140 static ER stub_dis_tex();
00142 static ER stub_ena_tex();
00144 static bool stub_sns_tex();
00146 static ER stub_ref_tex(ID tskid, t_rtex* pk_rtex);
00148
00151
00152 static ER stub_cre_sem(ID semid, t_csem* pk_csem);
00154 static ER stub_cre_sem(ID semid, const t_csem* pk_csem);
00156 static ER stub_del_sem(ID semid);
00158 static ER stub_sig_sem(ID semid);
00160 static ER stub_wai_sem(ID semid);
00162 static ER stub_pol_sem(ID semid);
00164 static ER stub_twai_sem(ID semid, TMO tmout);
00166 static ER stub_ref_sem(ID semid, t_rsem* pk_rsem);
00168
00171
00172 static ER stub_cre_flg(ID flgid, t_cflg* pk_cflg);
00174 static ER stub_cre_flg(ID flgid, const t_cflg* pk_cflg);
00176 static ER stub_del_flg(ID flgid);
00178 static ER stub_set_flg(ID flgid, FLGPTN setptn);
00180 static ER stub_clr_flg(ID flgid, FLGPTN clrptn);
00182 static ER stub_wai_flg(ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN* p_flgptn);
00184 static ER stub_pol_flg(ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN* p_flgptn);
00186 static ER stub_twai_flg(ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN* p_flgptn, TMO tmout);
00188 static ER stub_ref_flg(ID flgid, t_rflg* pk_rflg);
00190
00193
00194 static ER stub_cre_dtq(ID dtqid, t_cdtq* pk_cdtq);
00196 static ER stub_cre_dtq(ID dtqid, const t_cdtq* pk_cdtq);
00198 static ER stub_del_dtq(ID dtqid);
00200 static ER stub_snd_dtq(ID dtqid, VP_INT data);
00202 static ER stub_psnd_dtq(ID dtqid, VP_INT data);
00204 static ER stub_tsnd_dtq(ID dtqid, VP_INT data, TMO tmout);
00206 static ER stub_fsnd_dtq(ID dtqid, VP_INT data);
00208 static ER stub_rcv_dtq(ID dtqid, VP_INT* p_data);
00210 static ER stub_prcv_dtq(ID dtqid, VP_INT* p_data);
00212 static ER stub_trcv_dtq(ID dtqid, VP_INT* p_data, TMO tmout);
00214 static ER stub_ref_dtq(ID dtqid, t_rdtq* pk_rdtq);
00216
00219
00220 static ER stub_cre_mbx(ID mbxid, t_cmbx* pk_cmbx);
00222 static ER stub_cre_mbx(ID mbxid, const t_cmbx* pk_cmbx);
00224 static ER stub_del_mbx(ID mbxid);
00226 static ER stub_snd_mbx(ID mbxid, T_MSG* pk_msg);
00228 static ER stub_rcv_mbx(ID mbxid, T_MSG** ppk_msg);
00230 static ER stub_prcv_mbx(ID mbxid, T_MSG** ppk_msg);
00232 static ER stub_trcv_mbx(ID mbxid, T_MSG** ppk_msg, TMO tmout);
00234 static ER stub_ref_mbx(ID mbxid, t_rmbx* pk_rmbx);
00236
00239
00240 static ER stub_cre_mpf(ID mpfid, t_cmpf* pk_cmpf);
00242 static ER stub_cre_mpf(ID mpfid, const t_cmpf* pk_cmpf);
00244 static ER stub_del_mpf(ID mpfid);
00246 static ER stub_rel_mpf(ID mpfid, VP blk);
00248 static ER stub_get_mpf(ID mpfid, VP* p_blk);
00250 static ER stub_pget_mpf(ID mpfid, VP* p_blk);
00252 static ER stub_tget_mpf(ID mpfid, VP* p_blk, TMO tmout);
00254 static ER stub_ref_mpf(ID mpfid, t_rmpf* pk_rmpf);
00256
00259
00260 static ER stub_set_tim(SYSTIM* p_systim);
00262 static ER stub_set_tim(const SYSTIM* p_systim);
00264 static ER stub_get_tim(SYSTIM* p_systim);
00266
00269
00270 static ER stub_cre_cyc(ID cycid, t_ccyc* pk_ccyc);
00272 static ER stub_cre_cyc(ID cycid, const t_ccyc* pk_ccyc);
00274 static ER stub_del_cyc(ID cycid);
00276 static ER stub_sta_cyc(ID cycid);
00278 static ER stub_stp_cyc(ID cycid);
00280 static ER stub_ref_cyc(ID cycid, t_rcyc* pk_rcyc);
00282
00285
00286 static ER stub_rot_rdq(PRI tskpri);
00288 static ER stub_get_tid(ID* p_tskid);
00290 static ER stub_loc_cpu();
00292 static ER stub_unl_cpu();
00294 static ER stub_dis_dsp();
00296 static ER stub_ena_dsp();
00298 static bool stub_sns_ctx();
00300 static bool stub_sns_loc();
00302 static bool stub_sns_dsp();
00304 static bool stub_sns_dpn();
00306 static ER stub_ref_sys(t_rsys* pk_rsys);
00308
00311
00312 static ER stub_def_inh(INHNO inhno, t_dinh* pk_dinh);
00314 static ER stub_def_inh(INHNO inhno, const t_dinh* pk_dinh);
00315
00316 static ER stub_cre_isr(ID isrid, t_cisr* pk_cisr);
00318 static ER stub_cre_isr(ID isrid, const t_cisr* pk_cisr);
00320 static ER stub_del_isr(ID isrid);
00322 static ER stub_ref_isr(ID isrid, t_risr* pk_risr);
00324 static ER stub_dis_int(INTNO intno);
00326 static ER stub_ena_int(INTNO intno);
00328 static ER stub_chg_ims(IMS ims);
00330 static ER stub_get_ims(IMS* P_ims);
00332
00335
00336 static ER stub_def_exc(EXCNO excno, t_dexc* pk_dexc);
00338 static ER stub_def_exc(EXCNO excno, const t_dexc* pk_dexc);
00340 static ER stub_ref_cfg(t_rcfg* pk_rcfg);
00342 static ER stub_ref_ver(t_rver* pk_rver);
00344
00347
00348 static ER stub_iact_tsk(ID tskid);
00350 static ER stub_iwup_tsk(ID tskid);
00352 static ER stub_irel_wai(ID tskid);
00354 static ER stub_iras_tex(ID tskid, TEXPTN rasptn);
00356 static ER stub_isig_sem(ID semid);
00358 static ER stub_iset_flg(ID flgid, FLGPTN setptn);
00360 static ER stub_ipsnd_dtq(ID dtqid, VP_INT data);
00362 static ER stub_ifsnd_dtq(ID dtqid, VP_INT data);
00364 static ER stub_irot_rdq(PRI tskpri);
00366 static ER stub_iget_tid(ID* p_tskid);
00368 static ER stub_iloc_cpu();
00370 static ER stub_iunl_cpu();
00372 static ER stub_isig_tim();
00374
00377
00378 static ER stub_cre_mtx(ID mtxid, t_cmtx* pk_cmtx);
00380 static ER stub_cre_mtx(ID mtxid, const t_cmtx* pk_cmtx);
00382 static ER stub_del_mtx(ID mtxid);
00384 static ER stub_unl_mtx(ID mtxid);
00386 static ER stub_loc_mtx(ID mtxid);
00388 static ER stub_ploc_mtx(ID mtxid);
00390 static ER stub_tloc_mtx(ID mtxid, TMO tmout);
00392 static ER stub_ref_mtx(ID mtxid, t_rmtx* pk_rmtx);
00394
00397
00398 static ER stub_cre_mbf(ID mbfid, t_cmbf* pk_cmbf);
00400 static ER stub_cre_mbf(ID mbfid, const t_cmbf* pk_cmbf);
00402 static ER stub_del_mbf(ID mbfid);
00404 static ER stub_snd_mbf(ID mbfid, const void* msg, UINT msgsz);
00406 static ER stub_psnd_mbf(ID mbfid, const void* msg, UINT msgsz);
00408 static ER stub_tsnd_mbf(ID mbfid, const void* msg, UINT msgsz, TMO tmout);
00410 static ER_UINT stub_rcv_mbf(ID mbfid, void* msg);
00412 static ER_UINT stub_prcv_mbf(ID mbfid, void* msg);
00414 static ER_UINT stub_trcv_mbf(ID mbfid, void* msg, TMO tmout);
00416 static ER stub_ref_mbf(ID mbfid, t_rmbf* pk_rmbf);
00418
00421
00422 static ER stub_cre_por(ID porid, t_cpor* pk_cpor);
00424 static ER stub_cre_por(ID porid, const t_cpor* pk_cpor);
00426 static ER stub_del_por(ID porid);
00428 static ER_UINT stub_cal_por(ID porid, RDVPTN calptn, void* msg, UINT cmsgsz);
00430 static ER_UINT stub_tcal_por(ID porid, RDVPTN calptn, void* msg, UINT cmsgsz, TMO tmout);
00432 static ER_UINT stub_acp_por(ID porid, RDVPTN acpptn, RDVNO* p_rdvno, void* msg);
00434 static ER_UINT stub_pacp_por(ID porid, RDVPTN acpptn, RDVNO* p_rdvno, void* msg);
00436 static ER_UINT stub_tacp_por(ID porid, RDVPTN acpptn, RDVNO* p_rdvno, void* msg, TMO tmout);
00438 static ER stub_fwd_por(ID porid, RDVPTN acpptn, RDVNO rdvno, const void* msg, UINT cmsgsz);
00440 static ER stub_rpl_rdv(RDVNO rdvno, const void* msg, UINT rmsgsz);
00442 static ER stub_ref_por(ID porid, t_rpor* pk_rpor);
00444 static ER stub_ref_rdv(RDVNO rdvid, t_rrdv* pk_rrdv);
00446
00449
00450 static ER stub_cre_mpl(ID mplid, t_cmpl* pk_cmpl);
00452 static ER stub_cre_mpl(ID mplid, const t_cmpl* pk_cmpl);
00454 static ER stub_del_mpl(ID mplid);
00456 static ER stub_rel_mpl(ID mplid, VP blk);
00458 static ER stub_get_mpl(ID mplid, UINT blksz, VP* p_blk);
00460 static ER stub_pget_mpl(ID mplid, UINT blksz, VP* p_blk);
00462 static ER stub_tget_mpl(ID mplid, UINT blksz, VP* p_blk, TMO tmout);
00464 static ER stub_ref_mpl(ID mplid, t_rmpl* pk_rmpl);
00466
00469
00470 static ER stub_cre_alm(ID almid, t_calm* pk_calm);
00472 static ER stub_cre_alm(ID almid, const t_calm* pk_calm);
00474 static ER stub_del_alm(ID almid);
00476 static ER stub_sta_alm(ID almid, RELTIM almtim);
00478 static ER stub_stp_alm(ID almid);
00480 static ER stub_ref_alm(ID almid, t_ralm* pk_ralm);
00482
00485
00486 static ER stub_def_ovr(t_dovr* pk_dovr);
00488 static ER stub_def_ovr(const t_dovr* pk_dovr);
00490 static ER stub_sta_ovr(ID tskid, OVRTIM ovrtim);
00492 static ER stub_stp_ovr(ID tskid);
00494 static ER stub_ref_ovr(ID tskid, t_rovr* pk_rovr);
00496
00499
00500 static ER_ID stub_acre_tsk(t_ctsk* pk_ctsk);
00502 static ER_ID stub_acre_tsk(const t_ctsk* pk_ctsk);
00503
00504 static ER_ID stub_acre_sem(t_csem* pk_csem);
00506 static ER_ID stub_acre_sem(const t_csem* pk_csem);
00507
00508 static ER_ID stub_acre_flg(t_cflg* pk_cflg);
00510 static ER_ID stub_acre_flg(const t_cflg* pk_cflg);
00511
00512 static ER_ID stub_acre_dtq(t_cdtq* pk_cdtq);
00514 static ER_ID stub_acre_dtq(const t_cdtq* pk_cdtq);
00515
00516 static ER_ID stub_acre_mbx(t_cmbx* pk_cmbx);
00518 static ER_ID stub_acre_mbx(const t_cmbx* pk_cmbx);
00519
00520 static ER_ID stub_acre_mtx(t_cmtx* pk_cmtx);
00522 static ER_ID stub_acre_mtx(const t_cmtx* pk_cmtx);
00523
00524 static ER_ID stub_acre_mbf(t_cmbf* pk_cmbf);
00526 static ER_ID stub_acre_mbf(const t_cmbf* pk_cmbf);
00527
00528 static ER_ID stub_acre_por(t_cpor* pk_cpor);
00530 static ER_ID stub_acre_por(const t_cpor* pk_cpor);
00531
00532 static ER_ID stub_acre_mpf(t_cmpf* pk_cmpf);
00534 static ER_ID stub_acre_mpf(const t_cmpf* pk_cmpf);
00535
00536 static ER_ID stub_acre_mpl(t_cmpl* pk_cmpl);
00538 static ER_ID stub_acre_mpl(const t_cmpl* pk_cmpl);
00539
00540 static ER_ID stub_acre_cyc(t_ccyc* pk_ccyc);
00542 static ER_ID stub_acre_cyc(const t_ccyc* pk_ccyc);
00543
00544 static ER_ID stub_acre_alm(t_calm* pk_calm);
00546 static ER_ID stub_acre_alm(const t_calm* pk_calm);
00547
00548 static ER_ID stub_acre_isr(t_cisr* pk_cisr);
00550 static ER_ID stub_acre_isr(const t_cisr* pk_cisr);
00552
00560
00561 static bool stub_vxsns_ctx(VP_INT exinf);
00563 static bool stub_vxsns_loc(VP_INT exinf);
00565 static bool stub_vxsns_dsp(VP_INT exinf);
00567 static bool stub_vxsns_dpn(VP_INT exinf);
00569 static bool stub_vxsns_tex(VP_INT exinf);
00571 static bool stub_vsns_ini();
00573
00576
00577 static ER stub_vxget_tim(SYSUTIM* p_sysutim);
00579
00582
00583 static ER stub_def_svc(FN fncd, t_dsvc* pk_dsvc);
00585 static ER stub_def_svc(FN fncd, const t_dsvc* pk_dsvc);
00587 static ER_UINT stub_cal_svc(FN fncd);
00589 static ER_UINT stub_cal_svc(FN fncd, VP_INT par1);
00591 static ER_UINT stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2);
00593 static ER_UINT stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2, VP_INT par3);
00595 static ER_UINT stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2, VP_INT par3, VP_INT par4);
00597 static ER_UINT stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2, VP_INT par3, VP_INT par4, VP_INT par5);
00599 };
00600
00601 template <bool Exist>
00602 inline ER raw_stub<Exist>::stub_cre_tsk(ID tskid, t_ctsk* pk_ctsk)
00603 {
00604 return cre_tsk(tskid, pk_ctsk);
00605 }
00606 template <bool Exist>
00607 inline ER raw_stub<Exist>::stub_cre_tsk(ID tskid, const t_ctsk* pk_ctsk)
00608 {
00609 if (sizeof cre_tsk(tskid, pk_ctsk) != sizeof(ER))
00610 {
00611 t_ctsk packet = *pk_ctsk;
00612 return cre_tsk(tskid, &packet);
00613 }
00614 return cre_tsk(tskid, const_cast<t_ctsk*>(pk_ctsk));
00615 }
00616 template <bool Exist>
00617 inline ER raw_stub<Exist>::stub_del_tsk(ID tskid)
00618 {
00619 return del_tsk(tskid);
00620 }
00621 template <bool Exist>
00622 inline ER raw_stub<Exist>::stub_act_tsk(ID tskid)
00623 {
00624 return act_tsk(tskid);
00625 }
00626 template <bool Exist>
00627 inline ER_UINT raw_stub<Exist>::stub_can_act(ID tskid)
00628 {
00629 return can_act(tskid);
00630 }
00631 template <bool Exist>
00632 inline ER raw_stub<Exist>::stub_sta_tsk(ID tskid, VP_INT stacd)
00633 {
00634 return sta_tsk(tskid, stacd);
00635 }
00636 template <bool Exist>
00637 inline void raw_stub<Exist>::stub_ext_tsk()
00638 {
00639 ext_tsk();
00640 }
00641 template <bool Exist>
00642 inline void raw_stub<Exist>::stub_exd_tsk()
00643 {
00644 exd_tsk();
00645 }
00646 template <bool Exist>
00647 inline ER raw_stub<Exist>::stub_ter_tsk(ID tskid)
00648 {
00649 return ter_tsk(tskid);
00650 }
00651 template <bool Exist>
00652 inline ER raw_stub<Exist>::stub_chg_pri(ID tskid, PRI tskpri)
00653 {
00654 return chg_pri(tskid, tskpri);
00655 }
00656 template <bool Exist>
00657 inline ER raw_stub<Exist>::stub_get_pri(ID tskid, PRI* p_tskpri)
00658 {
00659 return get_pri(tskid, p_tskpri);
00660 }
00661 template <bool Exist>
00662 inline ER raw_stub<Exist>::stub_ref_tsk(ID tskid, t_rtsk* pk_rtsk)
00663 {
00664 return ref_tsk(tskid, pk_rtsk);
00665 }
00666 template <bool Exist>
00667 inline ER raw_stub<Exist>::stub_ref_tst(ID tskid, t_rtst* pk_rtst)
00668 {
00669 return ref_tst(tskid, pk_rtst);
00670 }
00671
00672 template <bool Exist>
00673 inline ER raw_stub<Exist>::stub_slp_tsk()
00674 {
00675 return slp_tsk();
00676 }
00677 template <bool Exist>
00678 inline ER raw_stub<Exist>::stub_tslp_tsk(TMO tmout)
00679 {
00680 return tslp_tsk(tmout);
00681 }
00682 template <bool Exist>
00683 inline ER raw_stub<Exist>::stub_wup_tsk(ID tskid)
00684 {
00685 return wup_tsk(tskid);
00686 }
00687 template <bool Exist>
00688 inline ER_UINT raw_stub<Exist>::stub_can_wup(ID tskid)
00689 {
00690 return can_wup(tskid);
00691 }
00692 template <bool Exist>
00693 inline ER raw_stub<Exist>::stub_rel_wai(ID tskid)
00694 {
00695 return rel_wai(tskid);
00696 }
00697 template <bool Exist>
00698 inline ER raw_stub<Exist>::stub_sus_tsk(ID tskid)
00699 {
00700 return sus_tsk(tskid);
00701 }
00702 template <bool Exist>
00703 inline ER raw_stub<Exist>::stub_rsm_tsk(ID tskid)
00704 {
00705 return rsm_tsk(tskid);
00706 }
00707 template <bool Exist>
00708 inline ER raw_stub<Exist>::stub_frsm_tsk(ID tskid)
00709 {
00710 return frsm_tsk(tskid);
00711 }
00712 template <bool Exist>
00713 inline ER raw_stub<Exist>::stub_dly_tsk(RELTIM dlytim)
00714 {
00715 return dly_tsk(dlytim);
00716 }
00717
00718 template <bool Exist>
00719 inline ER raw_stub<Exist>::stub_def_tex(ID tskid, t_dtex* pk_dtex)
00720 {
00721 return def_tex(tskid, pk_dtex);
00722 }
00723 template <bool Exist>
00724 inline ER raw_stub<Exist>::stub_def_tex(ID tskid, const t_dtex* pk_dtex)
00725 {
00726 if (sizeof def_tex(tskid, pk_dtex) != sizeof(ER))
00727 {
00728 t_dtex packet = *pk_dtex;
00729 return def_tex(tskid, &packet);
00730 }
00731 return def_tex(tskid, const_cast<t_dtex*>(pk_dtex));
00732 }
00733 template <bool Exist>
00734 inline ER raw_stub<Exist>::stub_ras_tex(ID tskid, TEXPTN rasptn)
00735 {
00736 return ras_tex(tskid, rasptn);
00737 }
00738 template <bool Exist>
00739 inline ER raw_stub<Exist>::stub_dis_tex()
00740 {
00741 return dis_tex();
00742 }
00743 template <bool Exist>
00744 inline ER raw_stub<Exist>::stub_ena_tex()
00745 {
00746 return ena_tex();
00747 }
00748 template <bool Exist>
00749 inline bool raw_stub<Exist>::stub_sns_tex()
00750 {
00751 return sns_tex();
00752 }
00753 template <bool Exist>
00754 inline ER raw_stub<Exist>::stub_ref_tex(ID tskid, t_rtex* pk_rtex)
00755 {
00756 return ref_tex(tskid, pk_rtex);
00757 }
00758
00759 template <bool Exist>
00760 inline ER raw_stub<Exist>::stub_cre_sem(ID semid, t_csem* pk_csem)
00761 {
00762 return cre_sem(semid, pk_csem);
00763 }
00764 template <bool Exist>
00765 inline ER raw_stub<Exist>::stub_cre_sem(ID semid, const t_csem* pk_csem)
00766 {
00767 if (sizeof cre_sem(semid, pk_csem) != sizeof(ER))
00768 {
00769 t_csem packet = *pk_csem;
00770 return cre_sem(semid, &packet);
00771 }
00772 return cre_sem(semid, const_cast<t_csem*>(pk_csem));
00773 }
00774 template <bool Exist>
00775 inline ER raw_stub<Exist>::stub_del_sem(ID semid)
00776 {
00777 return del_sem(semid);
00778 }
00779 template <bool Exist>
00780 inline ER raw_stub<Exist>::stub_sig_sem(ID semid)
00781 {
00782 return sig_sem(semid);
00783 }
00784 template <bool Exist>
00785 inline ER raw_stub<Exist>::stub_wai_sem(ID semid)
00786 {
00787 return wai_sem(semid);
00788 }
00789 template <bool Exist>
00790 inline ER raw_stub<Exist>::stub_pol_sem(ID semid)
00791 {
00792 return pol_sem(semid);
00793 }
00794 template <bool Exist>
00795 inline ER raw_stub<Exist>::stub_twai_sem(ID semid, TMO tmout)
00796 {
00797 return twai_sem(semid, tmout);
00798 }
00799 template <bool Exist>
00800 inline ER raw_stub<Exist>::stub_ref_sem(ID semid, t_rsem* pk_rsem)
00801 {
00802 return ref_sem(semid, pk_rsem);
00803 }
00804
00805 template <bool Exist>
00806 inline ER raw_stub<Exist>::stub_cre_flg(ID flgid, t_cflg* pk_cflg)
00807 {
00808 return cre_flg(flgid, pk_cflg);
00809 }
00810 template <bool Exist>
00811 inline ER raw_stub<Exist>::stub_cre_flg(ID flgid, const t_cflg* pk_cflg)
00812 {
00813 if (sizeof cre_flg(flgid, pk_cflg) != sizeof(ER))
00814 {
00815 t_cflg packet = *pk_cflg;
00816 return cre_flg(flgid, &packet);
00817 }
00818 return cre_flg(flgid, const_cast<t_cflg*>(pk_cflg));
00819 }
00820 template <bool Exist>
00821 inline ER raw_stub<Exist>::stub_del_flg(ID flgid)
00822 {
00823 return del_flg(flgid);
00824 }
00825 template <bool Exist>
00826 inline ER raw_stub<Exist>::stub_set_flg(ID flgid, FLGPTN setptn)
00827 {
00828 return set_flg(flgid, setptn);
00829 }
00830 template <bool Exist>
00831 inline ER raw_stub<Exist>::stub_clr_flg(ID flgid, FLGPTN clrptn)
00832 {
00833 return clr_flg(flgid, clrptn);
00834 }
00835 template <bool Exist>
00836 inline ER raw_stub<Exist>::stub_wai_flg(ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN* p_flgptn)
00837 {
00838 return wai_flg(flgid, waiptn, wfmode, p_flgptn);
00839 }
00840 template <bool Exist>
00841 inline ER raw_stub<Exist>::stub_pol_flg(ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN* p_flgptn)
00842 {
00843 return pol_flg(flgid, waiptn, wfmode, p_flgptn);
00844 }
00845 template <bool Exist>
00846 inline ER raw_stub<Exist>::stub_twai_flg(ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN* p_flgptn, TMO tmout)
00847 {
00848 return twai_flg(flgid, waiptn, wfmode, p_flgptn, tmout);
00849 }
00850 template <bool Exist>
00851 inline ER raw_stub<Exist>::stub_ref_flg(ID flgid, t_rflg* pk_rflg)
00852 {
00853 return ref_flg(flgid, pk_rflg);
00854 }
00855
00856 template <bool Exist>
00857 inline ER raw_stub<Exist>::stub_cre_dtq(ID dtqid, t_cdtq* pk_cdtq)
00858 {
00859 return cre_dtq(dtqid, pk_cdtq);
00860 }
00861 template <bool Exist>
00862 inline ER raw_stub<Exist>::stub_cre_dtq(ID dtqid, const t_cdtq* pk_cdtq)
00863 {
00864 if (sizeof cre_dtq(dtqid, pk_cdtq) != sizeof(ER))
00865 {
00866 t_cdtq packet = *pk_cdtq;
00867 return cre_dtq(dtqid, &packet);
00868 }
00869 return cre_dtq(dtqid, const_cast<t_cdtq*>(pk_cdtq));
00870 }
00871 template <bool Exist>
00872 inline ER raw_stub<Exist>::stub_del_dtq(ID dtqid)
00873 {
00874 return del_dtq(dtqid);
00875 }
00876 template <bool Exist>
00877 inline ER raw_stub<Exist>::stub_snd_dtq(ID dtqid, VP_INT data)
00878 {
00879 return snd_dtq(dtqid, data);
00880 }
00881 template <bool Exist>
00882 inline ER raw_stub<Exist>::stub_psnd_dtq(ID dtqid, VP_INT data)
00883 {
00884 return psnd_dtq(dtqid, data);
00885 }
00886 template <bool Exist>
00887 inline ER raw_stub<Exist>::stub_tsnd_dtq(ID dtqid, VP_INT data, TMO tmout)
00888 {
00889 return tsnd_dtq(dtqid, data, tmout);
00890 }
00891 template <bool Exist>
00892 inline ER raw_stub<Exist>::stub_fsnd_dtq(ID dtqid, VP_INT data)
00893 {
00894 return fsnd_dtq(dtqid, data);
00895 }
00896 template <bool Exist>
00897 inline ER raw_stub<Exist>::stub_rcv_dtq(ID dtqid, VP_INT* p_data)
00898 {
00899 return rcv_dtq(dtqid, p_data);
00900 }
00901 template <bool Exist>
00902 inline ER raw_stub<Exist>::stub_prcv_dtq(ID dtqid, VP_INT* p_data)
00903 {
00904 return prcv_dtq(dtqid, p_data);
00905 }
00906 template <bool Exist>
00907 inline ER raw_stub<Exist>::stub_trcv_dtq(ID dtqid, VP_INT* p_data, TMO tmout)
00908 {
00909 return trcv_dtq(dtqid, p_data, tmout);
00910 }
00911 template <bool Exist>
00912 inline ER raw_stub<Exist>::stub_ref_dtq(ID dtqid, t_rdtq* pk_rdtq)
00913 {
00914 return ref_dtq(dtqid, pk_rdtq);
00915 }
00916
00917 template <bool Exist>
00918 inline ER raw_stub<Exist>::stub_cre_mbx(ID mbxid, t_cmbx* pk_cmbx)
00919 {
00920 return cre_mbx(mbxid, pk_cmbx);
00921 }
00922 template <bool Exist>
00923 inline ER raw_stub<Exist>::stub_cre_mbx(ID mbxid, const t_cmbx* pk_cmbx)
00924 {
00925 if (sizeof cre_mbx(mbxid, pk_cmbx) != sizeof(ER))
00926 {
00927 t_cmbx packet = *pk_cmbx;
00928 return cre_mbx(mbxid, &packet);
00929 }
00930 return cre_mbx(mbxid, const_cast<t_cmbx*>(pk_cmbx));
00931 }
00932 template <bool Exist>
00933 inline ER raw_stub<Exist>::stub_del_mbx(ID mbxid)
00934 {
00935 return del_mbx(mbxid);
00936 }
00937 template <bool Exist>
00938 inline ER raw_stub<Exist>::stub_snd_mbx(ID mbxid, T_MSG* pk_msg)
00939 {
00940 return snd_mbx(mbxid, pk_msg);
00941 }
00942 template <bool Exist>
00943 inline ER raw_stub<Exist>::stub_rcv_mbx(ID mbxid, T_MSG** ppk_msg)
00944 {
00945 return rcv_mbx(mbxid, ppk_msg);
00946 }
00947 template <bool Exist>
00948 inline ER raw_stub<Exist>::stub_prcv_mbx(ID mbxid, T_MSG** ppk_msg)
00949 {
00950 return prcv_mbx(mbxid, ppk_msg);
00951 }
00952 template <bool Exist>
00953 inline ER raw_stub<Exist>::stub_trcv_mbx(ID mbxid, T_MSG** ppk_msg, TMO tmout)
00954 {
00955 return trcv_mbx(mbxid, ppk_msg, tmout);
00956 }
00957 template <bool Exist>
00958 inline ER raw_stub<Exist>::stub_ref_mbx(ID mbxid, t_rmbx* pk_rmbx)
00959 {
00960 return ref_mbx(mbxid, pk_rmbx);
00961 }
00962
00963 template <bool Exist>
00964 inline ER raw_stub<Exist>::stub_cre_mpf(ID mpfid, t_cmpf* pk_cmpf)
00965 {
00966 return cre_mpf(mpfid, pk_cmpf);
00967 }
00968 template <bool Exist>
00969 inline ER raw_stub<Exist>::stub_cre_mpf(ID mpfid, const t_cmpf* pk_cmpf)
00970 {
00971 if (sizeof cre_mpf(mpfid, pk_cmpf) != sizeof(ER))
00972 {
00973 t_cmpf packet = *pk_cmpf;
00974 return cre_mpf(mpfid, &packet);
00975 }
00976 return cre_mpf(mpfid, const_cast<t_cmpf*>(pk_cmpf));
00977 }
00978 template <bool Exist>
00979 inline ER raw_stub<Exist>::stub_del_mpf(ID mpfid)
00980 {
00981 return del_mpf(mpfid);
00982 }
00983 template <bool Exist>
00984 inline ER raw_stub<Exist>::stub_rel_mpf(ID mpfid, VP blk)
00985 {
00986 return rel_mpf(mpfid, blk);
00987 }
00988 template <bool Exist>
00989 inline ER raw_stub<Exist>::stub_get_mpf(ID mpfid, VP* p_blk)
00990 {
00991 return get_mpf(mpfid, p_blk);
00992 }
00993 template <bool Exist>
00994 inline ER raw_stub<Exist>::stub_pget_mpf(ID mpfid, VP* p_blk)
00995 {
00996 return pget_mpf(mpfid, p_blk);
00997 }
00998 template <bool Exist>
00999 inline ER raw_stub<Exist>::stub_tget_mpf(ID mpfid, VP* p_blk, TMO tmout)
01000 {
01001 return tget_mpf(mpfid, p_blk, tmout);
01002 }
01003 template <bool Exist>
01004 inline ER raw_stub<Exist>::stub_ref_mpf(ID mpfid, t_rmpf* pk_rmpf)
01005 {
01006 return ref_mpf(mpfid, pk_rmpf);
01007 }
01008
01009 template <bool Exist>
01010 inline ER raw_stub<Exist>::stub_set_tim(SYSTIM* p_systim)
01011 {
01012 return set_tim(p_systim);
01013 }
01014 template <bool Exist>
01015 inline ER raw_stub<Exist>::stub_set_tim(const SYSTIM* p_systim)
01016 {
01017 if (sizeof set_tim(p_systim) != sizeof(ER))
01018 {
01019 SYSTIM packet = *p_systim;
01020 return set_tim(&packet);
01021 }
01022 return set_tim(const_cast<SYSTIM*>(p_systim));
01023 }
01024 template <bool Exist>
01025 inline ER raw_stub<Exist>::stub_get_tim(SYSTIM* p_systim)
01026 {
01027 return get_tim(p_systim);
01028 }
01029
01030 template <bool Exist>
01031 inline ER raw_stub<Exist>::stub_cre_cyc(ID cycid, t_ccyc* pk_ccyc)
01032 {
01033 return cre_cyc(cycid, pk_ccyc);
01034 }
01035 template <bool Exist>
01036 inline ER raw_stub<Exist>::stub_cre_cyc(ID cycid, const t_ccyc* pk_ccyc)
01037 {
01038 if (sizeof cre_cyc(cycid, pk_ccyc) != sizeof(ER))
01039 {
01040 t_ccyc packet = *pk_ccyc;
01041 return cre_cyc(cycid, &packet);
01042 }
01043 return cre_cyc(cycid, const_cast<t_ccyc*>(pk_ccyc));
01044 }
01045 template <bool Exist>
01046 inline ER raw_stub<Exist>::stub_del_cyc(ID cycid)
01047 {
01048 return del_cyc(cycid);
01049 }
01050 template <bool Exist>
01051 inline ER raw_stub<Exist>::stub_sta_cyc(ID cycid)
01052 {
01053 return sta_cyc(cycid);
01054 }
01055 template <bool Exist>
01056 inline ER raw_stub<Exist>::stub_stp_cyc(ID cycid)
01057 {
01058 return stp_cyc(cycid);
01059 }
01060 template <bool Exist>
01061 inline ER raw_stub<Exist>::stub_ref_cyc(ID cycid, t_rcyc* pk_rcyc)
01062 {
01063 return ref_cyc(cycid, pk_rcyc);
01064 }
01065
01066 template <bool Exist>
01067 inline ER raw_stub<Exist>::stub_rot_rdq(PRI tskpri)
01068 {
01069 return rot_rdq(tskpri);
01070 }
01071 template <bool Exist>
01072 inline ER raw_stub<Exist>::stub_get_tid(ID* p_tskid)
01073 {
01074 return get_tid(p_tskid);
01075 }
01076 template <bool Exist>
01077 inline ER raw_stub<Exist>::stub_loc_cpu()
01078 {
01079 return loc_cpu();
01080 }
01081 template <bool Exist>
01082 inline ER raw_stub<Exist>::stub_unl_cpu()
01083 {
01084 return unl_cpu();
01085 }
01086 template <bool Exist>
01087 inline ER raw_stub<Exist>::stub_dis_dsp()
01088 {
01089 return dis_dsp();
01090 }
01091 template <bool Exist>
01092 inline ER raw_stub<Exist>::stub_ena_dsp()
01093 {
01094 return ena_dsp();
01095 }
01096 template <bool Exist>
01097 inline bool raw_stub<Exist>::stub_sns_ctx()
01098 {
01099 return sns_ctx();
01100 }
01101 template <bool Exist>
01102 inline bool raw_stub<Exist>::stub_sns_loc()
01103 {
01104 return sns_loc();
01105 }
01106 template <bool Exist>
01107 inline bool raw_stub<Exist>::stub_sns_dsp()
01108 {
01109 return sns_dsp();
01110 }
01111 template <bool Exist>
01112 inline bool raw_stub<Exist>::stub_sns_dpn()
01113 {
01114 return sns_dpn();
01115 }
01116 template <bool Exist>
01117 inline ER raw_stub<Exist>::stub_ref_sys(t_rsys* pk_rsys)
01118 {
01119 return ref_sys(pk_rsys);
01120 }
01121
01122 template <bool Exist>
01123 inline ER raw_stub<Exist>::stub_def_inh(INHNO inhno, t_dinh* pk_dinh)
01124 {
01125 return def_inh(inhno, pk_dinh);
01126 }
01127 template <bool Exist>
01128 inline ER raw_stub<Exist>::stub_def_inh(INHNO inhno, const t_dinh* pk_dinh)
01129 {
01130 if (sizeof def_inh(inhno, pk_dinh) != sizeof(ER))
01131 {
01132 t_dinh packet = *pk_dinh;
01133 return def_inh(inhno, &packet);
01134 }
01135 return def_inh(inhno, const_cast<t_dinh*>(pk_dinh));
01136 }
01137 template <bool Exist>
01138 inline ER raw_stub<Exist>::stub_cre_isr(ID isrid, t_cisr* pk_cisr)
01139 {
01140 return cre_isr(isrid, pk_cisr);
01141 }
01142 template <bool Exist>
01143 inline ER raw_stub<Exist>::stub_cre_isr(ID isrid, const t_cisr* pk_cisr)
01144 {
01145 if (sizeof cre_isr(isrid, pk_cisr) != sizeof(ER))
01146 {
01147 t_cisr packet = *pk_cisr;
01148 return cre_isr(isrid, &packet);
01149 }
01150 return cre_isr(isrid, const_cast<t_cisr*>(pk_cisr));
01151 }
01152 template <bool Exist>
01153 inline ER raw_stub<Exist>::stub_del_isr(ID isrid)
01154 {
01155 return del_isr(isrid);
01156 }
01157 template <bool Exist>
01158 inline ER raw_stub<Exist>::stub_ref_isr(ID isrid, t_risr* pk_risr)
01159 {
01160 return ref_isr(isrid, pk_risr);
01161 }
01162 template <bool Exist>
01163 inline ER raw_stub<Exist>::stub_dis_int(INTNO intno)
01164 {
01165 return dis_int(intno);
01166 }
01167 template <bool Exist>
01168 inline ER raw_stub<Exist>::stub_ena_int(INTNO intno)
01169 {
01170 return ena_int(intno);
01171 }
01172 template <bool Exist>
01173 inline ER raw_stub<Exist>::stub_chg_ims(IMS ims)
01174 {
01175 return chg_ims(ims);
01176 }
01177 template <bool Exist>
01178 inline ER raw_stub<Exist>::stub_get_ims(IMS* p_ims)
01179 {
01180 return get_ims(p_ims);
01181 }
01182
01183 template <bool Exist>
01184 inline ER raw_stub<Exist>::stub_def_svc(FN fncd, t_dsvc* pk_dsvc)
01185 {
01186 return def_svc(fncd, pk_dsvc);
01187 }
01188 template <bool Exist>
01189 inline ER raw_stub<Exist>::stub_def_svc(FN fncd, const t_dsvc* pk_dsvc)
01190 {
01191 if (sizeof def_svc(fncd, pk_dsvc) != sizeof(ER))
01192 {
01193 t_dsvc packet = *pk_dsvc;
01194 return def_svc(fncd, &packet);
01195 }
01196 return def_svc(fncd, const_cast<t_dsvc*>(pk_dsvc));
01197 }
01198 template <bool Exist>
01199 inline ER raw_stub<Exist>::stub_def_exc(EXCNO excno, t_dexc* pk_dexc)
01200 {
01201 return def_exc(excno, pk_dexc);
01202 }
01203 template <bool Exist>
01204 inline ER raw_stub<Exist>::stub_def_exc(EXCNO excno, const t_dexc* pk_dexc)
01205 {
01206 if (sizeof def_exc(excno, pk_dexc) != sizeof(ER))
01207 {
01208 t_dexc packet = *pk_dexc;
01209 return def_exc(excno, &packet);
01210 }
01211 return def_exc(excno, const_cast<t_dexc*>(pk_dexc));
01212 }
01213 template <bool Exist>
01214 inline ER raw_stub<Exist>::stub_ref_cfg(t_rcfg* pk_rcfg)
01215 {
01216 return ref_cfg(pk_rcfg);
01217 }
01218 template <bool Exist>
01219 inline ER raw_stub<Exist>::stub_ref_ver(t_rver* pk_rver)
01220 {
01221 return ref_ver(pk_rver);
01222 }
01223
01224 template <bool Exist>
01225 inline ER raw_stub<Exist>::stub_iact_tsk(ID tskid)
01226 {
01227 return iact_tsk(tskid);
01228 }
01229 template <bool Exist>
01230 inline ER raw_stub<Exist>::stub_iwup_tsk(ID tskid)
01231 {
01232 return iwup_tsk(tskid);
01233 }
01234 template <bool Exist>
01235 inline ER raw_stub<Exist>::stub_irel_wai(ID tskid)
01236 {
01237 return irel_wai(tskid);
01238 }
01239 template <bool Exist>
01240 inline ER raw_stub<Exist>::stub_iras_tex(ID tskid, TEXPTN rasptn)
01241 {
01242 return iras_tex(tskid, rasptn);
01243 }
01244 template <bool Exist>
01245 inline ER raw_stub<Exist>::stub_isig_sem(ID semid)
01246 {
01247 return isig_sem(semid);
01248 }
01249 template <bool Exist>
01250 inline ER raw_stub<Exist>::stub_iset_flg(ID flgid, FLGPTN setptn)
01251 {
01252 return iset_flg(flgid, setptn);
01253 }
01254 template <bool Exist>
01255 inline ER raw_stub<Exist>::stub_ipsnd_dtq(ID dtqid, VP_INT data)
01256 {
01257 return ipsnd_dtq(dtqid, data);
01258 }
01259 template <bool Exist>
01260 inline ER raw_stub<Exist>::stub_ifsnd_dtq(ID dtqid, VP_INT data)
01261 {
01262 return ifsnd_dtq(dtqid, data);
01263 }
01264 template <bool Exist>
01265 inline ER raw_stub<Exist>::stub_irot_rdq(PRI tskpri)
01266 {
01267 return irot_rdq(tskpri);
01268 }
01269 template <bool Exist>
01270 inline ER raw_stub<Exist>::stub_iget_tid(ID* p_tskid)
01271 {
01272 return iget_tid(p_tskid);
01273 }
01274 template <bool Exist>
01275 inline ER raw_stub<Exist>::stub_iloc_cpu()
01276 {
01277 return iloc_cpu();
01278 }
01279 template <bool Exist>
01280 inline ER raw_stub<Exist>::stub_iunl_cpu()
01281 {
01282 return iunl_cpu();
01283 }
01284 template <bool Exist>
01285 inline ER raw_stub<Exist>::stub_isig_tim()
01286 {
01287 return isig_tim();
01288 }
01289
01290 template <bool Exist>
01291 inline ER raw_stub<Exist>::stub_cre_mtx(ID mtxid, t_cmtx* pk_cmtx)
01292 {
01293 return cre_mtx(mtxid, pk_cmtx);
01294 }
01295 template <bool Exist>
01296 inline ER raw_stub<Exist>::stub_cre_mtx(ID mtxid, const t_cmtx* pk_cmtx)
01297 {
01298 if (sizeof cre_mtx(mtxid, pk_cmtx) != sizeof(ER))
01299 {
01300 t_cmtx packet = *pk_cmtx;
01301 return cre_mtx(mtxid, &packet);
01302 }
01303 return cre_mtx(mtxid, const_cast<t_cmtx*>(pk_cmtx));
01304 }
01305 template <bool Exist>
01306 inline ER raw_stub<Exist>::stub_del_mtx(ID mtxid)
01307 {
01308 return del_mtx(mtxid);
01309 }
01310 template <bool Exist>
01311 inline ER raw_stub<Exist>::stub_unl_mtx(ID mtxid)
01312 {
01313 return unl_mtx(mtxid);
01314 }
01315 template <bool Exist>
01316 inline ER raw_stub<Exist>::stub_loc_mtx(ID mtxid)
01317 {
01318 return loc_mtx(mtxid);
01319 }
01320 template <bool Exist>
01321 inline ER raw_stub<Exist>::stub_ploc_mtx(ID mtxid)
01322 {
01323 return ploc_mtx(mtxid);
01324 }
01325 template <bool Exist>
01326 inline ER raw_stub<Exist>::stub_tloc_mtx(ID mtxid, TMO tmout)
01327 {
01328 return tloc_mtx(mtxid, tmout);
01329 }
01330 template <bool Exist>
01331 inline ER raw_stub<Exist>::stub_ref_mtx(ID mtxid, t_rmtx* pk_rmtx)
01332 {
01333 return ref_mtx(mtxid, pk_rmtx);
01334 }
01335
01336 template <bool Exist>
01337 inline ER raw_stub<Exist>::stub_cre_mbf(ID mbfid, t_cmbf* pk_cmbf)
01338 {
01339 return cre_mbf(mbfid, pk_cmbf);
01340 }
01341 template <bool Exist>
01342 inline ER raw_stub<Exist>::stub_cre_mbf(ID mbfid, const t_cmbf* pk_cmbf)
01343 {
01344 if (sizeof cre_mbf(mbfid, pk_cmbf) != sizeof(ER))
01345 {
01346 t_cmbf packet = *pk_cmbf;
01347 return cre_mbf(mbfid, &packet);
01348 }
01349 return cre_mbf(mbfid, const_cast<t_cmbf*>(pk_cmbf));
01350 }
01351 template <bool Exist>
01352 inline ER raw_stub<Exist>::stub_del_mbf(ID mbfid)
01353 {
01354 return del_mbf(mbfid);
01355 }
01356 template <bool Exist>
01357 inline ER raw_stub<Exist>::stub_snd_mbf(ID mbfid, const void* msg, UINT msgsz)
01358 {
01359 return snd_mbf(mbfid, const_cast<void*>(msg), msgsz);
01360 }
01361 template <bool Exist>
01362 inline ER raw_stub<Exist>::stub_psnd_mbf(ID mbfid, const void* msg, UINT msgsz)
01363 {
01364 return psnd_mbf(mbfid, const_cast<void*>(msg), msgsz);
01365 }
01366 template <bool Exist>
01367 inline ER raw_stub<Exist>::stub_tsnd_mbf(ID mbfid, const void* msg, UINT msgsz, TMO tmout)
01368 {
01369 return tsnd_mbf(mbfid, const_cast<void*>(msg), msgsz, tmout);
01370 }
01371 template <bool Exist>
01372 inline ER_UINT raw_stub<Exist>::stub_rcv_mbf(ID mbfid, void* msg)
01373 {
01374 return rcv_mbf(mbfid, msg);
01375 }
01376 template <bool Exist>
01377 inline ER_UINT raw_stub<Exist>::stub_prcv_mbf(ID mbfid, void* msg)
01378 {
01379 return prcv_mbf(mbfid, msg);
01380 }
01381 template <bool Exist>
01382 inline ER_UINT raw_stub<Exist>::stub_trcv_mbf(ID mbfid, void* msg, TMO tmout)
01383 {
01384 return trcv_mbf(mbfid, msg, tmout);
01385 }
01386 template <bool Exist>
01387 inline ER raw_stub<Exist>::stub_ref_mbf(ID mbfid, t_rmbf* pk_rmbf)
01388 {
01389 return ref_mbf(mbfid, pk_rmbf);
01390 }
01391
01392 template <bool Exist>
01393 inline ER raw_stub<Exist>::stub_cre_por(ID porid, t_cpor* pk_cpor)
01394 {
01395 return cre_por(porid, pk_cpor);
01396 }
01397 template <bool Exist>
01398 inline ER raw_stub<Exist>::stub_cre_por(ID porid, const t_cpor* pk_cpor)
01399 {
01400 if (sizeof cre_por(porid, pk_cpor) != sizeof(ER))
01401 {
01402 t_cpor packet = *pk_cpor;
01403 return cre_por(porid, &packet);
01404 }
01405 return cre_por(porid, const_cast<t_cpor*>(pk_cpor));
01406 }
01407 template <bool Exist>
01408 inline ER raw_stub<Exist>::stub_del_por(ID porid)
01409 {
01410 return del_por(porid);
01411 }
01412 template <bool Exist>
01413 inline ER_UINT raw_stub<Exist>::stub_cal_por(ID porid, RDVPTN calptn, void* msg, UINT cmsgsz)
01414 {
01415 return cal_por(porid, calptn, msg, cmsgsz);
01416 }
01417 template <bool Exist>
01418 inline ER_UINT raw_stub<Exist>::stub_tcal_por(ID porid, RDVPTN calptn, void* msg, UINT cmsgsz, TMO tmout)
01419 {
01420 return tcal_por(porid, calptn, msg, cmsgsz, tmout);
01421 }
01422 template <bool Exist>
01423 inline ER_UINT raw_stub<Exist>::stub_acp_por(ID porid, RDVPTN acpptn, RDVNO* p_rdvno, void* msg)
01424 {
01425 return acp_por(porid, acpptn, p_rdvno, msg);
01426 }
01427 template <bool Exist>
01428 inline ER_UINT raw_stub<Exist>::stub_pacp_por(ID porid, RDVPTN acpptn, RDVNO* p_rdvno, void* msg)
01429 {
01430 return pacp_por(porid, acpptn, p_rdvno, msg);
01431 }
01432 template <bool Exist>
01433 inline ER_UINT raw_stub<Exist>::stub_tacp_por(ID porid, RDVPTN acpptn, RDVNO* p_rdvno, void* msg, TMO tmout)
01434 {
01435 return tacp_por(porid, acpptn, p_rdvno, msg, tmout);
01436 }
01437 template <bool Exist>
01438 inline ER raw_stub<Exist>::stub_fwd_por(ID porid, RDVPTN acpptn, RDVNO rdvno, const void* msg, UINT cmsgsz)
01439 {
01440 return fwd_por(porid, acpptn, rdvno, const_cast<void*>(msg), cmsgsz);
01441 }
01442 template <bool Exist>
01443 inline ER raw_stub<Exist>::stub_rpl_rdv(RDVNO rdvno, const void* msg, UINT rmsgsz)
01444 {
01445 return rpl_rdv(rdvno, const_cast<void*>(msg), rmsgsz);
01446 }
01447 template <bool Exist>
01448 inline ER raw_stub<Exist>::stub_ref_por(ID porid, t_rpor* pk_rpor)
01449 {
01450 return ref_por(porid, pk_rpor);
01451 }
01452 template <bool Exist>
01453 inline ER raw_stub<Exist>::stub_ref_rdv(RDVNO rdvid, t_rrdv* pk_rrdv)
01454 {
01455 return ref_rdv(rdvid, pk_rrdv);
01456 }
01457
01458 template <bool Exist>
01459 inline ER raw_stub<Exist>::stub_cre_mpl(ID mplid, t_cmpl* pk_cmpl)
01460 {
01461 return cre_mpl(mplid, pk_cmpl);
01462 }
01463 template <bool Exist>
01464 inline ER raw_stub<Exist>::stub_cre_mpl(ID mplid, const t_cmpl* pk_cmpl)
01465 {
01466 if (sizeof cre_mpl(mplid, pk_cmpl) != sizeof(ER))
01467 {
01468 t_cmpl packet = *pk_cmpl;
01469 return cre_mpl(mplid, &packet);
01470 }
01471 return cre_mpl(mplid, const_cast<t_cmpl*>(pk_cmpl));
01472 }
01473 template <bool Exist>
01474 inline ER raw_stub<Exist>::stub_del_mpl(ID mplid)
01475 {
01476 return del_mpl(mplid);
01477 }
01478 template <bool Exist>
01479 inline ER raw_stub<Exist>::stub_rel_mpl(ID mplid, VP blk)
01480 {
01481 return rel_mpl(mplid, blk);
01482 }
01483 template <bool Exist>
01484 inline ER raw_stub<Exist>::stub_get_mpl(ID mplid, UINT blksz, VP* p_blk)
01485 {
01486 return get_mpl(mplid, blksz, p_blk);
01487 }
01488 template <bool Exist>
01489 inline ER raw_stub<Exist>::stub_pget_mpl(ID mplid, UINT blksz, VP* p_blk)
01490 {
01491 return pget_mpl(mplid, blksz, p_blk);
01492 }
01493 template <bool Exist>
01494 inline ER raw_stub<Exist>::stub_tget_mpl(ID mplid, UINT blksz, VP* p_blk, TMO tmout)
01495 {
01496 return tget_mpl(mplid, blksz, p_blk, tmout);
01497 }
01498 template <bool Exist>
01499 inline ER raw_stub<Exist>::stub_ref_mpl(ID mplid, t_rmpl* pk_rmpl)
01500 {
01501 return ref_mpl(mplid, pk_rmpl);
01502 }
01503
01504 template <bool Exist>
01505 inline ER raw_stub<Exist>::stub_cre_alm(ID almid, t_calm* pk_calm)
01506 {
01507 return cre_alm(almid, pk_calm);
01508 }
01509 template <bool Exist>
01510 inline ER raw_stub<Exist>::stub_cre_alm(ID almid, const t_calm* pk_calm)
01511 {
01512 if (sizeof cre_alm(almid, pk_calm) != sizeof(ER))
01513 {
01514 t_calm packet = *pk_calm;
01515 return cre_alm(almid, &packet);
01516 }
01517 return cre_alm(almid, const_cast<t_calm*>(pk_calm));
01518 }
01519 template <bool Exist>
01520 inline ER raw_stub<Exist>::stub_del_alm(ID almid)
01521 {
01522 return del_alm(almid);
01523 }
01524 template <bool Exist>
01525 inline ER raw_stub<Exist>::stub_sta_alm(ID almid, RELTIM almtim)
01526 {
01527 return sta_alm(almid, almtim);
01528 }
01529 template <bool Exist>
01530 inline ER raw_stub<Exist>::stub_stp_alm(ID almid)
01531 {
01532 return stp_alm(almid);
01533 }
01534 template <bool Exist>
01535 inline ER raw_stub<Exist>::stub_ref_alm(ID almid, t_ralm* pk_ralm)
01536 {
01537 return ref_alm(almid, pk_ralm);
01538 }
01539
01540 template <bool Exist>
01541 inline ER raw_stub<Exist>::stub_def_ovr(t_dovr* pk_dovr)
01542 {
01543 return def_ovr(pk_dovr);
01544 }
01545 template <bool Exist>
01546 inline ER raw_stub<Exist>::stub_def_ovr(const t_dovr* pk_dovr)
01547 {
01548 if (sizeof def_ovr(pk_dovr) != sizeof(ER))
01549 {
01550 t_dovr packet = *pk_dovr;
01551 return def_ovr(&packet);
01552 }
01553 return def_ovr(const_cast<t_dovr*>(pk_dovr));
01554 }
01555 template <bool Exist>
01556 inline ER raw_stub<Exist>::stub_sta_ovr(ID tskid, OVRTIM ovrtim)
01557 {
01558 return sta_ovr(tskid, ovrtim);
01559 }
01560 template <bool Exist>
01561 inline ER raw_stub<Exist>::stub_stp_ovr(ID tskid)
01562 {
01563 return stp_ovr(tskid);
01564 }
01565 template <bool Exist>
01566 inline ER raw_stub<Exist>::stub_ref_ovr(ID tskid, t_rovr* pk_rovr)
01567 {
01568 return ref_ovr(tskid, pk_rovr);
01569 }
01570
01571 template <bool Exist>
01572 inline ER_ID raw_stub<Exist>::stub_acre_tsk(t_ctsk* pk_ctsk)
01573 {
01574 return acre_tsk(pk_ctsk);
01575 }
01576 template <bool Exist>
01577 inline ER_ID raw_stub<Exist>::stub_acre_tsk(const t_ctsk* pk_ctsk)
01578 {
01579 if (sizeof acre_tsk(pk_ctsk) != sizeof(ER_ID))
01580 {
01581 t_ctsk packet = *pk_ctsk;
01582 return acre_tsk(&packet);
01583 }
01584 return acre_tsk(const_cast<t_ctsk*>(pk_ctsk));
01585 }
01586 template <bool Exist>
01587 inline ER_ID raw_stub<Exist>::stub_acre_sem(t_csem* pk_csem)
01588 {
01589 return acre_sem(pk_csem);
01590 }
01591 template <bool Exist>
01592 inline ER_ID raw_stub<Exist>::stub_acre_sem(const t_csem* pk_csem)
01593 {
01594 if (sizeof acre_sem(pk_csem) != sizeof(ER_ID))
01595 {
01596 t_csem packet = *pk_csem;
01597 return acre_sem(&packet);
01598 }
01599 return acre_sem(const_cast<t_csem*>(pk_csem));
01600 }
01601 template <bool Exist>
01602 inline ER_ID raw_stub<Exist>::stub_acre_flg(t_cflg* pk_cflg)
01603 {
01604 return acre_flg(pk_cflg);
01605 }
01606 template <bool Exist>
01607 inline ER_ID raw_stub<Exist>::stub_acre_flg(const t_cflg* pk_cflg)
01608 {
01609 if (sizeof acre_flg(pk_cflg) != sizeof(ER_ID))
01610 {
01611 t_cflg packet = *pk_cflg;
01612 return acre_flg(&packet);
01613 }
01614 return acre_flg(const_cast<t_cflg*>(pk_cflg));
01615 }
01616 template <bool Exist>
01617 inline ER_ID raw_stub<Exist>::stub_acre_dtq(t_cdtq* pk_cdtq)
01618 {
01619 return acre_dtq(pk_cdtq);
01620 }
01621 template <bool Exist>
01622 inline ER_ID raw_stub<Exist>::stub_acre_dtq(const t_cdtq* pk_cdtq)
01623 {
01624 if (sizeof acre_dtq(pk_cdtq) != sizeof(ER_ID))
01625 {
01626 t_cdtq packet = *pk_cdtq;
01627 return acre_dtq(&packet);
01628 }
01629 return acre_dtq(const_cast<t_cdtq*>(pk_cdtq));
01630 }
01631 template <bool Exist>
01632 inline ER_ID raw_stub<Exist>::stub_acre_mbx(t_cmbx* pk_cmbx)
01633 {
01634 return acre_mbx(pk_cmbx);
01635 }
01636 template <bool Exist>
01637 inline ER_ID raw_stub<Exist>::stub_acre_mbx(const t_cmbx* pk_cmbx)
01638 {
01639 if (sizeof acre_mbx(pk_cmbx) != sizeof(ER_ID))
01640 {
01641 t_cmbx packet = *pk_cmbx;
01642 return acre_mbx(&packet);
01643 }
01644 return acre_mbx(const_cast<t_cmbx*>(pk_cmbx));
01645 }
01646 template <bool Exist>
01647 inline ER_ID raw_stub<Exist>::stub_acre_mtx(t_cmtx* pk_cmtx)
01648 {
01649 return acre_mtx(pk_cmtx);
01650 }
01651 template <bool Exist>
01652 inline ER_ID raw_stub<Exist>::stub_acre_mtx(const t_cmtx* pk_cmtx)
01653 {
01654 if (sizeof acre_mtx(pk_cmtx) != sizeof(ER_ID))
01655 {
01656 t_cmtx packet = *pk_cmtx;
01657 return acre_mtx(&packet);
01658 }
01659 return acre_mtx(const_cast<t_cmtx*>(pk_cmtx));
01660 }
01661 template <bool Exist>
01662 inline ER_ID raw_stub<Exist>::stub_acre_mbf(t_cmbf* pk_cmbf)
01663 {
01664 return acre_mbf(pk_cmbf);
01665 }
01666 template <bool Exist>
01667 inline ER_ID raw_stub<Exist>::stub_acre_mbf(const t_cmbf* pk_cmbf)
01668 {
01669 if (sizeof acre_mbf(pk_cmbf) != sizeof(ER_ID))
01670 {
01671 t_cmbf packet = *pk_cmbf;
01672 return acre_mbf(&packet);
01673 }
01674 return acre_mbf(const_cast<t_cmbf*>(pk_cmbf));
01675 }
01676 template <bool Exist>
01677 inline ER_ID raw_stub<Exist>::stub_acre_por(t_cpor* pk_cpor)
01678 {
01679 return acre_por(pk_cpor);
01680 }
01681 template <bool Exist>
01682 inline ER_ID raw_stub<Exist>::stub_acre_por(const t_cpor* pk_cpor)
01683 {
01684 if (sizeof acre_por(pk_cpor) != sizeof(ER_ID))
01685 {
01686 t_cpor packet = *pk_cpor;
01687 return acre_por(&packet);
01688 }
01689 return acre_por(const_cast<t_cpor*>(pk_cpor));
01690 }
01691 template <bool Exist>
01692 inline ER_ID raw_stub<Exist>::stub_acre_mpf(t_cmpf* pk_cmpf)
01693 {
01694 return acre_mpf(pk_cmpf);
01695 }
01696 template <bool Exist>
01697 inline ER_ID raw_stub<Exist>::stub_acre_mpf(const t_cmpf* pk_cmpf)
01698 {
01699 if (sizeof acre_mpf(pk_cmpf) != sizeof(ER_ID))
01700 {
01701 t_cmpf packet = *pk_cmpf;
01702 return acre_mpf(&packet);
01703 }
01704 return acre_mpf(const_cast<t_cmpf*>(pk_cmpf));
01705 }
01706 template <bool Exist>
01707 inline ER_ID raw_stub<Exist>::stub_acre_mpl(t_cmpl* pk_cmpl)
01708 {
01709 return acre_mpl(pk_cmpl);
01710 }
01711 template <bool Exist>
01712 inline ER_ID raw_stub<Exist>::stub_acre_mpl(const t_cmpl* pk_cmpl)
01713 {
01714 if (sizeof acre_mpl(pk_cmpl) != sizeof(ER_ID))
01715 {
01716 t_cmpl packet = *pk_cmpl;
01717 return acre_mpl(&packet);
01718 }
01719 return acre_mpl(const_cast<t_cmpl*>(pk_cmpl));
01720 }
01721 template <bool Exist>
01722 inline ER_ID raw_stub<Exist>::stub_acre_cyc(t_ccyc* pk_ccyc)
01723 {
01724 return acre_cyc(pk_ccyc);
01725 }
01726 template <bool Exist>
01727 inline ER_ID raw_stub<Exist>::stub_acre_cyc(const t_ccyc* pk_ccyc)
01728 {
01729 if (sizeof acre_cyc(pk_ccyc) != sizeof(ER_ID))
01730 {
01731 t_ccyc packet = *pk_ccyc;
01732 return acre_cyc(&packet);
01733 }
01734 return acre_cyc(const_cast<t_ccyc*>(pk_ccyc));
01735 }
01736 template <bool Exist>
01737 inline ER_ID raw_stub<Exist>::stub_acre_alm(t_calm* pk_calm)
01738 {
01739 return acre_alm(pk_calm);
01740 }
01741 template <bool Exist>
01742 inline ER_ID raw_stub<Exist>::stub_acre_alm(const t_calm* pk_calm)
01743 {
01744 if (sizeof acre_alm(pk_calm) != sizeof(ER_ID))
01745 {
01746 t_calm packet = *pk_calm;
01747 return acre_alm(&packet);
01748 }
01749 return acre_alm(const_cast<t_calm*>(pk_calm));
01750 }
01751 template <bool Exist>
01752 inline ER_ID raw_stub<Exist>::stub_acre_isr(t_cisr* pk_cisr)
01753 {
01754 return acre_isr(pk_cisr);
01755 }
01756 template <bool Exist>
01757 inline ER_ID raw_stub<Exist>::stub_acre_isr(const t_cisr* pk_cisr)
01758 {
01759 if (acre_isr(pk_cisr) != sizeof(ER_ID))
01760 {
01761 t_cisr packet = *pk_cisr;
01762 acre_isr(&packet);
01763 }
01764 return acre_isr(const_cast<t_cisr*>(pk_cisr));
01765 }
01766
01767 template <bool Exist>
01768 inline bool raw_stub<Exist>::stub_vxsns_ctx(VP_INT exinf)
01769 {
01770 return vxsns_ctx(exinf);
01771 }
01772 template <bool Exist>
01773 inline bool raw_stub<Exist>::stub_vxsns_loc(VP_INT exinf)
01774 {
01775 return vxsns_loc(exinf);
01776 }
01777 template <bool Exist>
01778 inline bool raw_stub<Exist>::stub_vxsns_dsp(VP_INT exinf)
01779 {
01780 return vxsns_dsp(exinf);
01781 }
01782 template <bool Exist>
01783 inline bool raw_stub<Exist>::stub_vxsns_dpn(VP_INT exinf)
01784 {
01785 return vxsns_dpn(exinf);
01786 }
01787 template <bool Exist>
01788 inline bool raw_stub<Exist>::stub_vxsns_tex(VP_INT exinf)
01789 {
01790 return vxsns_tex(exinf);
01791 }
01792 template <bool Exist>
01793 inline bool raw_stub<Exist>::stub_vsns_ini()
01794 {
01795 return vsns_ini();
01796 }
01797
01798 template <bool Exist>
01799 inline ER raw_stub<Exist>::stub_vxget_tim(SYSUTIM* p_sysutim)
01800 {
01801 return vxget_tim(p_sysutim);
01802 }
01803
01804 template <bool Exist>
01805 inline ER_UINT raw_stub<Exist>::stub_cal_svc(FN fncd)
01806 {
01807 return cal_svc(fncd, 0, 0, 0, 0, 0);
01808 }
01809 template <bool Exist>
01810 inline ER_UINT raw_stub<Exist>::stub_cal_svc(FN fncd, VP_INT par1)
01811 {
01812 return cal_svc(fncd, par1, 0, 0, 0, 0);
01813 }
01814 template <bool Exist>
01815 inline ER_UINT raw_stub<Exist>::stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2)
01816 {
01817 return cal_svc(fncd, par1, par2, 0, 0, 0);
01818 }
01819 template <bool Exist>
01820 inline ER_UINT raw_stub<Exist>::stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2, VP_INT par3)
01821 {
01822 return cal_svc(fncd, par1, par2, par3, 0, 0);
01823 }
01824 template <bool Exist>
01825 inline ER_UINT raw_stub<Exist>::stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2, VP_INT par3, VP_INT par4)
01826 {
01827 return cal_svc(fncd, par1, par2, par3, par4, 0);
01828 }
01829 template <bool Exist>
01830 inline ER_UINT raw_stub<Exist>::stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2, VP_INT par3, VP_INT par4, VP_INT par5)
01831 {
01832 return cal_svc(fncd, par1, par2, par3, par4, par5);
01833 }
01834
01835 template <>
01836 inline ER raw_stub<false>::stub_cre_tsk(ID tskid, t_ctsk* pk_ctsk)
01837 {
01838 return E_NOSPT;
01839 }
01840 template <>
01841 inline ER raw_stub<false>::stub_cre_tsk(ID tskid, const t_ctsk* pk_ctsk)
01842 {
01843 return E_NOSPT;
01844 }
01845 template <>
01846 inline ER raw_stub<false>::stub_del_tsk(ID tskid)
01847 {
01848 return E_NOSPT;
01849 }
01850 template <>
01851 inline ER raw_stub<false>::stub_sta_tsk(ID tskid, VP_INT stacd)
01852 {
01853 return E_NOSPT;
01854 }
01855 template <>
01856 inline void raw_stub<false>::stub_exd_tsk()
01857 {
01858 std::exit(EXIT_FAILURE);
01859 }
01860 template <>
01861 inline ER raw_stub<false>::stub_ref_tsk(ID tskid, t_rtsk* pk_rtsk)
01862 {
01863 return E_NOSPT;
01864 }
01865 template <>
01866 inline ER raw_stub<false>::stub_ref_tst(ID tskid, t_rtst* pk_rtst)
01867 {
01868 return E_NOSPT;
01869 }
01870
01871 template <>
01872 inline ER raw_stub<false>::stub_def_tex(ID tskid, t_dtex* pk_dtex)
01873 {
01874 return E_NOSPT;
01875 }
01876 template <>
01877 inline ER raw_stub<false>::stub_def_tex(ID tskid, const t_dtex* pk_dtex)
01878 {
01879 return E_NOSPT;
01880 }
01881 template <>
01882 inline ER raw_stub<false>::stub_ref_tex(ID tskid, t_rtex* pk_rtex)
01883 {
01884 return E_NOSPT;
01885 }
01886
01887 template <>
01888 inline ER raw_stub<false>::stub_cre_sem(ID semid, t_csem* pk_csem)
01889 {
01890 return E_NOSPT;
01891 }
01892 template <>
01893 inline ER raw_stub<false>::stub_cre_sem(ID semid, const t_csem* pk_csem)
01894 {
01895 return E_NOSPT;
01896 }
01897 template <>
01898 inline ER raw_stub<false>::stub_del_sem(ID semid)
01899 {
01900 return E_NOSPT;
01901 }
01902 template <>
01903 inline ER raw_stub<false>::stub_ref_sem(ID semid, t_rsem* pk_rsem)
01904 {
01905 return E_NOSPT;
01906 }
01907
01908 template <>
01909 inline ER raw_stub<false>::stub_cre_flg(ID flgid, t_cflg* pk_cflg)
01910 {
01911 return E_NOSPT;
01912 }
01913 template <>
01914 inline ER raw_stub<false>::stub_cre_flg(ID flgid, const t_cflg* pk_cflg)
01915 {
01916 return E_NOSPT;
01917 }
01918 template <>
01919 inline ER raw_stub<false>::stub_del_flg(ID flgid)
01920 {
01921 return E_NOSPT;
01922 }
01923 template <>
01924 inline ER raw_stub<false>::stub_ref_flg(ID flgid, t_rflg* pk_rflg)
01925 {
01926 return E_NOSPT;
01927 }
01928
01929 template <>
01930 inline ER raw_stub<false>::stub_cre_dtq(ID dtqid, t_cdtq* pk_cdtq)
01931 {
01932 return E_NOSPT;
01933 }
01934 template <>
01935 inline ER raw_stub<false>::stub_cre_dtq(ID dtqid, const t_cdtq* pk_cdtq)
01936 {
01937 return E_NOSPT;
01938 }
01939 template <>
01940 inline ER raw_stub<false>::stub_del_dtq(ID dtqid)
01941 {
01942 return E_NOSPT;
01943 }
01944 template <>
01945 inline ER raw_stub<false>::stub_ref_dtq(ID dtqid, t_rdtq* pk_rdtq)
01946 {
01947 return E_NOSPT;
01948 }
01949
01950 template <>
01951 inline ER raw_stub<false>::stub_cre_mbx(ID mbxid, t_cmbx* pk_cmbx)
01952 {
01953 return E_NOSPT;
01954 }
01955 template <>
01956 inline ER raw_stub<false>::stub_cre_mbx(ID mbxid, const t_cmbx* pk_cmbx)
01957 {
01958 return E_NOSPT;
01959 }
01960 template <>
01961 inline ER raw_stub<false>::stub_del_mbx(ID mbxid)
01962 {
01963 return E_NOSPT;
01964 }
01965 template <>
01966 inline ER raw_stub<false>::stub_ref_mbx(ID mbxid, t_rmbx* pk_rmbx)
01967 {
01968 return E_NOSPT;
01969 }
01970
01971 template <>
01972 inline ER raw_stub<false>::stub_cre_mpf(ID mpfid, t_cmpf* pk_cmpf)
01973 {
01974 return E_NOSPT;
01975 }
01976 template <>
01977 inline ER raw_stub<false>::stub_cre_mpf(ID mpfid, const t_cmpf* pk_cmpf)
01978 {
01979 return E_NOSPT;
01980 }
01981 template <>
01982 inline ER raw_stub<false>::stub_del_mpf(ID mpfid)
01983 {
01984 return E_NOSPT;
01985 }
01986 template <>
01987 inline ER raw_stub<false>::stub_ref_mpf(ID mpfid, t_rmpf* pk_rmpf)
01988 {
01989 return E_NOSPT;
01990 }
01991
01992 template <>
01993 inline ER raw_stub<false>::stub_cre_cyc(ID cycid, t_ccyc* pk_ccyc)
01994 {
01995 return E_NOSPT;
01996 }
01997 template <>
01998 inline ER raw_stub<false>::stub_cre_cyc(ID cycid, const t_ccyc* pk_ccyc)
01999 {
02000 return E_NOSPT;
02001 }
02002 template <>
02003 inline ER raw_stub<false>::stub_del_cyc(ID cycid)
02004 {
02005 return E_NOSPT;
02006 }
02007 template <>
02008 inline ER raw_stub<false>::stub_ref_cyc(ID cycid, t_rcyc* pk_rcyc)
02009 {
02010 return E_NOSPT;
02011 }
02012
02013 template <>
02014 inline ER raw_stub<false>::stub_ref_sys(t_rsys* pk_rsys)
02015 {
02016 return E_NOSPT;
02017 }
02018
02019 template <>
02020 inline ER raw_stub<false>::stub_def_inh(INHNO inhno, t_dinh* pk_dinh)
02021 {
02022 return E_NOSPT;
02023 }
02024 template <>
02025 inline ER raw_stub<false>::stub_def_inh(INHNO inhno, const t_dinh* pk_dinh)
02026 {
02027 return E_NOSPT;
02028 }
02029 template <>
02030 inline ER raw_stub<false>::stub_cre_isr(ID isrid, t_cisr* pk_cisr)
02031 {
02032 return E_NOSPT;
02033 }
02034 template <>
02035 inline ER raw_stub<false>::stub_cre_isr(ID isrid, const t_cisr* pk_cisr)
02036 {
02037 return E_NOSPT;
02038 }
02039 template <>
02040 inline ER raw_stub<false>::stub_del_isr(ID isrid)
02041 {
02042 return E_NOSPT;
02043 }
02044 template <>
02045 inline ER raw_stub<false>::stub_ref_isr(ID isrid, t_risr* pk_risr)
02046 {
02047 return E_NOSPT;
02048 }
02049 template <>
02050 inline ER raw_stub<false>::stub_dis_int(INTNO intno)
02051 {
02052 return E_NOSPT;
02053 }
02054 template <>
02055 inline ER raw_stub<false>::stub_ena_int(INTNO intno)
02056 {
02057 return E_NOSPT;
02058 }
02059 template <>
02060 inline ER raw_stub<false>::stub_chg_ims(IMS ims)
02061 {
02062 return E_NOSPT;
02063 }
02064 template <>
02065 inline ER raw_stub<false>::stub_get_ims(IMS* p_ims)
02066 {
02067 return E_NOSPT;
02068 }
02069
02070 template <>
02071 inline ER raw_stub<false>::stub_def_svc(FN fncd, t_dsvc* pk_dsvc)
02072 {
02073 return E_NOSPT;
02074 }
02075 template <>
02076 inline ER raw_stub<false>::stub_def_svc(FN fncd, const t_dsvc* pk_dsvc)
02077 {
02078 return E_NOSPT;
02079 }
02080 template <>
02081 inline ER raw_stub<false>::stub_def_exc(EXCNO excno, t_dexc* pk_dexc)
02082 {
02083 return E_NOSPT;
02084 }
02085 template <>
02086 inline ER raw_stub<false>::stub_def_exc(EXCNO excno, const t_dexc* pk_dexc)
02087 {
02088 return E_NOSPT;
02089 }
02090 template <>
02091 inline ER raw_stub<false>::stub_ref_cfg(t_rcfg* pk_rcfg)
02092 {
02093 return E_NOSPT;
02094 }
02095 template <>
02096 inline ER raw_stub<false>::stub_ref_ver(t_rver* pk_rver)
02097 {
02098 return E_NOSPT;
02099 }
02100
02101 template <>
02102 inline ER raw_stub<false>::stub_cre_mtx(ID mtxid, t_cmtx* pk_cmtx)
02103 {
02104 return E_NOSPT;
02105 }
02106 template <>
02107 inline ER raw_stub<false>::stub_cre_mtx(ID mtxid, const t_cmtx* pk_cmtx)
02108 {
02109 return E_NOSPT;
02110 }
02111 template <>
02112 inline ER raw_stub<false>::stub_del_mtx(ID mtxid)
02113 {
02114 return E_NOSPT;
02115 }
02116 template <>
02117 inline ER raw_stub<false>::stub_unl_mtx(ID mtxid)
02118 {
02119 return E_NOSPT;
02120 }
02121 template <>
02122 inline ER raw_stub<false>::stub_loc_mtx(ID mtxid)
02123 {
02124 return E_NOSPT;
02125 }
02126 template <>
02127 inline ER raw_stub<false>::stub_ploc_mtx(ID mtxid)
02128 {
02129 return E_NOSPT;
02130 }
02131 template <>
02132 inline ER raw_stub<false>::stub_tloc_mtx(ID mtxid, TMO tmout)
02133 {
02134 return E_NOSPT;
02135 }
02136 template <>
02137 inline ER raw_stub<false>::stub_ref_mtx(ID mtxid, t_rmtx* pk_rmtx)
02138 {
02139 return E_NOSPT;
02140 }
02141
02142 template <>
02143 inline ER raw_stub<false>::stub_cre_mbf(ID mbfid, t_cmbf* pk_cmbf)
02144 {
02145 return E_NOSPT;
02146 }
02147 template <>
02148 inline ER raw_stub<false>::stub_cre_mbf(ID mbfid, const t_cmbf* pk_cmbf)
02149 {
02150 return E_NOSPT;
02151 }
02152 template <>
02153 inline ER raw_stub<false>::stub_del_mbf(ID mbfid)
02154 {
02155 return E_NOSPT;
02156 }
02157 template <>
02158 inline ER raw_stub<false>::stub_snd_mbf(ID mbfid, const void* msg, UINT msgsz)
02159 {
02160 return E_NOSPT;
02161 }
02162 template <>
02163 inline ER raw_stub<false>::stub_psnd_mbf(ID mbfid, const void* msg, UINT msgsz)
02164 {
02165 return E_NOSPT;
02166 }
02167 template <>
02168 inline ER raw_stub<false>::stub_tsnd_mbf(ID mbfid, const void* msg, UINT msgsz, TMO tmout)
02169 {
02170 return E_NOSPT;
02171 }
02172 template <>
02173 inline ER_UINT raw_stub<false>::stub_rcv_mbf(ID mbfid, void* msg)
02174 {
02175 return E_NOSPT;
02176 }
02177 template <>
02178 inline ER_UINT raw_stub<false>::stub_prcv_mbf(ID mbfid, void* msg)
02179 {
02180 return E_NOSPT;
02181 }
02182 template <>
02183 inline ER_UINT raw_stub<false>::stub_trcv_mbf(ID mbfid, void* msg, TMO tmout)
02184 {
02185 return E_NOSPT;
02186 }
02187 template <>
02188 inline ER raw_stub<false>::stub_ref_mbf(ID mbfid, t_rmbf* pk_rmbf)
02189 {
02190 return E_NOSPT;
02191 }
02192
02193 template <>
02194 inline ER raw_stub<false>::stub_cre_por(ID porid, t_cpor* pk_cpor)
02195 {
02196 return E_NOSPT;
02197 }
02198 template <>
02199 inline ER raw_stub<false>::stub_cre_por(ID porid, const t_cpor* pk_cpor)
02200 {
02201 return E_NOSPT;
02202 }
02203 template <>
02204 inline ER raw_stub<false>::stub_del_por(ID porid)
02205 {
02206 return E_NOSPT;
02207 }
02208 template <>
02209 inline ER_UINT raw_stub<false>::stub_cal_por(ID porid, RDVPTN calptn, void* msg, UINT cmsgsz)
02210 {
02211 return E_NOSPT;
02212 }
02213 template <>
02214 inline ER_UINT raw_stub<false>::stub_tcal_por(ID porid, RDVPTN calptn, void* msg, UINT cmsgsz, TMO tmout)
02215 {
02216 return E_NOSPT;
02217 }
02218 template <>
02219 inline ER_UINT raw_stub<false>::stub_acp_por(ID porid, RDVPTN acpptn, RDVNO* p_rdvno, void* msg)
02220 {
02221 return E_NOSPT;
02222 }
02223 template <>
02224 inline ER_UINT raw_stub<false>::stub_pacp_por(ID porid, RDVPTN acpptn, RDVNO* p_rdvno, void* msg)
02225 {
02226 return E_NOSPT;
02227 }
02228 template <>
02229 inline ER_UINT raw_stub<false>::stub_tacp_por(ID porid, RDVPTN acpptn, RDVNO* p_rdvno, void* msg, TMO tmout)
02230 {
02231 return E_NOSPT;
02232 }
02233 template <>
02234 inline ER raw_stub<false>::stub_fwd_por(ID porid, RDVPTN acpptn, RDVNO rdvno, const void* msg, UINT cmsgsz)
02235 {
02236 return E_NOSPT;
02237 }
02238 template <>
02239 inline ER raw_stub<false>::stub_rpl_rdv(RDVNO rdvno, const void* msg, UINT rmsgsz)
02240 {
02241 return E_NOSPT;
02242 }
02243 template <>
02244 inline ER raw_stub<false>::stub_ref_por(ID porid, t_rpor* pk_rpor)
02245 {
02246 return E_NOSPT;
02247 }
02248 template <>
02249 inline ER raw_stub<false>::stub_ref_rdv(RDVNO rdvid, t_rrdv* pk_rrdv)
02250 {
02251 return E_NOSPT;
02252 }
02253
02254 template <>
02255 inline ER raw_stub<false>::stub_cre_mpl(ID mplid, t_cmpl* pk_cmpl)
02256 {
02257 return E_NOSPT;
02258 }
02259 template <>
02260 inline ER raw_stub<false>::stub_cre_mpl(ID mplid, const t_cmpl* pk_cmpl)
02261 {
02262 return E_NOSPT;
02263 }
02264 template <>
02265 inline ER raw_stub<false>::stub_del_mpl(ID mplid)
02266 {
02267 return E_NOSPT;
02268 }
02269 template <>
02270 inline ER raw_stub<false>::stub_rel_mpl(ID mplid, VP blk)
02271 {
02272 return E_NOSPT;
02273 }
02274 template <>
02275 inline ER raw_stub<false>::stub_get_mpl(ID mplid, UINT blksz, VP* p_blk)
02276 {
02277 return E_NOSPT;
02278 }
02279 template <>
02280 inline ER raw_stub<false>::stub_pget_mpl(ID mplid, UINT blksz, VP* p_blk)
02281 {
02282 return E_NOSPT;
02283 }
02284 template <>
02285 inline ER raw_stub<false>::stub_tget_mpl(ID mplid, UINT blksz, VP* p_blk, TMO tmout)
02286 {
02287 return E_NOSPT;
02288 }
02289 template <>
02290 inline ER raw_stub<false>::stub_ref_mpl(ID mplid, t_rmpl* pk_rmpl)
02291 {
02292 return E_NOSPT;
02293 }
02294
02295 template <>
02296 inline ER raw_stub<false>::stub_cre_alm(ID almid, t_calm* pk_calm)
02297 {
02298 return E_NOSPT;
02299 }
02300 template <>
02301 inline ER raw_stub<false>::stub_cre_alm(ID almid, const t_calm* pk_calm)
02302 {
02303 return E_NOSPT;
02304 }
02305 template <>
02306 inline ER raw_stub<false>::stub_del_alm(ID almid)
02307 {
02308 return E_NOSPT;
02309 }
02310 template <>
02311 inline ER raw_stub<false>::stub_sta_alm(ID almid, RELTIM almtim)
02312 {
02313 return E_NOSPT;
02314 }
02315 template <>
02316 inline ER raw_stub<false>::stub_stp_alm(ID almid)
02317 {
02318 return E_NOSPT;
02319 }
02320 template <>
02321 inline ER raw_stub<false>::stub_ref_alm(ID almid, t_ralm* pk_ralm)
02322 {
02323 return E_NOSPT;
02324 }
02325
02326 template <>
02327 inline ER raw_stub<false>::stub_def_ovr(t_dovr* pk_dovr)
02328 {
02329 return E_NOSPT;
02330 }
02331 template <>
02332 inline ER raw_stub<false>::stub_def_ovr(const t_dovr* pk_dovr)
02333 {
02334 return E_NOSPT;
02335 }
02336 template <>
02337 inline ER raw_stub<false>::stub_sta_ovr(ID tskid, OVRTIM ovrtim)
02338 {
02339 return E_NOSPT;
02340 }
02341 template <>
02342 inline ER raw_stub<false>::stub_stp_ovr(ID tskid)
02343 {
02344 return E_NOSPT;
02345 }
02346 template <>
02347 inline ER raw_stub<false>::stub_ref_ovr(ID tskid, t_rovr* pk_rovr)
02348 {
02349 return E_NOSPT;
02350 }
02351
02352 template <>
02353 inline ER_ID raw_stub<false>::stub_acre_tsk(t_ctsk* pk_ctsk)
02354 {
02355 return E_NOSPT;
02356 }
02357 template <>
02358 inline ER_ID raw_stub<false>::stub_acre_tsk(const t_ctsk* pk_ctsk)
02359 {
02360 return E_NOSPT;
02361 }
02362 template <>
02363 inline ER_ID raw_stub<false>::stub_acre_sem(t_csem* pk_csem)
02364 {
02365 return E_NOSPT;
02366 }
02367 template <>
02368 inline ER_ID raw_stub<false>::stub_acre_sem(const t_csem* pk_csem)
02369 {
02370 return E_NOSPT;
02371 }
02372 template <>
02373 inline ER_ID raw_stub<false>::stub_acre_flg(t_cflg* pk_cflg)
02374 {
02375 return E_NOSPT;
02376 }
02377 template <>
02378 inline ER_ID raw_stub<false>::stub_acre_flg(const t_cflg* pk_cflg)
02379 {
02380 return E_NOSPT;
02381 }
02382 template <>
02383 inline ER_ID raw_stub<false>::stub_acre_dtq(t_cdtq* pk_cdtq)
02384 {
02385 return E_NOSPT;
02386 }
02387 template <>
02388 inline ER_ID raw_stub<false>::stub_acre_dtq(const t_cdtq* pk_cdtq)
02389 {
02390 return E_NOSPT;
02391 }
02392 template <>
02393 inline ER_ID raw_stub<false>::stub_acre_mbx(t_cmbx* pk_cmbx)
02394 {
02395 return E_NOSPT;
02396 }
02397 template <>
02398 inline ER_ID raw_stub<false>::stub_acre_mbx(const t_cmbx* pk_cmbx)
02399 {
02400 return E_NOSPT;
02401 }
02402 template <>
02403 inline ER_ID raw_stub<false>::stub_acre_mtx(t_cmtx* pk_cmtx)
02404 {
02405 return E_NOSPT;
02406 }
02407 template <>
02408 inline ER_ID raw_stub<false>::stub_acre_mtx(const t_cmtx* pk_cmtx)
02409 {
02410 return E_NOSPT;
02411 }
02412 template <>
02413 inline ER_ID raw_stub<false>::stub_acre_mbf(t_cmbf* pk_cmbf)
02414 {
02415 return E_NOSPT;
02416 }
02417 template <>
02418 inline ER_ID raw_stub<false>::stub_acre_mbf(const t_cmbf* pk_cmbf)
02419 {
02420 return E_NOSPT;
02421 }
02422 template <>
02423 inline ER_ID raw_stub<false>::stub_acre_por(t_cpor* pk_cpor)
02424 {
02425 return E_NOSPT;
02426 }
02427 template <>
02428 inline ER_ID raw_stub<false>::stub_acre_por(const t_cpor* pk_cpor)
02429 {
02430 return E_NOSPT;
02431 }
02432 template <>
02433 inline ER_ID raw_stub<false>::stub_acre_mpf(t_cmpf* pk_cmpf)
02434 {
02435 return E_NOSPT;
02436 }
02437 template <>
02438 inline ER_ID raw_stub<false>::stub_acre_mpf(const t_cmpf* pk_cmpf)
02439 {
02440 return E_NOSPT;
02441 }
02442 template <>
02443 inline ER_ID raw_stub<false>::stub_acre_mpl(t_cmpl* pk_cmpl)
02444 {
02445 return E_NOSPT;
02446 }
02447 template <>
02448 inline ER_ID raw_stub<false>::stub_acre_mpl(const t_cmpl* pk_cmpl)
02449 {
02450 return E_NOSPT;
02451 }
02452 template <>
02453 inline ER_ID raw_stub<false>::stub_acre_cyc(t_ccyc* pk_ccyc)
02454 {
02455 return E_NOSPT;
02456 }
02457 template <>
02458 inline ER_ID raw_stub<false>::stub_acre_cyc(const t_ccyc* pk_ccyc)
02459 {
02460 return E_NOSPT;
02461 }
02462 template <>
02463 inline ER_ID raw_stub<false>::stub_acre_alm(t_calm* pk_calm)
02464 {
02465 return E_NOSPT;
02466 }
02467 template <>
02468 inline ER_ID raw_stub<false>::stub_acre_alm(const t_calm* pk_calm)
02469 {
02470 return E_NOSPT;
02471 }
02472 template <>
02473 inline ER_ID raw_stub<false>::stub_acre_isr(t_cisr* pk_cisr)
02474 {
02475 return E_NOSPT;
02476 }
02477 template <>
02478 inline ER_ID raw_stub<false>::stub_acre_isr(const t_cisr* pk_cisr)
02479 {
02480 return E_NOSPT;
02481 }
02482
02483 template <>
02484 inline ER raw_stub<false>::stub_vxget_tim(SYSUTIM* p_sysutim)
02485 {
02486 return E_NOSPT;
02487 }
02488
02489 template <>
02490 inline ER_UINT raw_stub<false>::stub_cal_svc(FN fncd)
02491 {
02492 return E_NOSPT;
02493 }
02494 template <>
02495 inline ER_UINT raw_stub<false>::stub_cal_svc(FN fncd, VP_INT par1)
02496 {
02497 return E_NOSPT;
02498 }
02499 template <>
02500 inline ER_UINT raw_stub<false>::stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2)
02501 {
02502 return E_NOSPT;
02503 }
02504 template <>
02505 inline ER_UINT raw_stub<false>::stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2, VP_INT par3)
02506 {
02507 return E_NOSPT;
02508 }
02509 template <>
02510 inline ER_UINT raw_stub<false>::stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2, VP_INT par3, VP_INT par4)
02511 {
02512 return E_NOSPT;
02513 }
02514 template <>
02515 inline ER_UINT raw_stub<false>::stub_cal_svc(FN fncd, VP_INT par1, VP_INT par2, VP_INT par3, VP_INT par4, VP_INT par5)
02516 {
02517 return E_NOSPT;
02518 }
02519
02520 }
02521
02522 #endif // ! TOPPERS_RAW_STUB_HPP_