mirror of
https://github.com/open-simh/simh.git
synced 2026-05-05 07:33:56 +00:00
Fixed Asynch I/O issues which may leave pending asynch I/O in limbo when device resets happen (found by Sergey Oboguev)
This commit is contained in:
@@ -2561,6 +2561,7 @@ rq_clrint (cp); /* clr intr req */
|
||||
for (i = 0; i < (RQ_NUMDR + 2); i++) { /* init units */
|
||||
uptr = dptr->units + i;
|
||||
sim_cancel (uptr); /* clr activity */
|
||||
sim_disk_reset (uptr);
|
||||
uptr->cnum = cidx; /* set ctrl index */
|
||||
uptr->flags = uptr->flags & ~(UNIT_ONL | UNIT_ATP);
|
||||
uptr->uf = 0; /* clr unit flags */
|
||||
|
||||
Reference in New Issue
Block a user