CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2012/08/29 14:33:16
Modified files: sys/arch/sparc64/include: ctlreg.h sys/arch/sparc64/sparc64: autoconf.c locore.s pmap.c Log message: 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.