diff kernel/memory.c3 @ 283:c9781c73e7e2

Added first kernel files
author Windel Bouwman
date Fri, 15 Nov 2013 12:26:50 +0100
parents
children 6aa721e7b10b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/kernel/memory.c3	Fri Nov 15 12:26:50 2013 +0100
@@ -0,0 +1,12 @@
+module memory;
+import process;
+
+uint8_t* ptr;
+
+func uint8_t* Alloc(int size)
+{
+    ptr += size;
+    return ptr;
+}
+
+