Files
exectos/xtoskrnl/kd/debug.cc
Aiken Harris 7344c5ed4a
Some checks failed
Builds / ExectOS (amd64, release) (push) Failing after 23s
Builds / ExectOS (amd64, debug) (push) Failing after 41s
Builds / ExectOS (i686, release) (push) Failing after 25s
Builds / ExectOS (i686, debug) (push) Failing after 39s
Add function to query kernel debugger active state
2026-06-06 18:57:32 +02:00

25 lines
558 B
C++

/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/kd/debug.cc
* DESCRIPTION: Kernel Debugger
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#include <xtos.hh>
/**
* Determines whether the interactive kernel debugger is currently active and controlling the execution flow.
*
* @return This routine returns TRUE if the kernel debugger is active, or FALSE otherwise.
*
* @since XT 1.0
*/
XTAPI
BOOLEAN
KD::Debugger::DebuggerActive(VOID)
{
return Active;
}