Changes in kernel/arch/ppc32/src/asm.S [b66cc97:f892ed3b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/asm.S
rb66cc97 rf892ed3b 27 27 */ 28 28 29 #include <abi/asmtool.h>30 29 #include <arch/asm/regname.h> 31 30 #include <arch/msr.h> … … 34 33 .text 35 34 36 FUNCTION_BEGIN(userspace_asm) 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 37 46 /* 38 47 * r3 = uspace_uarg … … 69 78 70 79 rfi 71 FUNCTION_END(userspace_asm) 72 73 SYMBOL(iret) 80 81 iret: 82 74 83 /* Disable interrupts */ 75 84 … … 133 142 rfi 134 143 135 SYMBOL(iret_syscall) 144 iret_syscall: 145 136 146 /* Disable interrupts */ 137 147 … … 194 204 rfi 195 205 196 FUNCTION_BEGIN(memcpy_from_uspace) 197 FUNCTION_BEGIN(memcpy_to_uspace) 206 memcpy_from_uspace: 207 memcpy_to_uspace: 208 198 209 srwi. r7, r5, 3 199 210 addi r6, r3, -4 … … 256 267 mtctr r7 257 268 b 1b 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) 269 270 memcpy_from_uspace_failover_address: 271 memcpy_to_uspace_failover_address: 263 272 /* Return zero, failure */ 264 273 xor r3, r3, r3 265 274 blr 266 275 267 FUNCTION_BEGIN(early_putchar) 276 early_putchar: 268 277 blr 269 FUNCTION_END(early_putchar)
Note:
See TracChangeset
for help on using the changeset viewer.