VirtualBox

Changeset 18191 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 24, 2009 2:39:36 PM (16 years ago)
Author:
vboxsync
Message:

SUPLoggerCtl: program for controlling the ring-0 logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/sup.h

    r15505 r18191  
    496496SUPR3DECL(int) SUPR3CallR0Service(const char *pszService, size_t cchService, uint32_t uOperation, uint64_t u64Arg, PSUPR0SERVICEREQHDR pReqHdr);
    497497
     498/** Which logger. */
     499typedef enum SUPLOGGER
     500{
     501    SUPLOGGER_DEBUG = 1,
     502    SUPLOGGER_RELEASE
     503} SUPLOGGER;
     504
     505/**
     506 * Changes the settings of the specified ring-0 logger.
     507 *
     508 * @returns VBox status code.
     509 * @param   enmWhich    Which logger.
     510 * @param   pszFlags    The flags settings.
     511 * @param   pszGroups   The groups settings.
     512 * @param   pszDest     The destionation specificier.
     513 */
     514SUPR3DECL(int) SUPR3LoggerSettings(SUPLOGGER enmWhich, const char *pszFlags, const char *pszGroups, const char *pszDest);
     515
     516/**
     517 * Creates a ring-0 logger instance.
     518 *
     519 * @returns VBox status code.
     520 * @param   enmWhich    Which logger to create.
     521 * @param   pszFlags    The flags settings.
     522 * @param   pszGroups   The groups settings.
     523 * @param   pszDest     The destionation specificier.
     524 */
     525SUPR3DECL(int) SUPR3LoggerCreate(SUPLOGGER enmWhich, const char *pszFlags, const char *pszGroups, const char *pszDest);
     526
     527/**
     528 * Destroys a ring-0 logger instance.
     529 *
     530 * @returns VBox status code.
     531 * @param   enmWhich    Which logger.
     532 */
     533SUPR3DECL(int) SUPR3LoggerDestroy(SUPLOGGER enmWhich);
     534
    498535/**
    499536 * Queries the paging mode of the host OS.
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