OpenCore
1.0.4
OpenCore Bootloader
|
Go to the source code of this file.
Functions | |
STATIC BOOLEAN | NvramAddHasDuplication (IN CONST VOID *PrimaryEntry, IN CONST VOID *SecondaryEntry) |
STATIC BOOLEAN | NvramDeleteHasDuplication (IN CONST VOID *PrimaryEntry, IN CONST VOID *SecondaryEntry) |
STATIC BOOLEAN | NvramLegacySchemaHasDuplication (IN CONST VOID *PrimaryEntry, IN CONST VOID *SecondaryEntry) |
STATIC UINT32 | ValidateNvramKeyByGuid (IN CONST CHAR8 *AsciiGuid, IN CONST OC_ASSOC *VariableMap) |
STATIC UINT32 | CheckNvramAdd (IN OC_GLOBAL_CONFIG *Config) |
STATIC UINT32 | CheckNvramDelete (IN OC_GLOBAL_CONFIG *Config) |
STATIC UINT32 | CheckNvramSchema (IN OC_GLOBAL_CONFIG *Config) |
UINT32 | CheckNvram (IN OC_GLOBAL_CONFIG *Config) |
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 ValidateNvram.c.
UINT32 CheckNvram | ( | IN OC_GLOBAL_CONFIG * | Config | ) |
Validate OpenCore Configuration NVRAM Section.
[in] | Config | Configuration structure. |
Definition at line 359 of file ValidateNvram.c.
STATIC UINT32 CheckNvramAdd | ( | IN OC_GLOBAL_CONFIG * | Config | ) |
Definition at line 163 of file ValidateNvram.c.
STATIC UINT32 CheckNvramDelete | ( | IN OC_GLOBAL_CONFIG * | Config | ) |
Definition at line 234 of file ValidateNvram.c.
STATIC UINT32 CheckNvramSchema | ( | IN OC_GLOBAL_CONFIG * | Config | ) |
Definition at line 297 of file ValidateNvram.c.
STATIC BOOLEAN NvramAddHasDuplication | ( | IN CONST VOID * | PrimaryEntry, |
IN CONST VOID * | SecondaryEntry ) |
Callback function to verify whether one entry is duplicated in NVRAM->Add.
[in] | PrimaryEntry | Primary entry to be checked. |
[in] | SecondaryEntry | Secondary entry to be checked. |
TRUE | If PrimaryEntry and SecondaryEntry are duplicated. |
Definition at line 30 of file ValidateNvram.c.
STATIC BOOLEAN NvramDeleteHasDuplication | ( | IN CONST VOID * | PrimaryEntry, |
IN CONST VOID * | SecondaryEntry ) |
Callback function to verify whether one entry is duplicated in NVRAM->Delete.
[in] | PrimaryEntry | Primary entry to be checked. |
[in] | SecondaryEntry | Secondary entry to be checked. |
TRUE | If PrimaryEntry and SecondaryEntry are duplicated. |
Definition at line 58 of file ValidateNvram.c.
STATIC BOOLEAN NvramLegacySchemaHasDuplication | ( | IN CONST VOID * | PrimaryEntry, |
IN CONST VOID * | SecondaryEntry ) |
Callback function to verify whether one entry is duplicated in NVRAM->LegacySchema.
[in] | PrimaryEntry | Primary entry to be checked. |
[in] | SecondaryEntry | Secondary entry to be checked. |
TRUE | If PrimaryEntry and SecondaryEntry are duplicated. |
Definition at line 86 of file ValidateNvram.c.
STATIC UINT32 ValidateNvramKeyByGuid | ( | IN CONST CHAR8 * | AsciiGuid, |
IN CONST OC_ASSOC * | VariableMap ) |
Definition at line 106 of file ValidateNvram.c.