Find a file
John Baldwin 9e438eb4f5 Add a new field 'md_kernnest' to the alpha machine dependent process
structure.  This field keeps track of how many levels deep we are nested
into the kernel.  The nesting level is bumped at the start of a trap,
interrupt, syscall, or exception and is decremented on return.  This is
used to detect the case when the kernel is returning back to a kernel
context in exception_return().  If we are returning to the kernel we need
to update the globaldata pointer register saved in the stack frame in case
we have switched CPU's between taking the initial interrupt that saved the
frame and returning.  If we don't do this fixup it is possible for a CPU to
use the wrong per-cpu data.  On UP systems this is not a problem, so the
code is conditional on SMP.

A count was used instead of simply checking the process status register in
the frame during exception_return() since there are critical sections at
the very start and end of a trap, exception, or interrupt from userland in
which we could trash the t7 register being used in userland.  The counter
is incremented after adn before these critical sections respectively so
that we will not overwrite the saved t7 register if we are interrupted
during one of these critical sections.
2001-04-24 21:06:53 +00:00
bin mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
contrib Move manpages to their original location (cvs copy to doc) 2001-04-21 22:02:18 +00:00
crypto Toss into attic stuff we don't use. 2001-04-14 09:48:26 +00:00
etc Add isdn_ttype (moved to rc.conf from rc.isdn) 2001-04-24 20:02:31 +00:00
games %DCL-I-FORMATRIGHT, Format VMS error messages pedantically correct. 2001-04-23 06:08:30 +00:00
gnu If the world was built using either -DNOCLEAN or -DNOCLEANDIR, it was 2001-04-23 13:27:35 +00:00
include Move sranddev() to !ANSI_SOURCE !POSIX_SOURCE section 2001-04-23 09:32:06 +00:00
kerberos5 Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness. 2001-03-28 12:08:22 +00:00
kerberosIV beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
lib Remove bogus assignments of libc syscall stub return values to errno; 2001-04-24 20:50:42 +00:00
libexec Replace a strcat() with a strlcat(). Partial sync with OpenBSD; more 2001-04-24 10:33:46 +00:00
release MF4S: Syncronise with Luigi's work in -stable. 2001-04-24 07:46:35 +00:00
sbin Say "add -r" rather than 'use -r' since the former is more correct. 2001-04-24 17:40:54 +00:00
secure Reactivate SRA. 2001-04-05 14:09:15 +00:00
share Document all isdn_* variables in rc.conf(5) - 6 more knobs to frob! 2001-04-24 20:00:58 +00:00
sys Add a new field 'md_kernnest' to the alpha machine dependent process 2001-04-24 21:06:53 +00:00
tools Update this to reflect changes in config(8) usage. 2001-04-23 17:31:16 +00:00
usr.bin Wrap lint calling in a variable. 2001-04-24 20:23:37 +00:00
usr.sbin Don't build pkg_sign tools if crypto is not installed, or is not 2001-04-24 08:59:40 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Make it possible to build manpages for the entire source tree. 2001-03-27 08:43:28 +00:00
Makefile.inc1 Add usr.bin/xlint to build-tools. 2001-04-24 20:19:29 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Add warning, and resolution, of the fsck and kernel problem 2001-04-24 04:49:21 +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 have to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/i386/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.

kerberosIV	Kerberos 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