Skip to content

Commit 865a4fa

Browse files
author
Russell King
committed
ARM: add register documentation for __enable_mmu
Add some additional documentation on register usage in __enable_mmu to help complete the overall picture. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 0094501 commit 865a4fa

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎arch/arm/kernel/head.S‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,13 @@ __secondary_data:
303303
* Setup common bits before finally enabling the MMU. Essentially
304304
* this is just loading the page table pointer and domain access
305305
* registers.
306+
*
307+
* r0 = cp#15 control register
308+
* r1 = machine ID
309+
* r2 = atags pointer
310+
* r4 = page table pointer
311+
* r9 = processor ID
312+
* r13 = *virtual* address to jump to upon completion
306313
*/
307314
__enable_mmu:
308315
#ifdef CONFIG_ALIGNMENT_TRAP
@@ -335,6 +342,9 @@ ENDPROC(__enable_mmu)
335342
* mailing list archives BEFORE sending another post to the list.
336343
*
337344
* r0 = cp#15 control register
345+
* r1 = machine ID
346+
* r2 = atags pointer
347+
* r9 = processor ID
338348
* r13 = *virtual* address to jump to upon completion
339349
*
340350
* other registers depend on the function called upon completion

0 commit comments

Comments
 (0)