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

Go to the source code of this file.

Data Structures

struct  DEPEND_KEXT
 
struct  CACHELESS_KEXT
 
struct  KEXT_PATCH
 
struct  PATCHED_KEXT
 
struct  BUILTIN_KEXT
 

Macros

#define KEXT_BUNDLE_NAME   L"OcXXXXXXXX.kext"
 
#define KEXT_BUNDLE_NAME_SIZE   (L_STR_SIZE (KEXT_BUNDLE_NAME))
 
#define KEXT_BUNDLE_NAME_LEN   (L_STR_LEN (KEXT_BUNDLE_NAME))
 
#define KEXT_BUNDLE_INFO_SIZE   (SIZE_OF_EFI_FILE_INFO + KEXT_BUNDLE_NAME_SIZE)
 
#define DEPEND_KEXT_SIGNATURE   SIGNATURE_32 ('S', 'l', 'e', 'D')
 
#define GET_DEPEND_KEXT_FROM_LINK(This)
 
#define CACHELESS_KEXT_SIGNATURE   SIGNATURE_32 ('S', 'l', 'e', 'X')
 
#define GET_CACHELESS_KEXT_FROM_LINK(This)
 
#define KEXT_PATCH_SIGNATURE   SIGNATURE_32 ('K', 'x', 't', 'P')
 
#define GET_KEXT_PATCH_FROM_LINK(This)
 
#define PATCHED_KEXT_SIGNATURE   SIGNATURE_32 ('S', 'l', 'e', 'P')
 
#define GET_PATCHED_KEXT_FROM_LINK(This)
 
#define BUILTIN_KEXT_SIGNATURE   SIGNATURE_32 ('S', 'l', 'e', 'B')
 
#define GET_BUILTIN_KEXT_FROM_LINK(This)
 

Enumerations

enum  { KEXT_OSBUNDLE_REQUIRED_NONE = 0 , KEXT_OSBUNDLE_REQUIRED_INVALID , KEXT_OSBUNDLE_REQUIRED_VALID }
 

Detailed Description

Cacheless boot (S/L/E) support.

Copyright (c) 2020, Goldfish64. 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 CachelessInternal.h.

Macro Definition Documentation

◆ BUILTIN_KEXT_SIGNATURE

#define BUILTIN_KEXT_SIGNATURE   SIGNATURE_32 ('S', 'l', 'e', 'B')

Definition at line 265 of file CachelessInternal.h.

◆ CACHELESS_KEXT_SIGNATURE

#define CACHELESS_KEXT_SIGNATURE   SIGNATURE_32 ('S', 'l', 'e', 'X')

Definition at line 211 of file CachelessInternal.h.

◆ DEPEND_KEXT_SIGNATURE

#define DEPEND_KEXT_SIGNATURE   SIGNATURE_32 ('S', 'l', 'e', 'D')

Definition at line 193 of file CachelessInternal.h.

◆ GET_BUILTIN_KEXT_FROM_LINK

#define GET_BUILTIN_KEXT_FROM_LINK ( This)
Value:
(CR ( \
(This), \
Link, \
))
#define BUILTIN_KEXT_SIGNATURE

Gets the next element in BuiltInKexts list of BUILTIN_KEXT.

Parameters
[in]ThisThe current ListEntry.

Definition at line 272 of file CachelessInternal.h.

◆ GET_CACHELESS_KEXT_FROM_LINK

#define GET_CACHELESS_KEXT_FROM_LINK ( This)
Value:
(CR ( \
(This), \
Link, \
))
#define CACHELESS_KEXT_SIGNATURE

Gets the next element in InjectedKexts list of CACHELESS_KEXT.

Parameters
[in]ThisThe current ListEntry.

Definition at line 218 of file CachelessInternal.h.

◆ GET_DEPEND_KEXT_FROM_LINK

#define GET_DEPEND_KEXT_FROM_LINK ( This)
Value:
(CR ( \
(This), \
Link, \
))
#define DEPEND_KEXT_SIGNATURE

Gets the next element in list of DEPEND_KEXT.

Parameters
[in]ThisThe current ListEntry.

Definition at line 200 of file CachelessInternal.h.

◆ GET_KEXT_PATCH_FROM_LINK

#define GET_KEXT_PATCH_FROM_LINK ( This)
Value:
(CR ( \
(This), \
Link, \
))
#define KEXT_PATCH_SIGNATURE

Gets the next element in Patches list of KEXT_PATCH.

Parameters
[in]ThisThe current ListEntry.

Definition at line 236 of file CachelessInternal.h.

◆ GET_PATCHED_KEXT_FROM_LINK

#define GET_PATCHED_KEXT_FROM_LINK ( This)
Value:
(CR ( \
(This), \
Link, \
))
#define PATCHED_KEXT_SIGNATURE

Gets the next element in PatchedKexts list of PATCHED_KEXT.

Parameters
[in]ThisThe current ListEntry.

Definition at line 254 of file CachelessInternal.h.

◆ KEXT_BUNDLE_INFO_SIZE

#define KEXT_BUNDLE_INFO_SIZE   (SIZE_OF_EFI_FILE_INFO + KEXT_BUNDLE_NAME_SIZE)

Definition at line 28 of file CachelessInternal.h.

◆ KEXT_BUNDLE_NAME

#define KEXT_BUNDLE_NAME   L"OcXXXXXXXX.kext"

Definition at line 25 of file CachelessInternal.h.

◆ KEXT_BUNDLE_NAME_LEN

#define KEXT_BUNDLE_NAME_LEN   (L_STR_LEN (KEXT_BUNDLE_NAME))

Definition at line 27 of file CachelessInternal.h.

◆ KEXT_BUNDLE_NAME_SIZE

#define KEXT_BUNDLE_NAME_SIZE   (L_STR_SIZE (KEXT_BUNDLE_NAME))

Definition at line 26 of file CachelessInternal.h.

◆ KEXT_PATCH_SIGNATURE

#define KEXT_PATCH_SIGNATURE   SIGNATURE_32 ('K', 'x', 't', 'P')

Definition at line 229 of file CachelessInternal.h.

◆ PATCHED_KEXT_SIGNATURE

#define PATCHED_KEXT_SIGNATURE   SIGNATURE_32 ('S', 'l', 'e', 'P')

Definition at line 247 of file CachelessInternal.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
KEXT_OSBUNDLE_REQUIRED_NONE 
KEXT_OSBUNDLE_REQUIRED_INVALID 
KEXT_OSBUNDLE_REQUIRED_VALID 

Definition at line 30 of file CachelessInternal.h.