aboutsummaryrefslogtreecommitdiff
path: root/memory.h
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-12-03 16:23:18 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-12-03 16:23:18 +0100
commitc76b34db77f06450ba1c957e87a0b1df3c6c29b4 (patch)
treea89c304fdcbf8650b1262500a3ccea911878b880 /memory.h
parent401bf03070458cf3a5ee6947bd01a8f397fe2909 (diff)
downloadrpi-MMU-example-c76b34db77f06450ba1c957e87a0b1df3c6c29b4.tar.gz
rpi-MMU-example-c76b34db77f06450ba1c957e87a0b1df3c6c29b4.zip
separate libkernel setus, PL0 code setup and jump to PL0 code into different functions
Diffstat (limited to 'memory.h')
-rw-r--r--memory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/memory.h b/memory.h
index 2211c9d..1c9ae35 100644
--- a/memory.h
+++ b/memory.h
@@ -10,8 +10,8 @@
#define STACK_START ((uint32_t) 0x4000)
#define STACK_END ((uint32_t) 0x8000)
-extern char __end;
-extern char __start;
+extern const char __end;
+extern const char __start;
#define KERNEL_START ((uint32_t) &__start)
#define KERNEL_END ((uint32_t) &__end)