/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * C O M M O N E U R O G A M C O D E * * * * File: vxBind.h * * * * Author: Jomar Honsi Date: 26/09/90 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #ifndef INCvxbind #define INCvxbind #include #include #include #ifdef VX_INCL_sym #include #endif #ifdef VX_INCL_ring #include #endif #ifdef VX_INCL_host #include #endif #ifdef VX_INCL_sema #include #include #endif #define __PROTOTYPE_5_0 #include #ifdef VX_INCL_scsi #include #endif #ifdef VX_INCL_dosfs #include #endif #ifdef VX_INCL_signal #include #endif #ifdef VX_INCL_reboot #include #endif #ifdef VX_INCL_boot #include #endif #ifdef VX_INCL_rem #include #endif #ifdef VX_INCL_mem #include #endif #ifdef VX_INCL_usr #include #endif #ifdef VX_INCL_load #include #endif #ifdef VX_INCL_errno #include #endif #ifdef VX_INCL_shell #include #endif #ifdef VX_INCL_tick #include #endif #ifdef VX_INCL_watchdog #include #endif #ifdef VX_INCL_int #include #endif extern int sysClkRateGet(); /* output macros */ #define outstr(s) (printf((s))) #define outchar(c) (printf("%c",(c))) #define echo(c) (printf("%c",(c))) /* VxWorks kernel interface */ #define psleep(t) ( taskDelay((t)) ) #define sdelay(s) ( taskDelay((s)*sysClkRateGet()) ) #define RSHD 514 extern int second; #define N_TIMER 50 typedef struct { char *serverHost, /* File server (from bootline) */ *objPath, /* Path of eurogam object code */ *rshellHost, /* For execution of remote shells */ *rloginHost; /* Host for remote login */ } SiteInfo; enum {PORT1=0, PORT2, PORT3, PORT4, NTTYS }; #define B_PORT1 (Byte)( 1<