OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
KextInfo.h File Reference

Go to the source code of this file.

Data Structures

struct  KEXT_PRECEDENCE_
 
struct  KEXT_INFO_
 

Macros

#define INDEX_KEXT_LILU   0U
 
#define INDEX_KEXT_VSMC   1U
 

Typedefs

typedef struct KEXT_PRECEDENCE_ KEXT_PRECEDENCE
 
typedef struct KEXT_INFO_ KEXT_INFO
 

Functions

VOID ValidateKextInfo (VOID)
 

Variables

KEXT_PRECEDENCE mKextPrecedence []
 
UINTN mKextPrecedenceSize
 
KEXT_INFO mKextInfo []
 
UINTN mKextInfoSize
 

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.h.

Macro Definition Documentation

◆ INDEX_KEXT_LILU

#define INDEX_KEXT_LILU   0U

Definition at line 19 of file KextInfo.h.

◆ INDEX_KEXT_VSMC

#define INDEX_KEXT_VSMC   1U

Definition at line 20 of file KextInfo.h.

Typedef Documentation

◆ KEXT_INFO

typedef struct KEXT_INFO_ KEXT_INFO

Known information of kexts. Mainly those from Acidanthera.

◆ KEXT_PRECEDENCE

Child kext must be put after Parent kext in OpenCore config->Kernel->Add. This means that the index of Child must succeed that of Parent.

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[]
extern

Definition at line 50 of file KextInfo.c.

◆ mKextInfoSize

UINTN mKextInfoSize
extern

Definition at line 108 of file KextInfo.c.

◆ mKextPrecedence

KEXT_PRECEDENCE mKextPrecedence[]
extern

Definition at line 20 of file KextInfo.c.

◆ mKextPrecedenceSize

UINTN mKextPrecedenceSize
extern

Definition at line 48 of file KextInfo.c.