Commit Graph

166 Commits

Author SHA1 Message Date
jdolecek
fd7c36bef3 need compat_exec.c for some old a.out formats 2001-11-26 20:38:15 +00:00
lukem
f5e6ca8797 add RCSIDs 2001-11-12 23:22:57 +00:00
jdolecek
d1842b740a Restructure to the lkm/compat/Makefile way - the tested & installed
modules are on top, rest is added .if !make(install). This will avoid
such silly mistakes as rev. 1.7/1.8.
2001-11-01 19:32:53 +00:00
tron
7a726f828b Fix botch in last commit which caused some of the "exec" LKMs not to be
built.
2001-11-01 13:41:42 +00:00
jdolecek
d58125dd1f kill one more duplicate 2001-10-31 21:15:43 +00:00
jdolecek
f15ae836f3 kill duplicates 2001-10-31 21:13:23 +00:00
jdolecek
76dc75c365 svr4 compat LKMs work on i386 2001-10-31 18:30:18 +00:00
jdolecek
2b5db1a8bb add the compat_util.c goo
XXX should prolly share this with lkm/compat, which has the same thing
2001-10-31 18:28:50 +00:00
jdolecek
060f8eead1 Add the COMPAT_UTIL_OVERRIDE stuff, and (commented out) COMPAT_43 stuff 2001-10-31 18:27:31 +00:00
jdolecek
af8a31dd42 For i386, set gate for fasttraps appropriately when loaded (and
unset on unload), similarily to what i386/machdep.c does #ifdef
COMPAT_SVR4. This makes the svr4 LKM actually work on i386.
XXX kind of ugly, but doing this more generic way would be overkill
2001-10-31 18:25:53 +00:00
jdolecek
36b128126e change obsolete comment
both freebsd_aout and freebsd_elf were confirmed to work, install them
2001-10-27 12:11:17 +00:00
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
mrg
711d4aecaa enable aout lkm on sparc & i386 2001-10-10 12:48:49 +00:00
mrg
41d514fe9a framework to build an EXEC_AOUT module. tested on sparc64. 2001-10-10 12:10:10 +00:00
jdolecek
501d75ad7f g/c obsolete comment 2001-09-18 20:18:20 +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
chuck
b8a7c35e58 vax1k_subr.c is gone 2001-09-08 13:19:50 +00:00
mrg
6ca0883022 build netbsd32, sunos32, svr4 and svr4_32 LKM's on sparc64. 2001-08-14 12:00:01 +00:00
lukem
e2f9740f5b add arch/${MACHINE_CPU}/${MACHINE_CPU} for the arm ports 2001-08-05 13:41:50 +00:00
assar
bec71dc090 change vop_symlink and vop_mknod to return vpp (the created node)
refed, so that the caller can actually use it.  update callers and
file systems that implement these vnode operations
2001-07-24 15:39:30 +00:00
mrg
5beff52e9c port this to sparc64. 2001-07-18 16:53:34 +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
8c3d780729 build exec_elf.o LKM. 2001-06-06 21:21:30 +00:00
mrg
9a5a253ef5 an EXEC_ELF32 module, for sparc64. 2001-06-06 20:45:59 +00:00
mrg
390ea77cb0 build svr4_32_elf exec module. 2001-06-05 14:49:00 +00:00
mrg
ba3f355900 svr4_32_elf 2001-06-05 14:48:59 +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
lukem
6cb5e77db5 remove use of gcc syntax for designated initialisers when initialising
unions `union_elem: ...', and use c99 syntax `.union_elem = ...' only
where necessary.
in this case, there's no need to tag elf_probe_func because that's the
first union element, and therefore, the implicit case. only specifically
mention ecoff_probe_func where necessary.

if we decide to not use this c99 feature for now, at least there's now
less stuff to rip out.
2001-05-15 02:00:12 +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
tron
7099caed23 Make this LKM work again by building "ntfs_conv.c". 2001-02-16 10:07:02 +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
499a68815c also build sunos32_aout on sparc64 2001-02-07 13:36:04 +00:00
mrg
f50604bf29 build a sunos32 a.out exec module. 2001-02-07 13:35:39 +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
chs
09cb38f22b expose the definitions of MIN() and MAX() in sys/param.h to the kernel
and use those in favor of a dozen copies scattered around the source tree.
2001-02-05 10:42:40 +00:00
tron
5e89f0c397 Make the "procfs" LKM work again by including "procfs_map.c" in the
build.
2001-02-03 09:19:45 +00:00
jdolecek
8881c0b414 build and install filecorefs LKM same way as other VFS LKMs 2001-01-27 23:48:32 +00:00