Source-Changes-D archive

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

Re: CVS commit: src/sys/arch



> Module Name:    src
> Committed By:   thorpej
> Date:           Sun Dec 22 15:09:39 UTC 2019
> 
> Add intr_mask() and corresponding intr_unmask() calls that allow specific
> interrupt lines / sources to be masked as needed (rather than making a
> set of sources by IPL as with spl*()).
> 
> +       if (ci == curcpu() || !mp_online) {
> +               intr_hwunmask_xcall(ih, NULL);
> +       } else {
> +               where = xc_unicast(0, intr_hwunmask_xcall, ih, NULL, ci);
> +               xc_wait(where);
> +       }

If this conditional is necessary, we should teach xc_unicast to make
it unnecessary.


Home | Main Index | Thread Index | Old Index