aboutsummaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-20 23:22:42 -0700
committerChristian Cunningham <cc@localhost>2022-01-20 23:22:42 -0700
commit73a80de4228a498b483c8e10ab317920d978d507 (patch)
treeeea73a138a509d7758ef477d4997cf7147233604 /include/lib
parentc2e52566ed53b53227a6fe577a05170766a1ae4c (diff)
Moved globals to file
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/mem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lib/mem.h b/include/lib/mem.h
index 529ecea..ea1be5d 100644
--- a/include/lib/mem.h
+++ b/include/lib/mem.h
@@ -6,6 +6,7 @@
#define MEM_BASE_SIZE 2
#define MEM_META_SIZE 3
#define NULL 0
+#define MAX_MM 0x100000
struct MemTab {
unsigned char size;
@@ -20,6 +21,7 @@ struct RotBuffer {
unsigned int woffset;
};
+void memshow(unsigned char* addr, unsigned int n);
void memset(unsigned char* dest, unsigned char value, unsigned int n);
void memcpy(unsigned char* src, unsigned char* dest, unsigned int n);
unsigned char memcmp(unsigned char* a, unsigned char* b, unsigned int n);