Documenting revised DEVICE structure
This commit is contained in:
parent
674e56b376
commit
faa794e9da
2 changed files with 1188 additions and 1152 deletions
2330
doc/simh.doc
2330
doc/simh.doc
File diff suppressed because it is too large
Load diff
10
sim_defs.h
10
sim_defs.h
|
@ -320,7 +320,7 @@ struct sim_device {
|
|||
t_stat (*help)(FILE *st, struct sim_device *dptr,
|
||||
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); /* help */
|
||||
struct sim_unit *uptr, int32 flag, char *cptr); /* attach help */
|
||||
};
|
||||
|
||||
/* Device flags */
|
||||
|
@ -335,10 +335,10 @@ struct sim_device {
|
|||
#define DEV_V_UF 16 /* user flags */
|
||||
#define DEV_V_RSV 31 /* reserved */
|
||||
|
||||
#define DEV_DIS (1 << DEV_V_DIS)
|
||||
#define DEV_DISABLE (1 << DEV_V_DISABLE)
|
||||
#define DEV_DYNM (1 << DEV_V_DYNM)
|
||||
#define DEV_DEBUG (1 << DEV_V_DEBUG)
|
||||
#define DEV_DIS (1 << DEV_V_DIS) /* device can be set enabled or disabled */
|
||||
#define DEV_DISABLE (1 << DEV_V_DISABLE) /* device is currently disabled */
|
||||
#define DEV_DYNM (1 << DEV_V_DYNM) /* device requires call on msize routine to change memory size */
|
||||
#define DEV_DEBUG (1 << DEV_V_DEBUG) /* device supports SET DEBUG command */
|
||||
#define DEV_NET 0 /* Deprecated - meaningless */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue