Changeset 36046 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispDbg.h
- Timestamp:
- Feb 21, 2011 5:19:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispDbg.h
r35658 r36046 25 25 * the workaround so far is to pass the log info to the kernel driver and DbgPrint'ed from there, 26 26 * which is enabled by this define */ 27 //# define VBOXWDDMDISP_DEBUG_PRINTDRV 27 # define VBOXWDDMDISP_DEBUG_PRINTDRV 28 /* use OutputDebugString */ 29 # define VBOXWDDMDISP_DEBUG_PRINT 28 30 /* adds vectored exception handler to be able to catch non-debug UM exceptions in kernel debugger */ 29 31 # define VBOXWDDMDISP_DEBUG_VEHANDLER … … 60 62 # define DbgPrintDrvFlow(_m) do { } while (0) 61 63 #endif 64 65 #ifdef VBOXWDDMDISP_DEBUG_PRINT 66 # define DbgPrintUsr(_m) do { vboxDispLogDbgPrintF _m; } while (0) 67 # define DbgPrintUsrRel(_m) do { vboxDispLogDbgPrintF _m; } while (0) 68 # define DbgPrintUsrFlow(_m) do { } while (0) 69 #else 70 # define DbgPrintUsr(_m) do { } while (0) 71 # define DbgPrintUsrRel(_m) do { } while (0) 72 # define DbgPrintUsrFlow(_m) do { } while (0) 73 #endif 62 74 #define vboxVDbgPrint(_m) do { \ 63 75 Log(_m); \ 76 DbgPrintUsr(_m); \ 64 77 DbgPrintDrv(_m); \ 65 78 } while (0) 66 79 #define vboxVDbgPrintF(_m) do { \ 67 80 LogFlow(_m); \ 81 DbgPrintUsrFlow(_m); \ 68 82 DbgPrintDrvFlow(_m); \ 69 83 } while (0) 70 84 #define vboxVDbgPrintR(_m) do { \ 71 85 LogRel(_m); \ 86 DbgPrintUsrRel(_m); \ 72 87 DbgPrintDrvRel(_m); \ 73 88 } while (0) … … 81 96 void vboxDispLogDrvF(char * szString, ...); 82 97 void vboxDispLogDrv(char * szString); 98 void vboxDispLogDbgPrintF(char * szString, ...); 83 99 84 100 typedef struct VBOXWDDMDISP_ALLOCATION *PVBOXWDDMDISP_ALLOCATION;
Note:
See TracChangeset
for help on using the changeset viewer.