summaryrefslogtreecommitdiff
path: root/usr.bin/w
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-03-21 21:51:04 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-03-21 21:51:04 +0000
commit9990cb61120b7d168892a4cb9c90bee4dec1c3bf (patch)
tree859e033b15f10723b6ab7fc3bf2ac3bd7347a349 /usr.bin/w
parent86b0ea4aa908a5695cdf375eedc8bf1559415a1c (diff)
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@
Diffstat (limited to 'usr.bin/w')
0 files changed, 0 insertions, 0 deletions