scp.c, scp.h - Change the sim_clock_queue event list to be terminated by the value QUEUE_LIST_END instead of NULL. This allows easy determination of whether a unit is on a list since when it is not on a list the next pointer is NULL. - standardized the usage of UPDATE_SIM_TIME - Added support for internal/pseudo devices to support the TIMER and CON-TEL pseudo devices (to enable and disable debugging) - Reverted to the prior "SET CONSOLE DEBUG" command semantics since the console debug can be manipulated via the generic "SET <dev> DEBUG" command (i.e. SET CON-TEL DEBUG=TRC;XMT;RCV) - Changed "SHOW TIMERS" to "SHOW CLOCKS" to display the current calibrated timer information - Added sim_is_active_bool API to return the boolean active status avoiding the potential work walking the list when most callers aren't interested in the event firing time - Fixed run_boot_prep to properly record the not queued status of any units which are removed from the sim_clock_queue during initialization - Added display of DEBUG, NODEBUG options to the SHOW SHOW command sim_timer.c, sim_timer.h - Added asynchronous timer capabilities with support for calibration and idling - Added internal/pseudo device to support debugging of Idle, Calibration and asynch timer activites. - Added suppression of timer calibration when idling has occurred sim_tmxr.c, sim_tmxr.h - Added tmxr_activate_after and macro definition for sim_activate_after to invoke it for proper behavior with multiplexer devices - Added all polling units to the standard timer queue when dropping back to the simulator command prompt to accommodate the potential to disable asynch mode - Fixed synchronization to operate with pthread synchronized asynch queue and proper stopping of poll when dropping back to the simulator command prompt - Fixed calls to select to have a timeout with properly ranged tv_usec values and dealt with possible EINTR return from select sim_console.c, sim_console.h - Changed internal/pseudo console telnet device name to CON=TEL - Reverted to the prior "SET CONSOLE DEBUG" command semantics since the console debug can be manipulated via the generic "SET <dev> DEBUG" command (i.e. SET CON-TEL DEBUG=TRC;XMT;RCV) - Fixed synchronization to operate with pthread synchronized asynch queue and proper stopping of poll when dropping back to the simulator command prompt - Fixed calls to select to have a timeout with properly ranged tv_usec values sim_defs.h - Added necessary unit fields to support asynchronous timing activities - Added asynchronous macros to support async timing activities - Fixed asynch pthread only macros (not using AIO_INTRINSICS). - Fixed the definition of the UDATA macro which was never adjusted to accommodate the insertion of 2 extra fields in the unit structure and thus made the initialization of the unit wait field meaningless. - Changed the NOQUEUE_WAIT value from 10000 to 1000000. This is only used when the sim_clock_queue is empty, which normally never happens on any simulator since they all have clocks and/or other frequently polling devices. With asynchronous multiplexer and timing support the queue is often empty and this value is then used when calculating idling delays. If it is too small, idling will be inefficient. Being large should not be a problem otherwise. Interdata/id16_cpu.c - removed test of sim_idle_enab before calling sim_idle Interdata/id32_cpu.c - removed test of sim_idle_enab before calling sim_idle vax/vax_cpu.c - removed test of sim_idle_enab before calling sim_idle vax/vax_stddev.c - converted CLK device to use the internal timer service API sim_activate_after to leverage asynchronous timing when available |
||
---|---|---|
.. | ||
id16_cpu.c | ||
id16_dboot.c | ||
id16_sys.c | ||
id32_cpu.c | ||
id32_dboot.c | ||
id32_sys.c | ||
id_defs.h | ||
id_diag.txt | ||
id_dp.c | ||
id_fd.c | ||
id_fp.c | ||
id_idc.c | ||
id_io.c | ||
id_lp.c | ||
id_mt.c | ||
id_pas.c | ||
id_pt.c | ||
id_tt.c | ||
id_ttp.c | ||
id_uvc.c |