aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/lib/mem.h5
-rw-r--r--include/sys/timer.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/include/lib/mem.h b/include/lib/mem.h
index 5c5cc94..166dfdc 100644
--- a/include/lib/mem.h
+++ b/include/lib/mem.h
@@ -1,6 +1,11 @@
#ifndef LIB_MEM_H
#define LIB_MEM_H
+#define MEM_SIZE_OFFSET 0
+#define MEM_USE_OFFSET 1
+#define MEM_BASE_SIZE 2
+#define MEM_META_SIZE 3
+
struct MemTab {
unsigned char size;
unsigned char in_use;
diff --git a/include/sys/timer.h b/include/sys/timer.h
index 29dc2dd..f11fd17 100644
--- a/include/sys/timer.h
+++ b/include/sys/timer.h
@@ -1,6 +1,9 @@
#ifndef SYS_TIMER_H
#define SYS_TIMER_H
+/// Cycles Per Second
+#define CPS 100
+
#ifndef SYS_TIMER_C
extern struct Mutex exe_cnt_m;
#endif