TianoCore EDK2 master
Loading...
Searching...
No Matches
CustomFdtNodeParserNullLib.c File Reference
#include <Uefi.h>
#include <PiPei.h>
#include <Pi/PiHob.h>

Go to the source code of this file.

Functions

BOOLEAN FitIsHobNeed (EFI_PEI_HOB_POINTERS Hob)
 
UINTN CustomFdtNodeParser (IN VOID *Fdt, IN VOID *HobList)
 

Detailed Description

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

Definition in file CustomFdtNodeParserNullLib.c.

Function Documentation

◆ CustomFdtNodeParser()

UINTN CustomFdtNodeParser ( IN VOID *  Fdt,
IN VOID *  HobList 
)

It will Parse FDT -custom node based on information from bootloaders.

Parameters
[in]FdtBaseThe starting memory address of FdtBase.
[in]HobListThe starting memory address of New Hob list.
Return values
HobListThe base address of Hoblist.

Definition at line 33 of file CustomFdtNodeParserNullLib.c.

◆ FitIsHobNeed()

BOOLEAN FitIsHobNeed ( EFI_PEI_HOB_POINTERS  Hob)

Check the HOB and decide if it is need inside Payload Payload maintainer may make decision which HOB is need or needn't Then add the check logic in the function.

Parameters
[in]HobThe HOB to check
Return values
TRUEIf HOB is need inside Payload
FALSEIf HOB is needn't inside Payload

Definition at line 18 of file CustomFdtNodeParserNullLib.c.