FreeBSD src
Go to file
Jake Burkholder fce2287796 Add support for bounce buffers to _bus_dmamap_load_buffer, which is the
backend for bus_dmamap_load_mbuf and bus_dmamap_load_uio.

- Increaes MAX_BPAGES to 512.  Less than this causes fxp to quickly runs out
  of bounce pages.
- Add an argument to reserve_bounce_pages indicating wether this operation
  should fail or be queued for later processing if we run out of memory.
  The EINPROGRESS return value is not handled properly by consumers of
  bus_dmamap_load_mbuf.
- If bounce buffers are required allocate minimum 1 bounce page at map
  creation time.  If maxsize was small previously this could get truncated
  to 0 and the drivers would quickly run out of bounce pages.
- Fix a bug handling the return value of alloc_bounce_pages at map creation
  time.  It returns the number of pages allocated, not 0 on success.
- Use bus_addr_t for physical addresses to avoid truncation.
- Assert that the map is non-null and not the no bounce map in
  add_bounce_pages.

Sponsored by:	DARPA, Network Associates Laboratories
2003-04-07 16:08:32 +00:00
bin Use the correct data type and qualifier for signal flag. 2003-04-07 12:09:17 +00:00
contrib Add missing prototype for gdtoa(). 2003-04-05 22:09:26 +00:00
crypto - when using a child process instead of a thread, change the child's 2003-03-31 13:48:18 +00:00
etc Stop logging ``authpriv'' messages to the world-readable file 2003-04-03 18:37:49 +00:00
games Add an option to print the time in 12-hour format. 2003-03-28 16:37:45 +00:00
gnu Migrate to a new way of dealing with building from old revisions of 2003-04-05 20:30:30 +00:00
include - Add setfstab() and getfstab(). 2003-04-07 12:55:00 +00:00
kerberos5 Migrate to a new way of dealing with building from old revisions of 2003-04-05 20:30:30 +00:00
lib Clarify the behavior of PATH_FSTAB with regard to 'tainted' execution. 2003-04-07 14:21:14 +00:00
libexec MFp4 @27667: WARNS=5 cleanup on i386. 2003-04-03 05:13:27 +00:00
release Add a note about MAKEDEV / devfs. 2003-04-07 11:20:24 +00:00
sbin Clarify the behavior of PATH_FSTAB with regard to 'tainted' execution. 2003-04-07 14:21:14 +00:00
secure libtelnet depends on OpenSSL. 2003-04-01 12:50:40 +00:00
share Note that kern.securelevel must be set to '-1' to build a release 2003-04-07 11:40:25 +00:00
sys Add support for bounce buffers to _bus_dmamap_load_buffer, which is the 2003-04-07 16:08:32 +00:00
tools Additional regression tests for grouping, parsing of '.*', and printing 2003-04-07 00:42:49 +00:00
usr.bin make prototpyes match functions, and declare things static as needed 2003-04-06 08:30:25 +00:00
usr.sbin RFC1548, section 5.8: 2003-04-07 13:34:00 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
MAINTAINERS Nuke xargs, I haven't had to help anyone with it, so I assume it stands on 2003-02-18 00:07:06 +00:00
Makefile Kill upgrade target docs. It too is stale. 2003-04-03 05:34:36 +00:00
Makefile.inc1 Put back the undocumented change from rev. 1.334 too: no 2003-04-07 00:01:33 +00:00
README KerberosIV de-orbit burn continues. Disconnect from "make world". 2003-03-08 10:01:26 +00:00
UPDATING Mention that 20021024 entry doesn't affect disks formatted in 2003-03-31 12:46: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