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