shares are dynamically allocated as well:)
[mTask.git] / client / mem.h
diff --git a/client/mem.h b/client/mem.h
new file mode 100644 (file)
index 0000000..c1adc94
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef MEM_H
+#define MEM_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <stdint.h>
+#include <stdbool.h>
+
+#define MEMSIZE 1024
+
+uint8_t *mem_top;
+uint8_t *mem_bottom;
+uint8_t *mem_task;
+uint8_t *mem_sds;
+
+uint16_t mem_free(void);
+
+#ifdef __cplusplus
+}
+#endif
+#endif