[moved to -hackers] On Thursday, 1 July 1999 at 11:07:08 +0300, Hui Huang wrote: > I want to add some floating point calculation functions in FreeBSD > kernel program. > I compiled the new kernel and installed it in a machine. However, the > new kernel could not be booted up with the error information "Fatal trap > > 22: FPU device not available while in kernel mode". > Does anybody know how to enable the FPU device in the kernel mode or > other methods to support floating point calculation in the kernel mode?
This is probably more appropriate in -hackers than in -questions, so I've moved it there. Basically, you can't do this. In order to support FP in the kernel, the system would need to save FP state for every context switch, which would be a serious performance hit. Why do you need FP? Do you really need FP? Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger g...@lemis.com for PGP public key To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message