TianoCore EDK2 master
Loading...
Searching...
No Matches
VarCheckHiiGen.h File Reference
#include "VarCheckHii.h"

Go to the source code of this file.

Functions

VOID DumpHiiPackage (IN VOID *HiiPackage)
 
VOID DumpHiiDatabase (IN VOID *HiiDatabase, IN UINTN HiiDatabaseSize)
 
VOID * InternalVarCheckAllocateZeroPool (IN UINTN AllocationSize)
 
VOID EFIAPI InternalVarCheckFreePool (IN VOID *Buffer)
 
VOID VarCheckParseHiiPackage (IN VOID *HiiPackage, IN BOOLEAN FromFv)
 
VOID VarCheckParseHiiDatabase (IN VOID *HiiDatabase, IN UINTN HiiDatabaseSize)
 
VOID VarCheckHiiGenFromFv (VOID)
 
VOID VarCheckHiiGenFromHiiDatabase (VOID)
 
VOID EFIAPI VarCheckHiiGen (VOID)
 

Variables

VAR_CHECK_HII_VARIABLE_HEADERmVarCheckHiiBin
 
UINTN mVarCheckHiiBinSize
 

Detailed Description

Include file for Var Check Hii bin generation.

Copyright (c) 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file VarCheckHiiGen.h.

Function Documentation

◆ DumpHiiDatabase()

VOID DumpHiiDatabase ( IN VOID *  HiiDatabase,
IN UINTN  HiiDatabaseSize 
)

Dump Hii Database.

Parameters
[in]HiiDatabasePointer to Hii Database.
[in]HiiDatabaseSizeHii Database size.

◆ DumpHiiPackage()

VOID DumpHiiPackage ( IN VOID *  HiiPackage)

Dump Hii Package.

Parameters
[in]HiiPackagePointer to Hii Package.

◆ InternalVarCheckAllocateZeroPool()

VOID * InternalVarCheckAllocateZeroPool ( IN UINTN  AllocationSize)

Allocates and zeros a buffer of type EfiBootServicesData.

Allocates the number bytes specified by AllocationSize of type EfiBootServicesData, clears the buffer with zeros, and returns a pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. If there is not enough memory remaining to satisfy the request, then NULL is returned.

Parameters
AllocationSizeThe number of bytes to allocate and zero.
Returns
A pointer to the allocated buffer or NULL if allocation fails.

Definition at line 421 of file VarCheckHiiGen.c.

◆ InternalVarCheckFreePool()

VOID EFIAPI InternalVarCheckFreePool ( IN VOID *  Buffer)

Frees a buffer that was previously allocated with one of the pool allocation functions in the Memory Allocation Library.

Frees the buffer specified by Buffer. Buffer must have been allocated on a previous call to the pool allocation services of the Memory Allocation Library. If it is not possible to free pool resources, then this function will perform no actions.

If Buffer was not allocated with a pool allocation function in the Memory Allocation Library, then ASSERT().

Parameters
BufferThe pointer to the buffer to free.

Definition at line 451 of file VarCheckHiiGen.c.

◆ VarCheckHiiGen()

VOID EFIAPI VarCheckHiiGen ( VOID  )

Generate VarCheckHiiBin from Hii Database and FV.

Definition at line 1617 of file VarCheckHiiGen.c.

◆ VarCheckHiiGenFromFv()

VOID VarCheckHiiGenFromFv ( VOID  )

Generate from FV.

Definition at line 407 of file VarCheckHiiGenFromFv.c.

◆ VarCheckHiiGenFromHiiDatabase()

VOID VarCheckHiiGenFromHiiDatabase ( VOID  )

Generate from Hii Database.

Definition at line 16 of file VarCheckHiiGenFromHii.c.

◆ VarCheckParseHiiDatabase()

VOID VarCheckParseHiiDatabase ( IN VOID *  HiiDatabase,
IN UINTN  HiiDatabaseSize 
)

Var Check Parse Hii Database.

Parameters
[in]HiiDatabasePointer to Hii Database.
[in]HiiDatabaseSizeHii Database size.

Definition at line 1447 of file VarCheckHiiGen.c.

◆ VarCheckParseHiiPackage()

VOID VarCheckParseHiiPackage ( IN VOID *  HiiPackage,
IN BOOLEAN  FromFv 
)

Var Check Parse Hii Package.

Parameters
[in]HiiPackagePointer to Hii Package.
[in]FromFvHii Package from FV.

Definition at line 1366 of file VarCheckHiiGen.c.

Variable Documentation

◆ mVarCheckHiiBin

VAR_CHECK_HII_VARIABLE_HEADER* mVarCheckHiiBin
extern

Definition at line 12 of file VarCheckHiiGen.c.

◆ mVarCheckHiiBinSize

UINTN mVarCheckHiiBinSize
extern

Definition at line 13 of file VarCheckHiiGen.c.