Prototypes are now based on how the TRON specification states them.

The style in the output is not right but it is a good starting point.
This commit is contained in:
Joel Sherrill
1999-05-26 18:10:59 +00:00
parent 1e72d70929
commit e968366e21
11 changed files with 166 additions and 83 deletions

View File

@@ -46,7 +46,8 @@ and status codes.
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER get_ver (
T_VER *pk_ver
ER nget_ver
@@ -74,7 +75,8 @@ int get_ver(
@subsection ref_sys - Reference Semaphore Status
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER ref_sys (
T_RSYS *pk_rsys
@@ -102,7 +104,8 @@ int ref_sys(
@subsection ref_cfg - Reference Configuration Information
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER ref_cfg (
T_RCFG *pk_rcfg
@@ -130,7 +133,8 @@ int ref_cfg(
@subsection def_svc - Define Extended SVC Handler
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER def_svc (
FN s_fncd, T_DSVC *pk_dsvc
@@ -158,7 +162,8 @@ int def_svc(
@subsection def_exc - Define Exception Handler
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER def_exc (
UINT exckind, T_DEXC *pk_dexc

View File

@@ -49,7 +49,8 @@ and status codes.
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@example
ER cre_flg (
ID flgid, T_CFLG *pk_cflg
);
@end example
@@ -77,7 +78,8 @@ int cre_flg(
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@example
ER del_flg (
ID flgid
);
@end example
@@ -105,7 +107,8 @@ int del_flg(
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@example
ER set_flg (
ID flgid, UINT setptn
);
@end example
@@ -133,7 +136,8 @@ int set_flg(
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@example
ER clr_flg (
ID flgid, UINT clrptn
);
@end example
@@ -161,7 +165,8 @@ int clr_flg(
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER wai_flg (
UINT *p_flgptn, ID flgid, UINT waiptn, UINT wfmode
ER ercd =twai_flg
@@ -189,7 +194,8 @@ int wai_flg(
@subsection pol_flg - Wait for Eventflag (Polling)
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER pol_flg (
UINT *p_flgptn, ID flgid, UINT waiptn, UINT wfmode
@@ -217,7 +223,8 @@ int pol_flg(
@subsection twai_flg - Wait on Eventflag with Timeout
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER ercd =twai_flg (
UINT *p_flgptn, ID flgid, UINT waiptn, UINT wfmode,
@@ -245,7 +252,8 @@ int twai_flg(
@subsection ref_flg - Reference Eventflag Status
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER ref_flg (
T_RFLG *pk_rflg, ID flgid

View File

@@ -48,7 +48,8 @@ and status codes.
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER cre_mpf (
ID mpfid, T_CMPF *pk_cmpf
);
@@ -76,7 +77,8 @@ int cre_mpf(
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER del_mpf (
ID mpfid
);
@@ -104,7 +106,8 @@ int del_mpf(
Poll and Get Fixed-Size Memory Block
Get Fixed-Size Memory Block with Timeout
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
ER get_blf (
@@ -132,7 +135,8 @@ int get_blf(
@page
@subsection pget_blf - Poll and Get Fixed-Size Memory Block
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@@ -160,7 +164,8 @@ int pget_blf(
@page
@subsection tget_blf - Get Fixed-Size Memory Block with Timeout
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@@ -188,7 +193,8 @@ int tget_blf(
@page
@subsection rel_blf - Release Fixed-Size Memory Block
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@@ -216,7 +222,8 @@ int rel_blf(
@page
@subsection ref_mpf - Reference Fixed-Size Memorypool Status
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example

View File

@@ -50,7 +50,8 @@ and status codes.
@ifset is-C
@example
int def_int(
ER def_int (
UINT dintno, T_DINT *pk_dint
);
@end example
@end ifset
@@ -78,7 +79,8 @@ int def_int(
@ifset is-C
@example
int ret_int(
void ret_int (
);
@end example
@end ifset
@@ -106,7 +108,8 @@ int ret_int(
@ifset is-C
@example
int ret_wup(
void ret_wup (
ID tskid
);
@end example
@end ifset
@@ -134,7 +137,8 @@ int ret_wup(
@ifset is-C
@example
int loc_cpu(
ER loc_cpu (
);
@end example
@end ifset
@@ -162,7 +166,8 @@ int loc_cpu(
@ifset is-C
@example
int unl_cpu(
ER unl_cpu (
);
@end example
@end ifset
@@ -190,7 +195,8 @@ int unl_cpu(
@ifset is-C
@example
int dis_int(
ER dis_int (
UINT eintno
);
@end example
@end ifset
@@ -218,7 +224,8 @@ int dis_int(
@ifset is-C
@example
int ena_int(
ER ena_int (
UINT eintno
);
@end example
@end ifset
@@ -246,7 +253,8 @@ int ena_int(
@ifset is-C
@example
int chg_iXX(
ER chg_iXX (
UINT iXXXX
);
@end example
@end ifset
@@ -274,7 +282,8 @@ int chg_iXX(
@ifset is-C
@example
int ref_iXX(
ER ref_iXX (
UINT *p_iXXXX
);
@end example
@end ifset

View File

@@ -48,7 +48,8 @@ and status codes.
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER cre_mbx (
ID mbxid, T_CMBX* pk_cmbx
);
@@ -76,7 +77,8 @@ int cre_mbx(
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER del_mbx (
ID mbxid
);
@@ -104,7 +106,8 @@ int del_mbx(
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER snd_msg (
ID mbxid, T_MSG *pk_msg
);
@@ -132,7 +135,8 @@ int snd_msg(
Receive Message from Mailbox
Receive Message from Mailbox with Timeout
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
ER rcv_msg (
@@ -160,7 +164,8 @@ int rcv_msg(
@page
@subsection prcv_msg - Poll and Receive Message from Mailbox
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@@ -188,7 +193,8 @@ int prcv_msg(
@page
@subsection trcv_msg - Receive Message from Mailbox with Timeout
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@@ -216,7 +222,8 @@ int trcv_msg(
@page
@subsection ref_mbx - Reference Mailbox Status
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example

View File

@@ -48,7 +48,8 @@ and status codes.
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER cre_mpl (
ID mplid, T_CMPL *pk_cmpl
);
@@ -76,7 +77,8 @@ int cre_mpl(
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER del_mpl (
ID mplid
);
@@ -104,7 +106,8 @@ int del_mpl(
Poll and Get Variable-Size Memory Block
Get Variable-Size Memory Block with Timeout
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
ER get_blk (
@@ -132,7 +135,8 @@ int get_blk(
@page
@subsection pget_blk - Poll and Get Variable-Size Memory Block
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@@ -160,7 +164,8 @@ int pget_blk(
@page
@subsection tget_blk - Get Variable-Size Memory Block with Timeout
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@@ -188,7 +193,8 @@ int tget_blk(
@page
@subsection rel_blk - Release Variable-Size Memory Block
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@@ -216,7 +222,8 @@ int rel_blk(
@page
@subsection ref_mpl - Reference Variable-Size Memorypool Status
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example

View File

@@ -50,7 +50,8 @@ and status codes.
@page
@subsection cre_mbf - Create MessageBuffer
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
ER cre_mbf (
@@ -78,7 +79,8 @@ int cre_mbf(
@page
@subsection del_mbf - Delete MessageBuffer
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
ER del_mbf (
@@ -106,7 +108,8 @@ int del_mbf(
@page
@subsection snd_mbf - Poll and Send Message to MessageBuffer
Send Message to MessageBuffer
Send Message to MessageBuffer with Timeout
Send Message to MessageBuffer with Timeout
@subheading CALLING SEQUENCE:
@ifset is-C
@@ -134,7 +137,8 @@ int snd_mbf(
@c psnd_mbf
@c
@subsection psnd_mbf - Poll and Send Message to MessageBuffer
@page
@subsection psnd_mbf - Poll and Send Message to MessageBuffer
@subheading CALLING SEQUENCE:
@@ -162,7 +166,8 @@ int psnd_mbf(
@c tsnd_mbf
@c
@subsection tsnd_mbf - Send Message to MessageBuffer with Timeout
@page
@subsection tsnd_mbf - Send Message to MessageBuffer with Timeout
@subheading CALLING SEQUENCE:
@@ -190,7 +195,8 @@ int tsnd_mbf(
@c rcv_mbf
@c
@subsection rcv_mbf - Poll and Receive Message from MessageBuffer
@page
@subsection rcv_mbf - Poll and Receive Message from MessageBuffer
Receive Message from MessageBuffer
Receive Message from MessageBuffer with Timeout
@@ -218,7 +224,8 @@ int rcv_mbf(
@c
@c prcv_mbf
@c
@page
@subsection prcv_mbf - Poll and Receive Message from MessageBuffer
@@ -246,7 +253,8 @@ int prcv_mbf(
@c
@c trcv_mbf
@c
@page
@subsection trcv_mbf - Receive Message from MessageBuffer with Timeout
@@ -274,7 +282,8 @@ int trcv_mbf(
@c
@c ref_mbf
@c
@page
@subsection ref_mbf - Reference MessageBuffer Status

View File

@@ -45,7 +45,8 @@ and status codes.
@ifset is-C
@example
int nrea_dat(
ER nrea_dat (
INT *p_reasz, VP dstadr, NODE srcnode, VP srcadr,
);
@end example
@end ifset
@@ -73,7 +74,8 @@ int nrea_dat(
@ifset is-C
@example
int nwri_dat(
ER nwri_dat (
INT *p_wrisz, NODE dstnode, VP dstadr, VP srcadr,
);
@end example
@end ifset
@@ -101,7 +103,8 @@ int nwri_dat(
@ifset is-C
@example
int nget_nod(
ER nget_nod (
NODE *p_node
);
@end example
@end ifset
@@ -129,7 +132,8 @@ int nget_nod(
@ifset is-C
@example
int nget_ver(
ER nget_ver (
T_VER *pk_ver, NODE node
);
@end example
@end ifset

View File

@@ -52,7 +52,8 @@ and status codes.
@page
@subsection cre_por - Create Port for Rendezvous
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
ER cre_por (
@@ -80,7 +81,8 @@ int cre_por(
@page
@subsection del_por - Delete Port for Rendezvous
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
ER del_por (
@@ -108,7 +110,8 @@ int del_por(
@page
@subsection cal_por - Call Port for Rendezvous
Poll and Call Port for Rendezvous
Call Port for Rendezvous with Timeout
Call Port for Rendezvous with Timeout
@subheading CALLING SEQUENCE:
@ifset is-C
@@ -136,7 +139,8 @@ int cal_por(
@c pcal_por
@c
@subsection pcal_por - Poll and Call Port for Rendezvous
@page
@subsection pcal_por - Poll and Call Port for Rendezvous
@subheading CALLING SEQUENCE:
@@ -164,7 +168,8 @@ int pcal_por(
@c tcal_por
@c
@subsection tcal_por - Call Port for Rendezvous with Timeout
@page
@subsection tcal_por - Call Port for Rendezvous with Timeout
@subheading CALLING SEQUENCE:
@@ -192,7 +197,8 @@ int tcal_por(
@c acp_por
@c
@subsection acp_por - Accept Port for Rendezvous
@page
@subsection acp_por - Accept Port for Rendezvous
Poll and Accept Port for Rendezvous
Accept Port for Rendezvous with Timeout
@@ -220,7 +226,8 @@ int acp_por(
@c
@c pacp_por
@c
@page
@subsection pacp_por - Poll and Accept Port for Rendezvous
@@ -248,7 +255,8 @@ int pacp_por(
@c
@c tacp_por
@c
@page
@subsection tacp_por - Accept Port for Rendezvous with Timeout
@@ -276,7 +284,8 @@ int tacp_por(
@c
@c fwd_por
@c
@page
@subsection fwd_por - Forward Rendezvous to Other Port
@@ -304,7 +313,8 @@ int fwd_por(
@c
@c rpl_rdv
@c
@page
@subsection rpl_rdv - Reply Rendezvous
@@ -332,7 +342,8 @@ int rpl_rdv(
@c
@c ref_por
@c
@page
@subsection ref_por - Reference Port Status

View File

@@ -48,7 +48,8 @@ and status codes.
@subheading CALLING SEQUENCE:
@ifset is-C
@ifset is-C
@example
ER sus_tsk (
ID tskid
);
@@ -76,7 +77,8 @@ int sus_tsk(
Resume Suspended Task
@subheading CALLING SEQUENCE:
@ifset is-C
@example
ER rsm_tsk (
ID tskid
@@ -104,7 +106,8 @@ int rsm_tsk(
@page
@subsection frsm_tsk - Forcibly Resume Suspended Task
@subheading CALLING SEQUENCE:
@ifset is-C
@example
ER ercd =frsm_tsk (
@@ -132,7 +135,8 @@ int frsm_tsk(
@page
@subsection slp_tsk - Sleep Task
Sleep Task with Timeout
@subheading CALLING SEQUENCE:
@subheading CALLING SEQUENCE:
@ifset is-C
@example
@@ -160,7 +164,8 @@ No polling function for slp_tsk is provided. A similar function can be implemen
@c tslp_tsk
@c
@subsection tslp_tsk - Sleep Task with Timeout
@subsection tslp_tsk - Sleep Task with Timeout
@subheading CALLING SEQUENCE:
@@ -188,7 +193,8 @@ If you simply wish to delay a task (make it wait for a while), use dly_tsk rathe
@c wup_tsk
@c
@subsection wup_tsk - Wakeup Other Task
@subsection wup_tsk - Wakeup Other Task
@subheading CALLING SEQUENCE:
@@ -216,7 +222,8 @@ An E_QOVR error will result if wup_tsk is issued more than the maximum value all
@c can_wup
@c
@subsection can_wup - Cancel Wakeup Request
@subsection can_wup - Cancel Wakeup Request
@subheading CALLING SEQUENCE:

View File

@@ -50,7 +50,8 @@ and status codes.
@ifset is-C
@example
int get_tim(
ER get_tim (
SYSTIME *pk_tim
);
@end example
@end ifset
@@ -78,7 +79,8 @@ int get_tim(
@ifset is-C
@example
int set_tim(
ER set_tim (
SYSTIME *pk_tim
);
@end example
@end ifset
@@ -106,7 +108,8 @@ int set_tim(
@ifset is-C
@example
int dly_tsk(
ER dly_tsk (
DLYTIME dlytim
);
@end example
@end ifset
@@ -134,7 +137,8 @@ int dly_tsk(
@ifset is-C
@example
int def_cyc(
ER def_cyc (
HNO cycno, T_DCYC *pk_dcyc
);
@end example
@end ifset
@@ -162,7 +166,8 @@ int def_cyc(
@ifset is-C
@example
int act_cyc(
ER act_cyc (
HNO cycno, UINT cycact
);
@end example
@end ifset
@@ -190,7 +195,8 @@ int act_cyc(
@ifset is-C
@example
int ref_cyc(
ER ref_cyc (
T_RCYC *pk_rcyc, HNO cycno
);
@end example
@end ifset
@@ -218,7 +224,8 @@ int ref_cyc(
@ifset is-C
@example
int def_alm(
ER def_alm (
HNO almno, T_DALM *pk_dalm
);
@end example
@end ifset
@@ -246,7 +253,8 @@ int def_alm(
@ifset is-C
@example
int ref_alm(
ER ref_alm (
T_RALM *pk_ralm, HNO almno
);
@end example
@end ifset
@@ -274,7 +282,8 @@ int ref_alm(
@ifset is-C
@example
int ret_tmr(
void ret_tmr (
);
@end example
@end ifset