CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2012/04/16 16:23:06
Modified files: sys/arch/mips64/mips64: lcore_access.S sys/arch/sgi/sgi: machdep.c Log message: Move proc0 and trap handler setup before consinit(), but still wait for the initial setup to be complete before switching to our trap handlers. However, change guarded_{read,write}_* to clear BEV in the coprocessor 0 status register, and restore it afterwards, to use our fault handlers within these functions. This makes these functions usable from consinit().