Changeset 762a824 in mainline for arch/ppc32/src/boot/boot.S
- Timestamp:
- 2006-05-01T14:44:37Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 16dad032
- Parents:
- 0f27b4c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/src/boot/boot.S
r0f27b4c r762a824 35 35 kernel_image_start: 36 36 37 # load tempora rystack37 # load temporal kernel stack 38 38 39 lis sp, end_stack@ha 40 addi sp, sp, end_stack@l 39 lis sp, kernel_stack@ha 40 addi sp, sp, kernel_stack@l 41 42 # set kernel stack for interrupt handling 43 44 mr r31, sp 45 subis r31, r31, 0x8000 46 mtsprg0 r31 41 47 42 48 # r3 contains physical address of bootinfo_t 43 49 # r4 contains size of bootinfo_t 44 50 45 lis r31, 0x80000000@ha 46 addi r31, r31, 0x80000000@l 47 48 add r3, r3, r31 51 addis r3, r3, 0x8000 49 52 50 53 lis r31, bootinfo@ha … … 73 76 .section K_DATA_START, "aw", @progbits 74 77 78 .align 12 79 kernel_stack_bottom: 75 80 .space TEMP_STACK_SIZE 76 end_stack:81 kernel_stack:
Note:
See TracChangeset
for help on using the changeset viewer.