NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: port-pmax/53611: NetBSD/pmax 8.0 RAMDISK kernel hang on 3MIN (5000/125)



>   	case SYS_DEV_OPT0:
>   	case SYS_DEV_OPT1:
>   	case SYS_DEV_OPT2:
>  -		/* it's an option slot */
>  -		{
>  -		int s = splhigh();
>  -		s |= mask;
>  -		splx(s);
>  -		}
>  +		/* it's an option slot and handled via MIPS_INT_MASK_[012] */
>   		break;

this code is very mind boggling, but it's clearly wrong in the modern
mips interrupt world, compared to what 'mask' is set to.  even then,
why does intr_establish change the ipl!?

i'm pretty sure you should commit this.  nicely found.

thanks!


.mrg.


Home | Main Index | Thread Index | Old Index