1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Poul-Henning Kamp 9b4a8ab7ba Now that all platforms use genclock, shuffle things around slightly
for better structure.

Much of this is related to <sys/clock.h>, which should really have
been called <sys/calendar.h>, but unless and until we need the name,
the repocopy can wait.

In general the kernel does not know about minutes, hours, days,
timezones, daylight savings time, leap-years and such.  All that
is theoretically a matter for userland only.

Parts of kernel code does however care: badly designed filesystems
store timestamps in local time and RTC chips almost universally
track time in a YY-MM-DD HH:MM:SS format, and sometimes in local
timezone instead of UTC.  For this we have <sys/clock.h>

<sys/time.h> on the other hand, deals with time_t, timeval, timespec
and so on.  These know only seconds and fractions thereof.

Move inittodr() and resettodr() prototypes to <sys/time.h>.
Retain the names as it is one of the few surviving PDP/VAX references.

Move startrtclock() to <machine/clock.h> on relevant platforms, it
is a MD call between machdep.c/clock.c.  Remove references to it
elsewhere.

Remove a lot of unnecessary <sys/clock.h> includes.

Move the machdep.disable_rtc_set sysctl to subr_rtc.c where it belongs.
XXX: should be kern.disable_rtc_set really, it's not MD.
2008-04-22 19:38:30 +00:00
bin Turn a tab into a space. This fixes a misalignment for ls -l. 2008-04-05 21:26:25 +00:00
cddl Add FreeBSD IDs to files that originate in FreeBSD. 2008-04-22 07:43:00 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r178388, 2008-04-21 20:40:42 +00:00
crypto Fix the Xlist so it actually works with 'tar -X', and update the upgrade 2008-02-06 23:14:24 +00:00
etc Make it possible to disable sources of entropy harvesting. 2008-04-22 15:18:47 +00:00
games Put back the quote from Chinggis Khan removed in rev. 1.259. 2008-04-03 10:22:56 +00:00
gnu Add support for the 32-bit EFI target. 2008-04-17 23:36:35 +00:00
include Next stage of stdio cleanup: Retire __sFILEX and merge the fields back into 2008-04-17 22:17:54 +00:00
kerberos5
lib Fix a leak in the recent fixes for file descriptors > SHRT_MAX. In the 2008-04-22 17:03:32 +00:00
libexec MFp4: Add mips support for dynamic linking. 2008-04-04 20:59:26 +00:00
release libbsdxml is now required by ifconfig(8). 2008-04-22 18:20:05 +00:00
rescue Adding glabel alias killed gpart alias; fix it. 2008-03-29 13:15:33 +00:00
sbin Multi-bss (aka vap) support for 802.11 devices. 2008-04-20 20:35:46 +00:00
secure For users of FreeBSD <= 6.2 we recommend during the x.org 7.x upgrade 2008-03-05 20:58:15 +00:00
share Add: 2008-04-22 15:42:20 +00:00
sys Now that all platforms use genclock, shuffle things around slightly 2008-04-22 19:38:30 +00:00
tools Add a small script that will examine all files which exist on /cfg and 2008-04-21 06:22:27 +00:00
usr.bin Add: 2008-04-22 15:42:20 +00:00
usr.sbin Remove duplicate headers <sys/socket.h> 2008-04-21 07:25:26 +00:00
COPYRIGHT
LOCKS Once the release goes out, RELENG_7_* will need approval from so@. 2008-01-24 22:07:03 +00:00
MAINTAINERS OLDCARD is gone, release imp's lock. 2008-01-26 21:58:52 +00:00
Makefile Double up the necessary size of /usr/obj to 800MB 2008-03-31 13:32:55 +00:00
Makefile.inc1 Bootstrap the build of btxld. 2008-04-15 05:14:42 +00:00
ObsoleteFiles.inc Add recent obsolete files. 2008-04-20 16:03:19 +00:00
README
UPDATING 802.11 support moves to vaps 2008-04-20 21:25:37 +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.

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