freebsd kernel with SKQ
Go to file
ian 650a9addf1 MFC r293053, r293061, r293063, r293064, r293065, r293775, r293792:
Use 64-bit math when finding a block of ram to hold the kernel.  This fixes
  a problem on 32-bit systems which have ram occupying the end of the physical
  address space -- for example, a block of ram at 0x80000000 with a size of
  0x80000000 was overflowing 32 bit math and ending up with a calculated size
  of zero.

  Use 64-bit math when processing the lists of physical and excluded memory
  to generate the phys_avail and dump_avail arrays.

  Work around problems that happen when there is ram at the end of the
  physical address space.

  Cast pointer through uintptr_t on the way to uint64_t to squelch a warning.

  Reword the comment to better describe what I found while researching the
  problem that led to this temporary workaround (and also so I can properly
  cite the PR in the commit this time).

  Cast using uintfptr_t and eliminate the cast to uint64_t which is uneeded
  because rounding down cannot increase the number of bits needed to express
  the result.

  Go back to using uintptr_t, because code that actually compiles is
  infinitely less buggy than code that is theoretically correct in some
  alternate universe.

PR:           201614
2016-01-24 22:00:36 +00:00
bin MFC r289677: 2016-01-07 00:40:51 +00:00
cddl MFC nv(3) and part of nv(9) to stable/10 2015-12-31 03:28:14 +00:00
contrib MFC r294554: MFV r294491: ntp 4.2.8p6. 2016-01-22 15:55:21 +00:00
crypto MFH (r263234, r263691, r266465, r290671, r290672, r290673, r290674, 2016-01-24 15:44:57 +00:00
etc MFC r292752: 2016-01-24 19:41:31 +00:00
games MFC r283929: Correct grdc(1) 12-hour display between 12:00 and 13:00 2015-09-24 19:37:34 +00:00
gnu Update stable/10 from 10.2-STABLE to 10.3-PRERELEASE, 2016-01-15 00:05:58 +00:00
include MFC r293491: 2016-01-13 01:32:04 +00:00
kerberos5 MFC r284289,r288267: 2015-12-04 18:59:20 +00:00
lib MFC r293858 2016-01-23 20:49:52 +00:00
libexec MFC r292705: rtld: remove old XXX comment missed in r35529 2016-01-07 14:52:32 +00:00
release Document SA-16:07 2016-01-15 05:48:28 +00:00
rescue MFC: xz 5.2.2. 2015-12-22 08:03:23 +00:00
sbin MFC r292573 2016-01-18 16:41:26 +00:00
secure MFC r291941: 2016-01-07 23:26:16 +00:00
share MFC 286974,291653: 2016-01-23 01:02:28 +00:00
sys MFC r293053, r293061, r293063, r293064, r293065, r293775, r293792: 2016-01-24 22:00:36 +00:00
tests MFC r270228: 2016-01-06 20:50:23 +00:00
tools MFC r293073: 2016-01-24 06:19:49 +00:00
usr.bin MFC r289453: 2016-01-23 15:48:14 +00:00
usr.sbin MFC r293860 2016-01-24 02:10:05 +00:00
.arcconfig MFC r265842,r266120,r266121,r266959,r267148,r269985,r281789,r282261,r285064: 2015-12-29 18:22:06 +00:00
.arclint MFC r265842,r266120,r266121,r266959,r267148,r269985,r281789,r282261,r285064: 2015-12-29 18:22:06 +00:00
COPYRIGHT MFC r292983: 2015-12-31 11:23:39 +00:00
LOCKS Explicitly require Security Officer's approval for kernel PRNG bits. 2013-09-17 14:19:05 +00:00
MAINTAINERS MFH (r263160): remove lukemftpd 2014-08-23 15:07:09 +00:00
Makefile MFC r293342: 2016-01-14 21:59:43 +00:00
Makefile.inc1 Make it possible to override NO_INSTALLEXTRAKERNELS. 2016-01-22 18:38:52 +00:00
ObsoleteFiles.inc MFC: xz 5.2.2. 2015-12-22 08:03:23 +00:00
README
UPDATING MFC r286368: Remove guards around overwriting loader.rc and menu.rc 2016-01-07 01:50:50 +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 ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

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.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

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.

rescue		Build system for statically linked /rescue utilities.

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