Threos Basics

Example memory layout 1

Memory objects and views in this example layout:

The relation of View2a and View2b (one hashmark is one page, dots are just spacing to visualize the gaps):

View2a: ############
View2b: .########...

The memory layout can look like this on a system with memory management:

         +-------+-----------+-------------------------------------+
Physical | Memo1 |  Memo2    |                                     |
         +-------+-----------+-------------------------------------+

         +----------+------+----------+-------+-----------+-----------+-------+
Virtual  |          |View2b|          | View1 |           |  View2a   |       |
         +----------+------+----------+-------+-----------+-----------+-------+

The memory layout can look like this on a system without memory management:

         +-------+-----------+-------------------------------------+
Physical | Memo1 |  Memo2    |                                     |
         +-------+-----------+-------------------------------------+
         ^       ^^
         |       ||
         |       |+-- View2b starts here
         |       +-- View2a starts here
         +-- View1 starts here

Author: Aron Barath, 2017