OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
ValidateAcpi.c File Reference
#include "ocvalidate.h"
#include "OcValidateLib.h"

Go to the source code of this file.

Functions

STATIC BOOLEAN ACPIAddHasDuplication (IN CONST VOID *PrimaryEntry, IN CONST VOID *SecondaryEntry)
 
STATIC UINT32 CheckACPIAdd (IN OC_GLOBAL_CONFIG *Config)
 
STATIC UINT32 CheckACPIDelete (IN OC_GLOBAL_CONFIG *Config)
 
STATIC UINT32 CheckACPIPatch (IN OC_GLOBAL_CONFIG *Config)
 
UINT32 CheckACPI (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 ValidateAcpi.c.

Function Documentation

◆ ACPIAddHasDuplication()

STATIC BOOLEAN ACPIAddHasDuplication ( IN CONST VOID * PrimaryEntry,
IN CONST VOID * SecondaryEntry )

Callback function to verify whether Path is duplicated in ACPI->Add.

Parameters
[in]PrimaryEntryPrimary entry to be checked.
[in]SecondaryEntrySecondary entry to be checked.
Return values
TRUEIf PrimaryEntry and SecondaryEntry are duplicated.

Definition at line 29 of file ValidateAcpi.c.

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

◆ CheckACPIAdd()

STATIC UINT32 CheckACPIAdd ( IN OC_GLOBAL_CONFIG * Config)

Definition at line 53 of file ValidateAcpi.c.

◆ CheckACPIDelete()

STATIC UINT32 CheckACPIDelete ( IN OC_GLOBAL_CONFIG * Config)

Definition at line 119 of file ValidateAcpi.c.

◆ CheckACPIPatch()

STATIC UINT32 CheckACPIPatch ( IN OC_GLOBAL_CONFIG * Config)

Definition at line 151 of file ValidateAcpi.c.