1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 #if !defined(_DPS8_SYS_H)
20 # define _DPS8_SYS_H
21
22 # include <uv.h>
23 # include "uvutil.h"
24
25
26 typedef struct
27 {
28
29 struct
30 {
31 int connect;
32
33
34
35 } iom_times;
36
37
38
39
40
41
42 bool no_color;
43 uint sys_poll_interval;
44 uint sys_slow_poll_interval;
45 uint sys_poll_check_rate;
46 } sysinfo_t;
47
48 # if defined(DBGEVENT)
49 # define max_dbgevents 128u
50 # define dbgevent_tagsize 128
51 struct dbgevent_t
52 {
53 word15 segno;
54 word18 offset;
55 bool t0;
56 char tag[dbgevent_tagsize];
57 };
58
59 extern uint n_dbgevents;
60 extern struct dbgevent_t dbgevents[max_dbgevents];
61 extern struct timespec dbgevent_t0;
62 int dbgevent_lookup (word15 segno, word18 offset);
63 # endif
64
65 extern vol word36 * M;
66 extern sysinfo_t sys_opts;
67 extern uint64 sim_deb_start;
68 extern uint64 sim_deb_stop;
69 extern uint64 sim_deb_break;
70 # define DEBUG_SEGNO_LIMIT 1024
71 extern bool sim_deb_segno_on;
72 extern bool sim_deb_segno[DEBUG_SEGNO_LIMIT];
73 # define NO_SUCH_RINGNO ((uint64) -1ll)
74 extern uint64 sim_deb_ringno;
75 extern uint64 sim_deb_skip_limit;
76 extern uint64 sim_deb_mme_cntdwn;
77 extern uint64 sim_deb_skip_cnt;
78 extern bool sim_deb_bar;
79 extern DEVICE *sim_devices[];
80 extern uint dbgCPUMask;
81 extern bool breakEnable;
82
83 char * lookup_address (word18 segno, word18 offset, char * * compname, word18 * compoffset);
84 void list_source (char * compname, word18 offset, uint dflag);
85
86
87 t_stat brkbrk (int32 arg, const char * buf);
88 extern int32 luf_flag;
89
90 #endif