Changeset 4db05ea in mainline for boot/arch/ppc32/src/asm.S
- Timestamp:
- 2018-10-20T16:09:17Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 566457ad
- Parents:
- 2cea4c58
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-10-18 18:45:48)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-10-20 16:09:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ppc32/src/asm.S
r2cea4c58 r4db05ea 127 127 # r5 = pages to translate 128 128 # r6 = real mode meeting point (physical address) 129 # r7 = kernel entry point (virtual address in kernel's address space) 129 130 130 131 # disable interrupts … … 160 161 # r4 = translate table (physical address) 161 162 # r5 = pages to translate 163 # r7 = kernel entry point (virtual address in kernel's address space) 162 164 163 165 # move the images of components to the proper … … 399 401 # start the kernel 400 402 # 401 # pc = PA2KA(BOOT_OFFSET)403 # pc = kernel's entry point (r7) 402 404 # r3 = bootinfo (physical address) 403 405 # sprg0 = BOOT_OFFSET … … 405 407 # sp = 0 (enforces the usage of sprg0 as exception stack) 406 408 407 lis r31, PA2KA(BOOT_OFFSET)@ha 408 addi r31, r31, PA2KA(BOOT_OFFSET)@l 409 mtspr srr0, r31 409 mtspr srr0, r7 410 410 411 411 lis r31, BOOT_OFFSET@ha
Note:
See TracChangeset
for help on using the changeset viewer.