CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/04/20 09:42:26
Modified files:
sys/arch/mips64/include: cpu.h mips_cpu.h mips_opcode.h tcb.h
sys/arch/mips64/mips64: context.S cpu.c genassym.cf trap.c
sys/arch/octeon/octeon: machdep.c
Log message:
Make TCB address available to userspace via the UserLocal register.
This lets programs get the address without a system call on OCTEON II
and later.
Add UserLocal load emulation for systems that do not implement
the RDHWR instruction or the UserLocal register.
OK guenther@