aboutsummaryrefslogtreecommitdiff
path: root/memory.h
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-12-31 12:04:14 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-12-31 12:04:14 +0100
commit3387b288a53422131f22f1fc96168a128edc9902 (patch)
tree1b6c0d56d510ad5f93541758cc5981d29671911f /memory.h
parent5d4b43f71936baafdd80251751fc0c6b51b79fb9 (diff)
downloadrpi-MMU-example-3387b288a53422131f22f1fc96168a128edc9902.tar.gz
rpi-MMU-example-3387b288a53422131f22f1fc96168a128edc9902.zip
remove misleading const
Diffstat (limited to 'memory.h')
-rw-r--r--memory.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/memory.h b/memory.h
index f6ece42..7de556d 100644
--- a/memory.h
+++ b/memory.h
@@ -21,14 +21,14 @@
#define INTERRUPT_VECTOR_TABLE_START ((uint32_t) 0x0)
// all those symbols are defined in the linker script
-extern const char __end;
-extern const char __start;
-extern const char _translation_table_start;
-extern const char _translation_table_end;
-extern const char _stack_start;
-extern const char _stack_top;
-extern const char _unprivileged_memory_start;
-extern const char _unprivileged_memory_end;
+extern char __end;
+extern char __start;
+extern char _translation_table_start;
+extern char _translation_table_end;
+extern char _stack_start;
+extern char _stack_top;
+extern char _unprivileged_memory_start;
+extern char _unprivileged_memory_end;
#define KERNEL_START ((size_t) &__start) // this is 0x0
#define KERNEL_END ((size_t) &__end)