Commit Graph

51 Commits

Author SHA1 Message Date
jdolecek 899455e34e freebsd LKM works too 2001-10-27 12:10:02 +00:00
jdolecek a24e94e460 Move the compat_util.c handling to lkm/compat/Makefile.inc. The users
are expected to set COMPAT_UTIL_OVERRIDE to preferred emulation name
prefix.
Use this for compat_freebsd and compat_linux LKMs.
2001-10-27 12:09:34 +00:00
jdolecek ef8abe0767 Make the setregs hook emulation-specific, rather than executable
format specific.
Struct emul has a e_setregs hook back, which points to emulation-specific
setregs function. es_setregs of struct execsw now only points to
optional executable-specific setup function (this is only used for
ECOFF).
2001-09-18 19:36:32 +00:00
mrg 6ca0883022 build netbsd32, sunos32, svr4 and svr4_32 LKM's on sparc64. 2001-08-14 12:00:01 +00:00
jdolecek d3dad41a97 Add -DINET6 to CPPFLAGS, so that the check for pre-RFC2553 sockaddr_in6
is included.
Remove uipc_syscalls_43.c from (commented out) list, it's no longer needed.
2001-07-04 10:29:16 +00:00
jdolecek 74e9588fda Add linux_trap.c for i386 2001-06-19 18:18:42 +00:00
mrg b1708374d0 build svr4 & svr4_32 on sparc64. 2001-06-06 21:38:49 +00:00
mrg c272b4d4a8 build an svr4_32 LKM. create common framework for svr4 & svr4_32 2001-06-06 21:38:01 +00:00
mrg 8b1f9462dc make this build. 2001-06-06 21:34:23 +00:00
mrg 1833b2e5e6 define COMPAT_10 and COMPAT_13, add netbsd32_kern_sig.c and netbsd32_uvm_unix.c,
and on sparc64, add netbsd32_machdep.c netbsd32_sigcode.s.
2001-06-06 21:33:24 +00:00
mrg b95ce67182 add sunos32_machdep.c sunos_sigcode.s for MACHINE=sparc64 2001-06-06 21:31:49 +00:00
mrg e598a3319c this is sunos32 not sunos 2001-06-05 12:44:23 +00:00
jdolecek 09afb2735c Add recently added linux_time.c to list 2001-06-01 23:02:55 +00:00
tsutsui 46023e3c2d Remove aoutm68k_misc.c from SRCS since it is only needed
if COMPAT_AOUT_ALTPATH is specified.

XXX: How should we handle options like this on LKMs?
2001-04-09 16:03:22 +00:00
tsutsui a13921cd57 Remove -DVM86 from CPPFLAGS. 2001-03-21 14:38:16 +00:00
mrg 82f3d730e3 catch up with netbsd32_netbsd.c split. 2001-02-17 12:00:37 +00:00
tsutsui 623fcffffe Ultrix LKM would not be useful on mipseb so don't build it.
Suggested by soren and simonb.
2001-02-08 12:58:12 +00:00
tsutsui b43eeac561 mips[bl]e -> mipse[bl]
XXX: Is it worth to build ultrix module on mipseb?
2001-02-07 13:54:13 +00:00
mrg 76d74bdd76 sparc64: build sunos32 (not sunos). don't build svr4, but comment to build svr4_32. 2001-02-07 13:34:17 +00:00
mrg 0dbcb1789b build a sunos32 compat module. 2001-02-07 13:32:57 +00:00
mrg dfa5ed17a0 s/-DVM86 // 2001-02-07 13:32:15 +00:00
christos 1e3e288bb5 protect against multiple inclusion. 2001-01-14 06:29:27 +00:00
fvdl 8c4bd70cda Add linux_blkio.c 2001-01-10 02:29:29 +00:00
jdolecek ca8ea62791 add freebsd_syscall.c 2000-12-18 20:50:09 +00:00
jdolecek 5803fc683f add emul_find() goo, so that this doesn't depend on emul_find() being already
present in kernel
add (commented out) COMPAT_43, COMPAT_12, COMPAT_09 stuff needed for this
LKM to load
2000-12-17 16:20:23 +00:00
jdolecek aca80bc6f2 use LKM name "compat_FOO", which matches name of the resulting LKM .o file 2000-12-17 16:00:37 +00:00
mycroft 84e07a956d Add osf1_syscall.c. 2000-12-14 18:42:07 +00:00
mycroft c071846a91 Add linux_syscall.c for alpha. 2000-12-14 18:40:14 +00:00
enami 53c37af153 Cosmetic changes. 2000-12-13 11:18:37 +00:00
enami 36e5e860b4 Fix typo so that this file compiles again. 2000-12-13 11:10:36 +00:00
jdolecek ce61cff723 add linux_file64.c for i386 2000-12-12 22:40:23 +00:00
jdolecek c354ba3632 m68k:
* do not include linux_oldolduname.c, linux_olduname.c
 * remove duplicate linux_ipccall.c
 * add new linux_file64.c (64bit *stat)
2000-12-12 19:06:53 +00:00
jdolecek 4afddd598b don't include linux_olduname.c on m68k 2000-12-12 17:56:21 +00:00
fvdl eb1e790ed3 Add linux_fdio.c and linux_hdio.c 2000-12-10 14:15:04 +00:00
jdolecek 5092a332a5 add svr4_syscall.c for i386 2000-12-09 11:21:41 +00:00
jdolecek ea3b73ae69 slight comment fix 2000-12-08 20:20:23 +00:00
jdolecek e6c64e055f add build glue for supported emulations
since only linux compat on i386 is installed, only that LKM is actually
installed (LKMs are build for all platforms as appropriate though)
further changes to compat code would need to happen to make this usable
also for other plaforms or emulations
2000-12-08 20:15:11 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
thorpej 3ef999a19b Make sure all LKMs get built with -DUVM and -DPMAP_NEW if so configured
in mk.conf.
1998-03-28 23:58:44 +00:00
lukem f984b5a5dc use CPPFLAGS instead of CFLAGS 1997-10-26 21:50:53 +00:00
jtc 9784de474e copyright assigned to TNF 1997-05-19 22:11:12 +00:00
scottr 7387b50dc5 _All_ compat LKMs are broken. Pointed out by mrg. 1997-02-18 15:31:51 +00:00
scottr 3a2dd27260 The compat_sunos LKM is currently broken. Do not build it. 1997-02-18 06:08:50 +00:00
explorer 239580d5d0 Clean up changes to make sys/lkm build again 1996-10-22 19:43:13 +00:00
explorer 03d7e64aaa Make this compile again for i386 1996-10-22 19:32:06 +00:00
explorer 6b59a239ae Change MACHINE to MACHINE_ARCH, to properly find the machine-dependant sunos
files; closes pr port-m68k/2881 from David Carrel
1996-10-22 19:09:50 +00:00
cgd 5094e48557 don't include <machine/exec.h> here. Even if it's necessary,
it's already included by <sys/exec.h>.
1996-10-07 19:55:07 +00:00
mrg f4bfba2364 add compat svr4 and sunos modules. the sunos module will not work
very well due to places in the kernel using COMPAT_SUNOS (this may
also be true for svr4).
1996-08-28 06:17:23 +00:00
explorer 97227d64b3 find ../sys relative to src dir, not obj dir 1996-08-27 23:42:01 +00:00
mrg 3b78ac59ad Update these to build in a consistant manner, and not assume /sys, etc.
Should work with obj dirs but not heavily tested.
1996-08-23 05:38:53 +00:00