mirror of
https://github.com/simh/simh.git
synced 2026-05-04 23:15:23 +00:00
SCP: Change sim_abort to SIM_SCP_ABORT macro.
SIM_SCP_ABORT is ONLY for use in scp support libraries
This commit is contained in:
@@ -187,7 +187,7 @@ if ((callback == NULL) || !(ctx->asynch_io))
|
||||
"sim_tape AIO_CALL(op=%d, unit=%d)\n", op, (int)(uptr-ctx->dptr->units));\
|
||||
\
|
||||
if (ctx->callback) /* horrible mistake, stop */ \
|
||||
sim_abort ("AIO_CALL error", __FILE__, __LINE__); \
|
||||
SIM_SCP_ABORT ("AIO_CALL error"); \
|
||||
ctx->io_top = op; \
|
||||
ctx->buf = _buf; \
|
||||
ctx->bc = _bc; \
|
||||
@@ -325,7 +325,7 @@ TAPE_PCALLBACK callback = ctx->callback;
|
||||
sim_debug_unit (ctx->dbit, uptr, "_tape_completion_dispatch(unit=%d, top=%d, callback=%p)\n", (int)(uptr-ctx->dptr->units), ctx->io_top, ctx->callback);
|
||||
|
||||
if (ctx->io_top != TOP_DONE)
|
||||
sim_abort ("_tape_completion_dispatch()", __FILE__, __LINE__); /* horribly wrong, stop */
|
||||
SIM_SCP_ABORT ("_tape_completion_dispatch()"); /* horribly wrong, stop */
|
||||
|
||||
if (ctx->asynch_io)
|
||||
pthread_mutex_lock (&ctx->io_lock);
|
||||
|
||||
Reference in New Issue
Block a user