1 $FreeBSD: src/sys/gnu/i386/fpemul/Changelog,v 1.1.20.1 2000/08/03 00:53:55 peter Exp $
3 This file contains the changes made to W. Metzenthem's 387 FPU
4 emulator to make it work under NetBSD.
6 a, Changes to make it compile:
8 1 - Changed the #include's to get the appropriate .h files.
9 2 - Renamed .S to .s, to satisfy the kernel Makefile.
10 3 - Changed the C++ style // comments to /* */
11 4 - Changed the FPU_ORIG_EIP macro. A letter from bde included
12 in the package suggested using tf_isp for using instead
13 of the linux __orig_eip. This later turned out to interfere
14 with the user stack, so i created a separate variable, stored
16 5 - Changed the get_fs_.. put_fs_.. fns to fubyte,fuword,subyte,
18 6 - Removed the verify_area fns. I don't really know what they do,
19 i suppose they verify access to memory. The sufu routines
22 b, Changes to make it work:
24 1 - Made math_emulate() to return 0 when successful, so trap() won't
25 try to generate a signal.
26 2 - Changed the size of the save87 struct in /sys/arch/i387/include/
27 npx.h to accomodate the i387_union.
31 1 - Removed obsolate and/or linux specific stuff.
32 2 - Changed the RE_ENTRANT_CHECK_[ON|OFF] macro to
33 REENTRANT_CHECK([ON|OFF]) so indent can grok it.
34 3 - Re-indented to Berkeley style.
35 4 - Limited max no of lookaheads. LOOKAHEAD_LIMIT in fpu_entry.c
38 Szabolcs Szigeti (pink@fsz.bme.hu)