diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-25 17:10:59 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-25 17:10:59 +0100 |
commit | c82fd7320a83daec780bb9f7c11239e269410c91 (patch) | |
tree | a5939471652ded3943606699480a6a105696807f /qtmips_machine/memory.h | |
parent | db722b7163fffc868cdea338bd6a4c6eddffd2b1 (diff) | |
download | qtmips-c82fd7320a83daec780bb9f7c11239e269410c91.tar.gz qtmips-c82fd7320a83daec780bb9f7c11239e269410c91.tar.bz2 qtmips-c82fd7320a83daec780bb9f7c11239e269410c91.zip |
Add focus function to memory view
Diffstat (limited to 'qtmips_machine/memory.h')
-rw-r--r-- | qtmips_machine/memory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qtmips_machine/memory.h b/qtmips_machine/memory.h index d1fa2e7..525ca56 100644 --- a/qtmips_machine/memory.h +++ b/qtmips_machine/memory.h @@ -87,6 +87,10 @@ 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(); |