[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	mickey_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2002/10/07 08:38:40

Modified files:
	sys/arch/hppa/hppa: fpemu.S locore.S machdep.c trap.c 
	                    vm_machdep.c 
	sys/arch/hppa/include: cpu.h 

Log message:
on implementations w/ fpu included unimplemented instructions
are signaled through the exception trap w/ invalid opcode marked
instruction in the exception registers, not through the emulation
trap (as long as the fpu is enabled, of  course).
parse emulation from the exception trap as well as the emulation
trap and fix the dispatcher into usable condition.
parse invalid op exception on trap and signal the user appropriately.
reset the exception on exec and for child on fork.
the later is appropriate since exceptions are delayed until next
fpu instruction, which was in the parent indeed, let him get it.
save parent's fpu context on fork before cipying it, if the
parent owned the fpu.



Visit your host, monkey.org