mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 12:40:33 +00:00
- Remove KeRosDumpStackFrames export and make the call go through KdSystemDebugControl instead
svn path=/trunk/; revision=38117
This commit is contained in:
parent
45aaa00ef8
commit
2521c1979a
3 changed files with 8 additions and 2 deletions
|
@ -90,6 +90,13 @@ KdpServiceDispatcher(ULONG Service,
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* Special case for stack frame dumps */
|
||||
case TAG('R', 'o', 's', 'D'):
|
||||
{
|
||||
KeRosDumpStackFrames((PULONG)Buffer1, Buffer1Length);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
default:
|
||||
HalDisplayString ("Invalid debug service call!\n");
|
||||
|
|
|
@ -1030,7 +1030,6 @@
|
|||
@ stdcall READ_REGISTER_UCHAR(ptr)
|
||||
@ stdcall READ_REGISTER_ULONG(ptr)
|
||||
@ stdcall READ_REGISTER_USHORT(ptr)
|
||||
@ stdcall KeRosDumpStackFrames(ptr long)
|
||||
@ stdcall RtlAbsoluteToSelfRelativeSD(ptr ptr ptr)
|
||||
@ stdcall RtlAddAccessAllowedAce(ptr long long ptr)
|
||||
@ stdcall RtlAddAccessAllowedAceEx(ptr long long long ptr)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#ifdef GDI_DEBUG
|
||||
|
||||
NTSYSAPI VOID APIENTRY KeRosDumpStackFrames(PULONG, ULONG);
|
||||
#define KeRosDumpStackFrames(Frames, Count) KdSystemDebugControl(TAG('R', 'o', 's', 'D'), (PVOID)Frames, Count, NULL, 0, NULL, KernelMode)
|
||||
NTSYSAPI ULONG APIENTRY RtlWalkFrameChain(OUT PVOID *Callers, IN ULONG Count, IN ULONG Flags);
|
||||
|
||||
static int leak_reported = 0;
|
||||
|
|
Loading…
Reference in a new issue