Changes in kernel/arch/ppc32/src/asm.S [f892ed3b:b66cc97] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/asm.S
rf892ed3b rb66cc97 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.