Skip to content

katahiromz/EAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EAT (Eyeball Allocation Table)

EAT is a simple, enlargeable and mergeable virtual memory management system (and filesystem?), written in C++, by katahiromz.

You can do malloc, calloc, strdup etc. in EAT without modern OS.

"THE MASTER IMAGE"

+---------------------------+(top) == this
|HEAD                       |
+---------------------------+(head_size)
|DATA #0 (variable length)  |
|DATA #1                    |
|  :                        |
|  :     DATA_AREA          | | |
|  :                        | | |
|DATA #n-1 (grows downward) | V V
+---------------------------+(boundary_1)
|                           |
|        FREE_AREA          |
|                           |
+---------------------------+(boundary_2)
|ENTRY #n-1 (grows upward)  | A A
|  :                        | | |
|  :       TABLE            | | |
|  :                        |
|ENTRY #1                   |
|ENTRY #0                   |
+---------------------------+(bottom)

Contact Us

Katayama Hirofumi MZ (katahiromz)

[email protected]