diff options
author | Karel Kočí <cynerd@email.cz> | 2018-04-10 12:45:45 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-04-10 12:45:45 +0200 |
commit | 3ad654354bc051796646186d45e027b30feea942 (patch) | |
tree | 315a4e3087a41dfc763128fcbc4755789a285c9b /qtmips_machine | |
parent | 482767bea82e89f7c984db3e8a0faa572c5ae592 (diff) | |
download | qtmips-3ad654354bc051796646186d45e027b30feea942.tar.gz qtmips-3ad654354bc051796646186d45e027b30feea942.tar.bz2 qtmips-3ad654354bc051796646186d45e027b30feea942.zip |
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.
Diffstat (limited to 'qtmips_machine')
-rw-r--r-- | qtmips_machine/memory.cpp | 12 | ||||
-rw-r--r-- | qtmips_machine/memory.h | 4 |
2 files changed, 0 insertions, 16 deletions
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); diff --git a/qtmips_machine/memory.h b/qtmips_machine/memory.h index 231cc34..e4777b3 100644 --- a/qtmips_machine/memory.h +++ b/qtmips_machine/memory.h @@ -85,10 +85,6 @@ public: const union MemoryTree *get_memorytree_root() const; - // These functions locate next start or end of next allocated tree leaf - std::uint32_t next_allocated(std::uint32_t) const; - std::uint32_t prev_allocated(std::uint32_t) const; - private: union MemoryTree *mt_root; static union MemoryTree *allocate_section_tree(); |