Mercurial > lcfOS
comparison kernel/src/memory.c3 @ 377:9667d78ba79e
Switched to xml for project description
author | Windel Bouwman |
---|---|
date | Fri, 11 Apr 2014 15:47:50 +0200 |
parents | 577ed7fb3fe4 |
children | 6df89163e114 |
comparison
equal
deleted
inserted
replaced
376:1e951e71d3f1 | 377:9667d78ba79e |
---|---|
1 module memory; | 1 module memory; |
2 | 2 |
3 import archmem; | 3 import arch; |
4 | 4 |
5 var int ptr; | 5 var int ptr; |
6 | 6 |
7 function void init() | 7 function void init() |
8 { | 8 { |
9 archmem.init(); | 9 arch.init(); |
10 // TODO | 10 // TODO |
11 } | 11 } |
12 | 12 |
13 function u8* Alloc(int size) | 13 function u8* Alloc(int size) |
14 { | 14 { |