mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 03:23:34 +08:00
[NTOS:KD64] Only use the UNIMPLEMENTED macro in the debugger's KdpSys* helpers.
This basically avoids re-entering the debugger (via the embedded breakpoint) while we are already running within its context. In addition, this allows the tests for Kd/NtSystemDebugControl (see PRs #7424 and #7426) to run without having ReactOS to crash.
This commit is contained in:
parent
2d3f3a1613
commit
edb6d19aa8
@ -139,7 +139,7 @@ KdpSysReadBusData(IN ULONG BusDataType,
|
||||
IN ULONG Length,
|
||||
OUT PULONG ActualLength)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -153,7 +153,7 @@ KdpSysWriteBusData(IN ULONG BusDataType,
|
||||
IN ULONG Length,
|
||||
OUT PULONG ActualLength)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -355,7 +355,7 @@ NTSTATUS
|
||||
NTAPI
|
||||
KdpSysCheckLowMemory(IN ULONG Flags)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -363,7 +363,7 @@ NTSTATUS
|
||||
NTAPI
|
||||
KdpAllowDisable(VOID)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_ACCESS_DENIED;
|
||||
}
|
||||
|
||||
|
@ -22,7 +22,7 @@ NTAPI
|
||||
KdpGetStateChange(IN PDBGKD_MANIPULATE_STATE64 State,
|
||||
IN PCONTEXT Context)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
VOID
|
||||
@ -30,7 +30,7 @@ NTAPI
|
||||
KdpSetContextState(IN PDBGKD_ANY_WAIT_STATE_CHANGE WaitStateChange,
|
||||
IN PCONTEXT Context)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
@ -38,7 +38,7 @@ NTAPI
|
||||
KdpSysReadMsr(IN ULONG Msr,
|
||||
OUT PLARGE_INTEGER MsrValue)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -47,7 +47,7 @@ NTAPI
|
||||
KdpSysWriteMsr(IN ULONG Msr,
|
||||
IN PLARGE_INTEGER MsrValue)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ KdpSysReadBusData(IN ULONG BusDataType,
|
||||
IN ULONG Length,
|
||||
OUT PULONG ActualLength)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -75,7 +75,7 @@ KdpSysWriteBusData(IN ULONG BusDataType,
|
||||
IN ULONG Length,
|
||||
OUT PULONG ActualLength)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -87,7 +87,7 @@ KdpSysReadControlSpace(IN ULONG Processor,
|
||||
IN ULONG Length,
|
||||
OUT PULONG ActualLength)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@ KdpSysWriteControlSpace(IN ULONG Processor,
|
||||
IN ULONG Length,
|
||||
OUT PULONG ActualLength)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -113,7 +113,7 @@ KdpSysReadIoSpace(IN ULONG InterfaceType,
|
||||
IN ULONG DataSize,
|
||||
OUT PULONG ActualDataSize)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -127,7 +127,7 @@ KdpSysWriteIoSpace(IN ULONG InterfaceType,
|
||||
IN ULONG DataSize,
|
||||
OUT PULONG ActualDataSize)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -135,7 +135,7 @@ NTSTATUS
|
||||
NTAPI
|
||||
KdpSysCheckLowMemory(IN ULONG Flags)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -143,6 +143,6 @@ NTSTATUS
|
||||
NTAPI
|
||||
KdpAllowDisable(VOID)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_ACCESS_DENIED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user