diff kernel/src/memory.c3 @ 359:b4ac28efcdf4

Reorganize files
author Windel Bouwman
date Fri, 14 Mar 2014 15:41:55 +0100
parents kernel/memory.c3@6753763d3bec
children 577ed7fb3fe4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/kernel/src/memory.c3	Fri Mar 14 15:41:55 2014 +0100
@@ -0,0 +1,13 @@
+module memory;
+
+import process;
+
+var int ptr;
+
+function u8* Alloc(int size)
+{
+    ptr = ptr + size;
+    return cast<u8*>(ptr);
+}
+
+