- Remove KeRosDumpStackFrames export and make the call go through KdSystemDebugControl instead

svn path=/trunk/; revision=38117
This commit is contained in:
Stefan Ginsberg 2008-12-16 15:25:51 +00:00
parent 45aaa00ef8
commit 2521c1979a
3 changed files with 8 additions and 2 deletions

View file

@ -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");

View file

@ -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)

View file

@ -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;