Mercurial > lcfOS
view 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 source
module memory; import archmem; var int ptr; function void init() { archmem.init(); // TODO } function u8* Alloc(int size) { ptr = ptr + size; return cast<u8*>(ptr); }