mirror of
https://github.com/simh/simh.git
synced 2026-02-26 16:54:22 +00:00
PDP11 and VAXen: Fix transfer buffer unintended deallocation on RQ detach
As reported in https://github.com/open-simh/simh/issues/12
This commit is contained in:
@@ -172,7 +172,7 @@ extern int32 MMR2;
|
||||
#define unit_plug u4 /* drive unit plug value */
|
||||
#define io_status u5 /* io status from callback */
|
||||
#define io_complete u6 /* io completion flag */
|
||||
#define rqxb filebuf /* xfer buffer */
|
||||
#define rqxb up11 /* xfer buffer */
|
||||
#define RQ_RMV(u) ((drv_tab[GET_DTYPE (u->flags)].flgs & RQDF_RMV)? \
|
||||
UF_RMV: 0)
|
||||
#define RQ_WPH(u) (((drv_tab[GET_DTYPE (u->flags)].flgs & RQDF_RO) || \
|
||||
|
||||
@@ -602,6 +602,7 @@ struct UNIT {
|
||||
void *up8; /* device specific */
|
||||
uint16 us9; /* device specific */
|
||||
uint16 us10; /* device specific */
|
||||
void *up11; /* device specific */
|
||||
DRVTYP *drvtyp; /* Drive Type */
|
||||
void *tmxr; /* TMXR linkage */
|
||||
uint32 recsize; /* Tape specific info */
|
||||
|
||||
Reference in New Issue
Block a user