aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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