VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/UefiPayloadPkg/Library/CustomFdtNodeParserNullLib/CustomFdtNodeParserNullLib.c@ 109019

Last change on this file since 109019 was 108794, checked in by vboxsync, 4 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 1016 bytes
Line 
1/** @file
2 Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
3 SPDX-License-Identifier: BSD-2-Clause-Patent
4**/
5#include <Uefi.h>
6#include <PiPei.h>
7#include <Pi/PiHob.h>
8
9/**
10 Check the HOB and decide if it is need inside Payload
11 Payload maintainer may make decision which HOB is need or needn't
12 Then add the check logic in the function.
13 @param[in] Hob The HOB to check
14 @retval TRUE If HOB is need inside Payload
15 @retval FALSE If HOB is needn't inside Payload
16**/
17BOOLEAN
18FitIsHobNeed (
19 EFI_PEI_HOB_POINTERS Hob
20 )
21{
22 return FALSE;
23}
24
25/**
26 It will Parse FDT -custom node based on information from bootloaders.
27 @param[in] FdtBase The starting memory address of FdtBase.
28 @param[in] HobList The starting memory address of New Hob list.
29 @retval HobList The base address of Hoblist.
30
31**/
32UINTN
33CustomFdtNodeParser (
34 IN VOID *Fdt,
35 IN VOID *HobList
36 )
37{
38 UINTN CHobList;
39
40 CHobList = 0;
41 if (HobList != NULL) {
42 CHobList = (UINTN)HobList;
43 }
44
45 return CHobList;
46}
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette