freebsd_amp_hwpstate/sys/kern
Garrett Wollman 9ae159169a Make it easier for programs to figure out what revision of FreeBSD they
are running under.  Here's how to bootstrap (order is important):

1) Re-compile gcc (just the driver is all you need).
2) Re-compile libc.
3) Re-compile your kernel.  Reboot.
4) cd /usr/src/include; make install

You can now detect the compilation environment with the following code:

#if !defined(__FreeBSD__)
#define __FreeBSD_version 199401
#elif __FreeBSD__ == 1
#define __FreeBSD_version 199405
#else
#include <osreldate.h>
#endif

You can determine the run-time environment by calling the new C library
function getosreldate(), or by examining the MIB variable kern.osreldate.

For the time being, the release date is defined as 199409, which we have
already established as our target.
1994-08-10 06:25:07 +00:00
..
Make.tags.inc Added $Id$ 1994-08-02 07:55:43 +00:00
Makefile
imgact_aout.c
imgact_shell.c
init_main.c Added $Id$ 1994-08-02 07:55:43 +00:00
init_sysent.c
kern_acct.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_clock.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_descrip.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_exec.c Implemented support for the "ps_strings" structure (grrrr...) for use in 1994-08-06 09:06:31 +00:00
kern_exit.c Process scheduling changes - adapted from FreeBSD 1.1.5. Basically, 1994-08-06 07:15:04 +00:00
kern_fork.c Process scheduling changes - adapted from FreeBSD 1.1.5. Basically, 1994-08-06 07:15:04 +00:00
kern_ktrace.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_lockf.c Made lockf advisory locking code generic (rather than ufs specific), and 1994-08-08 17:31:01 +00:00
kern_malloc.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_physio.c Detect the "EOF" condition. Specifically, end of partition. 1994-08-08 13:53:55 +00:00
kern_proc.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_prot.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_resource.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_sig.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_subr.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_synch.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_sysctl.c Make it easier for programs to figure out what revision of FreeBSD they 1994-08-10 06:25:07 +00:00
kern_tc.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_time.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_timeout.c Added $Id$ 1994-08-02 07:55:43 +00:00
kern_xxx.c Define a sysctl MIB variable for the YP domain name. 1994-08-08 00:30:12 +00:00
makesyscalls.sh Added $Id$ 1994-08-02 07:55:43 +00:00
md5c.c
subr_autoconf.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_clist.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_disklabel.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_log.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_param.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_prf.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_prof.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_rlist.c
subr_rmap.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_trap.c Handle NMI's in accordance with data in van Gilluwe book. 1994-08-10 04:39:52 +00:00
subr_xxx.c Added $Id$ 1994-08-02 07:55:43 +00:00
sys_generic.c Added $Id$ 1994-08-02 07:55:43 +00:00
sys_process.c Process tracing code. Written by Sean Eric Fagan. 1994-08-08 13:00:27 +00:00
sys_socket.c Added $Id$ 1994-08-02 07:55:43 +00:00
syscalls.c
syscalls.master Added $Id$ 1994-08-02 07:55:43 +00:00
tty.c Added $Id$ 1994-08-02 07:55:43 +00:00
tty_compat.c Added $Id$ 1994-08-02 07:55:43 +00:00
tty_conf.c Added $Id$ 1994-08-02 07:55:43 +00:00
tty_cons.c
tty_pty.c Added $Id$ 1994-08-02 07:55:43 +00:00
tty_subr.c Added $Id$ 1994-08-02 07:55:43 +00:00
tty_tb.c Added $Id$ 1994-08-02 07:55:43 +00:00
tty_tty.c Added $Id$ 1994-08-02 07:55:43 +00:00
uipc_domain.c Added $Id$ 1994-08-02 07:55:43 +00:00
uipc_mbuf.c Added $Id$ 1994-08-02 07:55:43 +00:00
uipc_proto.c Added $Id$ 1994-08-02 07:55:43 +00:00
uipc_sockbuf.c Added $Id$ 1994-08-02 07:55:43 +00:00
uipc_socket.c Added $Id$ 1994-08-02 07:55:43 +00:00
uipc_socket2.c Added $Id$ 1994-08-02 07:55:43 +00:00
uipc_syscalls.c Added $Id$ 1994-08-02 07:55:43 +00:00
uipc_usrreq.c Added $Id$ 1994-08-02 07:55:43 +00:00
vfs_bio.c Run-time configuration of VFS update interval. Old UPDATE_INTERVAL 1994-08-08 15:41:08 +00:00
vfs_cache.c Added $Id$ 1994-08-02 07:55:43 +00:00
vfs_cluster.c Changed B_AGE policy to work correctly in a world with relatively large 1994-08-08 09:11:44 +00:00
vfs_conf.c Added $Id$ 1994-08-02 07:55:43 +00:00
vfs_export.c Added $Id$ 1994-08-02 07:55:43 +00:00
vfs_extattr.c Added $Id$ 1994-08-02 07:55:43 +00:00
vfs_init.c Added $Id$ 1994-08-02 07:55:43 +00:00
vfs_lookup.c Added $Id$ 1994-08-02 07:55:43 +00:00
vfs_mount.c Added $Id$ 1994-08-02 07:55:43 +00:00
vfs_subr.c Added $Id$ 1994-08-02 07:55:43 +00:00
vfs_syscalls.c Added $Id$ 1994-08-02 07:55:43 +00:00
vfs_vnops.c Added $Id$ 1994-08-02 07:55:43 +00:00
vnode_if.pl Added $Id$ 1994-08-02 07:55:43 +00:00
vnode_if.sh Added $Id$ 1994-08-02 07:55:43 +00:00
vnode_if.src Added $Id$ 1994-08-02 07:55:43 +00:00