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:
Mark Pizzolato 2012-04-12 09:52:55 -07:00
parent fc8856805d
commit 04098f6007

View file

@ -1521,6 +1521,7 @@ switch (prn) { /* case on reg # */
case MT_IPL: /* IPL */
PSL = (PSL & ~PSL_IPL) | ((val & PSL_M_IPL) << PSL_V_IPL);
if ((VAX_IDLE_BSDNEW & cpu_idle_mask) && /* New NetBSD and OpenBSD */
(0 != (PC & 0x8000000)) && /* System Space (Not BOOT ROM) */
(val == 1)) /* IPL 1 */
cpu_idle(); /* idle loop */
break;