Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 865a4fae authored by Russell King's avatar Russell King
Browse files

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 00945010
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -303,6 +303,13 @@ __secondary_data:
 * Setup common bits before finally enabling the MMU.  Essentially
 * Setup common bits before finally enabling the MMU.  Essentially
 * this is just loading the page table pointer and domain access
 * this is just loading the page table pointer and domain access
 * registers.
 * registers.
 *
 *  r0  = cp#15 control register
 *  r1  = machine ID
 *  r2  = atags pointer
 *  r4  = page table pointer
 *  r9  = processor ID
 *  r13 = *virtual* address to jump to upon completion
 */
 */
__enable_mmu:
__enable_mmu:
#ifdef CONFIG_ALIGNMENT_TRAP
#ifdef CONFIG_ALIGNMENT_TRAP
@@ -335,6 +342,9 @@ ENDPROC(__enable_mmu)
 * mailing list archives BEFORE sending another post to the list.
 * mailing list archives BEFORE sending another post to the list.
 *
 *
 *  r0  = cp#15 control register
 *  r0  = cp#15 control register
 *  r1  = machine ID
 *  r2  = atags pointer
 *  r9  = processor ID
 *  r13 = *virtual* address to jump to upon completion
 *  r13 = *virtual* address to jump to upon completion
 *
 *
 * other registers depend on the function called upon completion
 * other registers depend on the function called upon completion