Commit Graph

198 Commits

Author SHA1 Message Date
kent d469e9cf08 Use compat_util with overriding. 2002-03-29 17:09:30 +00:00
kent 2260d0eb5d Copy syscall entries for SYSVSHM to syncronize kernel option. 2002-03-27 20:54:29 +00:00
kent 9392b84ff9 Introduce a new LKM `compat_pecoff'
Add it to SUBDIR.

To enable PECOFF, do the following:
	# modload /usr/lkm/compat_pecoff.o
	*then*
	# modload /usr/lkm/exec_pecoff.o
2002-03-25 06:52:41 +00:00
kent 79decd163e Move 'pecoff' to installable SUBDIR 2002-03-24 15:01:57 +00:00
oki e60e94456a emul_netbsd is no longer used in exec_pecoff. 2002-03-18 08:16:08 +00:00
martti 83b3487b70 Upgraded IPFilter to 3.4.25 2002-03-14 12:32:36 +00:00
oki 7160cfdbde PE/COFF exec LKM, currently for i386 platform. 2002-03-12 07:47:35 +00:00
fvdl 99d2b6e3ef Add linux_sysctl.c 2002-02-23 16:46:03 +00:00
is 372cac3316 The linux lkm doesn't compile anymore on m68k 2002-02-16 11:02:37 +00:00
mrg 993c6eb6ac need core_elf32.c as well, now. 2002-02-10 16:25:49 +00:00
mrg 42aa4bc31d use MACHINE_ARCH for sparc & sparc64. 2002-02-10 16:25:35 +00:00
mrg 13ba5ca255 the exec LKMs work on sparc64. 2002-02-10 15:46:28 +00:00
mrg d3fc678205 look in sys/arch/${MACHINE}/${MACHINE} as well as ${MACHINE_ARCH} 2002-02-10 15:43:41 +00:00
mrg 1b9f6c7a2e build svr4_sigcode.s on sparc 2002-02-10 15:42:57 +00:00
mrg cf5b2d8368 build sunos_machdep.c and sunos_sigcode.s on sparc & sparc64 2002-02-10 15:41:58 +00:00
mrg 34b423fa60 don't build compat_aout LKM; hasn't been tested. 2002-02-10 15:40:32 +00:00
fredb c26310d581 whitespace cleanup 2002-02-05 15:28:03 +00:00
fredb 31543d3f23 Add an explicit transformation for iwm.s -> iwm.o, patterned after the
kernel's ${NORMAL_S}. In particular, we need the ${CPPFLAGS} from
<bsd.kmod.mk> to support non-self-hosted builds. (Changing iwm.s to iwm.S
would also work.)
2002-02-05 15:26:52 +00:00
martti a54225fdf9 Added missing -DIPFILTER_LKM 2002-01-24 13:50:32 +00:00
martti b9920d0f43 Upgraded IPFilter to 3.4.23 2002-01-24 08:21:30 +00:00
thorpej 14164755e0 Switch ELF emulations to ELF core files. 2002-01-04 06:50:59 +00:00
thorpej 3d25834fb6 Fix a typo. 2001-12-14 20:51:01 +00:00
lukem c10ff7575c YANOMAN= 2001-12-13 01:26:39 +00:00
lukem b574ee0f82 define NOMAN= once, at the real top level of lkm 2001-12-12 12:06:45 +00:00
lukem 19d9b95273 define NOMAN= once, at the top level 2001-12-12 11:56:05 +00:00
lukem 00255d260d define NOMAN= once, at the top level 2001-12-12 11:44:43 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
jdolecek 4fbc1b008e one more - it would be nice to have LKMs actually working on PowerPC platforms 2001-12-12 00:05:30 +00:00
thorpej b5ea4050f9 Update for core dump changes. 2001-12-10 19:18:49 +00:00
gmcgarry 6f71c27e26 MACHINE_ARCH -> MACHINE_CPU 2001-12-10 07:27:52 +00:00
gmcgarry 47e4542449 Pull in <bsd.own.mk> early so we can use MACHINE_CPU. Use
MACHINE_CPU instead of MACHINE_ARCH.
2001-12-10 07:26:47 +00:00
thorpej 165f442f86 Update for "coredumps now exec-format/emulation specific". 2001-12-08 00:37:07 +00:00
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