/************************************************/ /* */ /* File : ./userrockm.h */ /* Description : tl compiler definitions */ /* */ /* Command : rockm */ /* Comment : ROCKM library tcl interface */ /* */ /* Note : This file was created from a tl file. */ /* Do not modify by hand. */ /* */ /* Created : Wed 29. Oct 1997 11:40:14 */ /* */ /************************************************/ #ifndef TLC_TCLC_rockm_USER_H #define TLC_TCLC_rockm_USER_H #define TL_OK 0 typedef struct { int nr; /* associated nr. */ char *str; /* read string */ } _TL_siset; /* set/iset data structure */ /*****************************************/ /* Constants */ /*****************************************/ #define ROCKMT_Cset_microw 121 #define ROCKMT_Cset_goldenref 120 #define ROCKMT_Cset_chain_add 119 #define ROCKMT_Cset_test 118 #define ROCKMT_Cset_wscale 117 #define ROCKMT_Cset_elapsed 116 #define ROCKMT_Cset_edata 115 #define ROCKMT_Cset_diag 114 #define ROCKMT_Cset_inttrg 113 #define ROCKMT_Cset_hub_mode 112 #define ROCKMT_Cset_cpause 111 #define ROCKMT_Cset_cbusy_ff 110 #define ROCKMT_Cset_bof 109 #define ROCKMT_Cset_boe 108 #define ROCKMT_Cset_foe 107 #define ROCKMT_Cset_watchdog 106 #define ROCKMT_Cset_cman 105 #define ROCKMT_Cset_hub_rst 104 #define ROCKMT_Cset_micro 103 #define ROCKMT_Cset_fifo_rst 102 #define ROCKMT_Cset_cbus 101 #define ROCKMT_Cset_reprog 100 #define ROCKMT_Cset_intrst 99 #define ROCKMT_Cset_filter 98 #define ROCKMT_Cget_microw 97 #define ROCKMT_Cget_done 96 #define ROCKMT_Cget_uwrdy 95 #define ROCKMT_Cget_invacc 94 #define ROCKMT_Cget_cycle 93 #define ROCKMT_Cget_status 92 #define ROCKMT_Cget_uds 91 #define ROCKMT_Cget_udk 90 #define ROCKMT_Cget_udav 89 #define ROCKMT_Cget_urw 88 #define ROCKMT_Cget_rdcyc 87 #define ROCKMT_Cget_wrcyc 86 #define ROCKMT_Cget_vmetemp 85 #define ROCKMT_Cget_cbustemp 84 #define ROCKMT_Cget_auxds 83 #define ROCKMT_Cget_auxdk 82 #define ROCKMT_Cget_auxtrgv 81 #define ROCKMT_Cget_auxas 80 #define ROCKMT_Cget_slot 79 #define ROCKMT_Cget_cntlow 78 #define ROCKMT_Cget_goldenref 77 #define ROCKMT_Cget_chain_add 76 #define ROCKMT_Cget_cnthigh 75 #define ROCKMT_Cget_overrun 74 #define ROCKMT_Cget_ptrg 73 #define ROCKMT_Cget_qtrg 72 #define ROCKMT_Cget_parity_error 71 #define ROCKMT_Cget_syncfail 70 #define ROCKMT_Cget_busy 69 #define ROCKMT_Cget_halt 68 #define ROCKMT_Cget_elapsed_time 67 #define ROCKMT_Cget_wscale 66 #define ROCKMT_Cget_elapsed 65 #define ROCKMT_Cget_timeout 64 #define ROCKMT_Cget_cbuson 63 #define ROCKMT_Cget_hubon 62 #define ROCKMT_Cget_edata 61 #define ROCKMT_Cget_ctrgv 60 #define ROCKMT_Cget_cbusy 59 #define ROCKMT_Cget_crngt 58 #define ROCKMT_Cget_crst 57 #define ROCKMT_Cget_cerr 56 #define ROCKMT_Cget_crdy 55 #define ROCKMT_Cget_ctknout 54 #define ROCKMT_Cget_diag 53 #define ROCKMT_Cget_inttrg 52 #define ROCKMT_Cget_hub_mode 51 #define ROCKMT_Cget_cpause 50 #define ROCKMT_Cget_cbusy_ff 49 #define ROCKMT_Cget_bof 48 #define ROCKMT_Cget_boe 47 #define ROCKMT_Cget_foe 46 #define ROCKMT_Cget_watchdog 45 #define ROCKMT_Cget_tff 44 #define ROCKMT_Cget_tef 43 #define ROCKMT_Cget_de 42 #define ROCKMT_Cget_dae 41 #define ROCKMT_Cget_dlhf 40 #define ROCKMT_Cget_dghf 39 #define ROCKMT_Cget_daf 38 #define ROCKMT_Cget_df 37 #define ROCKMT_Cget_cman 36 #define ROCKMT_Cget_hub_rst 35 #define ROCKMT_Cget_micro 34 #define ROCKMT_Cget_fifo_rst 33 #define ROCKMT_Cget_cbus 32 #define ROCKMT_Cget_reprog 31 #define ROCKMT_Cget_intrst 30 #define ROCKMT_Cget_filter 29 #define ROCKMT_Cwrite_DFIFO 28 #define ROCKMT_Cwrite_microword 27 #define ROCKMT_Cwrite_golden 26 #define ROCKMT_Cwrite_chainadd 25 #define ROCKMT_Cwrite_trigger 24 #define ROCKMT_Cwrite_csr2 23 #define ROCKMT_Cwrite_csr0 22 #define ROCKMT_Cwrite_watchdog 21 #define ROCKMT_Cwrite_reset 20 #define ROCKMT_Cread_DFIFO 19 #define ROCKMT_Cread_microword 18 #define ROCKMT_Cread_microstat 17 #define ROCKMT_Cread_infomicro 16 #define ROCKMT_Cread_infohub 15 #define ROCKMT_Cread_info 14 #define ROCKMT_Cread_wordcnt 13 #define ROCKMT_Cread_golden 12 #define ROCKMT_Cread_chainadd 11 #define ROCKMT_Cread_tnow 10 #define ROCKMT_Cread_tque 9 #define ROCKMT_Cread_trigger 8 #define ROCKMT_Cread_elapsed 7 #define ROCKMT_Cread_csr2 6 #define ROCKMT_Cread_csr1 5 #define ROCKMT_Cread_csr0 4 #define ROCKMT_Cread_watchdog 3 #define ROCKMT_Cread_fifo 2 #define ROCKMT_Cread_reset 1 /*****************************************/ /* User types */ /*****************************************/ typedef void * ROCKMT_ITrid; /* intype pointer */ typedef void * ROCKMT_OTrid; /* outtype pointer */ typedef int ROCKMT_OTdummy; /* outtype integer */ typedef _TL_siset ROCKMT_ITreadreg; /* intype iset */ typedef _TL_siset ROCKMT_ITwritereg; /* intype iset */ typedef struct { unsigned int reset; /* outtype natural */ unsigned int fifo; /* outtype natural */ unsigned int watchdog; /* outtype natural */ unsigned int csr0; /* outtype natural */ unsigned int csr1; /* outtype natural */ unsigned int csr2; /* outtype natural */ unsigned int elapsed; /* outtype natural */ unsigned int trigger; /* outtype natural */ } ROCKMT_OTraw_readpage_internal; /* outtype record*/ typedef struct { unsigned int tque; /* outtype natural */ unsigned int tnow; /* outtype natural */ unsigned int chainadd; /* outtype natural */ unsigned int golden; /* outtype natural */ unsigned int wordcnt; /* outtype natural */ unsigned int info; /* outtype natural */ unsigned int microstat; /* outtype natural */ unsigned int microword; /* outtype natural */ } ROCKMT_OTraw_readpage_info; /* outtype record*/ typedef _TL_siset ROCKMT_ITget; /* intype iset */ typedef _TL_siset ROCKMT_ITset; /* intype iset */ typedef struct { unsigned int filter; /* outtype natural */ unsigned int intrst; /* outtype natural */ unsigned int reprog; /* outtype natural */ unsigned int cbus; /* outtype natural */ unsigned int fifo_rst; /* outtype natural */ unsigned int micro; /* outtype natural */ unsigned int hub_rst; /* outtype natural */ unsigned int cman; /* outtype natural */ } ROCKMT_OTread_reset; /* outtype record*/ typedef struct { unsigned int df; /* outtype natural */ unsigned int daf; /* outtype natural */ unsigned int dghf; /* outtype natural */ unsigned int dlhf; /* outtype natural */ unsigned int dae; /* outtype natural */ unsigned int de; /* outtype natural */ unsigned int tef; /* outtype natural */ unsigned int tff; /* outtype natural */ } ROCKMT_OTread_fifo; /* outtype record*/ typedef unsigned int ROCKMT_OTread_watchdog; /* outtype natural */ typedef struct { unsigned int foe; /* outtype natural */ unsigned int boe; /* outtype natural */ unsigned int bof; /* outtype natural */ unsigned int cbusy_ff; /* outtype natural */ unsigned int cpause; /* outtype natural */ unsigned int hub_mode; /* outtype natural */ unsigned int inttrg; /* outtype natural */ unsigned int diag; /* outtype natural */ } ROCKMT_OTread_csr0; /* outtype record*/ typedef struct { unsigned int ctknout; /* outtype natural */ unsigned int crdy; /* outtype natural */ unsigned int cerr; /* outtype natural */ unsigned int crst; /* outtype natural */ unsigned int crngt; /* outtype natural */ unsigned int cbusy; /* outtype natural */ unsigned int ctrgv; /* outtype natural */ } ROCKMT_OTread_csr1; /* outtype record*/ typedef struct { unsigned int edata; /* outtype natural */ unsigned int hubon; /* outtype natural */ unsigned int cbuson; /* outtype natural */ unsigned int timeout; /* outtype natural */ unsigned int elapsed; /* outtype natural */ unsigned int wscale; /* outtype natural */ } ROCKMT_OTread_csr2; /* outtype record*/ typedef unsigned int ROCKMT_OTread_elapsed; /* outtype natural */ typedef struct { unsigned int halt; /* outtype natural */ unsigned int busy; /* outtype natural */ unsigned int syncfail; /* outtype natural */ unsigned int parity_error; /* outtype natural */ } ROCKMT_OTread_trigger; /* outtype record*/ typedef struct { unsigned int tff; /* outtype natural */ unsigned int link; /* outtype natural */ unsigned int qtrg; /* outtype natural */ } ROCKMT_OTread_tque; /* outtype record*/ typedef unsigned int ROCKMT_OTread_tnow; /* outtype natural */ typedef struct { unsigned int overrun; /* outtype natural */ unsigned int cnthigh; /* outtype natural */ unsigned int chain_add; /* outtype natural */ } ROCKMT_OTread_chainadd; /* outtype record*/ typedef unsigned int ROCKMT_OTread_golden; /* outtype natural */ typedef unsigned int ROCKMT_OTread_wordcnt; /* outtype natural */ typedef struct { unsigned int slot; /* outtype natural */ unsigned int auxas; /* outtype natural */ unsigned int auxtrgv; /* outtype natural */ unsigned int auxdk; /* outtype natural */ unsigned int auxds; /* outtype natural */ } ROCKMT_OTread_infohub; /* outtype record*/ typedef struct { unsigned int cbustemp; /* outtype natural */ unsigned int vmetemp; /* outtype natural */ unsigned int wrcyc; /* outtype natural */ unsigned int rdcyc; /* outtype natural */ unsigned int urw; /* outtype natural */ unsigned int udav; /* outtype natural */ unsigned int udk; /* outtype natural */ unsigned int uds; /* outtype natural */ } ROCKMT_OTread_infomicro; /* outtype record*/ typedef struct { unsigned int status; /* outtype natural */ unsigned int cycle; /* outtype natural */ unsigned int invacc; /* outtype natural */ unsigned int uwrdy; /* outtype natural */ unsigned int done; /* outtype natural */ } ROCKMT_OTread_microstat; /* outtype record*/ typedef unsigned int ROCKMT_OTread_microword; /* outtype natural */ typedef struct { unsigned int nvd; /* outtype natural */ unsigned int value; /* outtype natural */ } ROCKMT_OTread_dfifo; /* outtype record*/ typedef struct { unsigned int filter; /* intype natural */ unsigned int intrst; /* intype natural */ unsigned int reprog; /* intype natural */ unsigned int cbus; /* intype natural */ unsigned int fifo_rst; /* intype natural */ unsigned int micro; /* intype natural */ unsigned int hub_rst; /* intype natural */ unsigned int cman; /* intype natural */ } ROCKMT_ITwrite_reset; /* intype record*/ typedef unsigned int ROCKMT_ITwrite_watchdog; /* intype natural */ typedef struct { unsigned int foe; /* intype natural */ unsigned int boe; /* intype natural */ unsigned int bof; /* intype natural */ unsigned int cbusy_ff; /* intype natural */ unsigned int cpause; /* intype natural */ unsigned int hub_mode; /* intype natural */ unsigned int inttrg; /* intype natural */ unsigned int diag; /* intype natural */ } ROCKMT_ITwrite_csr0; /* intype record*/ typedef struct { unsigned int edata; /* intype natural */ unsigned int elapsed; /* intype natural */ unsigned int wscale; /* intype natural */ } ROCKMT_ITwrite_csr2; /* intype record*/ typedef unsigned int ROCKMT_ITwrite_trigger; /* intype natural */ typedef unsigned int ROCKMT_ITwrite_chainadd; /* intype natural */ typedef unsigned int ROCKMT_ITwrite_golden; /* intype natural */ typedef unsigned int ROCKMT_ITwrite_microword; /* intype natural */ typedef struct { unsigned int filter; /* outtype natural */ unsigned int intrst; /* outtype natural */ unsigned int reprog; /* outtype natural */ unsigned int cbus; /* outtype natural */ unsigned int fifo_rst; /* outtype natural */ unsigned int micro; /* outtype natural */ unsigned int hub_rst; /* outtype natural */ unsigned int cman; /* outtype natural */ unsigned int df; /* outtype natural */ unsigned int daf; /* outtype natural */ unsigned int dghf; /* outtype natural */ unsigned int dlhf; /* outtype natural */ unsigned int dae; /* outtype natural */ unsigned int de; /* outtype natural */ unsigned int tef; /* outtype natural */ unsigned int tff; /* outtype natural */ unsigned int watchdog; /* outtype natural */ unsigned int foe; /* outtype natural */ unsigned int boe; /* outtype natural */ unsigned int bof; /* outtype natural */ unsigned int cbusy_ff; /* outtype natural */ unsigned int cpause; /* outtype natural */ unsigned int hub_mode; /* outtype natural */ unsigned int inttrg; /* outtype natural */ unsigned int diag; /* outtype natural */ unsigned int ctknout; /* outtype natural */ unsigned int crdy; /* outtype natural */ unsigned int cerr; /* outtype natural */ unsigned int crst; /* outtype natural */ unsigned int crngt; /* outtype natural */ unsigned int cbusy; /* outtype natural */ unsigned int ctrgv; /* outtype natural */ unsigned int edata; /* outtype natural */ unsigned int hubon; /* outtype natural */ unsigned int cbuson; /* outtype natural */ unsigned int timeout; /* outtype natural */ unsigned int elapsed; /* outtype natural */ unsigned int wscale; /* outtype natural */ unsigned int elapsed_time; /* outtype natural */ unsigned int halt; /* outtype natural */ unsigned int busy; /* outtype natural */ unsigned int syncfail; /* outtype natural */ unsigned int parity_error; /* outtype natural */ } ROCKMT_OTreadpage_internal; /* outtype record*/ typedef struct { unsigned int tff; /* outtype natural */ unsigned int link; /* outtype natural */ unsigned int qtrg; /* outtype natural */ unsigned int ptrg; /* outtype natural */ unsigned int overrun; /* outtype natural */ unsigned int cnthigh; /* outtype natural */ unsigned int chain_add; /* outtype natural */ unsigned int goldenref; /* outtype natural */ unsigned int cntlow; /* outtype natural */ unsigned int slot; /* outtype natural */ unsigned int auxas; /* outtype natural */ unsigned int auxtrgv; /* outtype natural */ unsigned int auxdk; /* outtype natural */ unsigned int auxds; /* outtype natural */ unsigned int status; /* outtype natural */ unsigned int cycle; /* outtype natural */ unsigned int invacc; /* outtype natural */ unsigned int uwrdy; /* outtype natural */ unsigned int done; /* outtype natural */ unsigned int microw; /* outtype natural */ } ROCKMT_OTreadpage_infohub; /* outtype record*/ typedef struct { unsigned int tff; /* outtype natural */ unsigned int link; /* outtype natural */ unsigned int qtrg; /* outtype natural */ unsigned int ptrg; /* outtype natural */ unsigned int overrun; /* outtype natural */ unsigned int cnthigh; /* outtype natural */ unsigned int chain_add; /* outtype natural */ unsigned int goldenref; /* outtype natural */ unsigned int cntlow; /* outtype natural */ unsigned int cbustemp; /* outtype natural */ unsigned int vmetemp; /* outtype natural */ unsigned int wrcyc; /* outtype natural */ unsigned int rdcyc; /* outtype natural */ unsigned int urw; /* outtype natural */ unsigned int udav; /* outtype natural */ unsigned int udk; /* outtype natural */ unsigned int uds; /* outtype natural */ unsigned int status; /* outtype natural */ unsigned int cycle; /* outtype natural */ unsigned int invacc; /* outtype natural */ unsigned int uwrdy; /* outtype natural */ unsigned int done; /* outtype natural */ unsigned int microw; /* outtype natural */ } ROCKMT_OTreadpage_infomicro; /* outtype record*/ typedef struct { unsigned int chain; /* param: intype natural */ char result; /* outtype nboolean */ char *errorstr; /* initialized ==NULL */ } rockmt_t_ispresent; /* data structure */ /* rockm ispresent data function*/ /* return TL_OK iff no error */ int rockmt_tl_ispresent(rockmt_t_ispresent *data); typedef struct { unsigned int chain; /* param: intype natural */ ROCKMT_OTrid result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_open; /* data structure */ /* rockm open data function*/ /* return TL_OK iff no error */ int rockmt_tl_open(rockmt_t_open *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_close; /* data structure */ /* rockm close data function*/ /* return TL_OK iff no error */ int rockmt_tl_close(rockmt_t_close *data); typedef struct { ROCKMT_ITreadreg reg; /* param: intype idf. */ ROCKMT_ITrid rid; /* param: intype idf. */ unsigned int result; /* outtype natural */ char *errorstr; /* initialized ==NULL */ } rockmt_t_raw_read; /* data structure */ /* rockm raw read data function*/ /* return TL_OK iff no error */ int rockmt_tl_raw_read(rockmt_t_raw_read *data); typedef struct { ROCKMT_ITwritereg reg; /* param: intype idf. */ ROCKMT_ITrid rid; /* param: intype idf. */ unsigned int value; /* param: intype natural */ unsigned int or; /* option: intype natural */ char or_present; /* boolean: option or present */ unsigned int and; /* option: intype natural */ char and_present; /* boolean: option and present */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_raw_write; /* data structure */ /* rockm raw write data function*/ /* return TL_OK iff no error */ int rockmt_tl_raw_write(rockmt_t_raw_write *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTraw_readpage_internal result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_raw_readpage_internal; /* data structure */ /* rockm raw readpage internal data function*/ /* return TL_OK iff no error */ int rockmt_tl_raw_readpage_internal(rockmt_t_raw_readpage_internal *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTraw_readpage_info result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_raw_readpage_info; /* data structure */ /* rockm raw readpage info data function*/ /* return TL_OK iff no error */ int rockmt_tl_raw_readpage_info(rockmt_t_raw_readpage_info *data); typedef struct { ROCKMT_ITget fld; /* param: intype idf. */ ROCKMT_ITrid rid; /* param: intype idf. */ unsigned int result; /* outtype natural */ char *errorstr; /* initialized ==NULL */ } rockmt_t_get; /* data structure */ /* rockm get data function*/ /* return TL_OK iff no error */ int rockmt_tl_get(rockmt_t_get *data); typedef struct { ROCKMT_ITset fld; /* param: intype idf. */ ROCKMT_ITrid rid; /* param: intype idf. */ unsigned int value; /* param: intype natural */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_set; /* data structure */ /* rockm set data function*/ /* return TL_OK iff no error */ int rockmt_tl_set(rockmt_t_set *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_reset result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_reset; /* data structure */ /* rockm read reset data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_reset(rockmt_t_read_reset *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_fifo result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_fifo; /* data structure */ /* rockm read FIFO data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_fifo(rockmt_t_read_fifo *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_watchdog result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_watchdog; /* data structure */ /* rockm read watchdog data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_watchdog(rockmt_t_read_watchdog *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_csr0 result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_csr0; /* data structure */ /* rockm read CSR0 data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_csr0(rockmt_t_read_csr0 *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_csr1 result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_csr1; /* data structure */ /* rockm read CSR1 data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_csr1(rockmt_t_read_csr1 *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_csr2 result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_csr2; /* data structure */ /* rockm read CSR2 data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_csr2(rockmt_t_read_csr2 *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_elapsed result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_elapsed; /* data structure */ /* rockm read elapsed data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_elapsed(rockmt_t_read_elapsed *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_trigger result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_trigger; /* data structure */ /* rockm read trigger data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_trigger(rockmt_t_read_trigger *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_tque result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_tque; /* data structure */ /* rockm read tque data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_tque(rockmt_t_read_tque *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_tnow result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_tnow; /* data structure */ /* rockm read tnow data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_tnow(rockmt_t_read_tnow *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_chainadd result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_chainadd; /* data structure */ /* rockm read chainadd data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_chainadd(rockmt_t_read_chainadd *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_golden result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_golden; /* data structure */ /* rockm read golden data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_golden(rockmt_t_read_golden *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_wordcnt result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_wordcnt; /* data structure */ /* rockm read wordcnt data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_wordcnt(rockmt_t_read_wordcnt *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_infohub result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_infohub; /* data structure */ /* rockm read infohub data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_infohub(rockmt_t_read_infohub *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_infomicro result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_infomicro; /* data structure */ /* rockm read infomicro data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_infomicro(rockmt_t_read_infomicro *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_microstat result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_microstat; /* data structure */ /* rockm read microstat data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_microstat(rockmt_t_read_microstat *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_microword result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_microword; /* data structure */ /* rockm read microword data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_microword(rockmt_t_read_microword *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTread_dfifo result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_read_dfifo; /* data structure */ /* rockm read DFIFO data function*/ /* return TL_OK iff no error */ int rockmt_tl_read_dfifo(rockmt_t_read_dfifo *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_ITwrite_reset value; /* param: intype idf. */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_write_reset; /* data structure */ /* rockm write reset data function*/ /* return TL_OK iff no error */ int rockmt_tl_write_reset(rockmt_t_write_reset *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_ITwrite_watchdog value; /* param: intype idf. */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_write_watchdog; /* data structure */ /* rockm write watchdog data function*/ /* return TL_OK iff no error */ int rockmt_tl_write_watchdog(rockmt_t_write_watchdog *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_ITwrite_csr0 value; /* param: intype idf. */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_write_csr0; /* data structure */ /* rockm write CSR0 data function*/ /* return TL_OK iff no error */ int rockmt_tl_write_csr0(rockmt_t_write_csr0 *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_ITwrite_csr2 value; /* param: intype idf. */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_write_csr2; /* data structure */ /* rockm write CSR2 data function*/ /* return TL_OK iff no error */ int rockmt_tl_write_csr2(rockmt_t_write_csr2 *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_ITwrite_trigger value; /* param: intype idf. */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_write_trigger; /* data structure */ /* rockm write trigger data function*/ /* return TL_OK iff no error */ int rockmt_tl_write_trigger(rockmt_t_write_trigger *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_ITwrite_chainadd value; /* param: intype idf. */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_write_chainadd; /* data structure */ /* rockm write chainadd data function*/ /* return TL_OK iff no error */ int rockmt_tl_write_chainadd(rockmt_t_write_chainadd *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_ITwrite_golden value; /* param: intype idf. */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_write_golden; /* data structure */ /* rockm write golden data function*/ /* return TL_OK iff no error */ int rockmt_tl_write_golden(rockmt_t_write_golden *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_ITwrite_microword value; /* param: intype idf. */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_write_microword; /* data structure */ /* rockm write mircoword data function*/ /* return TL_OK iff no error */ int rockmt_tl_write_microword(rockmt_t_write_microword *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTreadpage_internal result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_readpage_internal; /* data structure */ /* rockm readpage internal data function*/ /* return TL_OK iff no error */ int rockmt_tl_readpage_internal(rockmt_t_readpage_internal *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTreadpage_infohub result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_readpage_infohub; /* data structure */ /* rockm readpage infohub data function*/ /* return TL_OK iff no error */ int rockmt_tl_readpage_infohub(rockmt_t_readpage_infohub *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTreadpage_infomicro result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_readpage_infomicro; /* data structure */ /* rockm readpage infomicro data function*/ /* return TL_OK iff no error */ int rockmt_tl_readpage_infomicro(rockmt_t_readpage_infomicro *data); typedef struct { ROCKMT_ITrid rid; /* param: intype idf. */ ROCKMT_OTdummy result; /* outtype idf. */ char *errorstr; /* initialized ==NULL */ } rockmt_t_do_reset; /* data structure */ /* rockm do reset data function*/ /* return TL_OK iff no error */ int rockmt_tl_do_reset(rockmt_t_do_reset *data); #endif /* TLC_TCLC_rockm_USER_H */