CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2017/03/21 15:51:03
Modified files: sys/arch/arm/cortex: ampintc.c Log message: As a first step towards SMP, use an array for the destination masks with an element for each CPU. Use this mask directly instead of converting it into a cpu number and back into a mask again when routing interrupts. This avoids the need to handle uniprocessor systems in a special way as they will return 0 as the mask (the relevant register is defined as RAZ) and ignore what's written into the destination registers (the relevant registers are defined as WI). Future code that hatches the secondary CPUs will have to call into the driver to establish the masks for those CPUs. ok patrick@