runtime: implement a simple mark/sweep garbage collector

This commit is contained in:
Ayke van Laethem
2018-11-18 19:18:39 +01:00
parent dbf581b56d
commit 8402e84b6d
7 changed files with 477 additions and 3 deletions
+2
View File
@@ -58,3 +58,5 @@ SECTIONS
/* For the memory allocator. */
_heap_start = _ebss;
_heap_end = ORIGIN(RAM) + LENGTH(RAM);
_globals_start = _sdata;
_globals_end = _ebss;