mirror of
https://github.com/open-simh/simh.git
synced 2026-01-17 08:44:08 +00:00
VAX: Minimizing extra work while preparing to idle and attempt to make idle transitions closer to instruction execution costs.
This commit is contained in:
parent
9e1e32584b
commit
76009709b1
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -34,8 +34,6 @@
|
||||
#include "vax_defs.h"
|
||||
#include <ctype.h>
|
||||
|
||||
extern UNIT cpu_unit;
|
||||
|
||||
/* Symbol tables */
|
||||
/* Warning: for literals, the class number MUST equal the field width!! */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user