diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-10-04 13:02:59 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-10-08 05:07:35 -0400 |
commit | 865a4fae7793b80e2b8bca76e279d6dfecbeac17 (patch) | |
tree | 0e10251003b6cce5321c19d0811c55d2f9e51e57 /arch/arm/kernel | |
parent | 00945010c063b95e813b966f44bf58ffa1955a38 (diff) |
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>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/head.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S index ed9ebe59178b..c11dd14afc11 100644 --- a/arch/arm/kernel/head.S +++ b/arch/arm/kernel/head.S | |||
@@ -303,6 +303,13 @@ __secondary_data: | |||
303 | * Setup common bits before finally enabling the MMU. Essentially | 303 | * Setup common bits before finally enabling the MMU. Essentially |
304 | * this is just loading the page table pointer and domain access | 304 | * this is just loading the page table pointer and domain access |
305 | * registers. | 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 | __enable_mmu: | 314 | __enable_mmu: |
308 | #ifdef CONFIG_ALIGNMENT_TRAP | 315 | #ifdef CONFIG_ALIGNMENT_TRAP |
@@ -335,6 +342,9 @@ ENDPROC(__enable_mmu) | |||
335 | * mailing list archives BEFORE sending another post to the list. | 342 | * mailing list archives BEFORE sending another post to the list. |
336 | * | 343 | * |
337 | * r0 = cp#15 control register | 344 | * r0 = cp#15 control register |
345 | * r1 = machine ID | ||
346 | * r2 = atags pointer | ||
347 | * r9 = processor ID | ||
338 | * r13 = *virtual* address to jump to upon completion | 348 | * r13 = *virtual* address to jump to upon completion |
339 | * | 349 | * |
340 | * other registers depend on the function called upon completion | 350 | * other registers depend on the function called upon completion |