Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-compat]: src/sys/compat/common Tag files with their specific co...



details:   https://anonhg.NetBSD.org/src/rev/ed8b2216d5c6
branches:  pgoyette-compat
changeset: 321025:ed8b2216d5c6
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Mar 14 22:04:27 2018 +0000

description:
Tag files with their specific compat version required.  This way
the files only get included if needed, allowing for subsequent
loading of COMPAT_xx modules for older-than-built-in code.

diffstat:

 sys/compat/common/files.common |  76 +++++++++++++++++++++---------------------
 1 files changed, 38 insertions(+), 38 deletions(-)

diffs (114 lines):

diff -r 0a9f589b5bc9 -r ed8b2216d5c6 sys/compat/common/files.common
--- a/sys/compat/common/files.common    Wed Mar 14 21:46:51 2018 +0000
+++ b/sys/compat/common/files.common    Wed Mar 14 22:04:27 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.common,v 1.1.2.8 2018/03/14 02:24:56 pgoyette Exp $
+#      $NetBSD: files.common,v 1.1.2.9 2018/03/14 22:04:27 pgoyette Exp $
 
 #
 # Generic files, used by all compat options.
@@ -12,67 +12,67 @@
 #
 
 # Compatibility code for 4.3BSD
-file   compat/common/kern_exit_43.c            compat_netbsd
-file   compat/common/kern_info_43.c            compat_netbsd
-file   compat/common/kern_resource_43.c        compat_netbsd
-file   compat/common/kern_sig_43.c             compat_netbsd
-file   compat/common/tty_43.c                  compat_netbsd
-file   compat/common/uipc_syscalls_43.c        compat_netbsd
-file   compat/common/vfs_syscalls_43.c         compat_netbsd
-file   compat/common/vm_43.c                   compat_netbsd
-file   compat/common/if_43.c                   compat_netbsd
+file   compat/common/kern_exit_43.c            compat_43
+file   compat/common/kern_info_43.c            compat_43
+file   compat/common/kern_resource_43.c        compat_43
+file   compat/common/kern_sig_43.c             compat_43
+file   compat/common/tty_43.c                  compat_43
+file   compat/common/uipc_syscalls_43.c        compat_43
+file   compat/common/vfs_syscalls_43.c         compat_43
+file   compat/common/vm_43.c                   compat_43
+file   compat/common/if_43.c                   compat_43
 
 # Compatibility code for NetBSD 0.9
-file   compat/common/kern_info_09.c            compat_netbsd
+file   compat/common/kern_info_09.c            compat_09
 
 # Compatability code for NetBSD 1.0
-file   compat/common/vfs_syscalls_10.c         compat_netbsd
+file   compat/common/vfs_syscalls_10.c         compat_10
 
 # Compatibility code for NetBSD 1.2
-file   compat/common/kern_xxx_12.c             compat_netbsd
-file   compat/common/vfs_syscalls_12.c         compat_netbsd
-file   compat/common/vm_12.c                   compat_netbsd
+file   compat/common/kern_xxx_12.c             compat_12
+file   compat/common/vfs_syscalls_12.c         compat_12
+file   compat/common/vm_12.c                   compat_12
 
 # Compatibility code for NetBSD 1.3
-file   compat/common/kern_sig_13.c             compat_netbsd
-file   compat/common/uvm_stats_13.c            compat_netbsd
+file   compat/common/kern_sig_13.c             compat_13
+file   compat/common/uvm_stats_13.c            compat_13
 
 # Compatibility code for NetBSD 1.4
-file   compat/common/rtsock_14.c               compat_netbsd
+file   compat/common/rtsock_14.c               compat_14
 
 # Compatibility code for NetBSD 1.6
-file   compat/common/kern_sig_16.c             compat_netbsd
+file   compat/common/kern_sig_16.c             compat_16
 
 # Compatibility code for NetBSD 2.0
-file   compat/common/vfs_syscalls_20.c         compat_netbsd
+file   compat/common/vfs_syscalls_20.c         compat_20
 
 # Compatibility code for NetBSD 3.0
-file   compat/common/kern_time_30.c            compat_netbsd
-file   compat/common/vfs_syscalls_30.c         compat_netbsd
-file   compat/common/uipc_syscalls_30.c        compat_netbsd
+file   compat/common/kern_time_30.c            compat_30
+file   compat/common/vfs_syscalls_30.c         compat_30
+file   compat/common/uipc_syscalls_30.c        compat_30
 
 # Compatibility code for NetBSD 4.0
-file   compat/common/vfs_syscalls_40.c         compat_netbsd
-file   compat/common/uipc_syscalls_40.c        compat_netbsd
+file   compat/common/vfs_syscalls_40.c         compat_40
+file   compat/common/uipc_syscalls_40.c        compat_40
 
 # Compatibility code for NetBSD 5.0
-file   compat/common/kern_50.c                 compat_netbsd
-file   compat/common/kern_time_50.c            compat_netbsd
-file   compat/common/kern_select_50.c          compat_netbsd
-file   compat/common/rndpseudo_50.c            compat_netbsd
-file   compat/common/rtsock_50.c               compat_netbsd
-file   compat/common/vfs_syscalls_50.c         compat_netbsd
-file   compat/common/uipc_syscalls_50.c        compat_netbsd
-file   compat/common/uvm_stats_50.c            compat_netbsd
+file   compat/common/kern_50.c                 compat_50
+file   compat/common/kern_time_50.c            compat_50
+file   compat/common/kern_select_50.c          compat_50
+file   compat/common/rndpseudo_50.c            compat_50
+file   compat/common/rtsock_50.c               compat_50
+file   compat/common/vfs_syscalls_50.c         compat_50
+file   compat/common/uipc_syscalls_50.c        compat_50
+file   compat/common/uvm_stats_50.c            compat_50
 
 # Compatibility code for NetBSD 6.0
-file   compat/common/kern_sa_60.c              compat_netbsd
-file   compat/common/tty_60.c                  compat_netbsd
-file   compat/common/kern_time_60.c            compat_netbsd
+file   compat/common/kern_sa_60.c              compat_60
+file   compat/common/tty_60.c                  compat_60
+file   compat/common/kern_time_60.c            compat_60
 
 # Compatibility code for NetBSD 7.0
-file   compat/common/rtsock_70.c               compat_netbsd
-file   compat/common/uipc_usrreq_70.c          compat_netbsd
+file   compat/common/rtsock_70.c               compat_70
+file   compat/common/uipc_usrreq_70.c          compat_70
 
 #
 # Sources for sysv ipc compatibility across the versions.



Home | Main Index | Thread Index | Old Index