From 3ad654354bc051796646186d45e027b30feea942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 10 Apr 2018 12:45:45 +0200 Subject: Drop quick jump buttons from memory view They are not implemented and even if they would they usage would be little bit funky as they would jump by internal amount of page memory. --- qtmips_machine/memory.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'qtmips_machine/memory.cpp') diff --git a/qtmips_machine/memory.cpp b/qtmips_machine/memory.cpp index 9ab7ef6..3b47ca7 100644 --- a/qtmips_machine/memory.cpp +++ b/qtmips_machine/memory.cpp @@ -231,18 +231,6 @@ const union machine::MemoryTree *Memory::get_memorytree_root() const { return this->mt_root; } -std::uint32_t Memory::next_allocated(std::uint32_t address) const { - address = address >> 2; - // TODO - return address; -} - -std::uint32_t Memory::prev_allocated(std::uint32_t address) const { - address = address >> 2; - // TODO - return address; -} - union machine::MemoryTree *Memory::allocate_section_tree() { union MemoryTree *mt = new union MemoryTree[MEMORY_TREE_ROW_SIZE]; memset(mt, 0, sizeof *mt * MEMORY_TREE_ROW_SIZE); -- cgit v1.2.3