FreeBSD src
Go to file
Benno Rice 8b8aa9c1e6 To quote Peter:
The case in cpu_switch() where there isn't a higher priority thread
(choosethread() == curthread) uses r4 as the PCB context pointer. However, the
use of r4 after the label L2 is incorrect, since it was probably trashed by
the call to choosethread, and in any case was set up to curthread at the start
of the routine.

This condition will occur when an interrupt thread schedules a netisr, which
is a lower priority thread.

Another (probably unnecessary) difference is that I was paranoid about
register trashing, so I decided to save r2 and r13 as well.

Submitted by:	Peter Grehan <peterg@ptree32.com.au>
2002-06-29 09:39:44 +00:00
bin Avoid truncating the pathname to UNIX Domain Sockets with snprintf(), 2002-06-29 04:52:33 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r99005, 2002-06-29 01:43:09 +00:00
crypto Forcibly revert to mainline. 2002-06-27 22:42:11 +00:00
etc Include 'sshd' to the lists of forbidden users. 2002-06-28 15:46:29 +00:00
games Use varargs for syserr(). 2002-06-23 18:30:29 +00:00
gnu Turn back on GDB. 2002-06-29 03:19:35 +00:00
include The thread-safe time functions appear to have been introduced as of 2002-06-27 20:18:45 +00:00
kerberos5 Make this -j safe. 2002-05-14 15:27:13 +00:00
kerberosIV This code is no longer WARNS level 2 OK. 2002-05-15 06:32:29 +00:00
lib To avoid anybody else getting caught out, these two files are really 2002-06-29 09:21:14 +00:00
libexec Remove a GCC-specific command-line option. We should be using WARNS=n 2002-06-28 10:36:14 +00:00
release Use full URL path in references to the Handbook. 2002-06-28 04:53:44 +00:00
sbin The new ipfw code. 2002-06-27 23:02:18 +00:00
secure No guts, no glory. Switch to OpenSSH-portable. 2002-06-25 19:10:09 +00:00
share Include 'sshd' to the lists of forbidden users. 2002-06-28 15:46:29 +00:00
sys To quote Peter: 2002-06-29 09:39:44 +00:00
tools The wrong y/// output got spammed into this file; from green@ indirectly. 2002-06-27 16:07:51 +00:00
usr.bin Avoid truncating filenames with snprintf(). 2002-06-29 05:31:26 +00:00
usr.sbin Don't use SignalBundle if it's not set 2002-06-28 09:33:25 +00:00
COPYRIGHT
MAINTAINERS Add a module for src/tools/regression (`regression'). 2002-06-28 21:13:06 +00:00
Makefile correct syntax in last commit 2002-06-24 20:13:09 +00:00
Makefile.inc1 Make NO_OPENSSL actually imply NO_OPENSSH, as documented in make.conf(5). 2002-06-21 08:54:03 +00:00
Makefile.upgrade
README
UPDATING Slightly modify the UPDATING text to indicate that -gstabs+ is a gcc 2002-06-05 20:21:40 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.FreeBSD.org/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

kerberosIV	KerberosIV (eBones) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.FreeBSD.org/handbook/synching.html