]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r283421:
authordchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Jan 2016 16:08:22 +0000 (16:08 +0000)
committerdchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Jan 2016 16:08:22 +0000 (16:08 +0000)
commit2d35f6b68b7fa7647489013400f36fbbf3aae843
tree25ceb202feb35d8ee393e9616532af439b0df74a
parent3ceff798b9564b371d00088ea45eb90674d14d60
MFC r283421:

Introduce a new module linux_common.ko which is intended for the
following primary purposes:

1. Remove the dependency of linsysfs and linprocfs modules from linux.ko,
which will be architecture specific on amd64.

2. Incorporate into linux_common.ko general code for platforms on which
we'll support two Linuxulator modules (for both instruction set - 32 & 64 bit).

3. Move malloc(9) declaration to linux_common.ko, to enable getting memory
usage statistics properly.

Currently linux_common.ko incorporates a code from linux_mib.c and linux_util.c
and linprocfs, linsysfs and linux kernel modules depend on linux_common.ko.

Temporarily remove dtrace garbage from linux_mib.c and linux_util.c

git-svn-id: svn://svn.freebsd.org/base/stable/10@293527 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
21 files changed:
sys/amd64/linux32/linux.h
sys/amd64/linux32/linux32_sysvec.c
sys/compat/linprocfs/linprocfs.c
sys/compat/linsysfs/linsysfs.c
sys/compat/linux/linux_common.c [new file with mode: 0644]
sys/compat/linux/linux_ioctl.c
sys/compat/linux/linux_ioctl.h
sys/compat/linux/linux_mib.c
sys/compat/linux/linux_mib.h
sys/compat/linux/linux_misc.c
sys/compat/linux/linux_misc.h
sys/compat/linux/linux_util.c
sys/compat/linux/linux_util.h
sys/conf/files.amd64
sys/i386/linux/linux.h
sys/i386/linux/linux_sysvec.c
sys/modules/Makefile
sys/modules/linprocfs/Makefile
sys/modules/linsysfs/Makefile
sys/modules/linux/Makefile
sys/modules/linux_common/Makefile [new file with mode: 0644]