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