Changeset 48c1ef9 in mainline for arch/ppc64/src/boot/boot.S
- Timestamp:
- 2006-05-21T20:38:18Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 040542aa
- Parents:
- bd55bbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc64/src/boot/boot.S
rbd55bbb r48c1ef9 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 … … 68 71 bootinfo_end: 69 72 73 bl arch_pre_main 70 74 b main_bsp 71 75 72 76 .section K_DATA_START, "aw", @progbits 73 77 78 .align 12 79 kernel_stack_bottom: 74 80 .space TEMP_STACK_SIZE 75 end_stack:81 kernel_stack:
Note:
See TracChangeset
for help on using the changeset viewer.