mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 17:51:40 +00:00
[WIN32K]
Fix win32k release build svn path=/trunk/; revision=56078
This commit is contained in:
parent
388562e5ec
commit
56f5b39130
4 changed files with 15 additions and 5 deletions
|
@ -151,11 +151,11 @@
|
|||
|
||||
#else
|
||||
#define DBG_GET_PPI
|
||||
#define DBG_DEFAULT_CHANNEL(x) ()
|
||||
#define DBG_DEFAULT_CHANNEL(x)
|
||||
|
||||
#define DBG_ENABLE_CHANNEL(ppi,ch,level) ()
|
||||
#define DBG_DISABLE_CHANNEL(ppi,ch,level) ()
|
||||
#define DBG_IS_CHANNEL_ENABLED(ppi,ch,level) ()
|
||||
#define DBG_ENABLE_CHANNEL(ppi,ch,level)
|
||||
#define DBG_DISABLE_CHANNEL(ppi,ch,level)
|
||||
#define DBG_IS_CHANNEL_ENABLED(ppi,ch,level)
|
||||
|
||||
#define DBG_PRINT(ppi,ch,level)
|
||||
|
||||
|
@ -174,7 +174,8 @@
|
|||
#define WARN_PPI(ppi,ch,fmt, ...)
|
||||
#define TRACE_PPI(ppi,ch,fmt, ...)
|
||||
|
||||
#define UNIMPLEMENTED
|
||||
#define STUB
|
||||
|
||||
#endif
|
||||
|
||||
#define KeRosDumpStackFrames(Frames, Count) KdSystemDebugControl('DsoR', (PVOID)Frames, Count, NULL, 0, NULL, KernelMode)
|
||||
|
|
|
@ -30,6 +30,7 @@ extern ULONG_PTR Win32kSSDT[];
|
|||
extern UCHAR Win32kSSPT[];
|
||||
extern ULONG Win32kNumberOfSysCalls;
|
||||
|
||||
#ifdef DBG
|
||||
void
|
||||
NTAPI
|
||||
DbgPreServiceHook(ULONG ulSyscallId, PULONG_PTR pulArguments)
|
||||
|
@ -46,6 +47,7 @@ DbgPostServiceHook(ULONG ulSyscallId, ULONG_PTR ulResult)
|
|||
ulResult = UserDbgPostServiceHook(ulSyscallId, ulResult);
|
||||
return ulResult;
|
||||
}
|
||||
#endif
|
||||
|
||||
NTSTATUS
|
||||
APIENTRY
|
||||
|
@ -564,8 +566,10 @@ DriverEntry(
|
|||
PsEstablishWin32Callouts((PWIN32_CALLOUTS_FPNS)&CalloutData);
|
||||
|
||||
/* Register service hook callbacks */
|
||||
#ifdef DBG
|
||||
KdSystemDebugControl('CsoR', DbgPreServiceHook, ID_Win32PreServiceHook, 0, 0, 0, 0);
|
||||
KdSystemDebugControl('CsoR', DbgPostServiceHook, ID_Win32PostServiceHook, 0, 0, 0, 0);
|
||||
#endif
|
||||
|
||||
/* Create the global USER heap */
|
||||
GlobalUserHeap = UserCreateHeap(&GlobalUserHeapSection,
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
/** INCLUDES ******************************************************************/
|
||||
|
||||
#ifdef DBG
|
||||
#include <win32k.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
@ -728,4 +729,6 @@ BOOL DbgInitDebugChannels()
|
|||
return ret;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -1309,9 +1309,11 @@ GDI_CleanupForProcess(struct _EPROCESS *Process)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef DBG
|
||||
//#ifdef GDI_DEBUG
|
||||
DbgGdiHTIntegrityCheck();
|
||||
//#endif
|
||||
#endif
|
||||
|
||||
ppi = PsGetCurrentProcessWin32Process();
|
||||
DPRINT("Completed cleanup for process %d\n", Process->UniqueProcessId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue