// $RCSfile: ls.h,v $Revision: 1.8 $Date: 2005/03/11 15:08:57 #ifndef __LS_H__ #define __LS_H__ //---------- Tasks ------------------------------------------------------------- extern void ls (void); //---------- Global functions -------------------------------------------------- extern void ls_init (void); extern int SendLss (unsigned int *); extern int ls_put_msg_lp (unsigned int *, unsigned int *, unsigned int, unsigned int *); extern int ls_put_msg_hp (unsigned int *, unsigned int *, unsigned int, unsigned int *); //---------- Global defines ---------------------------------------------------- #define FLUSH_REQUEST 0x3450 #define LS_NOP_REQUEST 0x3451 #define BLOCK_LCU_REQUEST 0x3452 //---------- Structure for the ls queue message ---------------------------------------------------- typedef struct { unsigned int * cmd_add; // pointer to command unsigned int * ans_add; // pointer to the location where the answer (hk) is to be written unsigned int event_number; // event to be signalled on completion of command; if zero, no event. unsigned int * err_code; // pointer to the location where an eventual error code is to be written // in case there have been errors in trx/rcx of cmds/hk on the ls link; if zero, no errors. } LS_CMD_MSG; #endif // __LS_H__