OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
KextInfo.c File Reference
#include "KextInfo.h"
#include <Library/DebugLib.h>

Go to the source code of this file.

Functions

VOID ValidateKextInfo (VOID)
 

Variables

KEXT_PRECEDENCE mKextPrecedence []
 
UINTN mKextPrecedenceSize = ARRAY_SIZE (mKextPrecedence)
 
KEXT_INFO mKextInfo []
 
UINTN mKextInfoSize = ARRAY_SIZE (mKextInfo)
 

Detailed Description

Copyright (C) 2018, vit9696. All rights reserved. Copyright (C) 2020, PMheart. All rights reserved.

All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file KextInfo.c.

Function Documentation

◆ ValidateKextInfo()

VOID ValidateKextInfo ( VOID )

ASSERT() on incorrect placed kext info, where a set of rules must be followed.

Definition at line 111 of file KextInfo.c.

Variable Documentation

◆ mKextInfo

KEXT_INFO mKextInfo[]

Definition at line 50 of file KextInfo.c.

◆ mKextInfoSize

UINTN mKextInfoSize = ARRAY_SIZE (mKextInfo)

Definition at line 108 of file KextInfo.c.

◆ mKextPrecedence

KEXT_PRECEDENCE mKextPrecedence[]
Initial value:
= {
{ "VirtualSMC.kext", "Lilu.kext" },
{ "WhateverGreen.kext", "Lilu.kext" },
{ "SMCBatteryManager.kext", "VirtualSMC.kext" },
{ "SMCDellSensors.kext", "VirtualSMC.kext" },
{ "SMCLightSensor.kext", "VirtualSMC.kext" },
{ "SMCProcessor.kext", "VirtualSMC.kext" },
{ "SMCSuperIO.kext", "VirtualSMC.kext" },
{ "AppleALC.kext", "Lilu.kext" },
{ "AppleALCU.kext", "Lilu.kext" },
{ "AirportBrcmFixup.kext", "Lilu.kext" },
{ "BrightnessKeys.kext", "Lilu.kext" },
{ "CpuTscSync.kext", "Lilu.kext" },
{ "CPUFriend.kext", "Lilu.kext" },
{ "CPUFriendDataProvider.kext", "CPUFriend.kext" },
{ "CryptexFixup.kext", "Lilu.kext" },
{ "DebugEnhancer.kext", "Lilu.kext" },
{ "HibernationFixup.kext", "Lilu.kext" },
{ "NVMeFix.kext", "Lilu.kext" },
{ "RestrictEvents.kext", "Lilu.kext" },
{ "RTCMemoryFixup.kext", "Lilu.kext" },
{ "FeatureUnlock.kext", "Lilu.kext" },
{ "MacHyperVSupport.kext", "Lilu.kext" },
{ "BlueToolFixup.kext", "Lilu.kext" },
{ "VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext", "VoodooPS2Controller.kext" },
{ "VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext", "VoodooPS2Controller.kext" },
{ "VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext", "VoodooPS2Controller.kext" },
}

Definition at line 20 of file KextInfo.c.

◆ mKextPrecedenceSize

UINTN mKextPrecedenceSize = ARRAY_SIZE (mKextPrecedence)

Definition at line 48 of file KextInfo.c.