freebsd with flexible iflib nic queues
Go to file
Bruce Evans ff4ad0c4d8 Quick fix for msdsofs_write() on alphas and other machines with either
longs larger than 32 bits or strict alignment requirements.

pm_fatmask had type u_long, but it must have a type that has precisely
32 bits and this type must be no smaller than int, so that ~pmp->pm_fatmask
has no bits above the 31st set.  Otherwise, comparisons between (cn
| ~pmp->pm_fatmask) and magic 32-bit "cluster" numbers always fail.
The correct fix is to use the C99 type uint_least32_t and mask with
0xffffffff.  The quick fix is to use u_int32_t and assume that ints
have

msdosfs metadata is riddled with unaligned fields, and on alphas,
unaligned_fixup() apparently has problems fixing up the unaligned
accesses caused by this.  The quick fix is to not comment out the
NetBSD code that sort of handles this, and define UNALIGNED_ACCESS on
i386's so that the code doesn't change on i386's.  The correct fix
would define UNALIGNED_ACCESS in a central machine-dependent header
and maybe add some extra cases to unaligned_fixup().  UNALIGNED_ACCESS
is also tested in isofs.

Submitted by:	parts by Mark Abene <phiber@radicalmedia.com>
PR:		19086
2000-08-25 09:03:58 +00:00
bin Fix style bugs and poor wording introduced in rev 1.12. 2000-08-17 16:09:27 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r65016, 2000-08-23 09:25:05 +00:00
crypto Increase the default value of LoginGraceTime from 60 seconds to 120 2000-08-23 09:47:25 +00:00
etc Sync with main 2000-08-25 08:56:28 +00:00
games Add another Bill Paul quote. 2000-08-07 20:49:08 +00:00
gnu Fixes and cleanups to the perl build; don't error out when NOCLEAN is 2000-08-20 10:03:26 +00:00
include Add working and easy crypt(3)-switching. Yes, we need a whole new API 2000-08-22 02:15:54 +00:00
kerberos5 Unbreak heimdal build: we can no longer #include <netinet6/in6.h> 2000-07-06 10:09:59 +00:00
kerberosIV Remove the last vestiges of libRSAglue now that it's an empty stub. 2000-03-11 22:34:10 +00:00
lib Still have to support libscrypt for now :( Add #defines to take DES 2000-08-24 17:51:16 +00:00
libexec Don't set an arbitrary limit on username lengths; use MAXLOGNAME 2000-08-17 12:31:17 +00:00
release Various cleanups all around. Document serial/graphics console 2000-08-23 19:27:07 +00:00
sbin - When adjusting the end of a partition to lie on a cylinder boundary, don't 2000-08-24 17:54:45 +00:00
secure Make the temporary file _evp.h instead of evp.h to not conflict with 2000-08-24 19:06:55 +00:00
share cons25r: minimize differences with cons25 2000-08-25 08:36:43 +00:00
sys Quick fix for msdsofs_write() on alphas and other machines with either 2000-08-25 09:03:58 +00:00
tools Make this work with current makefiles again. 2000-08-21 14:42:48 +00:00
usr.bin Add a missing comma. 2000-08-25 08:29:28 +00:00
usr.sbin Add orthogonal part of ACPI support code. 2000-08-24 09:33:30 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Mention the buildkernel/installkernel targets in the documentation. 2000-07-31 09:26:59 +00:00
Makefile.inc1 Define SUPHOST. If this is set a '-h ${SUPHOST}' is added to the 2000-08-13 12:36:40 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README secure/ may be exported now. 2000-08-13 14:34:35 +00:00
UPDATING New suidperl instructions. 2000-08-13 02:19:13 +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		DES and DES-related utilities

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