freebsd-skq/sys
wollman f0e3ec0f96 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
..
alpha/include Fix arguments of CONS_GETINFO 1994-04-07 23:23:01 +00:00
amd64 Handle NMI's in accordance with data in van Gilluwe book. 1994-08-10 04:39:52 +00:00
conf Make it easier for programs to figure out what revision of FreeBSD they 1994-08-10 06:25:07 +00:00
ddb The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. 1994-05-25 09:21:21 +00:00
dev Fix a compilation-stopping typo; whoops, David - more sleep! :-) 1994-08-08 16:45:11 +00:00
fs Changed B_AGE policy to work correctly in a world with relatively large 1994-08-08 09:11:44 +00:00
gnu Added $Id$ 1994-08-02 07:55:43 +00:00
i386 Handle NMI's in accordance with data in van Gilluwe book. 1994-08-10 04:39:52 +00:00
isa Fixed a bug that was introduced in the conversion from 1.1.5 to 2.0. 1994-08-01 10:38:19 +00:00
isofs/cd9660 Changed B_AGE policy to work correctly in a world with relatively large 1994-08-08 09:11:44 +00:00
kern Make it easier for programs to figure out what revision of FreeBSD they 1994-08-10 06:25:07 +00:00
libkern Added $Id$ 1994-08-02 07:55:43 +00:00
miscfs Changed B_AGE policy to work correctly in a world with relatively large 1994-08-08 09:11:44 +00:00
net Added ioctl support for SIOCSIFMTU. 1994-08-08 12:09:04 +00:00
netccitt Added $Id$ 1994-08-02 07:55:43 +00:00
netinet Added $Id$ 1994-08-02 07:55:43 +00:00
netiso Hack to get netstat compiling...from 1.1.5. 1994-08-05 12:33:30 +00:00
netns Added $Id$ 1994-08-02 07:55:43 +00:00
nfs Removed some padding bytes from the nfsnode struct to make the structure 1994-08-09 15:10:14 +00:00
nfsclient Removed some padding bytes from the nfsnode struct to make the structure 1994-08-09 15:10:14 +00:00
nfsserver Made NFS attribute cache timeouts kernel config file tunable via 1994-08-04 06:03:46 +00:00
powerpc/include Added $Id$ 1994-08-02 07:55:43 +00:00
rpc Use the header files that are compatible with the code just moved over 1994-08-07 18:41:02 +00:00
scsi Added $Id$ 1994-08-02 07:55:43 +00:00
sys Make it easier for programs to figure out what revision of FreeBSD they 1994-08-10 06:25:07 +00:00
tools Added $Id$ 1994-08-02 07:55:43 +00:00
ufs Made lockf advisory locking code generic (rather than ufs specific), and 1994-08-08 17:31:01 +00:00
vm Fixed vm_page_deactivate to deal with getting called with a page that's 1994-08-10 03:09:37 +00:00
Makefile Added $Id$ 1994-08-02 07:55:43 +00:00