kernel: fpu init to separate function; also move fpu init down
commitc37401f23ff9b2200b4ed8a5905f03ae5ffdd6de
authorBen Gras <ben@minix3.org>
Wed, 28 Apr 2010 13:25:29 +0000 (28 13:25 +0000)
committerBen Gras <ben@minix3.org>
Wed, 28 Apr 2010 13:25:29 +0000 (28 13:25 +0000)
treeb7dfaac1a372ff7c468ca6142b0ec9a6385155cd
parentf9317dc039fe593c318d3795db11dd41a54d34f9
kernel: fpu init to separate function; also move fpu init down

moving the fpu code causes exceptions raised by it to be trapped
neatly instead of causing a triple fault, before the IDT is initialized.
kernel/arch/i386/arch_system.c