Commit 865a4fae7793b80e2b8bca76e279d6dfecbeac17

Authored by Russell King
1 parent 00945010c0

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>

Showing 1 changed file with 10 additions and 0 deletions Side-by-side Diff

arch/arm/kernel/head.S
... ... @@ -303,6 +303,13 @@
303 303 * Setup common bits before finally enabling the MMU. Essentially
304 304 * this is just loading the page table pointer and domain access
305 305 * 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
306 313 */
307 314 __enable_mmu:
308 315 #ifdef CONFIG_ALIGNMENT_TRAP
... ... @@ -335,6 +342,9 @@
335 342 * mailing list archives BEFORE sending another post to the list.
336 343 *
337 344 * r0 = cp#15 control register
  345 + * r1 = machine ID
  346 + * r2 = atags pointer
  347 + * r9 = processor ID
338 348 * r13 = *virtual* address to jump to upon completion
339 349 *
340 350 * other registers depend on the function called upon completion