|
The Pedigree Project 0.1
|
#include <IrqsCommand.h>
Inheritance diagram for IrqsCommand:
Collaboration diagram for IrqsCommand:Public Member Functions | |
| void | autocomplete (const HugeStaticString &input, HugeStaticString &output) |
| bool | execute (const HugeStaticString &input, HugeStaticString &output, InterruptState &state, DebuggerIO *screen) |
| const NormalStaticString | getString () |
Private Attributes | |
| IrqLineDiagnosticSnapshot | m_Snapshots [SnapshotCapacity] |
Static Private Attributes | |
| static constexpr size_t | SnapshotCapacity = 256 |
Displays detached interrupt-line diagnostics in the kernel debugger.
Definition at line 15 of file IrqsCommand.h.
| IrqsCommand::IrqsCommand | ( | ) |
Definition at line 77 of file IrqsCommand.cc.
| IrqsCommand::~IrqsCommand | ( | ) |
Definition at line 79 of file IrqsCommand.cc.
|
virtual |
Return an autocomplete string, given an input string. The string put into *output must not exceed len in length.
Implements DebuggerCommand.
Definition at line 81 of file IrqsCommand.cc.
|
virtual |
Execute the command with the given screen. The command can take over the screen while executing, but must return it to CLI mode (via enableCLI) before returning.
Implements DebuggerCommand.
Definition at line 83 of file IrqsCommand.cc.
References IrqManager::snapshotIrqLines(), and DebuggerIO::writeCli().
|
inlinevirtual |
Returns the string representation of this command.
Implements DebuggerCommand.
Definition at line 25 of file IrqsCommand.h.
|
private |
Definition at line 34 of file IrqsCommand.h.
|
staticconstexprprivate |
Definition at line 30 of file IrqsCommand.h.