20 #ifndef ALLOCATIONCOMMAND_H 21 #define ALLOCATIONCOMMAND_H 23 #include "pedigree/kernel/debugger/DebuggerCommand.h" 24 #include "pedigree/kernel/debugger/DebuggerIO.h" 25 #include "pedigree/kernel/debugger/Scrollable.h" 26 #include "pedigree/kernel/processor/state_forward.h" 27 #include "pedigree/kernel/processor/types.h" 28 #include "pedigree/kernel/utilities/StaticString.h" 29 #include "pedigree/kernel/utilities/Tree.h" 30 #include "pedigree/kernel/utilities/Vector.h" 35 #define NUM_BT_FRAMES 6 73 void allocatePage(physical_uintptr_t page);
74 void freePage(physical_uintptr_t page);
81 void setMallocing(
bool b)
91 virtual const char *getLine1(
93 virtual const char *getLine2(
96 virtual size_t getLineCount();
101 physical_uintptr_t page;
102 uintptr_t ra[NUM_BT_FRAMES];
A vector / dynamic array.
bool execute(const HugeStaticString &input, HugeStaticString &output, InterruptState &state, DebuggerIO *screen)
const NormalStaticString getString()
void autocomplete(const HugeStaticString &input, HugeStaticString &output)
An iterator applicable for many data structures.