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