Module Name: src Committed By: pgoyette Date: Wed Apr 18 00:04:11 UTC 2018
Modified Files: src/doc [pgoyette-compat]: COMPAT-branch-notes Log Message: Note changes to syscalls.master and friends To generate a diff of this commit: cvs rdiff -u -r1.1.2.12 -r1.1.2.13 src/doc/COMPAT-branch-notes Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/doc/COMPAT-branch-notes diff -u src/doc/COMPAT-branch-notes:1.1.2.12 src/doc/COMPAT-branch-notes:1.1.2.13 --- src/doc/COMPAT-branch-notes:1.1.2.12 Tue Apr 17 23:06:11 2018 +++ src/doc/COMPAT-branch-notes Wed Apr 18 00:04:11 2018 @@ -43,6 +43,9 @@ DONE There are still several areas which are not complete - see the TODO list below for more details. +10. syscalls.master has been updated to autoload the version-specific + compat modules rather than the monolithic modules. + TODO ---- @@ -50,43 +53,40 @@ TODO COMPAT_xx. When found, move the actual compat code into the compat hierarchy and replace originals with indirect (vectored) calls. -2. Update syscalls.master to reflect that modular syscalls are now - provided by version-specific modules. - -3. The rtsock compat code is a disaster, with rtsock_50.c #include-ing +2. The rtsock compat code is a disaster, with rtsock_50.c #include-ing the main rtsock.c code with various manipulations of the COMPAT_50 macro. -4. The compat_60 module still needs some work for XEN systems. We +3. The compat_60 module still needs some work for XEN systems. We probably need some build infrastructure changes to ensure that XEN (and, for i386, XEN-PAE) modules are build with the correct macros defined and with -I directories specified in the same order as for building kernels. -5. Update syscalls.master to point the compat calls at the specific +4. Update syscalls.master to point the compat calls at the specific modules rather than the monolithic compat module. Update the "required" lists of other modules, too. -6. The rtsock compatability code needs to be de-spaghetti'd and made +5. The rtsock compatability code needs to be de-spaghetti'd and made separable into rtsock_70 and rtsock_50 pieces. -8. Once rtsock is separated, compat_14 references to rtsock_50 routines +6. Once rtsock is separated, compat_14 references to rtsock_50 routines needs to be verified. -8. For compat_60, still need to figure out what to do with BSDPTY and +7. For compat_60, still need to figure out what to do with BSDPTY and tty_ptm -9. Also for compat_60, need to fix the building of XEN (and, for i386, +8. Also for compat_60, need to fix the building of XEN (and, for i386, XEN-PAE) module variants so that the obj-dir symlinks and the -I include order match those present in a kernel build. See PR/53130 (Currently, this affects the compat_60 module and its implementation of microcode updates for AMD processors - i386 and amd64.) -10. For compat_50, in addition to rtsock there are some things in dev/vnd, +9. For compat_50, in addition to rtsock there are some things in dev/vnd, dev/gpio, and dev/wscons/wsmux that I haven't been able to cleanly separate. -11. There seems to be quite a bit of MD compat_xx code, in the various +10. There seems to be quite a bit of MD compat_xx code, in the various sys/arch/ directories. I haven't yet looked at any of this. But it seems to me that the MI compat build infrastructure should have some mechanism to "reach over" to the MD code, #include a Makefile.inc file,