diff options
-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 |