summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2012-08-29 20:33:16 +0000
committerkettenis <kettenis@openbsd.org>2012-08-29 20:33:16 +0000
commit958674ee5d940b88ee77ed4131166d2f7bc6df38 (patch)
treed8e382c202272018ba4b04877c1e34397bc54598 /lib/libc
parentrfc 5036 obsoletes rfc 3036; ok claudio (diff)
downloadwireguard-openbsd-958674ee5d940b88ee77ed4131166d2f7bc6df38.tar.xz
wireguard-openbsd-958674ee5d940b88ee77ed4131166d2f7bc6df38.zip
The low-level guts to support MTP (Multi-Threaded Processing) on the
Fujitsu SPARC64-VI and SPARC64-VII CPUs. Since the two threads on each core share the TLBs of the core we cannot enter different mappings for the same virtual address. Instead we use a scratch register to store the per-cpu pointer. This is very similar to what we do on sun4v. For now we still only attach the first thread of each SPARC64-VI/VII core since we currently don't handle the VMT (Vertical Multi-Threading) of the SPARC64-VI very well.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions