mirror of
https://github.com/open-simh/simh.git
synced 2026-05-02 14:30:22 +00:00
ALL: Standardize writelock behavior adding global UNIT_WLK & UNIT_WPRT
Historically this functionality was reimplemented within each DEVICE simulator often with slightly different implementations and inconsistencies. Solving this globally within SCP required changes in many places, but should henceforth be reasonably managed. As discussed in #1034
This commit is contained in:
2
scp.h
2
scp.h
@@ -158,6 +158,8 @@ t_stat assign_device (DEVICE *dptr, const char *cptr);
|
||||
t_stat deassign_device (DEVICE *dptr);
|
||||
t_stat reset_all (uint32 start_device);
|
||||
t_stat reset_all_p (uint32 start_device);
|
||||
t_stat set_writelock (UNIT *uptr, int32 val, CONST char *cptr, void *desc);
|
||||
t_stat show_writelock (FILE *st, UNIT *uptr, int32 val, CONST void *desc);
|
||||
const char *sim_dname (DEVICE *dptr);
|
||||
const char *sim_uname (UNIT *dptr);
|
||||
const char *sim_set_uname (UNIT *uptr, const char *uname);
|
||||
|
||||
Reference in New Issue
Block a user