diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-03-21 21:51:04 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-03-21 21:51:04 +0000 |
commit | 9990cb61120b7d168892a4cb9c90bee4dec1c3bf (patch) | |
tree | 859e033b15f10723b6ab7fc3bf2ac3bd7347a349 /usr.bin/w | |
parent | 86b0ea4aa908a5695cdf375eedc8bf1559415a1c (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