Changes in boot/arch/ppc32/src/asm.S [4872160:a2da43c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ppc32/src/asm.S
r4872160 ra2da43c 60 60 .global start 61 61 .global halt 62 .global memcpy63 62 .global jump_to_kernel 64 63 .global real_mode … … 78 77 halt: 79 78 b halt 80 81 memcpy:82 srwi. r7, r5, 383 addi r6, r3, -484 addi r4, r4, -485 beq 2f86 87 andi. r0, r6, 388 mtctr r789 bne 5f90 91 1:92 lwz r7, 4(r4)93 lwzu r8, 8(r4)94 stw r7, 4(r6)95 stwu r8, 8(r6)96 bdnz 1b97 98 andi. r5, r5, 799 100 2:101 cmplwi 0, r5, 4102 blt 3f103 104 lwzu r0, 4(r4)105 addi r5, r5, -4106 stwu r0, 4(r6)107 108 3:109 cmpwi 0, r5, 0110 beqlr111 mtctr r5112 addi r4, r4, 3113 addi r6, r6, 3114 115 4:116 lbzu r0, 1(r4)117 stbu r0, 1(r6)118 bdnz 4b119 blr120 121 5:122 subfic r0, r0, 4123 mtctr r0124 125 6:126 lbz r7, 4(r4)127 addi r4, r4, 1128 stb r7, 4(r6)129 addi r6, r6, 1130 bdnz 6b131 subf r5, r0, r5132 rlwinm. r7, r5, 32-3, 3, 31133 beq 2b134 mtctr r7135 b 1b136 79 137 80 jump_to_kernel:
Note:
See TracChangeset
for help on using the changeset viewer.