VirtualBox

Changeset 58772 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Nov 19, 2015 3:57:35 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104219
Message:

Runtime/r0drv: Added RTR0DbgKrnlInfoQuerySize, currently implemented only on Solaris.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r57944 r58772  
    16231623RTR0DECL(int)       RTR0DbgKrnlInfoQuerySymbol(RTDBGKRNLINFO hKrnlInfo, const char *pszModule,
    16241624                                               const char *pszSymbol, void **ppvSymbol);
     1625
     1626
     1627/**
     1628 * Queries the size (in bytes) of a kernel data type.
     1629 *
     1630 * @returns IPRT status code.
     1631 * @retval  VINF_SUCCESS and size at @a pcbType.
     1632 * @retval  VERR_NOT_FOUND if the type was not found.
     1633 * @retval  VERR_INVALID_HANDLE if hKrnlInfo is bad.
     1634 * @retval  VERR_INVALID_POINTER if any of the pointers are bad.
     1635 * @retval  VERR_WRONG_TYPE if the type was not a valid data type (e.g. a
     1636 *          function)
     1637 *
     1638 * @param   hKrnlInfo       The kernel info handle.
     1639 * @param   pszModule       The name of the module to search, pass NULL to
     1640 *                          search the default kernel module.
     1641 * @param   pszType         The type name.
     1642 * @param   pcbType         Where to return the size of the type.
     1643 */
     1644RTR0DECL(int)       RTR0DbgKrnlInfoQuerySize(RTDBGKRNLINFO hKrnlInfo, const char *pszModule,
     1645                                             const char *pszType, size_t *pcbType);
    16251646/** @} */
    16261647
  • trunk/include/iprt/mangling.h

    r58747 r58772  
    14191419# define RTR0DbgKrnlInfoOpen                            RT_MANGLER(RTR0DbgKrnlInfoOpen)        /* r0drv */
    14201420# define RTR0DbgKrnlInfoQueryMember                     RT_MANGLER(RTR0DbgKrnlInfoQueryMember) /* r0drv */
     1421# define RTR0DbgKrnlInfoQuerySize                       RT_MANGLER(RTR0DbgKrnlInfoQuerySize)   /* r0drv */
    14211422# define RTR0DbgKrnlInfoQuerySymbol                     RT_MANGLER(RTR0DbgKrnlInfoQuerySymbol) /* r0drv */
    14221423# define RTR0DbgKrnlInfoRelease                         RT_MANGLER(RTR0DbgKrnlInfoRelease)     /* r0drv */
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