The Pedigree Project
0.1
|
#include <IoCommand.h>
Public Member Functions | |
IoCommand () | |
~IoCommand () | |
void | autocomplete (const HugeStaticString &input, HugeStaticString &output) |
bool | execute (const HugeStaticString &input, HugeStaticString &output, InterruptState &state, DebuggerIO *screen) |
const NormalStaticString | getString () |
Debugger command that list allocated I/O ports and memory-regions
Definition at line 35 of file IoCommand.h.
IoCommand::IoCommand | ( | ) |
Default constructor - zero's stuff.
Definition at line 29 of file IoCommand.cc.
IoCommand::~IoCommand | ( | ) |
Default destructor - does nothing.
Definition at line 33 of file IoCommand.cc.
|
virtual |
Return an autocomplete string, given an input string.
Implements DebuggerCommand.
Definition at line 37 of file IoCommand.cc.
|
virtual |
Execute the command with the given screen.
Implements DebuggerCommand.
Definition at line 42 of file IoCommand.cc.
References IoPortManager::allocateIoPortList(), PhysicalMemoryManager::allocateMemoryRegionList(), Vector< T >::begin(), Vector< T >::end(), IoPortManager::freeIoPortList(), IoPortManager::instance(), and PhysicalMemoryManager::instance().
|
inlinevirtual |
Returns the string representation of this command.
Implements DebuggerCommand.
Definition at line 63 of file IoCommand.h.