From 24353110728cbbfca435ca8de47abc374da760dc Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sun, 8 Oct 2017 10:10:03 -0700 Subject: [PATCH] SCP: Add DEV_NOSAVE flag for throttle and console internal devices --- sim_console.c | 2 +- sim_timer.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sim_console.c b/sim_console.c index 4cbe6e0a..76eeef78 100644 --- a/sim_console.c +++ b/sim_console.c @@ -228,7 +228,7 @@ DEVICE sim_con_telnet = { "CON-TELNET", sim_con_units, sim_con_reg, sim_con_mod, 2, 0, 0, 0, 0, 0, NULL, NULL, sim_con_reset, NULL, sim_con_attach, sim_con_detach, - NULL, DEV_DEBUG, 0, sim_con_debug, + NULL, DEV_DEBUG | DEV_NOSAVE, 0, sim_con_debug, NULL, NULL, NULL, NULL, NULL, sim_con_telnet_description}; TMLN sim_con_ldsc = { 0 }; /* console line descr */ TMXR sim_con_tmxr = { 1, 0, 0, &sim_con_ldsc, NULL, &sim_con_telnet };/* console line mux */ diff --git a/sim_timer.c b/sim_timer.c index 25298a41..bcbe7010 100644 --- a/sim_timer.c +++ b/sim_timer.c @@ -1403,8 +1403,10 @@ DEVICE sim_stop_dev = { sim_int_stop_description}; DEVICE sim_throttle_dev = { - "INT-THROTTLE", &sim_throttle_unit, sim_throttle_reg, NULL, 1}; - + "INT-THROTTLE", &sim_throttle_unit, sim_throttle_reg, NULL, + 1, 0, 0, 0, 0, 0, + NULL, NULL, NULL, NULL, NULL, NULL, + NULL, DEV_NOSAVE}; /* SET CLOCK command */