The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/version.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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  Software.Distribution@CS.CMU.EDU
   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  * HISTORY
   28  * $Log:        version.h,v $
   29  * Revision 2.4  91/05/14  17:40:52  mrt
   30  *      Correcting copyright
   31  * 
   32  * Revision 2.3  91/02/05  17:57:18  mrt
   33  *      Changed to new Mach copyright
   34  *      [91/02/01  17:49:58  mrt]
   35  * 
   36  * Revision 2.2  90/01/19  14:35:31  rwd
   37  *      Set version to 3.0 and set include version to 0
   38  *      [89/12/10            rwd]
   39  * 
   40  * Revision 2.1  89/08/03  16:10:14  rwd
   41  * Created.
   42  * 
   43  */ 
   44 
   45 /*
   46  *      Each kernel has a major and minor version number.  Changes in
   47  *      the major number in general indicate a change in exported features.
   48  *      Changes in minor number usually correspond to internal-only
   49  *      changes that the user need not be aware of (in general).  These
   50  *      values are stored at boot time in the machine_info strucuture and
   51  *      can be obtained by user programs with the host_info kernel call.
   52  *      This mechanism is intended to be the formal way for Mach programs
   53  *      to provide for backward compatibility in future releases.
   54  *
   55  *      [ This needs to be reconciled somehow with the major/minor version
   56  *        number stuffed into the version string - mja, 5/8/87 ]
   57  *
   58  *      Following is an informal history of the numbers:
   59  *
   60  *      25-March-87  Avadis Tevanian, Jr.
   61  *              Created version numbering scheme.  Started with major 1,
   62  *              minor 0.
   63  */
   64 
   65 #define KERNEL_MAJOR_VERSION    3
   66 #define KERNEL_MINOR_VERSION    0
   67 
   68 /* 
   69  *  Version number of the kernel include files.
   70  *
   71  *  This number must be changed whenever an incompatible change is made to one
   72  *  or more of our include files which are used by application programs that
   73  *  delve into kernel memory.  The number should normally be simply incremented
   74  *  but may actually be changed in any manner so long as it differs from the
   75  *  numbers previously assigned to any other versions with which the current
   76  *  version is incompatible.  It is used at boot time to determine which
   77  *  versions of the system programs to install.
   78  *
   79  *  Note that the symbol _INCLUDE_VERSION must be set to this in the symbol
   80  *  table.  On the VAX for example, this is done in locore.s.
   81  */
   82 
   83 /*
   84  * Current allocation strategy: bump either branch by 2, until non-MACH is
   85  * excised from the CSD environment.
   86  */
   87 #define INCLUDE_VERSION 0

Cache object: f50d862980d532ba13477e047ae1da7c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.