Changeset 32573ff in mainline for kernel/arch/ppc32/src/asm.S
- Timestamp:
- 2016-05-02T20:58:16Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c4b26c
- Parents:
- 6adb775f (diff), 5035ba05 (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
-
kernel/arch/ppc32/src/asm.S
r6adb775f r32573ff 27 27 */ 28 28 29 #include <abi/asmtool.h> 29 30 #include <arch/asm/regname.h> 30 31 #include <arch/msr.h> … … 33 34 .text 34 35 35 .global userspace_asm 36 .global iret 37 .global iret_syscall 38 .global memcpy_from_uspace 39 .global memcpy_to_uspace 40 .global memcpy_from_uspace_failover_address 41 .global memcpy_to_uspace_failover_address 42 .global early_putchar 43 44 userspace_asm: 45 36 FUNCTION_BEGIN(userspace_asm) 46 37 /* 47 38 * r3 = uspace_uarg … … 78 69 79 70 rfi 80 81 iret: 82 71 FUNCTION_END(userspace_asm) 72 73 SYMBOL(iret) 83 74 /* Disable interrupts */ 84 75 … … 142 133 rfi 143 134 144 iret_syscall: 145 135 SYMBOL(iret_syscall) 146 136 /* Disable interrupts */ 147 137 … … 204 194 rfi 205 195 206 memcpy_from_uspace: 207 memcpy_to_uspace: 208 196 FUNCTION_BEGIN(memcpy_from_uspace) 197 FUNCTION_BEGIN(memcpy_to_uspace) 209 198 srwi. r7, r5, 3 210 199 addi r6, r3, -4 … … 267 256 mtctr r7 268 257 b 1b 269 270 memcpy_from_uspace_failover_address: 271 memcpy_to_uspace_failover_address: 258 FUNCTION_END(memcpy_from_uspace) 259 FUNCTION_END(memcpy_to_uspace) 260 261 SYMBOL(memcpy_from_uspace_failover_address) 262 SYMBOL(memcpy_to_uspace_failover_address) 272 263 /* Return zero, failure */ 273 264 xor r3, r3, r3 274 265 blr 275 266 276 early_putchar: 267 FUNCTION_BEGIN(early_putchar) 277 268 blr 269 FUNCTION_END(early_putchar)
Note:
See TracChangeset
for help on using the changeset viewer.