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
2 changed files with 2 additions and 4 deletions
|
@ -3185,7 +3185,7 @@ return j;
|
||||||
|
|
||||||
void cpu_idle (void)
|
void cpu_idle (void)
|
||||||
{
|
{
|
||||||
sim_activate_abs (&cpu_unit, 0);
|
sim_activate (&cpu_unit, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3193,7 +3193,7 @@ return;
|
||||||
|
|
||||||
t_stat cpu_idle_svc (UNIT *uptr)
|
t_stat cpu_idle_svc (UNIT *uptr)
|
||||||
{
|
{
|
||||||
sim_idle (TMR_CLK, FALSE);
|
sim_idle (TMR_CLK, TRUE);
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,8 +34,6 @@
|
||||||
#include "vax_defs.h"
|
#include "vax_defs.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
extern UNIT cpu_unit;
|
|
||||||
|
|
||||||
/* Symbol tables */
|
/* Symbol tables */
|
||||||
/* Warning: for literals, the class number MUST equal the field width!! */
|
/* Warning: for literals, the class number MUST equal the field width!! */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue