This website requires JavaScript.
Explore
Help
Sign In
d
/
freebsd-dev
Watch
1
Star
0
Fork
0
You've already forked freebsd-dev
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
54020d8a7b
freebsd-dev
/
sys
/
modules
/
linux
/
linux.sh
4 lines
79 B
Bash
Raw
Normal View
History
Unescape
Escape
First incarnation of our Linux emulator or rather compatibility code. This first shot only incorporaties so much functionality that DOOM can run (the X version), signal handling is VERY weak, so is many other things. But it meets my milestone number one (you guessed it - running DOOM). Uses /compat/linux as prefix for loading shared libs, so it won't conflict with our own libs. Kernel must be compiled with "options COMPAT_LINUX" for this to work.
1995-06-25 17:32:43 +00:00
#!/bin/sh
Revert $FreeBSD$ back to $Id$
1997-02-22 12:49:29 +00:00
# $Id$
Do a pass over the broken LKM's and update them to use the "new" convention of having their entry point named "<modname>_mod"". Symorder is enforcing this when the current bsd.kmod.mk is installed. I've not tested all these, but at least they all compile now. Reattach them to the makefile. Note that the change that I made to symorder needs to be compiled and installed before any LKM's will work - the last version was corrupting the relocation tables. A "make world" will to this, but if you manually run a make on the lkm's you'll need to take care of it by hand.
1995-10-28 12:35:14 +00:00
modload -e linux_mod -u -q -o /tmp/linux_mod /lkm/linux_mod.o
Reference in New Issue
Copy Permalink