Mercurial > lcfOS
diff kernel/src/memory.c3 @ 367:577ed7fb3fe4
Try to make thumb work again
author | Windel Bouwman |
---|---|
date | Fri, 21 Mar 2014 10:27:57 +0100 |
parents | b4ac28efcdf4 |
children | 9667d78ba79e |
line wrap: on
line diff
--- a/kernel/src/memory.c3 Fri Mar 21 09:43:01 2014 +0100 +++ b/kernel/src/memory.c3 Fri Mar 21 10:27:57 2014 +0100 @@ -1,9 +1,15 @@ module memory; -import process; +import archmem; var int ptr; +function void init() +{ + archmem.init(); + // TODO +} + function u8* Alloc(int size) { ptr = ptr + size;