annotate kernel/memory.c3 @ 296:9417caea2eb3

Directorized some backend files
author Windel Bouwman
date Sun, 01 Dec 2013 13:36:58 +0100
parents 6aa721e7b10b
children 6753763d3bec
rev   line source
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
1 module memory;
293
6aa721e7b10b Try to improve build sequence
Windel Bouwman
parents: 283
diff changeset
2
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
3 import process;
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
4
296
9417caea2eb3 Directorized some backend files
Windel Bouwman
parents: 293
diff changeset
5 var u8* ptr;
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
6
296
9417caea2eb3 Directorized some backend files
Windel Bouwman
parents: 293
diff changeset
7 function u8* Alloc(int size)
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
8 {
296
9417caea2eb3 Directorized some backend files
Windel Bouwman
parents: 293
diff changeset
9 ptr = ptr + size;
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
10 return ptr;
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
11 }
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
12
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
13