Add
Arch
- Type:
plist string
- Failsafe:
Any
(Apply to any supported architecture) - Description: Kext architecture (
i386
,x86_64
).
- Type:
BundlePath
- Type:
plist string
- Failsafe: Empty
- Description: Kext bundle path (e.g.
Lilu.kext
orMyKext.kext/Contents/PlugIns/MySubKext.kext
).
- Type:
Comment
- Type:
plist string
- Failsafe: Empty
- Description: Arbitrary ASCII string used to provide human readable reference for the entry. Whether this value is used is implementation defined. -
- Type:
Enabled
- Type:
plist boolean
- Failsafe:
false
- Description: Set to
true
to add this kernel extension.
- Type:
ExecutablePath
- Type:
plist string
- Failsafe: Empty
- Description: Kext executable path relative to bundle (e.g.
Contents/MacOS/Lilu
).
- Type:
MaxKernel
- Type:
plist string
- Failsafe: Empty
- Description: Adds kernel extension on specified macOS version or older.
Kernel version can be obtained with
uname -r
command, and should look like 3 numbers separated by dots, for example18.7.0
is the kernel version for10.14.6
. Kernel version interpretation is implemented as follows:ParseDarwinVersion(κ, λ, μ) = κ · 10000 Where κ ∈ (0, 99) is kernel version major + λ · 100 Where λ ∈ (0, 99) is kernel version minor + μ Where μ ∈ (0, 99) is kernel version patch
Kernel version comparison is implemented as follows:
α=
- ParseDarwinVersion(
MinKernel
), IfMinKernel
is valid 0
, Otherwise
- ParseDarwinVersion(
β=
- ParseDarwinVersion(
MaxKernel
), IfMaxKernel
is valid ∞
Otherwise
- ParseDarwinVersion(
γ=
- ParseDarwinVersion(FindDarwinVersion()), If valid
Darwin Kernel Version
is found ∞
, Otherwise
- ParseDarwinVersion(FindDarwinVersion()), If valid
f(α,β,γ) = α ≤ γ ≤ β
Here ParseDarwinVersion argument is assumed to be 3 integers obtained by splitting Darwin kernel version string from left to right by the
.
symbol. FindDarwinVersion function looks up Darwin kernel version by locating"Darwin Kernel Version κ.λ.μ"
string in the kernel image.- Type:
MinKernel
- Type:
plist string
- Failsafe: Empty
- Description: Adds kernel extension on specified macOS version or newer.
Note: Refer to the Add MaxKernel description for matching logic.
- Type:
PlistPath
- Type:
plist string
- Failsafe: Empty
- Description: Kext
Info.plist
path relative to bundle (e.g.Contents/Info.plist
).
- Type: