]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/sys/version.h
fa9a638ba4f48ecd4eba3005f1f449fd09681d18
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
28 * Revision 1.1.1.1 1998/09/22 21:05:49 wsanchez
29 * Import of Mac OS X kernel (~semeria)
31 * Revision 1.1.1.1 1998/03/07 02:25:59 wsanchez
32 * Import of OSF Mach kernel (~mburg)
34 * Revision 1.1.6.1 1994/09/23 03:13:55 ezf
35 * change marker to not FREE
36 * [1994/09/22 21:59:11 ezf]
38 * Revision 1.1.2.2 1993/06/03 00:18:34 jeffc
39 * Added to OSF/1 R1.3 from NMK15.0.
40 * [1993/06/02 21:31:15 jeffc]
42 * Revision 1.1 1992/09/30 02:37:07 robert
49 * Revision 2.4 91/05/14 17:40:52 mrt
50 * Correcting copyright
52 * Revision 2.3 91/02/05 17:57:18 mrt
53 * Changed to new Mach copyright
54 * [91/02/01 17:49:58 mrt]
56 * Revision 2.2 90/01/19 14:35:31 rwd
57 * Set version to 3.0 and set include version to 0
60 * Revision 2.1 89/08/03 16:10:14 rwd
66 * Mach Operating System
67 * Copyright (c) 1991,1990,1989,1988 Carnegie Mellon University
68 * All Rights Reserved.
70 * Permission to use, copy, modify and distribute this software and its
71 * documentation is hereby granted, provided that both the copyright
72 * notice and this permission notice appear in all copies of the
73 * software, derivative works or modified versions, and any portions
74 * thereof, and that both notices appear in supporting documentation.
76 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
77 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
78 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
80 * Carnegie Mellon requests users of this software to return to
82 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
83 * School of Computer Science
84 * Carnegie Mellon University
85 * Pittsburgh PA 15213-3890
87 * any improvements or extensions that they make and grant Carnegie Mellon rights
88 * to redistribute these changes.
94 * Each kernel has a major and minor version number. Changes in
95 * the major number in general indicate a change in exported features.
96 * Changes in minor number usually correspond to internal-only
97 * changes that the user need not be aware of (in general). These
98 * values are stored at boot time in the machine_info strucuture and
99 * can be obtained by user programs with the host_info kernel call.
100 * This mechanism is intended to be the formal way for Mach programs
101 * to provide for backward compatibility in future releases.
103 * [ This needs to be reconciled somehow with the major/minor version
104 * number stuffed into the version string - mja, 5/8/87 ]
106 * Following is an informal history of the numbers:
108 * 25-March-87 Avadis Tevanian, Jr.
109 * Created version numbering scheme. Started with major 1,
113 #define KERNEL_MAJOR_VERSION 3
114 #define KERNEL_MINOR_VERSION 0
117 * Version number of the kernel include files.
119 * This number must be changed whenever an incompatible change is made to one
120 * or more of our include files which are used by application programs that
121 * delve into kernel memory. The number should normally be simply incremented
122 * but may actually be changed in any manner so long as it differs from the
123 * numbers previously assigned to any other versions with which the current
124 * version is incompatible. It is used at boot time to determine which
125 * versions of the system programs to install.
127 * Note that the symbol _INCLUDE_VERSION must be set to this in the symbol
128 * table. On the VAX for example, this is done in locore.s.
132 * Current allocation strategy: bump either branch by 2, until non-MACH is
133 * excised from the CSD environment.
135 #define INCLUDE_VERSION 0