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

Go to the source code of this file.

Typedefs

typedef UINT32(* CONFIG_CHECK) (IN OC_GLOBAL_CONFIG *Config)
 

Functions

UINT32 CheckACPI (IN OC_GLOBAL_CONFIG *Config)
 
UINT32 CheckBooter (IN OC_GLOBAL_CONFIG *Config)
 
UINT32 CheckDeviceProperties (IN OC_GLOBAL_CONFIG *Config)
 
UINT32 CheckKernel (IN OC_GLOBAL_CONFIG *Config)
 
UINT32 CheckMisc (IN OC_GLOBAL_CONFIG *Config)
 
UINT32 CheckNvram (IN OC_GLOBAL_CONFIG *Config)
 
UINT32 CheckPlatformInfo (IN OC_GLOBAL_CONFIG *Config)
 
UINT32 CheckUefi (IN OC_GLOBAL_CONFIG *Config)
 
UINT32 CheckConfig (IN OC_GLOBAL_CONFIG *Config)
 

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

Typedef Documentation

◆ CONFIG_CHECK

typedef UINT32(* CONFIG_CHECK) (IN OC_GLOBAL_CONFIG *Config)

OpenCore Configuration checker.

Definition at line 26 of file ocvalidate.h.

Function Documentation

◆ CheckACPI()

UINT32 CheckACPI ( IN OC_GLOBAL_CONFIG * Config)

Validate OpenCore Configuration ACPI Section.

Parameters
[in]ConfigConfiguration structure.
Returns
Number of errors detected in ACPI Section.

Definition at line 215 of file ValidateAcpi.c.

◆ CheckBooter()

UINT32 CheckBooter ( IN OC_GLOBAL_CONFIG * Config)

Validate OpenCore Configuration Booter Section.

Parameters
[in]ConfigConfiguration structure.
Returns
Number of errors detected in Booter Section.

Definition at line 232 of file ValidateBooter.c.

◆ CheckConfig()

UINT32 CheckConfig ( IN OC_GLOBAL_CONFIG * Config)

Validate OpenCore Configuration overall, by calling each checker above.

Parameters
[in]ConfigConfiguration structure.
Returns
Number of errors detected overall.

Definition at line 24 of file ocvalidate.c.

◆ CheckDeviceProperties()

UINT32 CheckDeviceProperties ( IN OC_GLOBAL_CONFIG * Config)

Validate OpenCore Configuration DeviceProperties Section.

Parameters
[in]ConfigConfiguration structure.
Returns
Number of errors detected in DeviceProperties.

Definition at line 204 of file ValidateDeviceProperties.c.

◆ CheckKernel()

UINT32 CheckKernel ( IN OC_GLOBAL_CONFIG * Config)

Validate OpenCore Configuration Kernel Section.

Parameters
[in]ConfigConfiguration structure.
Returns
Number of errors detected in Kernel Section.

Definition at line 781 of file ValidateKernel.c.

◆ CheckMisc()

UINT32 CheckMisc ( IN OC_GLOBAL_CONFIG * Config)

Validate OpenCore Configuration Misc Section.

Parameters
[in]ConfigConfiguration structure.
Returns
Number of errors detected in Misc Section.

Definition at line 794 of file ValidateMisc.c.

◆ CheckNvram()

UINT32 CheckNvram ( IN OC_GLOBAL_CONFIG * Config)

Validate OpenCore Configuration NVRAM Section.

Parameters
[in]ConfigConfiguration structure.
Returns
Number of errors detected in NVRAM Section.

Definition at line 359 of file ValidateNvram.c.

◆ CheckPlatformInfo()

UINT32 CheckPlatformInfo ( IN OC_GLOBAL_CONFIG * Config)

Validate OpenCore Configuration PlatformInfo Section.

Parameters
[in]ConfigConfiguration structure.
Returns
Number of errors detected in PlatformInfo Section.

Definition at line 118 of file ValidatePlatformInfo.c.

◆ CheckUefi()

UINT32 CheckUefi ( IN OC_GLOBAL_CONFIG * Config)

Validate OpenCore Configuration UEFI Section.

Parameters
[in]ConfigConfiguration structure.
Returns
Number of errors detected in UEFI Section.

Definition at line 788 of file ValidateUefi.c.