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