Annotation of OSKit-Mach/include/mach/version.h, revision 1.1.1.1

1.1       root        1: /* 
                      2:  * Mach Operating System
                      3:  * Copyright (c) 1991,1990,1989,1988 Carnegie Mellon University
                      4:  * All Rights Reserved.
                      5:  * 
                      6:  * Permission to use, copy, modify and distribute this software and its
                      7:  * documentation is hereby granted, provided that both the copyright
                      8:  * notice and this permission notice appear in all copies of the
                      9:  * software, derivative works or modified versions, and any portions
                     10:  * thereof, and that both notices appear in supporting documentation.
                     11:  * 
                     12:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
                     13:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
                     14:  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
                     15:  * 
                     16:  * Carnegie Mellon requests users of this software to return to
                     17:  *
                     18:  *  Software Distribution Coordinator  or  [email protected]
                     19:  *  School of Computer Science
                     20:  *  Carnegie Mellon University
                     21:  *  Pittsburgh PA 15213-3890
                     22:  *
                     23:  * any improvements or extensions that they make and grant Carnegie Mellon rights
                     24:  * to redistribute these changes.
                     25:  */
                     26: /*
                     27:  *     Each kernel has a major and minor version number.  Changes in
                     28:  *     the major number in general indicate a change in exported features.
                     29:  *     Changes in minor number usually correspond to internal-only
                     30:  *     changes that the user need not be aware of (in general).  These
                     31:  *     values are stored at boot time in the machine_info strucuture and
                     32:  *     can be obtained by user programs with the host_info kernel call.
                     33:  *     This mechanism is intended to be the formal way for Mach programs
                     34:  *     to provide for backward compatibility in future releases.
                     35:  *
                     36:  *     [ This needs to be reconciled somehow with the major/minor version
                     37:  *       number stuffed into the version string - mja, 5/8/87 ]
                     38:  *
                     39:  *     Following is an informal history of the numbers:
                     40:  *
                     41:  *     25-March-87  Avadis Tevanian, Jr.
                     42:  *             Created version numbering scheme.  Started with major 1,
                     43:  *             minor 0.
                     44:  */
                     45: 
                     46: #define KERNEL_MAJOR_VERSION   4
                     47: #define KERNEL_MINOR_VERSION   0
                     48: 
                     49: /* 
                     50:  *  Version number of the kernel include files.
                     51:  *
                     52:  *  This number must be changed whenever an incompatible change is made to one
                     53:  *  or more of our include files which are used by application programs that
                     54:  *  delve into kernel memory.  The number should normally be simply incremented
                     55:  *  but may actually be changed in any manner so long as it differs from the
                     56:  *  numbers previously assigned to any other versions with which the current
                     57:  *  version is incompatible.  It is used at boot time to determine which
                     58:  *  versions of the system programs to install.
                     59:  *
                     60:  *  Note that the symbol _INCLUDE_VERSION must be set to this in the symbol
                     61:  *  table.  On the VAX for example, this is done in locore.s.
                     62:  */
                     63: 
                     64: /*
                     65:  * Current allocation strategy: bump either branch by 2, until non-MACH is
                     66:  * excised from the CSD environment.
                     67:  */
                     68: #define        INCLUDE_VERSION 0

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.