mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
- Merge from KD-branch:
- Remove double implementation of DebugPrint with a single correct implementation which calls DebugService, and moved DebugPrint to rtl since it can now be shared properly. svn path=/trunk/; revision=25942
This commit is contained in:
parent
2e20ca1f14
commit
a0a19e46ae
|
@ -14,28 +14,6 @@
|
|||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DebugService(IN ULONG Service,
|
||||
IN PVOID Buffer,
|
||||
IN ULONG Length,
|
||||
IN PVOID Argument1,
|
||||
IN PVOID Argument2);
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DebugPrint(IN PANSI_STRING DebugString,
|
||||
IN ULONG ComponentId,
|
||||
IN ULONG Level)
|
||||
{
|
||||
/* Call the INT2D Service */
|
||||
return DebugService(BREAKPOINT_PRINT,
|
||||
DebugString->Buffer,
|
||||
DebugString->Length,
|
||||
UlongToPtr(ComponentId),
|
||||
UlongToPtr(Level));
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
/* PRIVATE FUNCTIONS ********************************************************/
|
||||
|
||||
#if 0
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DebugPrint(IN PANSI_STRING DebugString,
|
||||
|
@ -28,15 +27,8 @@ DebugPrint(IN PANSI_STRING DebugString,
|
|||
DebugString->Buffer,
|
||||
DebugString->Length,
|
||||
UlongToPtr(ComponentId),
|
||||
UlongToPtr(Level));
|
||||
UlongToPtr(Level));
|
||||
}
|
||||
#else
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DebugPrint(IN PANSI_STRING DebugString,
|
||||
IN ULONG ComponentId,
|
||||
IN ULONG Level);
|
||||
#endif
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
|
|
|
@ -23,17 +23,6 @@ extern ULONG NtOSCSDVersion;
|
|||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DebugPrint(IN PANSI_STRING DebugString,
|
||||
IN ULONG ComponentId,
|
||||
IN ULONG Level)
|
||||
{
|
||||
/* Temporary hack */
|
||||
KdpPrintString(DebugString->Buffer, DebugString->Length);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue