Changeset 20235a3 in mainline for boot/arch/arm32/src/asm.S
- Timestamp:
- 2010-09-02T20:55:28Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0c39b96
- Parents:
- 0c61955 (diff), 3249673 (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 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/src/asm.S
r0c61955 r20235a3 35 35 .global boot_stack 36 36 .global halt 37 .global memcpy38 37 .global jump_to_kernel 39 38 … … 55 54 b halt 56 55 57 memcpy:58 add r3, r1, #359 bic r3, r3, #360 cmp r1, r361 stmdb sp!, {r4, r5, lr}62 mov r5, r063 beq 4f64 65 1:66 cmp r2, #067 movne ip, #068 beq 3f69 70 2:71 ldrb r3, [ip, r1]72 strb r3, [ip, r0]73 add ip, ip, #174 cmp ip, r275 bne 2b76 77 3:78 mov r0, r579 ldmia sp!, {r4, r5, pc}80 81 4:82 add r3, r0, #383 bic r3, r3, #384 cmp r0, r385 bne 1b86 movs r4, r2, lsr #287 moveq lr, r488 beq 6f89 mov lr, #090 mov ip, lr91 92 5:93 ldr r3, [ip, r1]94 add lr, lr, #195 cmp lr, r496 str r3, [ip, r0]97 add ip, ip, #498 bne 5b99 100 6:101 ands r4, r2, #3102 beq 3b103 mov r3, lr, lsl #2104 add r0, r3, r0105 add ip, r3, r1106 mov r2, #0107 108 7:109 ldrb r3, [r2, ip]110 strb r3, [r2, r0]111 add r2, r2, #1112 cmp r2, r4113 bne 7b114 b 3b115 116 56 jump_to_kernel: 117 57 #
Note:
See TracChangeset
for help on using the changeset viewer.