Changeset 04803bf in mainline for uspace/lib/c/arch/arm32/src/entry.s
- Timestamp:
- 2011-03-21T22:00:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 143932e3
- Parents:
- b50b5af2 (diff), 7308e84 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
uspace/lib/c/arch/arm32/src/entry.s (moved) (moved from uspace/lib/libc/arch/arm32/src/entry.s ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/arm32/src/entry.s
rb50b5af2 r04803bf 36 36 # 37 37 # r1 contains the PCB pointer 38 # r2 contains the RAS page address 38 39 # 39 40 __entry: 41 # Store the RAS page address into the ras_page variable 42 ldr r0, =ras_page 43 str r2, [r0] 44 45 # 46 # Create the first stack frame. 47 # 48 mov fp, #0 49 mov ip, sp 50 push {fp, ip, lr, pc} 51 sub fp, ip, #4 52 40 53 # Pass pcb_ptr to __main as the first argument (in r0) 41 54 mov r0, r1 42 55 bl __main 43 56 44 bl __exit 57 .data 58 59 .global ras_page 60 ras_page: 61 .long 0
Note:
See TracChangeset
for help on using the changeset viewer.
