From 04098f600764b518075eb3e3cfbc11363fc4cadf Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 12 Apr 2012 09:52:55 -0700 Subject: [PATCH] Fixed VAX idle support for newer versions of NetBSD and OpenBSD to not trigger idling when IPL is changed from the system Boot ROM. --- VAX/vax_cpu1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/VAX/vax_cpu1.c b/VAX/vax_cpu1.c index cb91fa54..a68bccc8 100644 --- a/VAX/vax_cpu1.c +++ b/VAX/vax_cpu1.c @@ -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;