VirtualBox

Ignore:
Timestamp:
Mar 31, 2025 11:31:09 AM (2 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168237
Message:

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

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtUtility.h

    r99404 r108794  
    456456  );
    457457
     458/** For relevant architectures, get the "#address-cells" and/or "#size-cells"
     459    property of the node.
     460
     461  According to the Device Tree specification, s2.3.5 "#address-cells and
     462  #size-cells":
     463  "If missing, a client program should assume a default value of 2 for
     464  #address-cells, and a value of 1 for #size-cells."
     465
     466  @param [in]  Fdt              Pointer to a Flattened Device Tree.
     467  @param [in]  Node             Offset of the node having to get the
     468                                "#address-cells" and "#size-cells"
     469                                properties from.
     470  @param [out] AddressCells     If success, number of address-cells.
     471                                If the property is not available,
     472                                default value is 2.
     473  @param [out] SizeCells        If success, number of size-cells.
     474                                If the property is not available,
     475                                default value is 1.
     476
     477  @retval EFI_INVALID_PARAMETER   Invalid parameter.
     478**/
     479EFI_STATUS
     480EFIAPI
     481FdtGetIntcAddressCells (
     482  IN  CONST VOID *Fdt,
     483  IN        INT32 Node,
     484  OUT       INT32 *AddressCells, OPTIONAL
     485  OUT       INT32     *SizeCells       OPTIONAL
     486  );
     487
    458488#endif // FDT_UTILITY_H_
Note: See TracChangeset for help on using the changeset viewer.

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