#
6386a7e0 |
| 30-Mar-1996 |
Peter Wemm <peter@FreeBSD.org> |
When doing a 'make depend', dont blow away the existing .depend until the generation of a new one is complete.
|
#
1d4bbd7d |
| 29-Mar-1996 |
Bruce Evans <bde@FreeBSD.org> |
Added necessary quotes (${CPP} might have spaces in it). Removed unnecessary quotes.
|
#
d66a5066 |
| 02-Mar-1996 |
Peter Wemm <peter@FreeBSD.org> |
Mega-commit for Linux emulator update.. This has been stress tested under netscape-2.0 for Linux running all the Java stuff. The scrollbars are now working, at least on my machine. (whew! :-)
I'm
Mega-commit for Linux emulator update.. This has been stress tested under netscape-2.0 for Linux running all the Java stuff. The scrollbars are now working, at least on my machine. (whew! :-)
I'm uncomfortable with the size of this commit, but it's too inter-dependant to easily seperate out.
The main changes:
COMPAT_LINUX is *GONE*. Most of the code has been moved out of the i386 machine dependent section into the linux emulator itself. The int 0x80 syscall code was almost identical to the lcall 7,0 code and a minor tweak allows them to both be used with the same C code. All kernels can now just modload the lkm and it'll DTRT without having to rebuild the kernel first. Like IBCS2, you can statically compile it in with "options LINUX".
A pile of new syscalls implemented, including getdents(), llseek(), readv(), writev(), msync(), personality(). The Linux-ELF libraries want to use some of these.
linux_select() now obeys Linux semantics, ie: returns the time remaining of the timeout value rather than leaving it the original value.
Quite a few bugs removed, including incorrect arguments being used in syscalls.. eg: mixups between passing the sigset as an int, vs passing it as a pointer and doing a copyin(), missing return values, unhandled cases, SIOC* ioctls, etc.
The build for the code has changed. i386/conf/files now knows how to build linux_genassym and generate linux_assym.h on the fly.
Supporting changes elsewhere in the kernel:
The user-mode signal trampoline has moved from the U area to immediately below the top of the stack (below PS_STRINGS). This allows the different binary emulations to have their own signal trampoline code (which gets rid of the hardwired syscall 103 (sigreturn on BSD, syslog on Linux)) and so that the emulator can provide the exact "struct sigcontext *" argument to the program's signal handlers.
The sigstack's "ss_flags" now uses SS_DISABLE and SS_ONSTACK flags, which have the same values as the re-used SA_DISABLE and SA_ONSTACK which are intended for sigaction only. This enables the support of a SA_RESETHAND flag to sigaction to implement the gross SYSV and Linux SA_ONESHOT signal semantics where the signal handler is reset when it's triggered.
makesyscalls.sh no longer appends the struct sysentvec on the end of the generated init_sysent.c code. It's a lot saner to have it in a seperate file rather than trying to update the structure inside the awk script. :-)
At exec time, the dozen bytes or so of signal trampoline code are copied to the top of the user's stack, rather than obtaining the trampoline code the old way by getting a clone of the parent's user area. This allows Linux and native binaries to freely exec each other without getting trampolines mixed up.
show more ...
|
#
0f7183ad |
| 08-Jan-1996 |
Peter Wemm <peter@FreeBSD.org> |
Also move /var/db/kvm_kernel.db to /var/db/kvm_kernel.old.db IF we change sysctl kern.bootfile - since libkvm expects it there.
|
#
3b3f55c7 |
| 07-Jan-1996 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Only change the sysctl variable if it presently points to /kernel.
|
#
b6794438 |
| 05-Jan-1996 |
Garrett Wollman <wollman@FreeBSD.org> |
Delete a couple of unnecessary dependencies on Makefile.
|
Revision tags: release/2.1.0_cvs |
|
#
62394a63 |
| 26-Dec-1995 |
Bruce Evans <bde@FreeBSD.org> |
Removed almost all traces of libkern.a. The objects that were in libkern.a are now specified by listing their source files in files.${MACHINE}. The list is machine-dependent to save space. All the
Removed almost all traces of libkern.a. The objects that were in libkern.a are now specified by listing their source files in files.${MACHINE}. The list is machine-dependent to save space. All the necessary object for each machine must be linked into the kernel in case an lkm wants one.
show more ...
|
#
a5db65d3 |
| 16-Dec-1995 |
Bruce Evans <bde@FreeBSD.org> |
Added `-Wstrict-prototypes -Wmissing-prototypes' to CWARNFLAGS so that prototypes don't go missing again. Also added -Winline so that some doubtful (non-)inlines get fixed.
bsd.kmod.mk: Also added
Added `-Wstrict-prototypes -Wmissing-prototypes' to CWARNFLAGS so that prototypes don't go missing again. Also added -Winline so that some doubtful (non-)inlines get fixed.
bsd.kmod.mk: Also added `-Wreturn-type -Wimplicit -Wnested-externs' to catch up with the kernel.
show more ...
|
#
82faa987 |
| 19-Nov-1995 |
David Greenman <dg@FreeBSD.org> |
i386 is defined by the compiler, so don't define it here. LOAD_ADDRESS is only used in the Makefile, so don't define it in CFLAGS.
|
#
30a4b938 |
| 01-Nov-1995 |
Peter Wemm <peter@FreeBSD.org> |
Add a DRIVER_S= definition that config wants to use for assembler source. This was copied from NORMAL_S..
|
#
026d3dc8 |
| 30-Oct-1995 |
Guido van Rooij <guido@FreeBSD.org> |
When moving kernel to kernel.old, also change kern.bootfile.to kernel.old. This is a solution for only the first install on a running system, but it's better than it is now.
|
#
c91d636e |
| 29-Oct-1995 |
David Greenman <dg@FreeBSD.org> |
Use the new config(8) %SFILES token to auto-generate the SFILES list.
Note: THIS REQUIRES THAT YOU REBUILD CONFIG(8)!!!
|
#
8c13738f |
| 16-Aug-1995 |
Bruce Evans <bde@FreeBSD.org> |
Make everything except the unsupported network sources compile cleanly with -Wnested-extern.
|
#
5542b158 |
| 23-Jul-1995 |
Bruce Evans <bde@FreeBSD.org> |
Fix clean rule to remove remove everything that isn't created by config except .depend and `version'.
|
Revision tags: release/2.0.5_cvs |
|
#
9b2e5354 |
| 30-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
#
1d86aba6 |
| 11-May-1995 |
Garrett Wollman <wollman@FreeBSD.org> |
Make `make links' work by leaving swapkernel.c off out of the links processing (it is never generic).
|
#
070e3ec1 |
| 05-Apr-1995 |
Nate Williams <nate@FreeBSD.org> |
Modify behavior of INCLUDES to never look in /usr/include unless we can't find the src/include directory.
Reviewed by: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> Submitted by: Mike Pritchard <p
Modify behavior of INCLUDES to never look in /usr/include unless we can't find the src/include directory.
Reviewed by: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> Submitted by: Mike Pritchard <pritc003@maroon.tc.umn.edu>
show more ...
|
#
146e7166 |
| 03-Apr-1995 |
Nate Williams <nate@FreeBSD.org> |
Added -I/usrinclude to the tail end of the INCLUDES line. This hack will cause kernel compiles to work even if the src/includes directory doesn't exist but still do the 'Right Thing' and pull files
Added -I/usrinclude to the tail end of the INCLUDES line. This hack will cause kernel compiles to work even if the src/includes directory doesn't exist but still do the 'Right Thing' and pull files from the source tree if it does exist.
Reviewed by: Bruce Evans
show more ...
|
#
ce7c8b00 |
| 28-Mar-1995 |
Bruce Evans <bde@FreeBSD.org> |
CVS:
Enable -Wimplicit again. bash: /src/z1: No such file or directory
|
#
8e4150e9 |
| 26-Mar-1995 |
Bruce Evans <bde@FreeBSD.org> |
Reviewed by: Submitted by: Obtained from:
Disable previous change. I missed a lot of implicit declarations.
|
#
feae7fb7 |
| 25-Mar-1995 |
Bruce Evans <bde@FreeBSD.org> |
Add -Wimplicit to ${CWARNFLAGS} so that implicitly declared functions don't come back. There are still a few for unsupported network protocols.
|
#
403ef252 |
| 04-Mar-1995 |
David Greenman <dg@FreeBSD.org> |
Removed obsolete vtrace() remnants.
|
#
0bf316f5 |
| 01-Mar-1995 |
Justin T. Gibbs <gibbs@FreeBSD.org> |
Fix "dependency" spelling error. Implement "clean" entries for device config entries. Add clean rules to aic7xxx and aic7xxx_seq.h.
Submitted by: Pointed out by Bruce Evans <bde@zeta.org.au>
|
#
c5489d90 |
| 26-Feb-1995 |
Bruce Evans <bde@FreeBSD.org> |
Use relative include path and -nostdinc avoid getting anything from /usr/include.
|
#
50bd4cab |
| 30-Jan-1995 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Pass '-m' to symorder. Kernels without INET will fail otherwise.
|