Added help context to pdp11_dz and pdp11_vh
This commit is contained in:
parent
b37b866fd6
commit
7f57ce2c88
3 changed files with 9 additions and 2 deletions
|
@ -290,7 +290,9 @@ DEVICE dz_dev = {
|
|||
&tmxr_ex, &tmxr_dep, &dz_reset,
|
||||
NULL, &dz_attach, &dz_detach,
|
||||
&dz_dib, DEV_DISABLE | DEV_UBUS | DEV_QBUS | DEV_DEBUG | DEV_MUX,
|
||||
0, dz_debug
|
||||
0, dz_debug, NULL, NULL,
|
||||
NULL, NULL, /* help and attach_help routines */
|
||||
(void *)&dz_desc/* help context variable */
|
||||
};
|
||||
|
||||
/* Register names for Debug tracing */
|
||||
|
|
|
@ -427,7 +427,11 @@ DEVICE vh_dev = {
|
|||
&vh_detach, /* detach routine */
|
||||
(void *)&vh_dib,/* context */
|
||||
DEV_DISABLE | DEV_DIS | DEV_QBUS | DEV_UBUS | DEV_DEBUG | DEV_MUX, /* flags */
|
||||
0, vh_debug
|
||||
0, vh_debug, /* debug control and debug flags */
|
||||
NULL, /* memory size routine */
|
||||
NULL, /* logical name */
|
||||
NULL, NULL, /* help and attach_help routines */
|
||||
(void *)&vh_desc/* help context variable */
|
||||
};
|
||||
|
||||
/* Register names for Debug tracing */
|
||||
|
|
|
@ -321,6 +321,7 @@ struct sim_device {
|
|||
struct sim_unit *uptr, int32 flag, char *cptr); /* help */
|
||||
t_stat (*attach_help)(FILE *st, struct sim_device *dptr,
|
||||
struct sim_unit *uptr, int32 flag, char *cptr); /* attach help */
|
||||
void *help_ctx; /* Context available to help routines */
|
||||
};
|
||||
|
||||
/* Device flags */
|
||||
|
|
Loading…
Add table
Reference in a new issue