PDP11: Simplified idle call logic to leave the idle decision to sim_idle().
Removed the unused references to wait_enable which the comments suggest was related to an old style idle.
This commit is contained in:
parent
549779fb10
commit
7256e0908c
1 changed files with 1 additions and 5 deletions
|
@ -832,11 +832,7 @@ while (reason == 0) {
|
|||
if (tbit)
|
||||
setTRAP (TRAP_TRC);
|
||||
if (wait_state) { /* wait state? */
|
||||
if (sim_idle_enab) /* idle enabled? */
|
||||
sim_idle (TMR_CLK, TRUE);
|
||||
else if (wait_enable) /* old style idle? */
|
||||
sim_interval = 0; /* force check */
|
||||
else sim_interval = sim_interval - 1; /* count cycle */
|
||||
sim_idle (TMR_CLK, TRUE);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue