VirtualBox

Changeset 100037 in vbox for trunk/include/iprt/fdt.h


Ignore:
Timestamp:
Jun 1, 2023 6:06:11 PM (18 months ago)
Author:
vboxsync
Message:

Runtime/RTFdt: Add methods to add stringlist properties, bugref:10401

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/fdt.h

    r100036 r100037  
    273273RTDECL(int) RTFdtNodePropertyAddCellsU32V(RTFDT hFdt, const char *pszProperty, uint32_t cCells, va_list va);
    274274
     275
     276/**
     277 * Adds the given string list property to the given FDT.
     278 *
     279 * @returns IPRT status code.
     280 * @param   hFdt            The flattened devicetree handle.
     281 * @param   pszProperty     The property name.
     282 * @param   cStrings        How many strings are following.
     283 * @param   ...             The strings.
     284 */
     285RTDECL(int) RTFdtNodePropertyAddStringList(RTFDT hFdt, const char *pszProperty, uint32_t cStrings, ...);
     286
     287
     288/**
     289 * Adds the given string list property to the given FDT.
     290 *
     291 * @returns IPRT status code.
     292 * @param   hFdt            The flattened devicetree handle.
     293 * @param   pszProperty     The property name.
     294 * @param   cStrings        How many strings are following.
     295 * @param   va              The strings.
     296 */
     297RTDECL(int) RTFdtNodePropertyAddStringListV(RTFDT hFdt, const char *pszProperty, uint32_t cStrings, va_list va);
     298
    275299#endif /* IN_RING3 */
    276300
Note: See TracChangeset for help on using the changeset viewer.

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