Fixed VAX idle for NetBSD and OpenBSD support.

This commit is contained in:
Mark Pizzolato 2012-04-12 18:45:57 -07:00
parent 190993b5f4
commit eb60957366

View file

@ -1521,7 +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) */
(0 != (PC & 0x80000000)) && /* System Space (Not BOOT ROM) */
(val == 1)) /* IPL 1 */
cpu_idle(); /* idle loop */
break;