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