xref: /xnu-8019.80.24/config/MasterVersion (revision a325d9c4a84054e40bbe985afedcb50ab80993ea)
1*a325d9c4SApple OSS Distributions21.3.0
2*a325d9c4SApple OSS Distributions
3*a325d9c4SApple OSS Distributions# The first line of this file contains the master version number for the kernel.
4*a325d9c4SApple OSS Distributions# All other instances of the kernel version in xnu are derived from this file.
5*a325d9c4SApple OSS Distributions#
6*a325d9c4SApple OSS Distributions# The format of the version number must conform to the version resource format
7*a325d9c4SApple OSS Distributions# as described in TN1132: http://developer.apple.com/technotes/tn/tn1132.html
8*a325d9c4SApple OSS Distributions#
9*a325d9c4SApple OSS Distributions# In particular, the string is formatted as: J[.N[.R[S[L]]]], where:
10*a325d9c4SApple OSS Distributions#  J represents the kernel major version number (integer)
11*a325d9c4SApple OSS Distributions#  N represents the kernel minor version number (integer)
12*a325d9c4SApple OSS Distributions#  R represents the kernel revision number (integer)
13*a325d9c4SApple OSS Distributions#  S represents the kernel build stage (one of "d", "a", "b", or "r")
14*a325d9c4SApple OSS Distributions#  L represents the kernel pre-release level (integer)
15*a325d9c4SApple OSS Distributions#
16*a325d9c4SApple OSS Distributions# The correct way to make use of the kernel version within kernel code or a
17*a325d9c4SApple OSS Distributions# kext is to include libkern/verison.h.  version.h contains defines that can
18*a325d9c4SApple OSS Distributions# be used for build-time version logic and prototypes for variables that can
19*a325d9c4SApple OSS Distributions# be used for run-time version logic.
20