VirtualBox

Changeset 90943 in vbox


Ignore:
Timestamp:
Aug 27, 2021 10:25:11 AM (3 years ago)
Author:
vboxsync
Message:

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

Location:
trunk
Files:
2 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.
  • trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h

    r90780 r90943  
    310310#define OSDBGPRINT(a) SUPR0Printf a
    311311
    312 /** Debug printf macro shared with the ring-3 part. */
    313 #ifdef DEBUG_bird
    314 # define SUP_DPRINTF(a) SUPR0Printf a
    315 #else
    316 # define SUP_DPRINTF(a) do { } while (0)
    317 #endif
    318 
    319312
    320313/** @name Context values for the per-session handle tables.
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