The Pedigree Project
0.1
|
#include <MappingCommand.h>
Public Member Functions | |
MappingCommand () | |
~MappingCommand () | |
void | autocomplete (const HugeStaticString &input, HugeStaticString &output) |
bool | execute (const HugeStaticString &input, HugeStaticString &output, InterruptState &state, DebuggerIO *screen) |
const NormalStaticString | getString () |
Calculates effective addresses and physical addresses.
Definition at line 34 of file MappingCommand.h.
MappingCommand::MappingCommand | ( | ) |
Default constructor - zeroes stuff.
Definition at line 29 of file MappingCommand.cc.
MappingCommand::~MappingCommand | ( | ) |
Default destructor - does nothing.
Definition at line 33 of file MappingCommand.cc.
|
virtual |
Return an autocomplete string, given an input string.
Implements DebuggerCommand.
Definition at line 37 of file MappingCommand.cc.
|
virtual |
Execute the command with the given screen.
Implements DebuggerCommand.
Definition at line 42 of file MappingCommand.cc.
References VirtualAddressSpace::getKernelAddressSpace(), VirtualAddressSpace::getMapping(), PhysicalMemoryManager::getPageSize(), Processor::information(), VirtualAddressSpace::isMapped(), and Processor::switchAddressSpace().
|
inlinevirtual |
Returns the string representation of this command.
Implements DebuggerCommand.
Definition at line 62 of file MappingCommand.h.