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