From 80c9af17330ac442a4c3d6d55b4041cbe923e9b4 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sat, 28 Dec 2019 19:09:47 +0100 Subject: modify comment in the top of loader_stage1.S --- loader_stage1.S | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'loader_stage1.S') 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 -- cgit v1.2.3