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
70 void allocatePage(physical_uintptr_t page);
71 void freePage(physical_uintptr_t page);
77 void setMallocing(
bool b) {
88 virtual const char* getLine2(
size_t index,
size_t& colOffset,
DebuggerIO::Colour& colour,
90 virtual size_t getLineCount();
94 physical_uintptr_t page;
95 uintptr_t ra[NUM_BT_FRAMES];
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.
A vector / dynamic array.