From 76009709b1346fa6312e8f5a8198bac8f0c5c2de Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 29 Dec 2014 12:02:21 -0800 Subject: [PATCH] VAX: Minimizing extra work while preparing to idle and attempt to make idle transitions closer to instruction execution costs. --- VAX/vax_cpu.c | 4 ++-- VAX/vax_syscm.c | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/VAX/vax_cpu.c b/VAX/vax_cpu.c index 64485fc0..1d98cb5b 100644 --- a/VAX/vax_cpu.c +++ b/VAX/vax_cpu.c @@ -3185,7 +3185,7 @@ return j; void cpu_idle (void) { -sim_activate_abs (&cpu_unit, 0); +sim_activate (&cpu_unit, 0); return; } @@ -3193,7 +3193,7 @@ return; t_stat cpu_idle_svc (UNIT *uptr) { -sim_idle (TMR_CLK, FALSE); +sim_idle (TMR_CLK, TRUE); return SCPE_OK; } diff --git a/VAX/vax_syscm.c b/VAX/vax_syscm.c index 5bd8a429..7c7328d1 100644 --- a/VAX/vax_syscm.c +++ b/VAX/vax_syscm.c @@ -34,8 +34,6 @@ #include "vax_defs.h" #include -extern UNIT cpu_unit; - /* Symbol tables */ /* Warning: for literals, the class number MUST equal the field width!! */