aboutsummaryrefslogtreecommitdiff
path: root/loader_stage1.S
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-12-28 19:09:47 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-12-28 19:09:47 +0100
commit80c9af17330ac442a4c3d6d55b4041cbe923e9b4 (patch)
tree19e308295f36fb66ec7c9835118585155610df5d /loader_stage1.S
parent38afee0bfe051f1c1e5b9426395eb50b9d8a7bc2 (diff)
downloadrpi-MMU-example-80c9af17330ac442a4c3d6d55b4041cbe923e9b4.tar.gz
rpi-MMU-example-80c9af17330ac442a4c3d6d55b4041cbe923e9b4.zip
modify comment in the top of loader_stage1.S
Diffstat (limited to 'loader_stage1.S')
-rw-r--r--loader_stage1.S18
1 files changed, 9 insertions, 9 deletions
diff --git a/loader_stage1.S b/loader_stage1.S
index adf2e12..9326360 100644
--- a/loader_stage1.S
+++ b/loader_stage1.S
@@ -1,12 +1,12 @@
-// armv7 mode
-
-// Entry point for the kernel.
-// r15 -> should begin execution at 0x8000.
-// r0 -> 0x00000000
-// r1 -> 0x00000C42
-// r2 -> 0x00000100 - start of ATAGS
-// preserve these registers as argument for kernel
-
+/* arm mode, cortex-a7 compatibility
+ *
+ * _boot is entry point for the loader.
+ *
+ * Loader copies it's embedded stage 2 to address 0x4000
+ * and jumps to it. Registers r0 - r2 are arguments for the kernel
+ * and should be left intact.
+ */
+
.global _boot
_boot:
// Only let the first core execute