Fixed VAX idle support for newer versions of NetBSD and OpenBSD to not trigger idling when IPL is changed from the system Boot ROM.
This commit is contained in:
parent
fc8856805d
commit
04098f6007
1 changed files with 1 additions and 0 deletions
|
@ -1521,6 +1521,7 @@ switch (prn) { /* case on reg # */
|
||||||
case MT_IPL: /* IPL */
|
case MT_IPL: /* IPL */
|
||||||
PSL = (PSL & ~PSL_IPL) | ((val & PSL_M_IPL) << PSL_V_IPL);
|
PSL = (PSL & ~PSL_IPL) | ((val & PSL_M_IPL) << PSL_V_IPL);
|
||||||
if ((VAX_IDLE_BSDNEW & cpu_idle_mask) && /* New NetBSD and OpenBSD */
|
if ((VAX_IDLE_BSDNEW & cpu_idle_mask) && /* New NetBSD and OpenBSD */
|
||||||
|
(0 != (PC & 0x8000000)) && /* System Space (Not BOOT ROM) */
|
||||||
(val == 1)) /* IPL 1 */
|
(val == 1)) /* IPL 1 */
|
||||||
cpu_idle(); /* idle loop */
|
cpu_idle(); /* idle loop */
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue