freebsd kernel with SKQ
Go to file
marcel 6ac44cbe2b Refactor the CRC-32 code to enhance its usability. Move the actual
CRC logic to a new function: crc32_raw() that obtains the initial
CRC value as well as leaves any post-processing to the caller. As
such, it can be used when the initial CRC value is not ~0U or when
the final CRC value does need to be inverted (bitwise). It also
means that crc32_raw() can be called repeatedly when the data is
not available as a single block, such as for scatter/gather lists
and the likes.

Avoid the additional call overhead incured by the refactoring by
moving the implementation off crc32() to sys/systm.h and making it
inlinable. Since crc32_raw() is itself trivial and since it may
be used in loops that iterate over fragments, having it available
for inlining can be beneficial. Hence, move its implementation
to sys/systm.h as well.

Keep the original implementation of crc32() in libkern/crc32.c for
documentation purposes (as a comment of course).

Triggered by: Jose M Rodriguez (josemi at freebsd dot jazztel dot es)
Discussed on: current@
Tested on: amd64, ia64 (BVO having GPT partitions)
Jargon file candidate: BVO = By Virtue Of :-)
2005-04-27 22:26:45 +00:00
bin Add in FreeBSD specific options for tcsh 6.14. 2005-04-24 19:51:57 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r145557, 2005-04-26 16:43:22 +00:00
crypto File removed in update from OpenSSL 0.9.7d -> 0.9.7e. 2005-02-25 06:22:30 +00:00
etc Add -h to the ln command to make the -f flag actually do something. 2005-04-24 01:51:22 +00:00
games s/which/witch 2005-04-24 15:31:11 +00:00
gnu Enforce style.Makefile(5). 2005-04-22 18:57:32 +00:00
include hide implementation specific internal functions from netdb.h. 2005-04-27 19:12:57 +00:00
kerberos5 Cope with the (unwise?) incompatible changes with make by adding 2005-04-18 22:03:21 +00:00
lib hide implementation specific internal functions from netdb.h. 2005-04-27 19:12:57 +00:00
libexec Fix compilation problem. 2005-04-27 13:17:23 +00:00
release New release note: SA-05:05.cvs. 2005-04-25 15:32:58 +00:00
rescue Run "make obj" before "make build-tools" in the directories used for 2005-03-18 12:55:07 +00:00
sbin Fix a the previous commit. I wanted to remove the if and always run the 2005-04-26 20:22:31 +00:00
secure Update OpenSSL 0.9.7d -> 0.9.7e. 2005-02-25 06:04:12 +00:00
share Disable the IPFILTER bits until they compile again. This can be overriden 2005-04-27 14:13:55 +00:00
sys Refactor the CRC-32 code to enhance its usability. Move the actual 2005-04-27 22:26:45 +00:00
tools Adjust code to be more reliable. 2005-04-24 00:17:30 +00:00
usr.bin bsdtar now uses the "tree" package instead of "fts" for walking 2005-04-24 05:53:37 +00:00
usr.sbin Enable tcp-wrapper support in the SNMP daemon. 2005-04-26 16:49:15 +00:00
COPYRIGHT Complete 2005 transition. 2005-01-01 07:29:20 +00:00
MAINTAINERS Add myself as a maintainer of geom_shsec. 2005-03-13 15:30:01 +00:00
Makefile Repo-copy tools/regression/usr.bin/make to tools/build/make_check 2005-03-02 12:33:23 +00:00
Makefile.inc1 Merge from RELENG_5: invert WITH_LIB32 into NO_LIB32 so that we build the 2005-04-06 01:55:43 +00:00
README
UPDATING Note that NO_MIXED_MODE is gone. 2005-04-18 14:33:18 +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/doc/en_US.ISO8859-1/books/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.

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/doc/en_US.ISO8859-1/books/handbook/synching.html