VirtualBox

Changeset 90943 in vbox for trunk/include


Ignore:
Timestamp:
Aug 27, 2021 10:25:11 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146581
Message:

SUP: Promoted SUP_DPRINTF from SUPDrvInternal.h to sup.h when IN_RING0, so that VMMR0 can use it too. bugref:10086

File:
1 edited

Legend:

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

    r90859 r90943  
    22202220SUPR0DECL(int)  SUPR0Printf(const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(1, 2);
    22212221
     2222#ifdef IN_RING0
     2223/** Debug printf macro. This also exist in SUPLib, see SUPLibInternal.h. */
     2224# ifdef DEBUG
     2225#  define SUP_DPRINTF(a) SUPR0Printf a
     2226# else
     2227#  define SUP_DPRINTF(a) do { } while (0)
     2228# endif
     2229#endif
     2230
    22222231/**
    22232232 * Returns configuration flags of the host kernel.
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